{template 'member','header'}
<div id="main">
   <div id="left">
    <div id="treemenu">
      <h5>视频</h5>
      <ul>
	    <li><a href="video/center.php?action=add&catid=0">发布视频</a></li>
        <li><a href="video/center.php?action=manage&status=99">终审通过</a></li>
        <li><a href="video/center.php?action=manage&status=3">待审</a></li>
        <li><a href="video/center.php?action=manage&status=1">退稿</a></li>
        <li><a href="video/center.php?action=manage&status=0">删除</a></li>
      </ul>
    </div>
    <ol>
      <li class="local"><a href="">返回网站首页</a></li>
      <li class="exit"><a href="{$MODULE['member']['url']}logout.php">退出登录</a></li>
    </ol>
  </div>
  <div id="right">
    <p id="position"><strong>当前位置：</strong><a href="{$MODULE[member][url]}">会员中心</a><a href="video/center.php">视频管理</a></p>
    <div class="clear"></div>
    <table cellpadding="0" cellspacing="1" class="table_list">
      <caption>视频管理</caption>
      <tr>
        <th width="95">缩略图</th>
        <th>标题</th>
        <th width="50">点击量</th>
        <th width="110">提问时间</th>
        <th width="50">编辑</th>
      </tr>
	{loop $infos $info}
	{php $r = $v->get_count($info['vid']);}
	<tr>
	<td height="73" width="95">{if $info[thumb]}<img src="{$info[thumb]}" width="93" height="70" >{/if}</td>
		<td class="align_left">
	<a href="{video_show_url($info[vid],$info[url])}" target="{$target}" title="{$info[title]}">{str_cut($info[title], 72, '..')}</a>
	<BR><BR>所属分类：<a href="{$CATEGORY[$info[catid]][url]}" style="color:gray">[{$CATEGORY[$info[catid]][catname]}]</a>
		</td>
		<td>{$r[hits]}</td>
		<td>{date('Y-m-d H:i',$info[inputtime])}</td>
		<td>{if $info[status]>0}<a href="video/center.php?action=edit&vid={$info[vid]}"><img src="video/images/edit.gif" alt="编辑" width="16" height="16" /></a>{/if}</td>
	</tr>
	{/loop}
    </table>
    <div id="pages">{$pages}</div>
  </div>
</div>
<div class="clear"></div>
{template 'phpcms','footer'}