<!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" />
<script language="javascript">
function js_do(val)
{
window.returnValue=val;
/*window.opener.document.getElementById("downfile").value=val;*/
window.dialogArguments.document.form.downfile.value=val;
window.close();
}
</script>
</head>
<body>
<div id="append_parent"/>
<div id="cpcontainer" class="container">

    <table class="tb tb2">
      <tbody>
        <tr class="header">
          <th>文件名称</th>
          <th>文件类型</th>
          <th>文件大小</th>
        </tr>
        <{section name=file loop=$filelist}>
        <tr class="hover">
          <td class="td29"><a href="#" onclick="js_do('<{$filelist[file].temname}>')"><{$filelist[file].filename}></a>
          </td>
          <td><{$filelist[file].attachtype}></td>
          <td><{$filelist[file].size}></td>
          </td>
        </tr>
        <{/section}>
      </tbody>
    </table>
</div>
</body>
</html>