themes/admin/article/index.html
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<html>
{include file="head.html"}
<body>
<div class="tabs-border">
<a class="item active" href="/admin.php?m=article">文章列表</a>
<a class="item" href="/admin.php?m=article&a=add">添加文章</a>
</div>
<div class="main-body">
<div class="search-form">
<form method="get" action="{$appadmin}">
<input type="hidden" name="m" value="article" />
ID:<input class="w100" type="text" name="id" value="{$smarty.get.id|intval}" class="w50" />
状态:<select name="type" class="w100">
<option value="all">全部</option>
<option value="new" {if get('type') eq 'new' }selected="selected"{/if}>未审核</option>
<option value="pass" {if get('type') eq 'pass' }selected="selected"{/if}>已审核</option>
<option value="forbid" {if get('type') eq 'forbid' }selected="selected"{/if}>已禁止</option>
</select>
分类: <select name="catid" class="w100">
<option value="0">请选择</option>
{foreach item=c from=$catlist}
<option value="{$c.catid}" {if get('catid') eq $c.catid} selected="selected"{/if}>{$c.cname}</option>
{foreach item=c_2 from=$c.child}
<option value="{$c_2.catid}" {if get('catid') eq $c_2.catid} selected="selected"{/if} class="o_c_2">|__{$c_2.cname}</option>
{foreach item=c_3 from=$c_2.child}
<option value="{$c_3.catid}" {if get('catid') eq $c_3.catid} selected="selected"{/if} class="o_c_3"> |____{$c_3.cname}</option>
{/foreach}
{/foreach}
{/foreach}
</select>
主题:<input type="text" class="w150" name="title" value="{$smarty.get.title}" class="w200" />
推荐:<select name="s_recommend" class="w100">
<option value="0">请选择</option>
<option value="1" {if get('s_recommend') eq 1} selected="selected"{/if}>是</option>
<option value="2" {if get('s_recommend') eq 2} selected="selected"{/if}>否</option>
</select>
<input type="submit" value="搜索" class="btn" />
</form>
</div>
<div class="main-body">
<form method="post" action="{$appadmin}?m=article&a=category">
<table class="tbs">
<thead> <tr>
<td>id</td>
<td>标题</td>
<td>图片</td>
<td>分类</td>
<td>喜欢</td>
<td>收藏</td>
<td>状态</td>
<td>推荐</td>
<td>创建时间</td>
<td>操作</td>
</tr>
</thead> {foreach item=c from=$data}
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。