@@ -0,0 +1,55 @@
|
||||
{php include pubTemplate("header_admin")}
|
||||
{php doAction('tseditor')}
|
||||
<!--main-->
|
||||
<div class="midder">
|
||||
|
||||
{php include template("admin/menu");}
|
||||
|
||||
|
||||
<form method="post" action="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=adddo">
|
||||
<table class="table table-hover">
|
||||
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>标题:</td><td><input style="width:300px;padding:5px;" name="title" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>内容:</td><td>
|
||||
|
||||
|
||||
<div style="width: 700px">
|
||||
<textarea id="tseditor" name="content"></textarea>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>排序ID:</td><td><input name="orderid" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td><td>
|
||||
|
||||
|
||||
<input class="btn btn-primary" type="submit" value="提交" />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
{php include pubTemplate("footer_admin")}
|
||||
@@ -0,0 +1,58 @@
|
||||
{php include pubTemplate("header_admin")}
|
||||
{php doAction('tseditor')}
|
||||
<!--main-->
|
||||
<div class="midder">
|
||||
|
||||
{php include template("admin/menu");}
|
||||
|
||||
|
||||
<form method="post" action="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=editdo">
|
||||
<table class="table table-hover">
|
||||
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
<td>标题:</td><td><input style="width:300px;padding:5px;" name="title" value="{$strInfo['title']}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>内容:</td><td>
|
||||
|
||||
|
||||
|
||||
<div style="width: 700px;">
|
||||
<textarea id="tseditor" name="content">{$strInfo['content']}</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>排序ID:</td><td><input name="orderid" value="{$strInfo['orderid']}" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td><td>
|
||||
|
||||
<input type="hidden" name="infoid" value="{$strInfo['infoid']}" />
|
||||
<input type="submit" value="提交" />
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
|
||||
|
||||
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
{php include pubTemplate("footer_admin")}
|
||||
@@ -0,0 +1,42 @@
|
||||
{php include pubTemplate("header_admin")}
|
||||
|
||||
<!--main-->
|
||||
<div class="midder">
|
||||
|
||||
{php include template("admin/menu");}
|
||||
|
||||
|
||||
|
||||
<table class="table table-hover">
|
||||
|
||||
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th>InfoID</th>
|
||||
<th>标题</th>
|
||||
<th>调用链接</th>
|
||||
<th>排序ID</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
{loop $arrInfo $key $item}
|
||||
<tr>
|
||||
<td>{$item['infoid']}</td>
|
||||
<td>{tsTitle($item['title'])}</td>
|
||||
<td>{tsUrl('home','info',array('id'=>$item['infoid']))}</td>
|
||||
<td>{$item['orderid']}</td>
|
||||
<td><a href="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=edit&infoid={$item['infoid']}">修改</a> | <a href="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=delete&infoid={$item['infoid']}">删除</a></td>
|
||||
</tr>
|
||||
{/loop}
|
||||
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{php include pubTemplate("footer_admin")}
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
<div class="tabnav">
|
||||
<h6>首页管理</h6>
|
||||
<ul>
|
||||
<li {if $mg=='options'}class="select"{/if}><a href="{SITE_URL}index.php?app=home&ac=admin&mg=options">首页配置</a></li>
|
||||
|
||||
<li {if $mg=='info' && $ts=='list'}class="select"{/if}><a href="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=list">网站信息</a></li>
|
||||
|
||||
|
||||
<li {if $ts=='add'}class="select"{/if}><a href="{SITE_URL}index.php?app=home&ac=admin&mg=info&ts=add">添加信息</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div style="height:100px;"></div>
|
||||
@@ -0,0 +1,11 @@
|
||||
{php include pubTemplate("header_admin")}
|
||||
|
||||
<!--main-->
|
||||
<div class="midder">
|
||||
|
||||
{php include template("admin/menu");}
|
||||
|
||||
<div>暂无配置</div>
|
||||
</div>
|
||||
|
||||
{php include pubTemplate("footer_admin")}
|
||||
Reference in New Issue
Block a user