From 735c60947ae15d920a07545d6bb79468f4f381c9 Mon Sep 17 00:00:00 2001
From: machine62 <28401480+machine62@users.noreply.github.com>
Date: Fri, 22 Mar 2024 11:32:21 +0100
Subject: [PATCH] redesign 3.3.9
---
cdr_list.php | 219 +++++++++++++++++++++----------------------
cdr_menu.php | 45 ++++-----
cdr_options.php | 186 +++++++++++++++++++++---------------
lang/en/lang_cdr.php | 1 +
lang/fr/lang_cdr.php | 1 +
5 files changed, 244 insertions(+), 208 deletions(-)
diff --git a/cdr_list.php b/cdr_list.php
index 864c05f..4c2e2a9 100644
--- a/cdr_list.php
+++ b/cdr_list.php
@@ -4,126 +4,124 @@
-
-
- ALL |
- G{$i}";
- }
- ?>
+
+
+
-
-
$(\"#GAll\").css( \"color\", \"yellow\" );";
- } else {
- echo "";
- }
+
?>
-
+
-
- |
- |
- |
- |
- |
- |
-
+
+ |
+ |
+ |
+ |
+ |
+ |
+
- '" . $tc['taille'] . "'" . $galax . " ORDER BY " . $tc['tri1'] . " " . $tc['tri2'];
- $result = $db->sql_query($sql);
- $i = 1;
-
- while ($val = $db->sql_fetch_assoc($result)) {
- $cdr_total = $val['total'];
- $cdr_tot = number_format($val['total'], 0, '', ' ');
- $cdr_metal = $val['metal'];
- $cdr_met = number_format($val['metal'], 0, '', ' ');
- $cdr_cristal = $val['cristal'];
- $cdr_cri = number_format($val['cristal'], 0, '', ' ');
+
+ $sql = "SELECT * FROM " . T_CDR . " WHERE `total` > '" . $tc['taille'] . "'" . $galax . " ORDER BY " . $tc['tri1'] . " " . $tc['tri2'];
+ $result = $db->sql_query($sql);
+ $i = 1;
+
+ while ($val = $db->sql_fetch_assoc($result)) {
+ $cdr_total = $val['total'];
+ $cdr_tot = number_format($val['total'], 0, '', ' ');
+ $cdr_metal = $val['metal'];
+ $cdr_met = number_format($val['metal'], 0, '', ' ');
+ $cdr_cristal = $val['cristal'];
+ $cdr_cri = number_format($val['cristal'], 0, '', ' ');
?>
-
- |
- |
- = $tc['big']) {
- echo "" . $cdr_tot . "";
- }
- elseif ($cdr_total >= $tc['medium']) {
- echo "" . $cdr_tot . "";
- }
- elseif ($cdr_total > $tc['small']) {
- echo "" . $cdr_tot . "";
- }
- else {
- echo $cdr_tot;
- }
- ?> |
- = $tc['big']) {
- echo "" . $cdr_met . "";
- }
- elseif ($cdr_metal >= $tc['medium']) {
- echo "" . $cdr_met . "";
- }
- elseif ($cdr_metal > $tc['small']) {
- echo "" . $cdr_met . "";
- }
- else {
- echo $cdr_met;
- }
- ?> |
- = $tc['big']) {
- echo "" . $cdr_cri . "";
- }
- elseif ($cdr_cristal >= $tc['medium']) {
- echo "" . $cdr_cri . "";
- }
- elseif ($cdr_cristal > $tc['small']){
- echo "" . $cdr_cri . "";
- }
- else{
- echo $cdr_cri;
- }
-
- ?> |
- |
-
+
+ |
+ |
+ = $tc['big']) {
+ echo "" . $cdr_tot . "";
+ } elseif ($cdr_total >= $tc['medium']) {
+ echo "" . $cdr_tot . "";
+ } elseif ($cdr_total > $tc['small']) {
+ echo "" . $cdr_tot . "";
+ } else {
+ echo $cdr_tot;
+ }
+ ?> |
+ = $tc['big']) {
+ echo "" . $cdr_met . "";
+ } elseif ($cdr_metal >= $tc['medium']) {
+ echo "" . $cdr_met . "";
+ } elseif ($cdr_metal > $tc['small']) {
+ echo "" . $cdr_met . "";
+ } else {
+ echo $cdr_met;
+ }
+ ?> |
+ = $tc['big']) {
+ echo "" . $cdr_cri . "";
+ } elseif ($cdr_cristal >= $tc['medium']) {
+ echo "" . $cdr_cri . "";
+ } elseif ($cdr_cristal > $tc['small']) {
+ echo "" . $cdr_cri . "";
+ } else {
+ echo $cdr_cri;
+ }
+
+ ?> |
+ |
+
+ }
+ ?>