联系官方销售客服
1835022288
028-61286886
{template nheader.html}
<div class="page-bar">
<ul class="page-breadcrumb mylink">
{$menu.link}
</ul>
<ul class="page-breadcrumb myname">
{$menu.name}
</ul>
<div class="page-toolbar">
<div class="btn-group pull-right">
<button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false" data-hover="dropdown"> {fc_lang('操作菜单')}
<i class="fa fa-angle-down"></i>
</button>
<ul class="dropdown-menu pull-right" role="menu">
{loop $menu.quick $t}
<li>
<a href="{$t.url}">{$t.icon} {$t.name}</a>
</li>
{/loop}
<li class="divider"> </li>
<li>
<a href="javascript:window.location.reload();">
<i class="icon-refresh"></i> {fc_lang('刷新页面')}</a>
</li>
</ul>
</div>
</div>
</div>
<div class="mytopsearch">
<form class="row" method="post" action="" name="searchform" id="searchform">
<input name="search" id="search" type="hidden" value="1" />
<div class="col-md-12">
<label>
<select name="data[field]" class="form-control">
<option value="id" {if $param.field=='id'}selected{/if}>Id</option>
<option value="uid" {if $param.field=='uid'}selected{/if}>Uid</option>
{loop $field $t}
{if $t.ismain && $t.fieldname != 'inputtime'}
<option value="{$t.fieldname}" {if $param.field==$t.fieldname}selected{/if}>{$t.name}</option>
{/if}
{/loop}
</select>
</label>
<label><i class="fa fa-caret-right"></i></label>
<label style="padding-right: 20px;"><input type="text" class="form-control" placeholder="{fc_lang('多个Id可以用“,”分隔')}" value="{$param['keyword']}" name="data[keyword]" /></label>
<label>{fc_lang('录入时间')} :</label>
<label>{dr_field_input('start', 'Date', array('option'=>array('format'=>'Y-m-d','width'=>'100')), (int)$param.start)}</label>
<label><i class="fa fa-minus"></i></label>
<label style="margin-right:10px">{dr_field_input('end', 'Date', array('option'=>array('format'=>'Y-m-d','width'=>'100')), (int)$param.end)}</label>
<label><button type="submit" class="btn green btn-sm" name="submit" > <i class="fa fa-search"></i> {fc_lang('搜索')}</button></label>
</div>
</form>
</div>
<form action="" method="post" name="myform" id="myform">
<input name="action" id="action" type="hidden" value="" />
<div class="portlet mylistbody">
<div class="portlet-body">
<div class="table-scrollable">
<table class="mytable table table-striped table-bordered table-hover table-checkable dataTable">
<thead>
<tr>
<th align=""></th>
<th width="90" class="{ns_sorting('displayorder')}" name="displayorder" >{fc_lang('排序')}</th>
<th width="90" class="{ns_sorting('id')}" name="id">Id</th>
<th class="{ns_sorting('title')}" name="title">{fc_lang('标题')}</th>
<th class="{ns_sorting('xznydfg')}" name="xznydfg">{fc_lang('风格')}</th>
<th width="150" class="{ns_sorting('author')}" name="author">{fc_lang('录入作者')}</th>
<th width="150" class="{ns_sorting('inputtime')}" name="inputtime">{fc_lang('录入时间')}</th>
<th align="left" class="dr_option">{fc_lang('操作')}</th>
</tr>
</thead>
<tbody>
{loop $list $t}
<tr>
<td><input name="ids[]" type="checkbox" class="dr_select toggle md-check" value="{$t.id}" /></td>
<td><input class="input-text displayorder" type="text" name="data[{$t['id']}][displayorder]" value="{$t['displayorder']}" /></td>
<td>{$t.id}</td>
<td>{$t.title}</td>
<td>{$t.xznydfg}</td>
<td><a href="{dr_url($form.'/edit',array('id' => $t.id))}">{dr_keyword_highlight($t.title, $param.keyword)}</a></td>
<td><a href="javascript:;" onclick="dr_dialog_member('{$t.uid}')">{dr_strcut($t.author, 10)}</a></td>
<td>{dr_date($t.inputtime, NULL, 'red')}</td>
<td>
{if $this->ci->is_auth($form.'/edit')}<a class="btn green btn-xs" href="{dr_url($form.'/edit',array('id' => $t.id))}"> <i class="fa fa-edit"></i> {fc_lang('修改')}</a> {/if}
{if $this->ci->is_auth($form.'/show')}<a class="btn blue btn-xs" href="{dr_url($form.'/show',array('id' => $t.id))}"> <i class="fa fa-search"></i> {fc_lang('查看')}</a> {/if}
</td>
</tr>
{/loop}
<tr class="mtable_bottom">
<th width="20" ><input name="dr_select" class="toggle md-check" id="dr_select" type="checkbox" onClick="dr_selected()" /></th>
<td colspan="99" align="left">
{if $this->ci->is_auth($form.'/del')}<button type="button" class="btn red btn-sm" name="option" onClick="$('#action').val('del');dr_confirm_set_all('{fc_lang('您确定要这样操作吗?')}')"><i class="fa fa-trash"></i> {fc_lang('删除')}</button>{/if}
{if $this->ci->is_auth($form.'/edit')}<button type="button" class="btn green btn-sm" name="option" onClick="$('#action').val('order');dr_confirm_set_all('{fc_lang('您确定要这样操作吗?')}')"><i class="fa fa-edit"></i> {fc_lang('排序')}</button>
<div class="onShow">{fc_lang('排序值越大越靠前')}</div>{/if}
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</form>
<div id="pages"><a>{fc_lang('共%s条', $total)}</a>{$pages}</div>
{template nfooter.html}
始终显示不出风格