<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品管理</title>
<link href="<{$css_root}>images/admincp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="append_parent"/>
<div id="cpcontainer" class="container">
  <div class="itemtitle">
    <h3>商品展示</h3>
    <ul class="tab1">
      <li class="current"> <a href="produce.php?act=show"> <span>商品列表</span> </a> </li>
      <li> <a href="produce.php?act=add"> <span>添加商品</span> </a> </li>
    </ul>
  </div>
  
  <table class="tb tb2">
      <tbody>
        <tr class="header">
        <th>id</th>
        <th>商品名称</th>
        <th>所属分类</th>
        <th>发布人</th>
        <th>发布时间</th>
        <th>点击数</th>
        <th/>
        <th/>
      </tr>
      <{section name=list loop=$prolist}>
      <tr class="hover navlineheight">
        <td class="td25"><{$prolist[list].prid}> </td>
        <td class="td29"><{$prolist[list].title}> </td>
        <td><{$prolist[list].name}> </td>
        <td><{$prolist[list].username}> </td>
        <td><{$prolist[list].dateline}></td>
        <td><{$prolist[list].viewnum}> </td>
        <td><a class="act" href="produce.php?act=edit&prid=<{$prolist[list].prid}>">编辑</a> </td>
        <td><a class="act" href="produce.php?act=remove&prid=<{$prolist[list].prid}>">删除</a> </td>
      </tr>
      <{/section}>
        
      </tbody>
    </table>
    
</div>
</body>
</html>
