<!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>刀客建站系统   管理中心  - 模板管理 </title>
<%{include file="header.html"}%>
</head>
<body>
<h1>

<span class="action-span1"><a href="index.php?act=index.default_page">刀客建站系统   管理中心 </a>  - 模板管理  &nbsp;&nbsp;<a href="index.php?act=help.get&h=template_select&width=450"  class="jTip"  name="我希望获得更多帮助"><img src='images/help.png'></a></span>
<span style='float:right;margin-right:10px;'><img src='images/top_help.gif'><a href="http://sitepub.cn/help"> 帮助 </a></span>
<span style='float:right;margin-right:10px;'><img src='images/top_forum.gif'><a href="http://bbs.sitepub.cn"> 论坛 </a></span>
<div style="clear:both"></div>
</h1><!-- start templates list -->
<div class="list-div">
  <table width="100%"  >
  <tr><th> 当前模板</th></tr>
  <tr style='background-color:#FFF'><td>
    <table>
      <tr>
        <td width="250" align="center"><img id="screenshot" width=200 height=150  src="<%{$out.now_tpl.tpl_preview_image}%>"/></td>
        <td valign="top"><strong><span id="templateName"><%{$out.now_tpl.tpl_name|escape:html}%></span></strong><br />
          <span id="templateAuthor"><%{$out.now_tpl.author|escape:html}%></span><br />
          <span id="templateDesc"><%{$out.now_tpl.tpl_desc|escape:html}%></span><br />
          <span><input class="button" onclick="window.location.href='index.php?act=template_set.save_select&tpl_dir=<%{$out.now_tpl.tpl_dir}%>&reset=1'" value="重新安装" type="button" id="backup" /></span>
          <span><input class="button" onclick="window.location.href='index.php?act=template_set.dump_install_file'" value="导出安装文件" type="button" id="backup" /></span>
        </td></tr>

    </table>
  </td></tr>
  <tr><th> 选择其他模板</th></tr>
  <tr style='background-color:#FFF' ><td>
	<%{foreach from =$out.other_tpl item=v key=k}%>
      <table style="float:left; width: 220px;">
    <tr>
      <td><strong><%{$v.tpl_name|escape:html}%></strong></td>
    </tr>

    <tr>
      <td><a href="index.php?act=template_set.save_select&tpl_dir=<%{$v.tpl_dir|escape:url}%>"><img width=200 height=150 src="<%{$v.tpl_preview_image}%>" border="0" /></a> <a href="<%{$v.tpl_preview_image}%>" target="_blank"> 预览 </a></td>
    </tr>
    <tr>
      <td valign="top" style="height:60px;"><%{$v.tpl_desc|escape:html}%></td>
    </tr>
    </table>
    <%{/foreach}%>
    </td></tr>
  </table>
</div>

</body>
</html>

