{template_user 'head.html'}

<div class="index-bg">
	<div class="container">
		<div class="section2">

		<div class="index-title">
				<h4>{lang('my-praise')}</h4>	
			</div>


<div class="user-content">


<form name="listform" id="listform"  action="<?php echo uri();?>" method="post">



<div class="table-responsive">


<form name="listform" id="listform"  action="<?php echo uri();?>" method="post">
<table class="table table-striped table-hover">
<thead>
<tr class="th">
<!-- <th><input title="点击可全选本页的所有项目"  onclick="CheckAll(this.form)" type="checkbox" name="chkall"> </th> -->
<th align="center"><!--id-->{lang('id')}</th>
<th align="center"><!--content-->{lang('adddate')}</th>
<th align="center"><!--content-->{lang('title')}</th>
<th align="center">{lang('dosomething')}</th>
</tr>
</thead>
<tbody>
{loop $data $d}
<tr>
<!-- <td align="center" >
<input onclick="c_chang(this)" type="checkbox" value="{$d.$primary_key}" name="select[]" class="checkbox" />
</td> -->

<td align="center">{cut($d['zlid'])}</td>
<td align="left" style="padding-left:10px;">{date('Y-m-d H:i:s',$d['addtime'])}</td>
<td align="left" style="padding-left:10px;"><a href="{$d[aurl]}" target="_blank">{$d['title']}</a></td>
<td align="center">
<a onclick="javascript: return confirm('{lang(are_you_sure_you_want_to_delete_it)}');" href="<?php echo url('comment/delzan/id/'.$d['zlid']);?>" class="a_del">{lang('delete')}</a>
</td>
</tr>
{/loop}

</tbody>
</table>
<div class="blank30"></div>

    <input type="hidden" name="batch" value="">


</form>
<div class="blank30"></div>

<div class="pages">
<?php if(get('table')!='type' && front::get('case')!='field') echo pagination::html($record_count); ?>
</div>

<div class="blank30"></div>
<script>
$(function(){
	$('#btn_add').click(function(e) {
        $('#listform').attr('action','<?php echo url('invite/add',true);?>');
		$('#listform').submit();
    });
});
</script>
<div class="blank30"></div>

</div>
</div>
</div>
</div>
<div class="blank30"></div>
{template_user 'foot.html'}