focus_list.tpl.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php include mymps_tpl('inc_head');?>
  2. <script type='text/javascript' src='js/vbm.js'></script>
  3. <div id="<?=MPS_SOFTNAME?>" style="padding-bottom:0">
  4. <div class="mpstopic-category">
  5. <div class="panel-tab">
  6. <ul class="clearfix tab-list">
  7. <li><a href="?typename=网站首页" <?php if($typename=='网站首页') echo 'class="current"';?>>网站首页</a></li>
  8. <li><a href="?typename=新闻首页" <?php if($typename=='新闻首页') echo 'class="current"';?>>新闻首页</a></li>
  9. </ul>
  10. </div>
  11. </div>
  12. </div>
  13. <form method='post' action='?part=<?=$part?>'>
  14. <input name="typename" value="<?=$typename?>" type="hidden" />
  15. <div id="<?=MPS_SOFTNAME?>">
  16. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  17. <tr class="firstr">
  18. <td width="50"><input name="checkall" type="checkbox" class="checkbox" id="checkall" onClick="CheckAll(this.form)"/> 删?</td>
  19. <td align="center">幻灯片路径</td>
  20. <td width="160" align="center">说明文字</td>
  21. <td align="center">添加时间</td>
  22. <td width="100" align="center">顺序</td>
  23. <td align="center">编辑</td>
  24. </tr>
  25. <?php foreach($row AS $row){?>
  26. <tr align="center" bgcolor="white">
  27. <td><input type='checkbox' name='delids[]' value='<?=$row[id]?>' class="checkbox" id="<?=$row[id]?>"></td>
  28. <td><a href='javascript:blocknone("pm_<?=$row[id]?>");'><?=$row[pre_image]?></a></td>
  29. <td><?=$row[words]?></td>
  30. <td><em><?=GetTime($row[pubdate])?></em></td>
  31. <td><input name="displayorder[<?=$row[id]?>]" value="<?=$row[focusorder]?>" class="txt"/></td>
  32. <td>
  33. <a href='?part=edit&id=<?=$row[id]?>'>详情</a>
  34. </td>
  35. </tr>
  36. <tr style="background-color:white; display:none" id="pm_<?=$row[id]?>">
  37. <td>&nbsp;</td>
  38. <td colspan="5"><img src="<?=$row[pre_image]?>" style="height:150px;"/></td>
  39. </tr>
  40. <? }?>
  41. </table>
  42. </div>
  43. <center style='margin:10px'><input type="submit" value="提 交" class="mymps large" name="focus_submit"/> </center>
  44. </form>
  45. <?php mymps_admin_tpl_global_foot();?>