Changeset 361 for trunk/admin/temi
- Timestamp:
- Mar 17, 2022, 4:12:48 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/temi/Futura2/index.php
r360 r361 32 32 33 33 list($id_sez) = $res->fetch(PDO::FETCH_NUM);#include("TEST:$id_sez:$sql:"); 34 if (!$id_sez) { 35 $BASE=substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['REQUEST_URI'], "/")-18); 36 Header("Location: ".$BASE."admin.php?op=logout&msglogout=4"); 34 37 38 } 35 39 if(isset($row[0])) { 36 40 $tipo_cons=$row[0]; $descr_cons=$row[1]; $id_cons_gen=$row[2]; … … 109 113 $rese = $dbi->prepare("$sql"); 110 114 $rese->execute(); 111 $bordoa=''; 112 $bordog=''; 113 $bordol=''; 115 $bordoini="style='cursor: pointer;"; 116 $errbordoa=''; 117 $errbordog=''; 118 $errbordol=''; 114 119 while (list($tipo)=$rese->fetch(PDO::FETCH_NUM)) { 115 if ($tipo=='affluenze') $ bordoa="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\"";116 if ($tipo=='gruppo' or $tipo=='referendum') $ bordog="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\"";117 if ($tipo=='lista') $ bordol="style=\"border: 6px solid; border-color: rgb(255, 0, 0);\"";120 if ($tipo=='affluenze') $errbordoa="border: 6px solid; border-color: rgb(255, 0, 0);"; 121 if ($tipo=='gruppo' or $tipo=='referendum') $errbordog="border: 6px solid; border-color: rgb(255, 0, 0);"; 122 if ($tipo=='lista') $errbordol="border: 6px solid; border-color: rgb(255, 0, 0);"; 118 123 } 124 $bordoa=$bordoini.$errbordoa."'"; 125 $bordog=$bordoini.$errbordog."'"; 126 $bordol=$bordoini.$errbordol."'"; 119 127 if($rese->rowCount()) $segna="style=\"background-color: #dd0000;\""; else $segna=''; 120 128 if($ops=="4" ) {$bgcolorg="yellow"; $tcolorg='blue';} else {$bgcolorg="grey"; $tcolorg='white';} #$active_gruppo=" class=\"ui-btn-active\""; else $active_gruppo='';
Note:
See TracChangeset
for help on using the changeset viewer.