<!-- #include file="../../themes/admin/~css.php" -->
<form action="<?=url(RPGM.'theme/?ajax')?>" method="post" id="form" onsubmit="return yun_submit(this.id)">
<h3 class="title">模板列表</h3>
 <div class="in">
 <table width="100%">
    <thead>
      <tr>
        <th width="66">序号</th>
        <th>模板名称</th>
        <th width="120">作者</th>
        <th width="120">制作日期</th>
        <th width="60">系统默认</th>
        </tr>
    </thead>
    <tbody>
      <?php $i=0; foreach($arg_0 as $k=>$v){ ?>
      <tr >
        <td><input type="text" name="order[<?=$k?>]" value="<?=++$i?>" size="5" maxlength="5" /></td>
        <td id="tip_<?=$k?>"><?=htmlspecialchars($v['主题名称'])?></td>
        <td><?=html($v['主题作者'])?></td>
        <td>
<div style="display: none;" id="yun_tip_<?=$k?>" >
<table>
<?php foreach($arg_0[$k] as $key=>$val){ if($key<>'缩略图') continue;?>
<img src="<?=ROOTPATH?>themes/<?=$k?>/img/<?=$val?>" />
<?php }?>
</table>
<table>
<?php foreach($arg_0[$k] as $key=>$val){?>
<tr><td><?=html($key)?></td><td><?=html($val)?></td></tr>
<?php }?>
<tr><td>安装位置</td><td>/themes/<?=html($k)?>/</td></tr> 
</table>
</div>
		<?=html($v['制作日期'])?></td>
        <td><input type="radio" name="theme" value="<?=$k?>" <?=$k==$conf['sys_theme']?'checked="checked"':''?>/></td>
        </tr>
             
      <?php }?>
    </tbody>
  </table>
  
<div align="center" >
	<input value="提交" type="submit" class="button"> 
    <input value="重置" type="reset" class="button">
</div>
</div>
</form>
<script type="text/javascript">
 </script>
