?? place_add.php
字號:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admintpl('header');
?>
<body>
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td ></td>
</tr>
</table>
<?=$menu?>
<table cellpadding="2" cellspacing="1" class="tableborder">
<tr>
<th colspan=2>添加廣告位</th>
</tr>
<form action="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&id=<?=$id?>" method="post" name="myform">
<tr>
<td class="tablerow">廣告位名稱</td>
<td class="tablerow">
<input size=40 name="place[placename]" type="text">
</td>
</tr>
<tr>
<td class="tablerow">廣告位介紹</td>
<td class="tablerow">
<input size=60 name="place[introduce]" type=text>
</td>
</tr>
<tr>
<TD class="tablerow">所在位置</TD>
<TD class="tablerow">
<select name="place[channelid]">
<option value="0">網站首頁</option>
<?php
foreach($_CHANNEL as $key=>$val)
{
echo "<option value=$key>$val[channelname]</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td class="tablerow">廣告價格</td>
<td class="tablerow">
<input size=6 name="place[price]" type="text" value=0> 元/月
</td>
</tr>
<tr>
<td class="tablerow">廣告位模板</td>
<td class="tablerow">
<?=$template_select?>
</td>
</tr>
<tr>
<td class="tablerow">廣告位尺寸</td>
<td class="tablerow">寬:<input size=5 name="place[width]" type="text" value="100"> px 高:<input size=5 name="place[height]" type="text" value="100"> px</td>
</tr>
<tr>
<td class="tablerow">是否啟用</td>
<td class="tablerow"><input type='radio' name='place[passed]' value='1' checked> 是 <input type='radio' name='passed' value='0'> 否</td>
</tr>
<tr>
<td class="tablerow"></td>
<td class="tablerow"> <input type="submit" name="submit" value=" 添加 ">
<input type="reset" name="reset" value=" 清除 "> </td>
</tr>
</form>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -