Initial project files: BESCMS full source

This commit is contained in:
bes
2026-08-13 23:37:46 +08:00
parent fa6cddb540
commit 2e26f85723
2166 changed files with 396625 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
{template "header.html"}
{template "api_list_date_search.html"}
<div class="note note-danger">
<div class="row table-search-tool">
<form action="{SELF}" method="get">
{dr_form_search_hidden()}
<div class="col-md-12" style="padding-right: 0">
<label>
<div class="input-group fc-input-time date date-picker" data-date-format="yyyy-mm-dd">
<input type="text" class="form-control" name="time" value="{$time}">
<span class="input-group-btn">
<button class="btn default" type="button">
<i class="fa fa-calendar"></i>
</button>
</span>
</div>
</label>
</div>
<div class="col-md-12">
<label><button type="submit" class="btn blue btn-sm onloading" name="submit" > <i class="fa fa-search"></i> {dr_lang('搜索')}</button></label>
<label><button type="button" onclick="dr_ajax_option('{dr_url('system_log/del', ['time'=>$time])}', '{dr_lang('你确定要清空当天记录吗?')}', 1)" class="btn red btn-sm"> <i class="fa fa-trash"></i> {dr_lang('清空')}</button></label>
</div>
</form>
</div>
</div>
<div class="right-card-box">
<form class="form-horizontal" role="form" id="myform">
{dr_form_hidden()}
<table class="table table-striped table-bordered table-hover dataTable">
<thead>
<tr class="heading">
<th width="170">{dr_lang('时间')}</th>
<th width="200">{dr_lang('地址')}</th>
<th width="150">{dr_lang('操作人')}</th>
<th>{dr_lang('操作内容')}</th>
</tr>
</thead>
<tbody>
{loop $list $id $t}
<tr class="odd gradeX" id="dr_row_{$id}">
<td>{dr_date($t['time'], 'Y-m-d H:i:s', 'red')}</td>
<td>{Function_list::ip($t.ip)}</td>
<td>{Function_list::author($t.username)}</td>
<td><a href="javascript:;" onclick="dr_iframe_show('{dr_lang('查看')}', '{dr_url('system_log/show_index', ['time'=>$time, 'id'=>$id])}')">{$t.action}</td></td>
</tr>
{/loop}
</tbody>
</table>
<div class="row">
<div class="col-md-12 col-sm-12 text-right">
{$mypages}
</div>
</div>
</form>
</div>
{template "footer.html"}