移除多余的无用代码
This commit is contained in:
@@ -18,7 +18,7 @@ if (!(isset($_SESSION[$OJ_NAME . '_' . 'administrator']) || isset($_SESSION[$OJ_
|
||||
</head>
|
||||
<?php echo "<center><h3>" .$MSG_PROBLEM."-".$MSG_ADD."</h3>
|
||||
</center>";
|
||||
include_once("kindeditor.php") ;
|
||||
include_once("vditor.php") ;
|
||||
$source=pdo_query("select source from problem order by problem_id desc limit 1"); //默认续用最后一次的分类标签
|
||||
if(!empty($source)&&isset($source[0]))$source=$source[0][0];else $source="";
|
||||
?>
|
||||
@@ -48,14 +48,14 @@ if (!(isset($_SESSION[$OJ_NAME . '_' . 'administrator']) || isset($_SESSION[$OJ_
|
||||
</p>
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_Description . "(<64kB)</h4>" ?>
|
||||
<textarea class="kindeditor" rows=13 name=description cols=80></textarea></p>
|
||||
<textarea class="vditor-editor" rows=13 name=description cols=80></textarea></p>
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_Input . "(<64kB)</h4>" ?>
|
||||
<textarea class="kindeditor" rows=13 name=input cols=80></textarea></textarea><br>
|
||||
<textarea class="vditor-editor" rows=13 name=input cols=80></textarea></textarea><br>
|
||||
</p>
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_Output . "(<64kB)</h4>" ?>
|
||||
<textarea class="kindeditor" rows=13 name=output cols=80></textarea></textarea><br>
|
||||
<textarea class="vditor-editor" rows=13 name=output cols=80></textarea></textarea><br>
|
||||
</p>
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_Sample_Input . "(<64kB)</h4>" ?>
|
||||
@@ -77,7 +77,7 @@ if (!(isset($_SESSION[$OJ_NAME . '_' . 'administrator']) || isset($_SESSION[$OJ_
|
||||
</p>
|
||||
<p align=left>
|
||||
<?php echo "<h4>" . $MSG_HINT . "(<64kB)</h4>" ?>
|
||||
<textarea class="kindeditor" rows=13 name=hint cols=80></textarea></textarea><br>
|
||||
<textarea class="vditor-editor" rows=13 name=hint cols=80></textarea></textarea><br>
|
||||
</p>
|
||||
<p>
|
||||
<?php echo "<h4>" . $MSG_SPJ . "</h4>" ?>
|
||||
|
||||
Reference in New Issue
Block a user