Ejemplo n.º 1
0
<?php

$this->title = "修改题目";
NicEdit::prepare();
$this->display('header.php');
?>

<p><a href="<?php 
echo $this->locator->getURL('admin_problem_list');
?>
">返回题目管理</a></p>

<form action="<?php 
echo $this->locator->getURL('admin_problem_doedit');
?>
" method="post">
<table border="1">
	<tr>
		<td>标题</td>
		<td><input type="text" name="prob_title" size="30" value="<?php 
echo $this->escape($this->problem['prob_title']);
?>
" /></td>
	</tr>
	<tr>
		<td>ID</td>
		<td><input type="text" name="prob_id" size="30" value="<?php 
echo $this->escape($this->problem['prob_id']);
?>
" <?php 
if ($this->problem['action'] == 'edit') {