|
|
@@ -3,17 +3,12 @@ |
|
|
|
<head> |
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>"> |
|
|
|
<title>标签管理</title> |
|
|
|
<script src="../static/js/jquery.js" language="javascript" type="text/javascript"></script> |
|
|
|
<script src="/static/js/bootstrap.bundle.js"></script> |
|
|
|
<link rel="stylesheet" href="../static/css/bootstrap.min.css"> |
|
|
|
<link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css"> |
|
|
|
<link rel="stylesheet" href="css/base.css"> |
|
|
|
<script src="../static/js/jquery.js"></script> |
|
|
|
<script src="/static/js/bootstrap.bundle.js"></script> |
|
|
|
<script src="../static/js/style.js"></script> |
|
|
|
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> |
|
|
|
<link href="css/base.css" rel="stylesheet" type="text/css" /> |
|
|
|
<style> |
|
|
|
.col-form-label { |
|
|
|
padding-top: 0; |
|
|
|
} |
|
|
|
</style> |
|
|
|
<script language="javascript"> |
|
|
|
function checkall(form, prefix, checkall) { |
|
|
|
var checkall = checkall ? checkall : 'all'; |
|
|
@@ -88,6 +83,9 @@ |
|
|
|
}) |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style> |
|
|
|
.col-form-label {padding-top:0} |
|
|
|
</style> |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div class="bodytitle mt-3"> |
|
|
@@ -95,107 +93,72 @@ |
|
|
|
<div class="bodytitletxt" style="padding-left:10px"><a href="tags_main.php">标签管理</a></div> |
|
|
|
</div> |
|
|
|
<div class="main"> |
|
|
|
<form name='form1' action="tags_main.php?action=fetch" method="post" style="margin-bottom:10px"> |
|
|
|
<form name="form1" action="tags_main.php?action=fetch" method="post" style="margin:10px 0"> |
|
|
|
<table width="98%" border="0" cellspacing="1" align="center" class="table maintable" style="background:#CFCFCF;"> |
|
|
|
<tr> |
|
|
|
<td height="26" align="left" bgcolor="#F0FBBD" background="images/wbg.gif" style="padding-left:10px"><strong>提取Tag</strong></td> |
|
|
|
<td height="26" align="left" bgcolor="#F0FBBD" background="images/wbg.gif" style="padding-left:10px"><strong>提取标签</strong></td> |
|
|
|
</tr> |
|
|
|
<tr> |
|
|
|
<td height="30" align="center" bgcolor="#Ffffff"> |
|
|
|
开始id: |
|
|
|
<input type="text" name="startaid" /> |
|
|
|
结束id: |
|
|
|
<input type="text" name="endaid" /> |
|
|
|
|
|
|
|
<button name="submit" type="submit" class="btn btn-success">获取标签</button> |
|
|
|
<small>(tag以文档关键词为准)</small> |
|
|
|
</td> |
|
|
|
<td height="30" align="center" bgcolor="#Ffffff">开始ID:<input type="text" name="startaid" /> 结束ID:<input type="text" name="endaid" /> <button name="submit" type="submit" class="btn btn-success">获取标签</button><small>(以文档关键词为准)</small></td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</form> |
|
|
|
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" |
|
|
|
class="table maintable table-bordered" style="background:#CFCFCF;"> |
|
|
|
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable table-bordered" style="background:#CFCFCF;"> |
|
|
|
<tr> |
|
|
|
<td height="26" colspan="7" bgcolor="#F0F0F0"> |
|
|
|
<td height="26" colspan="7" bgcolor="#f8f8f8"> |
|
|
|
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table-borderless"> |
|
|
|
<tr> |
|
|
|
<td align="left" style="padding-left:10px"><strong>标签维护</strong></td> |
|
|
|
<form name='form2' action="tags_main.php"> |
|
|
|
<td width="40%" align="right"> |
|
|
|
搜索: |
|
|
|
<input type='text' name='tag' size='10' value="<?php echo $tag;?>"> |
|
|
|
<button type='submit' name='sb' class="btn btn-success btn-sm">确定</button> |
|
|
|
<a href="makehtml_taglist.php" name='sb' class="btn btn-success btn-sm">更新标签</a> |
|
|
|
</td> |
|
|
|
</form> |
|
|
|
<td align="right"> |
|
|
|
<form name="form2" action="tags_main.php"> |
|
|
|
<span>搜索:<input type="text" name="tag" size="10" value="<?php echo $tag; ?>"></span> |
|
|
|
<button type="submit" name="sb" class="btn btn-success btn-sm">确定</button> |
|
|
|
<a href="makehtml_taglist.php" name="sb" class="btn btn-success btn-sm">更新</a> |
|
|
|
</form> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<tr align="center" bgcolor="#FBFCE2" height="26"> |
|
|
|
<td width="5%">删</td> |
|
|
|
<td width="20%">标签</td> |
|
|
|
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=count&orderway=<?php echo $neworderway;?>">点击</a> |
|
|
|
</td> |
|
|
|
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=total&orderway=<?php echo $neworderway;?>">文档数</a> |
|
|
|
</td> |
|
|
|
<td width="15%"><a href="tags_main.php?tag=<?php echo $tag;?>&orderby=addtime&orderway=<?php echo $neworderway;?>">添加时间</a> |
|
|
|
</td> |
|
|
|
<td width="15%">更新时间</td> |
|
|
|
<td width="20%">操作</td> |
|
|
|
<tr height="26" align="center" bgcolor="#FBFCE2"> |
|
|
|
<td width="8%">选择</td> |
|
|
|
<td width="30%">标签</td> |
|
|
|
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag; ?>&orderby=count&orderway=<?php echo $neworderway; ?>">点击</a></td> |
|
|
|
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag; ?>&orderby=total&orderway=<?php echo $neworderway; ?>">文档数</a></td> |
|
|
|
<td width="10%"><a href="tags_main.php?tag=<?php echo $tag; ?>&orderby=addtime&orderway=<?php echo $neworderway; ?>">添加时间</a></td> |
|
|
|
<td width="10%">更新时间</td> |
|
|
|
<td width="22%">操作</td> |
|
|
|
</tr> |
|
|
|
<form name='form3' action="tags_main.php?action=delete" method="post"> |
|
|
|
<form name="form3" action="tags_main.php?action=delete" method="post"> |
|
|
|
{dede:datalist} |
|
|
|
<?php |
|
|
|
$fields['addtime'] = GetDateMk($fields['addtime']); |
|
|
|
$fields['uptime'] = GetDateMk($fields['uptime']); |
|
|
|
$fields['tag'] = dede_htmlspecialchars($fields['tag']); |
|
|
|
?> |
|
|
|
<tr align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" |
|
|
|
onMouseOut="javascript:this.bgColor='#FFFFFF';"> |
|
|
|
<td height="26"> |
|
|
|
<input type="checkbox" name="ids[]" value="<?php echo $fields['id']; ?>" class='np' /> |
|
|
|
</td> |
|
|
|
$fields['addtime'] = GetDateMk($fields['addtime']); |
|
|
|
$fields['uptime'] = GetDateMk($fields['uptime']); |
|
|
|
$fields['tag'] = dede_htmlspecialchars($fields['tag']); |
|
|
|
?> |
|
|
|
<tr align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> |
|
|
|
<td><input type="checkbox" name="ids[]" value="<?php echo $fields['id']; ?>" class='np' /></td> |
|
|
|
<td><a href="../apps/tags.php?/<?php echo urlencode($fields['tag']); ?>/" target="_blank">{dede:field.tag/}</a></td> |
|
|
|
<td><input type="text" value="<?php echo $fields['count']; ?>" id="count<?php echo $fields['id']; ?>" size='5' /></td> |
|
|
|
<td><?php echo $fields['total']; ?></td> |
|
|
|
<td><?php echo $fields['addtime']; ?></td> |
|
|
|
<td><?php echo $fields['uptime']; ?></td> |
|
|
|
<td> |
|
|
|
<a href="../apps/tags.php?/<?php echo urlencode($fields['tag']); ?>/" target="_blank">{dede:field.tag/}</a> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<input type="text" value="<?php echo $fields['count']; ?>" id="count<?php echo $fields['id']; ?>" size='5' /> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<?php echo $fields['total']; ?> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<?php echo $fields['addtime']; ?> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<?php echo $fields['uptime']; ?> |
|
|
|
</td> |
|
|
|
<td> |
|
|
|
<a href='javascript:UpdateKwDes(<?php echo $fields['id']; ?>, "<?php echo $fields['tag']; ?>");' class="btn btn-success btn-sm">关键词描述</a> |
|
|
|
<a href='javascript:UpdateOne(<?php echo $fields['id']; ?>);' class="btn btn-success btn-sm">更新</a> |
|
|
|
<a href='makehtml_taglist.php?tid=<?php echo $fields['id'];?>' class="btn btn-success btn-sm">生成HTML</a> |
|
|
|
<a href='javascript:DeleteOne(<?php echo $fields['id']; ?>);' class="btn btn-success btn-sm">删</a> |
|
|
|
<a href='javascript:UpdateKwDes(<?php echo $fields['id']; ?>,"<?php echo $fields['tag']; ?>");' class="btn btn-success btn-sm">关键词描述</a> |
|
|
|
<a href="javascript:UpdateOne(<?php echo $fields['id']; ?>);" class="btn btn-success btn-sm">更新</a> |
|
|
|
<a href="makehtml_taglist.php?tid=<?php echo $fields['id']; ?>" class="btn btn-success btn-sm">生成</a> |
|
|
|
<a href="javascript:DeleteOne(<?php echo $fields['id']; ?>);" class="btn btn-success btn-sm">删除</a> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
{/dede:datalist} |
|
|
|
<tr bgcolor="#F0FBBD"> |
|
|
|
<td align="center" bgcolor="#F8FEE0" height="26"> |
|
|
|
<label> |
|
|
|
<input type="checkbox" onclick="checkall(this.form, 'ids')" name="all" class="np" /> |
|
|
|
<br>全选 |
|
|
|
</label> |
|
|
|
</td> |
|
|
|
<td height="26" colspan="7" align="center" bgcolor="#F8FEE0"> |
|
|
|
{dede:pagelist /} |
|
|
|
<tr height="36" bgcolor="#f8f8f8"> |
|
|
|
<td align="center"> |
|
|
|
<input type="checkbox" onclick="checkall(this.form,'ids')" name="all" class="np" /> 全选 |
|
|
|
<button type="button" onclick="document.form3.submit()" class="btn btn-success">删除</button> |
|
|
|
</td> |
|
|
|
<td colspan="6" align="center">{dede:pagelist/}</td> |
|
|
|
</tr> |
|
|
|
</form> |
|
|
|
<tr align="center" bgcolor="#FAFDF0"> |
|
|
|
<td height="36" colspan="8"> |
|
|
|
<button type='button' onclick="document.form3.submit()" class="btn btn-success">删除所选</button> |
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</div> |
|
|
|
</body> |