<!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>
<title>ECMall</title>
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<link href="admin/styles/general.css" rel="stylesheet" type="text/css" />
{script src='ecmall,ui.datagrid,ui.dropdownmenu,ajax,json'}
<script type="text/javascript" src="?act=jslang"></script>
<script language="javascript" type="text/javascript">
    var myDataGrid = null;
    Event.observe(window, "load" ,function(){
    myDataGrid = new ui.DataGrid($("myDataGrid"));
    myDataGrid.action = "modify";
  });
  </script>
</head>
<body>
<ul id="container">
  <li id="header">
    <h1>{$lang.view_builtinarticle}</h1>
    <div class="link"></div>
    <div id="desc">
      <span>{$article_stats}</span> </div>
  </li>
  <li id="wrapper">
    <select id='myDropDownlist' style="display:none">

    {html_options options=$cate_list}

    </select>
    <table class="grid" cellspacing="0" cellpadding="4" id="myDataGrid">
      <tr>
        <th class="first-cell">
          {sort_link by=title text=$lang.article_title}</th>
        <th>{$lang.handler}</th>
      </tr>
      {foreach from=$list.data item=art}
      <tr id="{$art.article_id}">
        <td class="first-cell">
          <span>{$art.title|escape}</span></td>
        <td class="handlelist"><a href="admin.php?app=builtinarticle&amp;act=edit&amp;id={$art.article_id}">{$lang.edit}</a></td>
      </tr>
      {/foreach}
    </table>
<br />
  </li>
  {include file="admin/templates/footer.html"}
</ul>
</body>
</html>
