?? module_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="0" cellspacing="0" border="0" width="100%" height="10">
<tr>
<td ></td>
</tr>
</table>
<table cellpadding="2" cellspacing="1" class="tableborder">
<?php if(!$step){ ?>
<form action="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&step=1" method="post" name="myform">
<tr>
<th colspan=2>安裝模塊</th>
</tr>
<tr>
<td class="tablerowhighlight" colspan=2>第一步:填寫模塊目錄</td>
</tr>
<tr>
<td class="tablerow">模塊目錄</td>
<td class="tablerow">
<input size=30 name="module" type=text>
</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>
<?php }elseif($step==1){ ?>
<tr>
<th colspan=2>安裝模塊</th>
</tr>
<tr>
<td class="tablerowhighlight" colspan=2>第二步:確認模塊信息</td>
</tr>
<form action="?mod=<?=$mod?>&file=<?=$file?>&action=<?=$action?>&module=<?=$module?>&install=1" method="post" name="myform">
<tr>
<td width="30%" class="tablerow"><b>模塊名稱</b></td>
<td class="tablerow">
<?=$modulename?>
</td>
</tr>
<tr>
<td class="tablerow"><b>模塊簡介</b></td>
<td class="tablerow"><?=$introduce?></td>
</tr>
<tr>
<td class="tablerow"><b>模塊作者</b></td>
<td class="tablerow">
<?=$author?>
</td>
</tr>
<tr>
<td class="tablerow"><b>E-mail</b></td>
<td class="tablerow">
<?=$authoremail?>
</td>
</tr>
<tr>
<td class="tablerow"><b>作者主頁</b></td>
<td class="tablerow">
<a href="<?=$authorsite?>" target="_blank"><?=$authorsite?></a>
</td>
</tr>
<tr>
<td class="tablerow"><b>是否為可復制模塊</b></td>
<td class="tablerow"><?=$enablecopy?></td>
</tr>
<tr>
<td class="tablerow"><b>是否為共享模塊</b></td>
<td class="tablerow"><?=$isshare?></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>
<?php } ?>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -