test_same_list.tpl.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
  5. <title><?=$here?> - powered by <?=MPS_SOFTNAME?></title>
  6. <link href='template/css/<?=MPS_SOFTNAME?>.css' rel='stylesheet' type='text/css'>
  7. <script type='text/javascript' src='../template/global/mymps.js'></script>
  8. <script type='text/javascript' src='../template/global/noerr.js'></script>
  9. </head>
  10. <body>
  11. <div id="<?=MPS_SOFTNAME?>">
  12. <table border="0" cellspacing="0" cellpadding="0" class="vbm">
  13. <form name="form1" action="test_same.php?" method="post">
  14. <input name="part" value="do_action" type="hidden">
  15. <input type='hidden' name='pagesize' value='<?=$pagesize?>' />
  16. <input name="deltype" value="<?=$deltype?>" type="hidden" />
  17. <tr class="firstr">
  18. <td width="10%"> <input name="chkall" type="checkbox" onclick="AllCheck('prefix', this.form, 'infoTitles')" class="checkbox"/></td>
  19. <td width="10%"> 重复数量 </td>
  20. <td> 信息标题 </td>
  21. </tr>
  22. <?php
  23. while($row = $db->fetchRow($query))
  24. {
  25. if($row['dd']==1 ) break;
  26. ?>
  27. <tr bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
  28. <td>
  29. <input name="infoTitles[]" type="checkbox" value="<?php echo urlencode($row['title'])?>" class="checkbox" />
  30. </td>
  31. <td>
  32. <?php
  33. $allinfo += $row['dd'];
  34. echo $row['dd'];
  35. ?>
  36. </td>
  37. <td><a href="information.php?keywords=<?php echo $row['title']; ?>&show=title"><?php echo $row['title']; ?></a></td>
  38. </tr>
  39. <?php }?>
  40. <tr bgcolor="#E5F9FF">
  41. <td height="28" colspan="3" bgcolor="#F8FBFB">
  42. <input class="gray mini" value="删除重复信息" type="submit" name="<?php echo CURSCRIPT; ?>_submit">
  43. (共有 <font color="red"><?php echo $allinfo; ?></font> 篇重复标题的分类信息主题!)<br /><br />&nbsp;&nbsp;↑
  44. 只<?php echo $deltype == 'delnew' ? '保留最早的一条' : '保留最近的一条'?>
  45. </td>
  46. </tr>
  47. </form>
  48. </table>
  49. </div>
  50. </body>
  51. </html>