{template 'head.html'}

<div class="index-bg">
	<div class="container">
		<div class="section2">
                     <div class="user-content-table-nav">
                <ul>
                    <?php if($needcheck=='0'){ ?>
                    <li><a class="active" href="#"  onclick="gotourl(this)"   data-dataurl="{url('/manage/list/manage/archive/needcheck/0')}">{lang('waitcheckedcontent')}</a></li>
                    <li><a href="#"  onclick="gotourl(this)"   data-dataurl="{url('/manage/list/manage/archive/needcheck/1')}">{lang('alreadycheckedcontent')}</a></li>
                    <?php }else{  ?>
                    <li><a  href="#"  onclick="gotourl(this)"   data-dataurl="{url('/manage/list/manage/archive/needcheck/0')}">{lang('waitcheckedcontent')}</a></li>
                    <li><a  class="active" href="#"  onclick="gotourl(this)"   data-dataurl="{url('/manage/list/manage/archive/needcheck/1')}">{lang('alreadycheckedcontent')}</a></li>
                    <?php } ?>

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

<div class="user-content">


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



<div class="table-responsive">


    <table class="table table-hover">
        <thead>
            <tr>
                <!--<th width="60" >{lang('allselect')}<br /><input onclick="CheckAll(this.form)" type="checkbox" name="chkall" class="checkbox" /> </th>-->
               <!-- <th >{lang('order')}</th>-->
                <th class="user-cotent-id"><!--aid-->{lang('id')}</th>
                <th class="user-category"><!--catid-->{lang('category')}</th>
                <th class="user-content-list-title"><!--title-->{lang('title')}</th>
                <th class="user-content-author"><!--username-->{lang('author')}</th>
                <th class="user-content-view"><!--view-->{lang('view')}</th>
                <th class="user-content-adddate"><!--adddate-->{lang('adddate')}</th>
                <th class="user-content-checked"><!--checked-->{lang('checked')}</th>
                <th class="user-content-dosomething">{lang('dosomething')}</th>
            </tr>

        </thead>
        <tbody>
            {loop $data $d}
            <tr class="s_out">
                <td class="user-cotent-id">{cut($d['aid'])}</td>
                <td class="user-category"><a href="<?php echo url("archive/list/catid/".$d[catid],false);?>" target="_blank">{catname($d['catid'])}</a></td>
                <td class="user-content-list-title">{cut($d['title'])}</td>
                <td class="user-content-author">{cut($d['username'])}</td>
                <td class="user-content-view">{cut($d['view'])}</td>
                <td class="user-content-adddate">{cut($d['adddate'])}</td>
                <td class="user-content-checked">{helper::yes($d['checked'])}</td>
                <td class="user-content-dosomething">
                    <a href='<?php if($d['linkto'])   echo $d['linkto']; else echo url("archive/show/aid/$d[$primary_key]",false);?>' target="_blank" title="{lang('look')}"><i class="glyphicon glyphicon-eye-open"></i></a>
                    <a href="#"  onclick="gotourl(this)"   data-dataurl="<?php echo modify("act/edit/manage/archive/id/$d[$primary_key]");?>" title="{lang('edits')}"><i class="glyphicon glyphicon-edit"></i></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::adminhtml($record_count); ?>
</div>
<div class="blank10"></div>
</div>
</div>
</div>
</div>
<div class="blank30"></div>
{template 'foot.html'}