| @@ -3,6 +3,8 @@ | |||
| <head> | |||
| <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> | |||
| <title>重复文档检测</title> | |||
| <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||
| <link rel="stylesheet" href="../static/web/css/admin.css"> | |||
| <script language="javascript"> | |||
| //获得选中文件的文件名 | |||
| function getCheckboxItem() | |||
| @@ -46,49 +48,48 @@ function noSelAll() | |||
| </script> | |||
| </head> | |||
| <body> | |||
| <table width="100%" cellpadding="2" cellspacing="1" class="tbtitle"> | |||
| <tr bgcolor="#E7E7E7"> | |||
| <td height="26" colspan="3">重复文档列表:</td> | |||
| <table width="100%" cellpadding="2" cellspacing="1" class="table maintable"> | |||
| <t> | |||
| <td height="26" bgcolor="#f8f8f8" colspan="3">重复文档列表(共有 <?php echo $allarc; ?> 篇重复标题的文档)</td> | |||
| </tr> | |||
| <form name="form2" method="POST" action="article_test_same.php"> | |||
| <input type='hidden' name='deltype' value='<?php echo $deltype; ?>'> | |||
| <input type='hidden' name='dopost' value='delsel'> | |||
| <input type='hidden' name='pagesize' value='<?php echo $pagesize; ?>'> | |||
| <input type='hidden' name='channelid' value='<?php echo $channelid; ?>'> | |||
| <input type='hidden' name='maintable' value='<?php echo $maintable; ?>'> | |||
| <input type='hidden' name='titles' value=''> | |||
| <tr bgcolor="#F8FBFB" height="26" align="center"> | |||
| <td width="9%">选择</td> | |||
| <td width="10%">重复数量</td> | |||
| <td width="81%">文档标题</td> | |||
| </tr> | |||
| <?php | |||
| while($row = $dsql->GetArray()) | |||
| { | |||
| if($row['dd']==1 ) break; | |||
| ?> | |||
| <tr height="26" align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td> | |||
| <td> | |||
| <input type='hidden' name='deltype' value='<?php echo $deltype; ?>'> | |||
| <input type='hidden' name='dopost' value='delsel'> | |||
| <input type='hidden' name='pagesize' value='<?php echo $pagesize; ?>'> | |||
| <input type='hidden' name='channelid' value='<?php echo $channelid; ?>'> | |||
| <input type='hidden' name='maintable' value='<?php echo $maintable; ?>'> | |||
| <input type='hidden' name='titles' value=''> | |||
| <tr height="26" bgcolor="#F8FCF1" align="center"> | |||
| <td width="10%">选择</td> | |||
| <td width="10%">重复数量</td> | |||
| <td width="80%">文档标题</td> | |||
| </tr> | |||
| <?php | |||
| $allarc += $row['dd']; | |||
| echo $row['dd']; | |||
| while($row = $dsql->GetArray()) | |||
| { | |||
| if($row['dd']==1 ) break; | |||
| ?> | |||
| </td> | |||
| <td><?php echo $row['title']; ?></td> | |||
| </tr> | |||
| <?php | |||
| } | |||
| ?> | |||
| <tr bgcolor="#E5F9FF"> | |||
| <td height="26" colspan="3"> | |||
| <input type='button' name='bt1' value='全选' onclick='selAll()'> | |||
| <input type='button' name='bt2' value='反选' onclick='noSelAll()'> | |||
| <input type='button' name='bt3' value='删除' onclick='delArc()'> | |||
| (共有 <?php echo $allarc; ?> 篇重复标题的文档) | |||
| </td> | |||
| </tr> | |||
| </form> | |||
| <tr height="26" align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
| <td><input name="arcTitles" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"></td> | |||
| <td> | |||
| <?php | |||
| $allarc += $row['dd']; | |||
| echo $row['dd']; | |||
| ?> | |||
| </td> | |||
| <td><?php echo $row['title']; ?></td> | |||
| </tr> | |||
| <?php | |||
| } | |||
| ?> | |||
| <tr> | |||
| <td height="26" colspan="3"> | |||
| <input type="button" name="bt1" onclick="selAll()" value="全选" class="btn btn-success btn-sm"> | |||
| <input type="button" name="bt2" onclick="noSelAll()" value="反选" class="btn btn-success btn-sm"> | |||
| <input type="button" name="bt3" onclick="delArc()" value="删除" class="btn btn-success btn-sm"> | |||
| </td> | |||
| </tr> | |||
| </form> | |||
| </table> | |||
| </body> | |||
| </html> | |||