?? admin_2.php
字號:
<?php
@include "admin.inc";
?>
<script language="javascript">
function make_sure()
{
if (settings.op[0].checked)
{
return confirm("確認要刪除"+change_settings.type.value+"嗎?");
}
return true;
}
</script>
<center>
<form name="settings" action="admin_2.do.php" method="post" onsubmit="return make_sure();">
<TABLE>
<tr>
<th colspan="2">類別管理
<tr>
<td><select name="type">
<?php
#顯示所有的種類
$type_rst = mysql_query("SELECT * FROM $table_type ORDER BY tid;");
while ($type_row=mysql_fetch_array($type_rst)) {
echo "<option value=".$type_row["type"];
if ($type == $type_row["type"]) echo " selected";
echo ">".$type_row["type"];
}
?>
</select>
<td><input type="radio" name="op" value="del">刪除
<tr>
<td><input type="text" name="rento">
<td><input type="radio" name="op" value="ren">改名
<tr>
<td><input type="text" name="add">
<td><input type="radio" name="op" value="add">新增
<tr>
<th colspan="2"><input type="submit" value="提交修改">
</table>
</form>
</center>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -