📄 sysedit.php
字号:
echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($color2) > 7) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>color2</b> is not a valid color.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif ((!eregi ("^(#[a-fA-F0-9]{6})+$", $color1)) && (!eregi ("^([a-fA-F0-9]{6})+$", $color1))) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>color1</b> is not a valid color.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif ((!eregi ("^(#[a-fA-F0-9]{6})+$", $color2)) && (!eregi ("^([a-fA-F0-9]{6})+$", $color2))) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>color2</b> is not a valid color.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($logo) > 200) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>logo</b> is longer than the allowed 200 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($refresh) > 10) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>refresh</b> is longer than the allowed 10 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($email) > 100) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>email</b> is longer than the allowed 100 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($date_link) > 100) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>date_link</b> is longer than the allowed 100 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($app_name) > 100) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>app_name</b> is longer than the allowed 100 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif (strlen($app_version) > 100) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>app_version</b> is longer than the allowed 100 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif ((strlen($metar) > 4) || (!eregi ("^([a-zA-Z]{4})+$", $metar))) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>metar</b> is not a valid metar.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif ((strlen($city) > 100)) {echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>city</b> is longer than the allowed 100 characters.</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}elseif ((!is_integer($refresh)) || (empty($refresh))) {if ((empty($refresh)) || ($refresh != 'none')){ echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n";echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>refresh</b> should be an integer (other than zero) or set to \"none\".</td></tr>\n";echo " </table>\n";$evil = "1";echo " <br />\n";}}elseif (!isset($evil)) { for ($x=0;$x<count($links);$x++) { $links[$x] = addslashes($links[$x]); if (strlen($links[$x]) > 100) { $evil_link = "1"; } } for ($x=0;$x<count($display_links);$x++) { $display_links[$x] = addslashes($display_links[$x]); if (strlen($display_links[$x]) > 100) { $evil_display_link = "1"; } } for ($x=0;$x<count($allowed_networks);$x++) { if (strlen($allowed_networks[$x]) > 21) { $evil_allowed_network = "1"; } } if (isset($evil_link)) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25>One of the <b>links</b> is longer than the allowed 100 characters.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif (isset($evil_display_link)) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25>One of the <b>display_links</b> is longer than the allowed 100 characters.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif (isset($evil_allowed_network)) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25>One of the <b>allowed_networks</b> is longer than the allowed 21 characters.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif ((!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])+([a|p]+m)$", $report_start_time, $start_time_regs)) && (!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])+( [a|p]+m)$", $report_start_time, $start_time_regs)) && (!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])$", $report_start_time, $start_time_regs))) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>report_start_time</b> is not a valid time.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif ((!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])+([a|p]+m)$", $report_end_time, $end_time_regs)) && (!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])+( [a|p]+m)$", $report_end_time, $end_time_regs)) && (!eregi ("^([0-9]?[0-9])+:+([0-9]+[0-9])$", $report_end_time, $end_time_regs))) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>report_end_time</b> is not a valid time.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif ((isset($start_time_regs)) && (isset($end_time_regs))) { $start_h = $start_time_regs[1]; $start_m = $start_time_regs[2]; $end_h = $end_time_regs[1]; $end_m = $end_time_regs[2]; if (($start_h > 23) || ($start_m > 59)) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>report_start_time</b> is not a valid time.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; } elseif (($end_h > 23) || ($end_m > 59)) { echo " <table align=center class=table_border width=100% border=0 cellpadding=0 cellspacing=3>\n"; echo " <tr><td width=20 align=center height=25 class=table_rows><img src='../images/icons/cancel.png' /></td> <td class=table_rows_red height=25><b>report_end_time</b> is not a valid time.</td></tr>\n"; echo " </table>\n"; echo " <br />\n"; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -