|
XOOPS 2.5.6
Final
|
Go to the source code of this file.
Functions | |
| protector_ip_cmp ($a, $b) | |
Variables | |
| if(!is_writable(dirname(dirname(__FILE__)).'/configs')) | $bad_ips = $protector->get_bad_ips( true ) |
| $bad_ips4disp = '' | |
| $conf = $protector->getConf() | |
| $db =& XoopsDatabaseFactory::getDatabaseConnection() | |
| foreach($bad_ips as $bad_ip=> $jailed_time) | $group1_ips = $protector->get_group1_ips() |
| $group1_ips4disp = htmlspecialchars(implode("\n",$group1_ips),ENT_QUOTES) | |
| $log_table = $db->prefix( $mydirname."_log" ) | |
| if(isset($_GET['num'])) | $myts =& MyTextSanitizer::getInstance() |
| $nav = new XoopsPageNav( $numrows , $num , $pos , 'pos' , "page=center&num=$num" ) | |
| $nav_html = $nav->renderNav( 10 ) | |
| $num = empty( $_GET[ 'num' ] ) ? 20 : intval( $_GET[ 'num' ] ) | |
| $num_array = array( 20 , 100 , 500 , 2000 ) | |
| $num_options = '' | |
| $oddeven = 'odd' | |
| $pos = empty( $_GET[ 'pos' ] ) ? 0 : intval( $_GET[ 'pos' ] ) | |
| $protector =& Protector::getInstance( $db->conn ) | |
| $prs = $db->query( "SELECT l.lid, l.uid, l.ip, l.agent, l.type, l.description, UNIX_TIMESTAMP(l.timestamp), u.uname FROM $log_table l LEFT JOIN ".$db->prefix("users")." u ON l.uid=u.uid ORDER BY timestamp DESC LIMIT $pos,$num" ) | |
| if(!empty($_POST['action'])) | $rs = $db->query( "SELECT count(lid) FROM $log_table" ) |
| while (list($lid, $uid, $ip, $agent, $type, $description, $timestamp, $uname)=$db->fetchRow($prs)) | |
| protector_ip_cmp | ( | $a, | |
| $b | |||
| ) |
Definition at line 278 of file center.php.
Definition at line 142 of file center.php.
Referenced by XoopsSecurity\checkBadips(), Protector\get_bad_ips(), protector_prepare(), Protector\register_bad_ips(), and Protector\write_file_badips().
| $bad_ips4disp = '' |
Definition at line 144 of file center.php.
| $conf = $protector->getConf() |
Definition at line 26 of file center.php.
Referenced by make_data(), protector_postcommon(), protector_prepare(), and HTMLPurifier_URIDefinition\setupFilters().
Definition at line 13 of file center.php.
| foreach ($bad_ips as $bad_ip=> $jailed_time) $group1_ips = $protector->get_group1_ips() |
Definition at line 152 of file center.php.
Referenced by Protector\get_group1_ips(), and protector_postcommon().
| $group1_ips4disp = htmlspecialchars(implode("\n",$group1_ips),ENT_QUOTES) |
Definition at line 154 of file center.php.
| $log_table = $db->prefix( $mydirname."_log" ) |
Definition at line 20 of file center.php.
| if (isset($_GET['num'])) $myts =& MyTextSanitizer::getInstance() |
Definition at line 12 of file center.php.
| $nav = new XoopsPageNav( $numrows , $num , $pos , 'pos' , "page=center&num=$num" ) |
Definition at line 115 of file center.php.
| $nav_html = $nav->renderNav( 10 ) |
Definition at line 116 of file center.php.
| $num = empty( $_GET[ 'num' ] ) ? 20 : intval( $_GET[ 'num' ] ) |
Definition at line 17 of file center.php.
Referenced by SystemMenuHandler\breadcrumb_nav(), XoopsModelWrite\deleteAll(), XoopsLocalAbstract\formatTimestamp(), HTMLPurifier_Printer_HTMLDefinition\heavyHeader(), CGIFCOLORTABLE\load(), HTMLPurifier_AttrDef_CSS_Color\validate(), HTMLPurifier_AttrDef_CSS_Multiple\validate(), XoopsTpl\xoops_setCacheTime(), XoopsTpl\xoops_setCaching(), and xoStripeKey().
| $num_array = array( 20 , 100 , 500 , 2000 ) |
Definition at line 120 of file center.php.
| $num_options = '' |
Definition at line 119 of file center.php.
| $oddeven = 'odd' |
Definition at line 225 of file center.php.
| $pos = empty( $_GET[ 'pos' ] ) ? 0 : intval( $_GET[ 'pos' ] ) |
Definition at line 16 of file center.php.
Referenced by _smarty_regex_replace_check(), SMTP\Data(), Protector\get_bad_ips(), XoopsFormElement\getAccessString(), Config_File\parse_contents(), XoopsSessionHandler\read(), redirect_header(), XoopsLogger\render(), and smarty_function_xoops_link().
| $protector =& Protector::getInstance( $db->conn ) |
Definition at line 25 of file center.php.
Referenced by ProtectorMySQLDatabase\injectionFound(), protector_postcommon(), protector_prepare(), and ProtectorMySQLDatabase\ProtectorMySQLDatabase().
| $prs = $db->query( "SELECT l.lid, l.uid, l.ip, l.agent, l.type, l.description, UNIX_TIMESTAMP(l.timestamp), u.uname FROM $log_table l LEFT JOIN ".$db->prefix("users")." u ON l.uid=u.uid ORDER BY timestamp DESC LIMIT $pos,$num" ) |
Definition at line 112 of file center.php.
| if (!empty($_POST['action'])) $rs = $db->query( "SELECT count(lid) FROM $log_table" ) |
Definition at line 110 of file center.php.
Referenced by XoopsTopic\topicExists().
| while(list($lid, $uid, $ip, $agent, $type, $description, $timestamp, $uname)=$db->fetchRow($prs)) |
Definition at line 226 of file center.php.