?? place_edit.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 TYPE="hidden" name="place[placeid]" value="<?=$place[placeid]?>"> <input size=40 name="place[placename]" type="text" value="<?=$place[placename]?>"> </td> </tr> <tr> <td class="tablerow">廣告位介紹</td> <td class="tablerow"> <input size=60 name="place[introduce]" type=text value="<?=$place[introduce]?>"> </td> </tr> <tr> <TD class="tablerow">所在位置</TD> <TD class="tablerow"><select name="place[channelid]"><option value="0">網站首頁</option><?phpforeach($_CHANNEL as $key=>$val){ echo "<option value=$key ".($place[channelid]==$key ? "selected" : "" ).">$val[channelname]</option>";}?></select></td></tr> <tr> <td class="tablerow">廣告價格</td> <td class="tablerow"> <input size=6 name="place[price]" type="text" value="<?=$place[price]?>"> 元/月 </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="<?=$place[width]?>"> px 高:<input size=5 name="place[height]" type="text" value="<?=$place[height]?>"> px</td> </tr> <tr> <td class="tablerow">是否啟用</td> <td class="tablerow"><input type='radio' name='place[passed]' value='1' <?=($place[passed])?"checked":""?>> 是 <input type='radio' name='passed' value='0' <?=($place[passed])?"":"checked"?>> 否</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 + -