themes/system/adver.html
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
{#include file="header.html"#}
{#if $action == 'list'#}
<h3 class="title"><em>广告列表</em><span><a href="{#$fileurl#}?act=add">+添加新广告</a></span></h3>
<div class="listbox">
<form name="mform" method="post" action="{#$fileurl#}">
<div class="search">
<input name="keywords" type="text" id="keywords" class="ipt" size="30" value="{#$keywords#}" />
<input type="submit" class="btn" value="搜索" />
</div>
</form>
<form name="mform" method="post" action="{#$fileurl#}">
<div class="toolbar">
<select name="act" id="act" class="sel">
<option value="del" style="color: #FF0000;">删除选定</option>
</select>
<input type="submit" class="btn" value="应用" onClick="if(IsCheck('adver_id[]')==false){alert('请指定您要操作的广告ID!');return false;}else{return confirm('确认执行此操作吗?');}">
<select class="sel" onChange="if(this.options[this.selectedIndex].value!=''){location='{#$fileurl#}?type='+this.options[this.selectedIndex].value+'{#$key_url#}';}">
{#$adtype_option#}
</select>
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<th><input type="checkbox" id="ChkAll" onClick="CheckAll(this.form)"></th>
<th>ID</th>
<th>广告类型</th>
<th>广告名称</th>
<th>有效天数</th>
<th>广告状态</th>
<th>到期时间</th>
<th>操作选项</th>
</tr>
{#foreach from=$advers item=ad#}
<tr>
<td><input name="adver_id[]" type="checkbox" value="{#$ad.adver_id#}"></td>
<td>{#$ad.adver_id#}</td>
<td>{#$ad.adver_type#}</td>
<td>{#$ad.adver_name#}</td>
<td>{#$ad.adver_days#}</td>
<td>{#$ad.adver_status#}</td>
<td>{#$ad.adver_date#}</td>
<td>{#$ad.adver_operate#}</td>
</tr>
{#foreachelse#}
<tr><td colspan="8">无任何网站广告!</td></tr>
{#/foreach#}
</table>
</form>
<div class="pagebox">{#$showpage#}</div>
</div>
{#/if#}
{#if $action == 'add' || $action == 'edit'#}
<h3 class="title"><em>{#$pagetitle#}</em><span><a href="{#$fileurl#}">返回列表»</a></span></h3>
<div class="formbox">
<form name="mform" method="post" action="{#$fileurl#}">
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
后面还有 40 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
