body { width:100%; margin:0 auto; padding:0px; font-family:helvetica; background-color:#A9D0F5; } #wrapper { text-align:left; margin-left:20px; padding:0px; width:995px; } #wrapperleft { text-align:center; margin:0 auto; padding:0px; width:995px; } #wrapper h1 { margin-top:100px; font-size:40px; } #wrapper h1 p { font-size:17px; } #wrapper #feed_div { background-color:white; width:550px; height:320px; overflow-y:scroll; margin-left:20px; margin-top:20px; text-align:left; border:1px solid silver; padding:10px; } #wrapper #feed_div h2 { font-size:17px; } #wrapper #feed_div .title a { text-decoration:none; color:#0080FF; } "; global $dbi; $aid=$_SESSION['aid']; $prefix=$_SESSION['prefix']; $id_comune=$_SESSION['id_comune']; $param=strtolower($_SERVER['REQUEST_METHOD']) == 'get' ? $_GET : $_POST; if(isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else $id_cons_gen=0; $perms=ChiSei(0); if ($perms!=256) return; # $mex = htmlspecialchars("Non sono disponibili nuovi aggiornamenti"); include("modules/Elezioni/ele.php"); global $righe,$righedb; function aggiornadb(){ global $righedb,$prefix,$dbi,$dbname; $righedb=''; global $ctrlerr; $ctrlerr=0; if(file_exists(dirname(__FILE__)."/aggiornadb.php")) { ob_start(); include (dirname(__FILE__).'/aggiornadb.php'); $righedb=ob_get_contents(); ob_end_clean(); } } function risultati() { global $ctrlerr,$righe,$righedb; if($ctrlerr) echo "
Operazioni effettuate sul db:
"; echo "Log delle modifiche (massimo 100 righe)
"; echo "" . $str . "
"; } echo "Operazioni effettuate sul db:
"; echo "