Skip to content

Commit

Permalink
Update problem_add_page.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Mar 23, 2024
1 parent 8584adb commit efa5905
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions trunk/web/admin/problem_add_page.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@
echo "<a href='../loginpage.php'>Please Login First!</a>";
exit(1);
}
echo "<center><h3>".$MSG_PROBLEM."-".$MSG_ADD."</h3></center>";
include_once("kindeditor.php") ;
$source=pdo_query("select source from problem order by problem_id desc limit 1"); //默认续用最后一次的分类标签
if(is_array($source)&&isset($source[0]))$source=$source[0][0];else $source="";
?>

<html>
<head>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Problem Add</title>
</head>
</head>
<?php
echo "<center><h3>".$MSG_PROBLEM."-".$MSG_ADD."</h3></center>";
include_once("kindeditor.php") ;
$source=pdo_query("select source from problem order by problem_id desc limit 1"); //默认续用最后一次的分类标签
if(is_array($source)&&isset($source[0]))$source=$source[0][0];else $source="";
?>

<hr>
<body leftmargin="30" >
<div class="container">
Expand Down

0 comments on commit efa5905

Please sign in to comment.