array ("request", "integer", ""), // from mail_add.php in case of error "domain_id" => array ("request", "integer", ""), "show_systemmails" => array ("request", "integer", ""), "search" => array ("request", "string", ""), "offset" => array ("request", "integer", 0), "count" => array ("request", "integer", 50), ); $champs=getFields($fields); $counts=array("10" => "10", "20" => "20", "30" => "30", "50" => "50", "100" => "100", "200" => "200", "500" => "500", "1000" => "1000"); if(!$domain_id ) { include("main.php"); exit(); } $fatal=false; if ($domain=$dom->get_domain_byid($domain_id)) { if(!($mails_list = $mail->enum_domain_mails($domain_id,$search,$offset,$count,$show_systemmails))) { $error=$err->errstr(); } } else { $error=$err->errstr(); $fatal=true; } if ($fatal) { echo "
total,"mail_list.php?domain_id=".$domain_id."&count=".$count."&search=".urlencode($search)."&offset=%%offset%%"); ?> | value="1"onclick="document.getElementById('formlist1').submit();" > |