Please Login First!"; exit(1); } if(isset($OJ_LANG)){ require_once("../lang/$OJ_LANG.php"); } ?> Problem List

"> $MSG_PROBLEM_STATUS"; echo ""; } ?> "; echo ""; echo ""; echo ""; echo ""; echo ""; if(isset($_SESSION[$OJ_NAME.'_'.'administrator'])||isset($_SESSION[$OJ_NAME.'_'.'problem_editor'])){ if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'.'problem_editor'])){ echo ""; } ?>
$MSG_DELETE$MSG_EDIT$MSG_TESTDATA
".$row['problem_id']." ".$row['title'].""; if(!empty($row['remote_oj']))echo "  ".$row['remote_oj'].$row['remote_id'].""; echo "".$row['accepted']."".$row['in_date']."";//分类 $category = array(); $cate = preg_split('/[\s,]+/',$row['source']); foreach($cate as $cat){ $cat=trim($cat); if(mb_ereg("^http",$cat)){ echo "Remote' ; } else array_push($category,trim($cat)); } foreach ($category as $cat) { if(trim($cat)==""||trim($cat)==" ") continue; $hash_num = hexdec(substr(md5($cat),0,7)); $label_theme = $color_theme[$hash_num%count($color_theme)]; if ($label_theme=="") $label_theme = "default"; $view .= "".mb_substr($cat,0,10,'utf8')." "; } echo "
"; echo $view; echo "
".($row['defunct']=="N"?"$MSG_AVAILABLE":"$MSG_RESERVED").""; if(isset($_SESSION[$OJ_NAME.'_'.'administrator']) || isset($_SESSION[$OJ_NAME.'_'."p".$row['problem_id']]) ){ ?> ] ? ")) location.href="problem_del.php?id=&getkey="'> $MSG_EDIT"; echo "$MSG_TEST_DATA"; } } echo "
"; echo ""; echo ""; } ?>