why.xingtongworld.com项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

90 lines
2.6 KiB

{extend name="admin@public/base" /}
{block name="main-content"}
<style>
.open-btn{border:none;}
.open-btn .btn{min-width:40px !important;margin:0px auto;}
.table-responsive td{text-align:center;}
</style>
<div class="page-content">
<div class="row maintop">
<div class="col-xs-1 margintop5">
</div>
<div class="col-xs-7 margintop2">
</div>
<div class="col-xs-3">
<form name="sch_list_sea" class="form-search" method="post" action="{:url('log')}">
<div class="input-group">
<input type="text" name="search_name" class="form-control" value="{$search_name}" placeholder="输入产品代码或产品名称" />
<span class="input-group-btn">
<button type="submit" class="btn btn-purple btn-sm">
<span class="ace-icon fa fa-search icon-on-right bigger-110"></span>
搜索
</button>
</span>
</div>
</form>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<div>
<form method="post" >
<input name="p" id="p" value="{:input('p',1)}" type="hidden" />
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover" id="dynamic-table">
<thead>
<tr>
<th class="hidden-xs center">
<label class="pos-rel">
<input type="checkbox" class="ace" id='chkAll' onclick='CheckAll(this.form)' value="全选"/>
<span class="lbl"></span>
</label>
</th>
<th class="hidden-xs">ID</th>
<th>帖子</th>
<th>用户</th>
<th>点赞</th>
<th>回复</th>
<th>置顶</th>
<th class="hidden-xs">创建时间</th>
<th class="hidden-xs">状态</th>
<th style="border-right:#CCC solid 1px;">操作</th>
</tr>
</thead>
<tbody id="ajax-data">
{include file="bbs/ajax_log_list"/}
</tbody>
</table>
</div>
</form>
</div>
</div>
</div>
</div><!-- /.page-content -->
<script src="__PUBLIC__/others/jquery.form.js"></script>
<script>
$(function(){
var rules={};
var messages={};
function showResponse(data){
alert(data.msg);
setTimeout(function(){
if(data.code==1){
window.location.href=data.url;
}
},3000);
}
$(".submitbtn").click(function(event){
event.preventDefault();
var options={
success:showResponse
};
jQuery("#postForm").ajaxSubmit(options);
});
});
</script>
{/block}