diff --git a/bureau/admin/adm_authip_whitelist.php b/bureau/admin/adm_authip_whitelist.php index 216a3cb2..5ad423a9 100644 --- a/bureau/admin/adm_authip_whitelist.php +++ b/bureau/admin/adm_authip_whitelist.php @@ -63,9 +63,7 @@ $list_ip = $authip->list_ip_whitelist(); list_ip_whitelist(); $txt="Subnet IPv6"; } } - echo ""; + echo ""; ?> diff --git a/bureau/admin/adm_db_servers.php b/bureau/admin/adm_db_servers.php index 142858c2..a748f841 100644 --- a/bureau/admin/adm_db_servers.php +++ b/bureau/admin/adm_db_servers.php @@ -55,10 +55,8 @@ echo "

"; "; ?> + echo ""; ?> diff --git a/bureau/admin/adm_defquotas.php b/bureau/admin/adm_defquotas.php index 17bb5854..2702275f 100644 --- a/bureau/admin/adm_defquotas.php +++ b/bureau/admin/adm_defquotas.php @@ -70,7 +70,7 @@ if (isset($error) && $error) { ?>
$txt{$i['ip_human']}{$i['infos']}
$txt{$i['ip_human']}{$i['infos']}
- + + diff --git a/bureau/admin/adm_dnsweberror.php b/bureau/admin/adm_dnsweberror.php index 47af6e2f..9bd0a6af 100644 --- a/bureau/admin/adm_dnsweberror.php +++ b/bureau/admin/adm_dnsweberror.php @@ -63,10 +63,8 @@ include_once("head.php"); $pair=0; $db->query("select sd.compte, m.login, sd.domaine, if(length(sub)>0,concat_ws('.',sd.sub,sd.domaine),sd.domaine) as fqdn, sd.valeur, dt.description, sd.web_result from sub_domaines sd,membres m, domaines_type dt where sd.web_action='OK' and length(sd.web_result)<>0 and upper(dt.name)=upper(sd.type) order by sd.domaine, sd.sub, sd.valeur;"); -while($db->next_record()) { -++$pair; -?> - +while($db->next_record()) { ?> + @@ -92,10 +90,8 @@ while($db->next_record()) { $pair=0; $db->query("select d.compte, m.login, d.domaine, d.dns_result from domaines d, membres m where d.dns_action='OK' and dns_result <> 0 and dns_result <> '' and m.uid = d.compte;"); -while($db->next_record()) { -++$pair; -?> - +while($db->next_record()) { ?> + diff --git a/bureau/admin/adm_doms.php b/bureau/admin/adm_doms.php index 7edf9792..813b5b7f 100644 --- a/bureau/admin/adm_doms.php +++ b/bureau/admin/adm_doms.php @@ -68,12 +68,10 @@ $c=$admin->dom_list(true,$forcecheck);
qlist(); $qlist=$quota->getdefaults(); reset($qlist); @@ -107,10 +106,9 @@ foreach($qlist as $type => $q) { foreach($q as $name => $value) { if (!isset($qarray[$name])) continue; $key = $type . ":" . $name; - $col=3-$col; ?> -
f('compte');?> f('login');?> f('domaine');?>
f('compte');?> f('login');?> f('domaine');?>
- + diff --git a/bureau/admin/adm_doms_def_type.php b/bureau/admin/adm_doms_def_type.php index f7f811a1..9e544b0c 100644 --- a/bureau/admin/adm_doms_def_type.php +++ b/bureau/admin/adm_doms_def_type.php @@ -47,14 +47,12 @@ $tab=$dom->lst_default_subdomains();
"; } ?>
- + domains_type_lst() as $d) { -++$pair; ?> - + diff --git a/bureau/admin/adm_list.php b/bureau/admin/adm_list.php index 182dabcf..4eb9631a 100644 --- a/bureau/admin/adm_list.php +++ b/bureau/admin/adm_list.php @@ -202,16 +202,13 @@ if ($mem->user["admlist"]==1) { // SHORT MODE - + diff --git a/bureau/admin/adm_mxaccount.php b/bureau/admin/adm_mxaccount.php index 3b5ce4a5..69fc36d7 100644 --- a/bureau/admin/adm_mxaccount.php +++ b/bureau/admin/adm_mxaccount.php @@ -77,12 +77,9 @@ if (is_array($c)) {
 
"; } diff --git a/bureau/admin/adm_domstype.php b/bureau/admin/adm_domstype.php index 4840bc67..7a3dd777 100644 --- a/bureau/admin/adm_domstype.php +++ b/bureau/admin/adm_domstype.php @@ -43,7 +43,7 @@ include_once("head.php");
$error

"; } @@ -68,11 +68,9 @@ if (isset($error) && $error) {
 
+for($i=0;$i - + diff --git a/bureau/admin/adm_panel.php b/bureau/admin/adm_panel.php index b8a247a3..2f6c13d3 100644 --- a/bureau/admin/adm_panel.php +++ b/bureau/admin/adm_panel.php @@ -48,25 +48,25 @@ if (isset($error) && $error) { } ?>

- + diff --git a/bureau/admin/adm_slavedns.php b/bureau/admin/adm_slavedns.php index 00a1b437..5065ffc1 100644 --- a/bureau/admin/adm_slavedns.php +++ b/bureau/admin/adm_slavedns.php @@ -94,12 +94,10 @@ if (is_array($c)) { ?>
- + @@ -141,11 +139,9 @@ if (is_array($c)) { ?>
+ for($i=0;$i - + diff --git a/bureau/admin/adm_tld.php b/bureau/admin/adm_tld.php index 235d1a1f..500a2437 100644 --- a/bureau/admin/adm_tld.php +++ b/bureau/admin/adm_tld.php @@ -72,12 +72,10 @@ $c=$admin->listtld();
- + diff --git a/bureau/admin/adm_variables.php b/bureau/admin/adm_variables.php index 024c8ae5..9e40812a 100644 --- a/bureau/admin/adm_variables.php +++ b/bureau/admin/adm_variables.php @@ -56,13 +56,10 @@ include_once ("head.php");
" />
+foreach( variables_list() as $vars) { ?> - + diff --git a/bureau/admin/bro_main.php b/bureau/admin/bro_main.php index 43981cf4..02000ef3 100644 --- a/bureau/admin/bro_main.php +++ b/bureau/admin/bro_main.php @@ -333,10 +333,8 @@ function actmoveto_not_empty() { \n"; + echo "\n"; if ($c[$i]["type"]) { echo " "; if ($p["showicons"]) { @@ -410,10 +408,8 @@ function actmoveto_not_empty() { echo "
"; echo "
"; echo ""; - $col=1; for($i=0;$i\n"; + echo "\n"; if ($c[$i]["type"]) { echo "
"; echo ""; echo ""; - $col=1; for($i=round(count($c)/2);$i\n"; + echo "\n"; if ($c[$i]["type"]) { echo "
"; echo "
"; echo ""; - $col=1; for($i=0;$i\n"; + echo "\n"; if ($c[$i]["type"]) { echo "
"; echo ""; echo ""; - $col=1; for($i=round(count($c)/3);$i\n"; + echo "\n"; if ($c[$i]["type"]) { echo "
"; echo ""; echo ""; - $col=1; for($i=round(2*count($c)/3);$i\n"; + echo "\n"; if ($c[$i]["type"]) { echo " domains_type_lst(); for($i=0;$i<$r["nsub"];$i++) { - $col=3-$col; ?> - + "; } else { ?> - +while (list($key,$val)=each($r)) { ?> + diff --git a/bureau/admin/hta_edit.php b/bureau/admin/hta_edit.php index 394343ed..6788ad8a 100644 --- a/bureau/admin/hta_edit.php +++ b/bureau/admin/hta_edit.php @@ -61,11 +61,8 @@ if (!$dir) { - +for($i=0;$i +
diff --git a/bureau/admin/ftp_list.php b/bureau/admin/ftp_list.php index c573adc4..ed98347f 100644 --- a/bureau/admin/ftp_list.php +++ b/bureau/admin/ftp_list.php @@ -72,12 +72,8 @@ if (isset($error) && $error && !$noftp) {
" name="del_" value="" />
diff --git a/bureau/admin/hta_list.php b/bureau/admin/hta_list.php index 8946a918..445fc30c 100644 --- a/bureau/admin/hta_list.php +++ b/bureau/admin/hta_list.php @@ -32,8 +32,7 @@ include_once("head.php"); if (!$r=$hta->ListDir()) { $error=$err->errstr(); -} -else { +} else { reset($r); } @@ -68,13 +67,11 @@ $mem->show_help("hta_list2"); - + "; + echo ""; echo ""; @@ -147,9 +145,7 @@ $lac = $authip->list_affected();
diff --git a/bureau/admin/ip_main.php b/bureau/admin/ip_main.php index 685c3ed0..db3ff0a8 100644 --- a/bureau/admin/ip_main.php +++ b/bureau/admin/ip_main.php @@ -66,10 +66,8 @@ $lac = $authip->list_affected();
".$list_ip[$ll['authorised_ip_id']]['infos']; //echo "
".$list_ip[$ll['authorised_ip_id']]['ip_human']; echo "
"; + echo ""; ?> diff --git a/bureau/admin/logs_list.php b/bureau/admin/logs_list.php index 9cc5c992..fb6d1082 100644 --- a/bureau/admin/logs_list.php +++ b/bureau/admin/logs_list.php @@ -54,13 +54,11 @@ if(!$list || empty($list['dir'])){ $v){ - $col=3-$col; ?> - + diff --git a/bureau/admin/mail_list.php b/bureau/admin/mail_list.php index 3c010576..7b85d8b4 100644 --- a/bureau/admin/mail_list.php +++ b/bureau/admin/mail_list.php @@ -125,13 +125,13 @@ if (empty($allmails_list) && empty($search)) { - + diff --git a/bureau/admin/quota_show.php b/bureau/admin/quota_show.php index 140c84bb..82d5ce7a 100644 --- a/bureau/admin/quota_show.php +++ b/bureau/admin/quota_show.php @@ -46,11 +46,9 @@ echo "
{$i['infos']}{$i['ip_human']}$txt
{$i['infos']}{$i['ip_human']}$txt
"; echo ""; $qlist=$quota->qlist(); reset($qlist); -$col=1; while (list($key,$val)=each($qlist)) { if ( !isset($q[$key]) || !$q[$key]["t"]) continue; - $col=3-$col; - echo ""; + echo ""; echo "get_db_size($val['db']); - $col=3-$col; ?> - + diff --git a/bureau/admin/sql_users_list.php b/bureau/admin/sql_users_list.php index 4a0fda16..71be2cea 100644 --- a/bureau/admin/sql_users_list.php +++ b/bureau/admin/sql_users_list.php @@ -47,12 +47,10 @@ if (isset($error) && $error) {
"._("Quota").""._("Used").""._("Total")."
"; if ($q[$key]["u"] >= $q[$key]["t"]) echo ""; echo _($val); diff --git a/bureau/admin/sql_list.php b/bureau/admin/sql_list.php index 25f8ddfc..610900e9 100644 --- a/bureau/admin/sql_list.php +++ b/bureau/admin/sql_list.php @@ -54,13 +54,11 @@ if($rdb){
 
" name="del_" value="" />
- + diff --git a/bureau/admin/sql_users_rights.php b/bureau/admin/sql_users_rights.php index 685c3478..e3ba5d1f 100644 --- a/bureau/admin/sql_users_rights.php +++ b/bureau/admin/sql_users_rights.php @@ -80,13 +80,11 @@ if ($r) { available_sql_rights(); for($i=0;$i - + diff --git a/bureau/admin/styles/style.css b/bureau/admin/styles/style.css index 121602f5..ca5e721f 100644 --- a/bureau/admin/styles/style.css +++ b/bureau/admin/styles/style.css @@ -240,6 +240,9 @@ input[type=submit] { background-color: #CFE3F1; } +.lst:nth-child(even) { background:#E7F0F9; } +.lst:nth-child(odd) { background:#CFE3F1; } + .dlogin { text-align: center; }
 
" name="del_" value="" />
');">