📄 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 + -