Browse Source

html5优化

tags/6.1.9
xushubieli 2 years ago
parent
commit
8af4f9ee94
100 changed files with 2690 additions and 2734 deletions
  1. +0
    -23
      src/admin/catalog_menu.php
  2. +7
    -6
      src/admin/templets/action_search.htm
  3. +4
    -3
      src/admin/templets/ad_add.htm
  4. +4
    -3
      src/admin/templets/ad_edit.htm
  5. +4
    -3
      src/admin/templets/ad_main.htm
  6. +8
    -7
      src/admin/templets/adtype_main.htm
  7. +25
    -24
      src/admin/templets/album_add.htm
  8. +24
    -23
      src/admin/templets/album_edit.htm
  9. +21
    -20
      src/admin/templets/archives_add.htm
  10. +21
    -20
      src/admin/templets/archives_edit.htm
  11. +30
    -29
      src/admin/templets/archives_sg_add.htm
  12. +28
    -27
      src/admin/templets/archives_sg_edit.htm
  13. +32
    -31
      src/admin/templets/article_add.htm
  14. +4
    -3
      src/admin/templets/article_coonepage_rule.htm
  15. +4
    -3
      src/admin/templets/article_description_main.htm
  16. +30
    -29
      src/admin/templets/article_edit.htm
  17. +99
    -107
      src/admin/templets/article_keywords_main.htm
  18. +93
    -94
      src/admin/templets/article_result_same.htm
  19. +76
    -77
      src/admin/templets/article_test_same.htm
  20. +4
    -3
      src/admin/templets/baidunews.htm
  21. +4
    -3
      src/admin/templets/cards_make.htm
  22. +4
    -3
      src/admin/templets/cards_manmage.htm
  23. +6
    -5
      src/admin/templets/cards_type.htm
  24. +10
    -9
      src/admin/templets/catalog_add.htm
  25. +1
    -0
      src/admin/templets/catalog_add_quick.htm
  26. +9
    -8
      src/admin/templets/catalog_edit.htm
  27. +213
    -158
      src/admin/templets/catalog_main.htm
  28. +0
    -165
      src/admin/templets/catalog_menu.htm
  29. +0
    -151
      src/admin/templets/catalog_menu2.htm
  30. +6
    -5
      src/admin/templets/content_att.htm
  31. +6
    -5
      src/admin/templets/content_batch_up.htm
  32. +13
    -12
      src/admin/templets/content_i_list.htm
  33. +13
    -12
      src/admin/templets/content_list.htm
  34. +8
    -7
      src/admin/templets/content_s_list.htm
  35. +4
    -3
      src/admin/templets/content_select_list.htm
  36. +1
    -0
      src/admin/templets/content_sg_list.htm
  37. +7
    -8
      src/admin/templets/content_tj.htm
  38. +4
    -3
      src/admin/templets/diy_add.htm
  39. +4
    -3
      src/admin/templets/diy_edit.htm
  40. +10
    -9
      src/admin/templets/diy_edit_content.htm
  41. +11
    -10
      src/admin/templets/diy_field_add.htm
  42. +11
    -10
      src/admin/templets/diy_field_edit.htm
  43. +6
    -5
      src/admin/templets/diy_list.htm
  44. +8
    -6
      src/admin/templets/diy_main.htm
  45. +8
    -7
      src/admin/templets/diy_post.htm
  46. +4
    -3
      src/admin/templets/erradd.htm
  47. +6
    -5
      src/admin/templets/feedback_edit.htm
  48. +4
    -3
      src/admin/templets/feedback_main.htm
  49. +68
    -65
      src/admin/templets/file_edit.htm
  50. +6
    -5
      src/admin/templets/file_manage_main.htm
  51. +7
    -6
      src/admin/templets/file_upload.htm
  52. +4
    -3
      src/admin/templets/freelist_add.htm
  53. +4
    -3
      src/admin/templets/freelist_edit.htm
  54. +4
    -3
      src/admin/templets/freelist_main.htm
  55. +8
    -7
      src/admin/templets/friendlink_add.htm
  56. +4
    -3
      src/admin/templets/friendlink_edit.htm
  57. +6
    -5
      src/admin/templets/friendlink_main.htm
  58. +6
    -5
      src/admin/templets/friendlink_type.htm
  59. +143
    -107
      src/admin/templets/index.htm
  60. +154
    -138
      src/admin/templets/index_body.htm
  61. +160
    -80
      src/admin/templets/index_menu.htm
  62. +4
    -3
      src/admin/templets/log_list.htm
  63. +109
    -77
      src/admin/templets/login.htm
  64. +119
    -115
      src/admin/templets/makehtml_all.htm
  65. +87
    -86
      src/admin/templets/makehtml_archives.htm
  66. +4
    -3
      src/admin/templets/makehtml_freelist.htm
  67. +148
    -153
      src/admin/templets/makehtml_homepage.htm
  68. +97
    -97
      src/admin/templets/makehtml_js.htm
  69. +84
    -84
      src/admin/templets/makehtml_list.htm
  70. +59
    -58
      src/admin/templets/makehtml_rss.htm
  71. +59
    -58
      src/admin/templets/makehtml_spec.htm
  72. +104
    -103
      src/admin/templets/makehtml_taglist.htm
  73. +6
    -5
      src/admin/templets/media_add.htm
  74. +4
    -3
      src/admin/templets/media_edit.htm
  75. +6
    -5
      src/admin/templets/media_main.htm
  76. +8
    -7
      src/admin/templets/member_main.htm
  77. +4
    -3
      src/admin/templets/member_operations.htm
  78. +8
    -7
      src/admin/templets/member_pm.htm
  79. +8
    -7
      src/admin/templets/member_pmall.htm
  80. +8
    -7
      src/admin/templets/member_pmone.htm
  81. +6
    -5
      src/admin/templets/member_rank.htm
  82. +5
    -4
      src/admin/templets/member_scores.htm
  83. +4
    -3
      src/admin/templets/member_toadmin.htm
  84. +6
    -5
      src/admin/templets/member_type.htm
  85. +4
    -3
      src/admin/templets/member_view.htm
  86. +9
    -8
      src/admin/templets/module_edit.htm
  87. +4
    -3
      src/admin/templets/module_help.htm
  88. +93
    -92
      src/admin/templets/module_main.htm
  89. +6
    -5
      src/admin/templets/module_make.htm
  90. +8
    -7
      src/admin/templets/module_upload.htm
  91. +7
    -6
      src/admin/templets/mychannel_add.htm
  92. +16
    -17
      src/admin/templets/mychannel_edit.htm
  93. +11
    -10
      src/admin/templets/mychannel_field_add.htm
  94. +4
    -3
      src/admin/templets/mychannel_field_edit.htm
  95. +79
    -75
      src/admin/templets/mychannel_main.htm
  96. +4
    -3
      src/admin/templets/mychannel_modifysearch.htm
  97. +6
    -5
      src/admin/templets/mytag_add.htm
  98. +7
    -6
      src/admin/templets/mytag_edit.htm
  99. +6
    -5
      src/admin/templets/mytag_main.htm
  100. +6
    -5
      src/admin/templets/mytag_tag_guide.htm

+ 0
- 23
src/admin/catalog_menu.php View File

@@ -1,23 +0,0 @@
<?php
/**
* 栏目菜单
*
* @version $Id: catalog_menu.php 1 14:31 2010年7月12日Z tianya $
* @package DedeBIZ.Administrator
* @copyright Copyright (c) 2022, DedeBIZ.COM
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEINC."/typeunit/typeunit.class.menu.php");
$userChannel = $cuserLogin->getUserChannel();
if (empty($opendir)) $opendir = -1;
if ($userChannel > 0) $opendir = $userChannel;

if ($cuserLogin->adminStyle == 'dedecms') {
include DedeInclude('templets/catalog_menu.htm');
exit();
} else {
include DedeInclude('templets/catalog_menu2.htm');
exit();
}

+ 7
- 6
src/admin/templets/action_search.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>操作搜索</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
@@ -12,7 +13,7 @@
<tr>
<td height="26" background="../static/web/img/tbg.gif">当前位置 &gt; 搜索结果</td>
</tr>
<tr align="center" bgcolor="#f8f8f8" height="26">
<tr height="26" bgcolor="#f8f8f8" align="center">
<td align="left">&quot;<span class='text-danger'><?php echo $keyword; ?></span>&quot;的搜索结果</td>
</tr>
<tr height="26" align="center">
@@ -34,10 +35,10 @@
</td>
</tr>
</table>
<?php }?>
<?php } ?>
</td>
</tr>
<tr align="center" bgcolor="#f8f8f8" height="26">
<tr height="26" bgcolor="#f8f8f8" align="center">
<td align="center"></td>
</tr>
</table>


+ 4
- 3
src/admin/templets/ad_add.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加广告</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/ad_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改广告</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/ad_main.htm View File

@@ -1,8 +1,9 @@
{dede:config.pagesize value='20' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>广告管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 8
- 7
src/admin/templets/adtype_main.htm View File

@@ -1,11 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>广告分类管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 25
- 24
src/admin/templets/album_add.htm View File

@@ -1,26 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>增加图片集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/albumupload.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/album.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<script language="javascript">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加图片集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/albumupload.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/album.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<script language="javascript">
var swfu = null;
var vcc = 0;
var albums = [];
@@ -46,12 +47,12 @@
$("#iptAlbumImages").val("");
});
});
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
</style>
</style>
</head>
<body>
<form name="form1" action="album_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">
@@ -457,7 +458,7 @@ table{border-collapse:separate}
<?php
$nowtime = GetDateTimeMk(time());
echo "<input type='text' name='pubdate' value='$nowtime' id='pubdate' class='datepicker' style='width:160px'>";
?>
?>
</td>
<td width="90">浏览次数:</td>
<td><input type="text" name="click" value="<?php echo ($cfg_arc_click=='-1' ? mt_rand(50,200):$cfg_arc_click); ?>" style="width:160px"></td>


+ 24
- 23
src/admin/templets/album_edit.htm View File

@@ -1,26 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>修改图片集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/albumupload.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/album.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<script language="javascript" type="text/javascript">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改图片集</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/albumupload.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script type="text/javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/album.js"></script>
<script type="text/javascript" src="js/handlers.js"></script>
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<script language="javascript" type="text/javascript">
var swfu = null;
var vcc = 0;
var albums = [];
@@ -46,13 +47,13 @@
$("#iptAlbumImages").val("");
});
});
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.albEdit {height:auto}
</style>
</style>
</head>
<body>
<form name="form1" action="album_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">


+ 21
- 20
src/admin/templets/archives_add.htm View File

@@ -1,23 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>增加商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit() {
if (document.form1.title.value == "") {
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
@@ -28,13 +29,13 @@
return false;
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 21
- 20
src/admin/templets/archives_edit.htm View File

@@ -1,23 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>修改商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改商品</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit() {
if (document.form1.title.value == "") {
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
@@ -25,13 +26,13 @@
return false;
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:10px;width:160px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 30
- 29
src/admin/templets/archives_sg_add.htm View File

@@ -1,41 +1,42 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>增加分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
return false;
}
if(document.form1.typeid.value==0){
ShowMsg("请选择档案的主栏目");
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
return false;
}
if(document.form1.typeid.value==0){
ShowMsg("请选择档案的主栏目");
return false;
}
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:6px;width:160px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 28
- 27
src/admin/templets/archives_sg_edit.htm View File

@@ -1,38 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>修改分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
document.form1.title.focus();
return false;
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script type="text/javascript" src="../static/web/js/moment.min.js"></script>
<script type="text/javascript" src="../static/web/js/daterangepicker.js"></script>
<script language="javascript" src="js/main.js"></script>
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script src="../static/web/js/cropper.min.js"></script>
<script language="javascript">
function checkSubmit()
{
if(document.form1.title.value==""){
ShowMsg("<?php echo $cInfos['titlename']; ?>不能为空");
document.form1.title.focus();
return false;
}
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.form-control{display:inline-block;margin-right:6px;width:160px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 32
- 31
src/admin/templets/article_add.htm View File

@@ -1,44 +1,45 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>增加文章</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<script>
var arctype = 'article';
function checkSubmit() {
if (document.form1.title.value == '') {
ShowMsg('文章标题不能为空');
return false;
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加文章</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<script>
var arctype = 'article';
function checkSubmit() {
if (document.form1.title.value == '') {
ShowMsg('文章标题不能为空');
return false;
}
if (document.form1.typeid.value == 0) {
ShowMsg('请选择档案的主类别');
return false;
}
}
if (document.form1.typeid.value == 0) {
ShowMsg('请选择档案的主类别');
return false;
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.albCt img{cursor:pointer}
.multipic{border:1px dashed #FC6}
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 4
- 3
src/admin/templets/article_coonepage_rule.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>单页采集规则管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/article_description_main.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自动摘要分页</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 30
- 29
src/admin/templets/article_edit.htm View File

@@ -1,42 +1,43 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>修改文章</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<script>
var swfu = null;
var arctype = 'article';
function checkSubmit() {
if (document.form1.title.value == '') {
ShowMsg('文章标题不能为空');
document.form1.title.focus();
return false;
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改文章</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<link rel="stylesheet" href="../static/web/css/jquery.fileupload.css">
<link rel="stylesheet" href="../static/web/css/cropper.min.css">
<script>const cfg_uplitpic_cut = '<?php echo $cfg_uplitpic_cut; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script src="js/main.js"></script>
<script src="js/handlers.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/cropper.min.js"></script>
<script>
var swfu = null;
var arctype = 'article';
function checkSubmit() {
if (document.form1.title.value == '') {
ShowMsg('文章标题不能为空');
document.form1.title.focus();
return false;
}
}
}
</script>
<style>
</script>
<style>
body{background:#fff}
img{vertical-align:baseline}
table{border-collapse:separate}
.albCt img{cursor:pointer}
.multipic{border:1px dashed #FC6}
.albCt{border-bottom:1px dashed #FC0;margin-bottom:10px;padding-bottom:10px}
</style>
</style>
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="mt-3">


+ 99
- 107
src/admin/templets/article_keywords_main.htm View File

@@ -1,108 +1,100 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.nnpp {
border-bottom: 1px solid #424b51;
border-top: 1px solid #ffffff;
border-left: 1px solid #ffffff;
border-right: 1px solid #ffffff;
filter: alpha(opacity=50);
}
</style>
<script language='javascript'>
function selAll() {
var celements = document.getElementsByName('aids[]');
for (i = 0; i < celements.length; i++) {
if (!celements[i].checked) celements[i].checked = true;
else celements[i].checked = false;
}
}
</script>
</head>
<body>
<div class="main">
<table width="98%" cellpadding="1" align='center' cellspacing="1" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="5" background="../static/web/img/tbg.gif">
<table width="96%" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">文档关键词维护</td>
<form name="form1" action="article_keywords_main.php">
<td width="70%" align="right">
<input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
<button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
</td>
</form>
</tr>
</table>
</td>
</tr>
<form name="form2" action="article_keywords_main.php">
<input type="hidden" name="dopost" value="add">
<tr align="center">
<td width="100%" height="26" colspan="5">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
</tr>
</table>
</td>
</tr>
</form>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="8%">选择</td>
<td width="25%">关键词</td>
<td width="35%">链接网址</td>
<td width="10%">频率</td>
<td width="22%">管理</td>
</tr>
<form name='form3' action="article_keywords_main.php" method="post">
<input type='hidden' name='dopost' value='saveall'>
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td height="26">
<input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'>
</td>
<td>
<input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'>
{dede:field.keyword/}
</td>
<td>
<input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'>
<input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' name='rpurl_{dede:field.aid/}'>
</td>
<td>
<input type='text' size='6' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'>
</td>
<td>
<input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'>
<label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)" /} />
禁用</label>
<label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'>
删除</label>
</td>
</tr>
{/dede:datalist}
<tr>
<td colspan="5" class="py-3">
<button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button>
<button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button>
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8" align="center">
<td height="36" colspan="5">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</div>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档关键词维护</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.nnpp {
border-bottom: 1px solid #424b51;
border-top: 1px solid #ffffff;
border-left: 1px solid #ffffff;
border-right: 1px solid #ffffff;
filter: alpha(opacity=50);
}
</style>
<script language='javascript'>
function selAll() {
var celements = document.getElementsByName('aids[]');
for (i = 0; i < celements.length; i++) {
if (!celements[i].checked) celements[i].checked = true;
else celements[i].checked = false;
}
}
</script>
</head>
<body>
<div class="main">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="5" background="../static/web/img/tbg.gif">
<table width="96%" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">文档关键词维护</td>
<form name="form1" action="article_keywords_main.php">
<td width="70%" align="right">
<input type="text" name="keyword" placeholder="请输入搜索词" style="width:160px">&nbsp;
<button type="submit" name="sb" value="" class="btn btn-success btn-sm">保存</button>
</td>
</form>
</tr>
</table>
</td>
</tr>
<form name="form2" action="article_keywords_main.php">
<input type="hidden" name="dopost" value="add">
<tr align="center">
<td width="100%" height="26" colspan="5">
<table cellspacing="0" cellpadding="0" class="table table-borderless">
<tr>
<td width="280" align="center"><input name="keyword" type="text" id="keyword" placeholder="请输入关键词" style="width:260px"></td>
<td width="270"><input name="rpurl" type="text" id="rpurl" placeholder="请输入链接" style="width:260px"></td>
<td width="70"><input name="rank" type="text" id="rank" value="30" style="width:60px"></td>
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td>
</tr>
</table>
</td>
</tr>
</form>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="8%">选择</td>
<td width="25%">关键词</td>
<td width="35%">链接网址</td>
<td width="10%">频率</td>
<td width="22%">管理</td>
</tr>
<form name='form3' action="article_keywords_main.php" method="post">
<input type='hidden' name='dopost' value='saveall'>
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'}
<tr align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td height="26"><input name="aids[]" type="checkbox" value="{dede:field.aid/}" class="np" checked='1'></td>
<td><input type='hidden' value='{dede:field.keyword/}' name='keyword_{dede:field.aid/}'> {dede:field.keyword/}</td>
<td>
<input type='hidden' value='{dede:field.rpurl/}' name='rpurlold_{dede:field.aid/}'>
<input type='text' style='width:90%' class='nnpp' value='{dede:field.rpurl/}' name='rpurl_{dede:field.aid/}'>
</td>
<td><input type='text' size='6' class='nnpp' value='{dede:field.rank/}' name='rank_{dede:field.aid/}'></td>
<td>
<input type='hidden' name='staold_{dede:field.aid/}' value='{dede:field.sta/}'>
<label><input type='checkbox' name='isnouse_{dede:field.aid/}' class='np' value='1' {dede:field.sta function="GetSta(@me)"/}> 禁用 </label>
<label><input type='checkbox' name='isdel_{dede:field.aid/}' class='np' value='1'> 删除</label>
</td>
</tr>
{/dede:datalist}
<tr>
<td colspan="5" class="py-3">
<button type="button" name="dl1" class="btn btn-success btn-sm" onClick="selAll()">反选</button>
<button type="button" name="dl2" class="btn btn-success btn-sm" onClick="this.form.submit();">保存</button>
</td>
</tr>
</form>
<tr bgcolor="#f8f8f8" align="center">
<td height="36" colspan="5">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</div>
</body>
</html>

+ 93
- 94
src/admin/templets/article_result_same.htm View File

@@ -1,95 +1,94 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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()
{
var allSel="";
if(document.form2.arcTitle.value) return document.form2.arcTitle.value;
for(i=0;i<document.form2.arcTitle.length;i++)
{
if(document.form2.arcTitle[i].checked)
{
if(allSel=="")
allSel=document.form2.arcTitle[i].value;
else
allSel=allSel+"`"+document.form2.arcTitle[i].value;
}
}
return allSel;
}
//删除文档
function delArc(){
var qstr=getCheckboxItem();
document.form2.titles.value = qstr;
document.form2.submit();
}
function selAll()
{
for(i=0;i<document.form2.arcTitle.length;i++){
if(!document.form2.arcTitle[i].checked){
document.form2.arcTitle[i].checked=true;
}
}
}
function noSelAll()
{
for(i=0;i<document.form2.arcTitle.length;i++){
if(document.form2.arcTitle[i].checked){
document.form2.arcTitle[i].checked=false;
}
}
}
</script>
</head>
<body>
<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 height="26" bgcolor="#F8FCF1" align="center">
<td width="10%">选择</td>
<td width="10%">重复数量</td>
<td width="80%">文档标题</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>
<?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>
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<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() {
var allSel = "";
if (document.form2.arcTitle.value) return document.form2.arcTitle.value;
for (i = 0; i < document.form2.arcTitle.length; i++) {
if (document.form2.arcTitle[i].checked) {
if (allSel == "")
allSel = document.form2.arcTitle[i].value;
else
allSel = allSel + "`" + document.form2.arcTitle[i].value;
}
}
return allSel;
}
//删除文档
function delArc() {
var qstr = getCheckboxItem();
document.form2.titles.value = qstr;
document.form2.submit();
}

function selAll() {
for (i = 0; i < document.form2.arcTitle.length; i++) {
if (!document.form2.arcTitle[i].checked) {
document.form2.arcTitle[i].checked = true;
}
}
}

function noSelAll() {
for (i = 0; i < document.form2.arcTitle.length; i++) {
if (document.form2.arcTitle[i].checked) {
document.form2.arcTitle[i].checked = false;
}
}
}
</script>
</head>
<body>
<table width="100%" cellpadding="2" cellspacing="1" class="table maintable">
<tr>
<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 height="26" bgcolor="#F8FCF1" align="center">
<td width="10%">选择</td>
<td width="10%">重复数量</td>
<td width="80%">文档标题</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>
<?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>

+ 76
- 77
src/admin/templets/article_test_same.htm View File

@@ -1,78 +1,77 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="article_test_same.php" name="form1" target="stafrm">
<input type='hidden' name='dopost' value='analyse'>
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">重复文档检测</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="center">
<table width="98%" align="center" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="20%" height="26" align="left">频道类型:</td>
<td align="left">
<select name="channelid" style="width:160px">
<?php
if(!empty($channelinfos))
{
foreach($channelinfos as $rs)
{
echo "<option value=".$rs['id'].">".$rs['typename']."</option>";
}
}
?>
</select>
</td>
</tr>
<tr>
<td width="20%" height="26" align="left">删除选项:</td>
<td align="left">
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1'>
保留最旧的一条</label>
<label><input type="radio" name="deltype" value="delold" class='np'>
保留最新的一条</label>
</td>
</tr>
<tr>
<td height="26" align="left">每排列出记录:</td>
<td align="left"><input name="pagesize" type="text" id="pagesize" value="100" style="width:160px">
条</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复的文档</button>
</td>
</tr>
</form>
<tr>
<td height="26">结果:</td>
</tr>
<tr>
<td id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>重复文档检测</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form action="article_test_same.php" name="form1" target="stafrm">
<input type='hidden' name='dopost' value='analyse'>
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">重复文档检测</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" align="center">
<table width="98%" align="center" cellpadding="0" cellspacing="0"
class="table table-borderless">
<tr>
<td width="20%" height="26" align="left">频道类型:</td>
<td align="left">
<select name="channelid" style="width:160px">
<?php
if(!empty($channelinfos))
{
foreach($channelinfos as $rs)
{
echo "<option value=".$rs['id'].">".$rs['typename']."</option>";
}
}
?>
</select>
</td>
</tr>
<tr>
<td width="20%" height="26" align="left">删除选项:</td>
<td align="left">
<label><input name="deltype" type="radio" value="delnew" class='np' checked='1'> 保留最旧的一条 </label>
<label><input type="radio" name="deltype" value="delold" class='np'> 保留最新的一条</label>
</td>
</tr>
<tr>
<td height="26" align="left">每排列出记录:</td>
<td align="left"><input name="pagesize" type="text" id="pagesize" value="100" style="width:160px"> 条</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button type="submit" name="Submit" class="btn btn-success btn-sm">分析标题重复的文档</button>
</td>
</tr>
</form>
<tr>
<td height="26">结果:</td>
</tr>
<tr>
<td id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 4
- 3
src/admin/templets/baidunews.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>百度新闻地图</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/cards_make.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡生成向导</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/cards_manmage.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡业务记录</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 6
- 5
src/admin/templets/cards_type.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>点卡产品分类</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 10
- 9
src/admin/templets/catalog_add.htm View File

@@ -1,13 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js"></script>
<script>
var channelArray = new Array();
<?php


+ 1
- 0
src/admin/templets/catalog_add_quick.htm View File

@@ -2,6 +2,7 @@
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>批量增加栏目</title>
<script type="text/javascript" src="../static/web/js/jquery.min.js"></script>
<script type="text/javascript">


+ 9
- 8
src/admin/templets/catalog_edit.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>栏目管理</title>
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js"></script>
<script>
var channelArray = new Array();
<?php


+ 213
- 158
src/admin/templets/catalog_main.htm View File

@@ -1,161 +1,216 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/global.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/dialog.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
$DE('img'+tid).className = 'fa fa-minus-square-o';
fetch('catalog_do.php?dopost=GetSunLists&cid='+tid).then(resp=>resp.text()).then((d)=>{
$DE(ctid).innerHTML = d;
});
} else {
showHide(ctid,tid);
}
}
function showHide(objname,tid)
{
if($DE(objname).style.display=="none")
{
$DE('img'+tid).className = 'fa fa-minus-square-o';
$DE(objname).style.display = BROWSER.firefox? "" : "block";
} else {
$DE('img'+tid).className = 'fa fa-plus-square-o';
$DE(objname).style.display="none";
}
}
if(moz) {
extendEventObject();
extendElementModel();
emulateAttachEvent();
}
//普通栏目
function CommonMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("增加内容",function(){location="catalog_do.php?cid="+tid+"&dopost=addArchives";}),
new ContextItem("管理内容",function(){location="catalog_do.php?cid="+tid+"&dopost=listArchives";}),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ location="makehtml_list.php?cid="+tid; }),
new ContextItem("获取JS文件",function(){ location="catalog_do.php?cid="+tid+"&dopost=GetJs"; }),
new ContextSeperator(),
new ContextItem("增加子类",function(){location="catalog_add.php?id="+tid;}),
new ContextItem("修改栏目",function(){location="catalog_edit.php?id="+tid;}),
new ContextSeperator(),
new ContextItem("合并栏目",function(){location='catalog_do.php?dopost=unitCatalog&typeid='+tid}),
new ContextItem("移动栏目",function(){location='catalog_do.php?dopost=moveCatalog&typeid='+tid}),
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}),
new ContextSeperator(),
new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }),
new ContextItem("关闭菜单(C)",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//封面模板
function CommonMenuPart(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("管理内容",function(){location="catalog_do.php?cid="+tid+"&dopost=listArchives";}),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ location="makehtml_list.php?cid="+tid; }),
new ContextItem("获取JS文件",function(){ location="catalog_do.php?cid="+tid+"&dopost=GetJs"; }),
new ContextSeperator(),
new ContextItem("增加子类",function(){location="catalog_add.php?id="+tid;}),
new ContextItem("修改栏目",function(){location="catalog_edit.php?id="+tid;}),
new ContextSeperator(),
new ContextItem("移动栏目",function(){location='catalog_move.php?job=movelist&typeid='+tid}),
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}),
new ContextSeperator(),
new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }),
new ContextItem("关闭菜单(C)",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//跳转栏目
function SingleMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("修改栏目",function(){location="catalog_edit.php?id="+tid;}),
new ContextSeperator(),
new ContextItem("移动栏目",function(){location='catalog_move.php?job=movelist&typeid='+tid}),
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}),
new ContextSeperator(),
new ContextItem("向上排前一级",function(){ window.location="catalog_do.php?cid="+tid+"&dopost=upRank"; }),
new ContextItem("关闭菜单(C)",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
</script>
<style>
td,th{padding:.375rem}
.bline2,.nbline{border-bottom:1px solid #eee}
.coolbg2,.coolbt2,.maintable{border:1px solid #dee2e6}
.fa{color:#424b51}
</style>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3">
<tr>
<td height="26" style="background:#f8f8f8;border: 1px solid #dee2e6">
<span style="float:left;padding-left:10px;line-height:26px" class="py-3">网站栏目管理</span>
<span style="float:right;padding-right:10px" class="py-3">
<a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
<a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量增加栏目</a>
<a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新栏目缓存</a>
<a href="makehtml_list.php" class="btn btn-success btn-sm">更新栏目</a></a>
</span>
</td>
</tr>
<tr>
<td height="26">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:10px">
<?php if(!isset($exallct)) { ?>
<a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>
<?php } else { ?>
<a href="catalog_main.php" class="btn btn-success btn-sm">收缩栏目</a>
<?php } ?>
</td>
</tr>
</table>
</td>
</tr>
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
<tr>
<td>
<?php
if(empty($opendir)) $opendir=-1;
if($userChannel>0) $opendir=$userChannel;
$tu = new TypeUnit();
$tu->ListAllType($userChannel,$opendir);
?>
</td>
</tr>
</form>
<tr>
<td align="right" class="py-3" style="padding-right:10px;background:#f8f8f8;border-top:1px solid #dee2e6">
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button>
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">更新脚本</button>
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button>
<button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>栏目管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/global.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/dialog.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function LoadSuns(ctid, tid) {
if ($DE(ctid).innerHTML.length < 10) {
$DE('img' + tid).className = 'fa fa-minus-square-o';
fetch('catalog_do.php?dopost=GetSunLists&cid=' + tid).then(resp => resp.text()).then((d) => {
$DE(ctid).innerHTML = d;
});
} else {
showHide(ctid, tid);
}
}
function showHide(objname, tid) {
if ($DE(objname).style.display == "none") {
$DE('img' + tid).className = 'fa fa-minus-square-o';
$DE(objname).style.display = BROWSER.firefox ? "" : "block";
} else {
$DE('img' + tid).className = 'fa fa-plus-square-o';
$DE(objname).style.display = "none";
}
}
if (moz) {
extendEventObject();
extendElementModel();
emulateAttachEvent();
}
//普通栏目
function CommonMenu(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("增加内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=addArchives";
}),
new ContextItem("管理内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=listArchives";
}),
new ContextSeperator(),
new ContextItem("预览分类", function() {
window.open("<?php echo $cfg_phpurl; ?>/list.php?tid=" + tid);
}),
new ContextItem("更新HTML", function() {
location = "makehtml_list.php?cid=" + tid;
}),
new ContextItem("获取JS文件", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=GetJs";
}),
new ContextSeperator(),
new ContextItem("增加子类", function() {
location = "catalog_add.php?id=" + tid;
}),
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("合并栏目", function() {
location = 'catalog_do.php?dopost=unitCatalog&typeid=' + tid
}),
new ContextItem("移动栏目", function() {
location = 'catalog_do.php?dopost=moveCatalog&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
//封面模板
function CommonMenuPart(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("管理内容", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=listArchives";
}),
new ContextSeperator(),
new ContextItem("预览分类", function() {
window.open("<?php echo $cfg_phpurl; ?>/list.php?tid=" + tid);
}),
new ContextItem("更新HTML", function() {
location = "makehtml_list.php?cid=" + tid;
}),
new ContextItem("获取JS文件", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=GetJs";
}),
new ContextSeperator(),
new ContextItem("增加子类", function() {
location = "catalog_add.php?id=" + tid;
}),
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("移动栏目", function() {
location = 'catalog_move.php?job=movelist&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
//跳转栏目
function SingleMenu(eobj, obj, tid, tname) {
var popupoptions
popupoptions = [
new ContextItem("修改栏目", function() {
location = "catalog_edit.php?id=" + tid;
}),
new ContextSeperator(),
new ContextItem("移动栏目", function() {
location = 'catalog_move.php?job=movelist&typeid=' + tid
}),
new ContextItem("删除栏目", function() {
location = "catalog_del.php?id=" + tid + "&typeoldname=" + tname;
}),
new ContextSeperator(),
new ContextItem("向上排前一级", function() {
window.location = "catalog_do.php?cid=" + tid + "&dopost=upRank";
}),
new ContextItem("关闭菜单(C)", function() {})
]
ContextMenu.display(eobj, popupoptions)
}
</script>
<style>
td,
th {
padding: .375rem
}
.bline2,
.nbline {
border-bottom: 1px solid #eee
}
.coolbg2,
.coolbt2,
.maintable {
border: 1px solid #dee2e6
}
.fa {
color: #424b51
}
</style>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="maintable mt-3">
<tr>
<td height="26" style="background:#f8f8f8;border: 1px solid #dee2e6">
<span style="float:left;padding-left:10px;line-height:26px" class="py-3">网站栏目管理</span>
<span style="float:right;padding-right:10px" class="py-3">
<a href="catalog_add.php?listtype=all" class="btn btn-success btn-sm">增加顶级栏目</a>
<a href="catalog_add.php?dopost=quick" class="btn btn-success btn-sm">批量增加栏目</a>
<a href="catalog_do.php?dopost=upcatcache" class="btn btn-success btn-sm">更新栏目缓存</a>
<a href="makehtml_list.php" class="btn btn-success btn-sm">更新栏目</a></a>
</span>
</td>
</tr>
<tr>
<td height="26">
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-left:10px">
<?php if(!isset($exallct)) { ?>
<a href="catalog_main.php?exallct=all" class="btn btn-success btn-sm">展开栏目</a>
<?php } else { ?>
<a href="catalog_main.php" class="btn btn-success btn-sm">收缩栏目</a>
<?php } ?>
</td>
</tr>
</table>
</td>
</tr>
<form name="form1" method="post" action="catalog_do.php?dopost=upRankAll">
<tr>
<td>
<?php
if(empty($opendir)) $opendir=-1;
if($userChannel>0) $opendir=$userChannel;
$tu = new TypeUnit();
$tu->ListAllType($userChannel,$opendir);
?>
</td>
</tr>
</form>
<tr>
<td align="right" class="py-3" style="padding-right:10px;background:#f8f8f8;border-top:1px solid #dee2e6">
<button type="button" name="sb1" class="btn btn-success btn-sm" onClick="document.form1.submit();">更新排序</button>
<button type="button" name="sb4" class="btn btn-success btn-sm" onClick="location='makehtml_js.php';">更新脚本</button>
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="location='makehtml_list.php';">更新栏目</button>
<button type="button" name="sb3" class="btn btn-success btn-sm" onClick="location='makehtml_archives.php';">更新文档</button>
</td>
</tr>
</table>
</body>
</html>

+ 0
- 165
src/admin/templets/catalog_menu.htm View File

@@ -1,165 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>类别管理</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="js/context_menu.js"></script>
<script language="javascript" src="js/ieemu.js"></script>
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script language="javascript">
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
fetch('catalog_do.php?dopost=GetSunListsMenu&cid='+tid).then(resp=>resp.text()).then((d)=>{
$DE(ctid).innerHTML = d;
});
} else { if(document.all) showHide(ctid); }
}
function showHide(objname)
{
if($DE(objname).style.display=="none") $DE(objname).style.display = "block";
else $DE(objname).style.display="none";
return false;
}
if(moz) {
extendEventObject();
extendElementModel();
emulateAttachEvent();
}


function JumpOneUrl(surl)
{
document.formjump.action=surl;
document.formjump.submit();
}

//普通栏目
function CommonMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("增加内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=addArchives"); }),
new ContextItem("管理内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=listArchives"); }),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ JumpOneUrl("makehtml_list.php?cid="+tid); }),
new ContextItem("获取JS文件",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=GetJs"); }),
new ContextSeperator(),
new ContextItem("增加子类",function(){ JumpOneUrl("catalog_add.php?id="+tid); }),
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//封面模板
function CommonMenuPart(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("管理内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=listArchives"); }),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ JumpOneUrl("makehtml_list.php?cid="+tid); }),
new ContextItem("获取JS文件",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=GetJs"); }),
new ContextSeperator(),
new ContextItem("增加子类",function(){ JumpOneUrl("catalog_add.php?id="+tid); }),
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("向上排前一级",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=upRank"); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//单个页面
function SingleMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//跳转网址
function JumpMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
</script>
<style>
body{padding:6px 0px 0px 0px;margin:auto;text-align:center;background:#9ad075}
.nbt{padding:1px 1px 0 1px;vertical-align:middle;margin:2px 0 2px 0;border-left:1px solid #DADF9D;border-top:1px solid #DADF9D;border-right:1px solid #424b51;border-bottom:1px solid #424b51;background:#eff6b6;height:21px;float:left;margin-left:3px}
div,dd{margin:0;padding:0}
.dlf{margin-right:3px;margin-left:6px;margin-top:2px;float:left}
.dlr{float:left}
.topcc{margin-top:5px}
.suncc{margin-bottom:10px}
dl{clear:left;margin:0;padding:0}
#items1{border-bottom:1px solid #74c63f;border-left:1px solid #74c63f;border-right:1px solid #74c63f}
.sunlist{width:100%;padding-left:0;margin:0;clear:left}
.tdborder{border-left:1px solid #43938B;border-right:1px solid #43938B;border-bottom:1px solid #43938B}
.tdline-left{border-bottom:1px solid #656363;border-left:1px solid #788C47}
.tdline-right{border-bottom:1px solid #656363;border-right:1px solid #788C47}
.tdrl{border-left:1px solid #788C47;border-right:1px solid #788C47}
.top{cursor:pointer}
</style>
<base target="main">
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<form name="formjump" method="post" target="main" action=""></form>
<table width='260' align='center' cellpadding='0' cellspacing='0'>
<tr>
<td height='26' colspan="2" align='center' style='padding-bottom:3px'>
<form name="form1" target="main" action="public_guide.php"><input type='hidden' name='action' value='edit'></form>
<form name="form2" target="main" action="catalog_main.php"></form>
<form name="form3" target="menu" action="index_menu.php"></form>
<form name="form5" target="main" action="catalog_add.php"><input type="hidden" name="dopost" value="quick"></form>
<form name="form6" target="main" action="content_list.php"></form>
<input type="button" name="sb5" value="批量增加栏目" class="nbt" style="width:80px" onClick="document.form5.submit()">
<input type="button" name="sb2" value="栏目管理" class="nbt" style="width:71px" onClick="document.form2.submit()">
<br>
<input type="button" name="sb3" value="菜单" class="nbt" style="width:36px" onClick="document.form3.submit()">
<input type="button" name="sb6" value="文档列表" class="nbt" style="width:56px" onClick="document.form6.submit()">
<input type="button" name="sb1" value="发布向导" class="nbt" style="width:56px" onClick="document.form1.submit()">
</td>
</tr>
<tr>
<td width="23%" align='center' background='../static/web/img/mtbg1.gif' style='border-left:1px solid #74c63f'>
<a href="javascript:;" onClick="showHide('items1')" target="_self"><img src="../static/web/img/mtimg1.gif"></a>
</td>
<td width="77%" background='../static/web/img/mtbg1.gif' style='border-right:1px solid #74c63f'>站点目录树</td>
</tr>
<tr>
<td colspan='2' id='items1' align='left'>
<?php
$tu = new TypeUnit($userChannel);
$tu->ListAllType($userChannel,$opendir);
?>
</td>
</tr>
</table>
</body>
</html>

+ 0
- 151
src/admin/templets/catalog_menu2.htm View File

@@ -1,151 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>类别管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
fetch('catalog_do.php?dopost=GetSunListsMenu&cid='+tid).then(resp=>resp.text()).then((d)=>{
$DE(ctid).innerHTML = d;
});
}
else{ if(document.all) showHide(ctid); }
}
function showHide(objname)
{
if($DE(objname).style.display=="none") $DE(objname).style.display = "revert";
else $DE(objname).style.display="none";
return false;
}
if(moz) {
extendEventObject();
extendElementModel();
emulateAttachEvent();
}
function JumpOneUrl(surl) {
document.formjump.action=surl;
document.formjump.submit();
}
//普通栏目
function CommonMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("增加内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=addArchives"); }),
new ContextItem("管理内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=listArchives"); }),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ JumpOneUrl("makehtml_list.php?cid="+tid); }),
new ContextItem("获取JS文件",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=GetJs"); }),
new ContextSeperator(),
new ContextItem("增加子类",function(){ JumpOneUrl("catalog_add.php?id="+tid); }),
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//封面模板
function CommonMenuPart(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("管理内容",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=listArchives"); }),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ JumpOneUrl("makehtml_list.php?cid="+tid); }),
new ContextItem("获取JS文件",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=GetJs"); }),
new ContextSeperator(),
new ContextItem("增加子类",function(){ JumpOneUrl("catalog_add.php?id="+tid); }),
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("向上排前一级",function(){ JumpOneUrl("catalog_do.php?cid="+tid+"&dopost=upRank"); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//单个页面
function SingleMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
//跳转网址
function JumpMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("修改栏目",function(){ JumpOneUrl("catalog_edit.php?id="+tid); }),
new ContextSeperator(),
new ContextItem("移动栏目",function(){ JumpOneUrl("catalog_move.php?job=movelist&typeid="+tid); }),
new ContextItem("删除栏目",function(){ JumpOneUrl("catalog_del.php?id="+tid+"&typeoldname="+tname); }),
new ContextSeperator(),
new ContextItem("关闭菜单",function(){})
]
ContextMenu.display(eobj,popupoptions)
}
</script>
<style>
body{margin:0;background:#f8f8f8}
dl{clear:left}
.dlf{float:left;margin-top:12px;margin-left:10px}
.dlr{float:left;margin-top:10px}
.sunlist{display:inline-block;margin-top:10px;width:100%}
</style>
<base target="main">
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td height="36" colspan="2" style="padding:10px">
<form name="form1" target="main" action="public_guide.php"><input type="hidden" name="action" value="edit"></form>
<form name="form2" target="main" action="catalog_main.php"></form>
<form name="form3" target="menu" action="index_menu.php"></form>
<form name="form5" target="main" action="catalog_add.php"><input type="hidden" name="dopost" value="quick"></form>
<form name="form6" target="main" action="content_list.php"></form>
<button type="button" name="sb5" class="btn btn-success btn-sm" onClick="document.form5.submit();">批量增加栏目</button>
<button type="button" name="sb2" class="btn btn-success btn-sm" onClick="document.form2.submit();">栏目管理</button>
<br>
<button type="button" name="sb3" class="btn btn-success btn-sm mt-2" onClick="document.form3.submit();">菜单</button>
<button type="button" name="sb6" class="btn btn-success btn-sm mt-2" onClick="document.form6.submit();">文档列表</button>
<button type="button" name="sb1" class="btn btn-success btn-sm mt-2" onClick="document.form1.submit();">发布向导</button>
</td>
</tr>
<tr>
<td width="20%" align="center" background="../static/web/img/mtbg1.gif"><a href="javascript:;" onClick="showHide('items1')" target="_self"><img src="../static/web/img/mtimg1.gif"></a></td>
<td width="80%" background="../static/web/img/mtbg1.gif">站点目录树</td>
</tr>
<tr>
<td colspan="2" id="items1" align="center">
<?php
$tu = new TypeUnit($userChannel);
$tu->ListAllType($userChannel,$opendir);
?>
</td>
</tr>
</table>
</body>
</html>

+ 6
- 5
src/admin/templets/content_att.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自定义属性管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 6
- 5
src/admin/templets/content_batch_up.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档批量维护</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>


+ 13
- 12
src/admin/templets/content_i_list.htm View File

@@ -1,18 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>图片文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/list.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>图片文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/list.js"></script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3">


+ 13
- 12
src/admin/templets/content_list.htm View File

@@ -1,18 +1,19 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>所有文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/main.js"></script>
<script src="js/list.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>所有文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="js/ieemu.js"></script>
<script src="js/context_menu.js"></script>
<script src="js/main.js"></script>
<script src="js/list.js"></script>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">
<table width="98%" cellspacing="0" cellpadding="0" align="center" class="table maintable mt-3 mb-3">


+ 8
- 7
src/admin/templets/content_s_list.htm View File

@@ -1,13 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>专题文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>专题文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/context_menu.js"></script>
<script src="js/ieemu.js"></script>
<script>
if (moz) {
extendEventObject();


+ 4
- 3
src/admin/templets/content_select_list.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>选择文章</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 1
- 0
src/admin/templets/content_sg_list.htm View File

@@ -2,6 +2,7 @@
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 7
- 8
src/admin/templets/content_tj.htm View File

@@ -1,16 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>文档信息统计</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文档信息统计</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
文档信息统计:
</td>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">文档信息统计</td>
</tr>
<tr>
<td height="250" colspan="2" align="center">


+ 4
- 3
src/admin/templets/diy_add.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增自定义表单</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/diy_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改自定义表单</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 10
- 9
src/admin/templets/diy_edit_content.htm View File

@@ -1,13 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>编辑评论</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 11
- 10
src/admin/templets/diy_field_add.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<script language="javascript">
var notAllow = " <?php echo $f; ?> ";
function GetFields()


+ 11
- 10
src/admin/templets/diy_field_edit.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src="js/main.js"></script>
<script language="javascript">
function GetFields()
{


+ 6
- 5
src/admin/templets/diy_list.htm View File

@@ -1,11 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title><?php echo $diy->name; ?></title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $diy->name; ?></title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<form action="diy_list.php" method="post">


+ 8
- 6
src/admin/templets/diy_main.htm View File

@@ -1,11 +1,13 @@
{dede:page pagesize='30'/}<!DOCTYPE html>
{dede:page pagesize='30'/}
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>自定义表单管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自定义表单管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="maintable mt-3" style="border:1px solid #dee2e6;border-bottom:none">


+ 8
- 7
src/admin/templets/diy_post.htm View File

@@ -1,11 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title><?php echo $diy->name; ?></title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script language="javascript" src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $diy->name; ?></title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script language="javascript" src="js/main.js"></script>
<script language="javascript">
function SelectTemplets(fname){
var pos = GetWinPos(800,600);


+ 4
- 3
src/admin/templets/erradd.htm View File

@@ -1,8 +1,9 @@
{dede:config.pagesize value='20'/}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>挑错管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 6
- 5
src/admin/templets/feedback_edit.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>编辑评论</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 4
- 3
src/admin/templets/feedback_main.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>评论管理</title>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>


+ 68
- 65
src/admin/templets/file_edit.htm View File

@@ -1,67 +1,70 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src='js/main.js'></script>
<script language="javascript">
function Post() {
if (document.form1.filename.value == "") {
ShowMsg("文件名不能为空");
document.form1.filename.focus();
return false;
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改新建文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language='javascript' src='js/main.js'></script>
<script language="javascript">
function Post() {
if (document.form1.filename.value == "") {
ShowMsg("文件名不能为空");
document.form1.filename.focus();
return false;
}
}
}
</script>
<link rel="stylesheet" href="css/codemirror.css">
<script type="text/javascript" src="js/codemirror.js"></script>
<script type="text/javascript" src="js/mode/xml/xml.js"></script>
<script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="js/mode/css/css.js"></script>
<script type="text/javascript" src="js/mode/php/php.js"></script>
<script type="text/javascript" src="js/mode/clike/clike.js"></script>
<script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
</head>
<body>
<form method="POST" action="file_manage_control.php" name=form1 onSubmit="return Post()">
<input type="hidden" name="fmdo" value="edit">
<input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}">
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}">
<table width='100%' align="center" cellpadding='3' cellspacing='1' class="table maintable mt-3 mb-3">
<tr bgcolor='#EEF4EA'>
<td colspan="2" height="26" background="../static/web/img/wbg.gif" style="padding-left:10px">修改新建文件</td>
</tr>
<tr>
<td>工作目录</td>
<td><input name="activepath" value="{dede:global name='activepath'/}" style="width:260px">(空白表示根目录 ,不允许用 “..” 形式的路径)</td>
</tr>
<tr>
<td>文件名称</td>
<td><input name="filename" value="{dede:global name='filename'/}" style="width:260px">(不允许用 “..” 形式的路径)</td>
</tr>
<tr class="table">
<td colspan='2'>{dede:global name='contentView'/}</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type=submit name='B1' class="btn btn-success btn-sm">保存</button>
<button type=reset name='B2' class="btn btn-success btn-sm">重置</button>
<button type=button name='B4' class="btn btn-success btn-sm" onClick="javascript:history.go(-1);">返回</button>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
var editor = CodeMirror.fromTextArea(document.getElementById('str'), {
lineNumbers: true,
lineWrapping: true,
mode: '{dede:global name='extension'/}'
});
</script>
</body>
</script>
<link rel="stylesheet" href="css/codemirror.css">
<script type="text/javascript" src="js/codemirror.js"></script>
<script type="text/javascript" src="js/mode/xml/xml.js"></script>
<script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="js/mode/css/css.js"></script>
<script type="text/javascript" src="js/mode/php/php.js"></script>
<script type="text/javascript" src="js/mode/clike/clike.js"></script>
<script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
</head>
<body>
<form method="POST" action="file_manage_control.php" name=form1 onSubmit="return Post()">
<input type="hidden" name="fmdo" value="edit">
<input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode(@me)'/}">
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}">
<table width='100%' align="center" cellpadding='3' cellspacing='1' class="table maintable mt-3 mb-3">
<tr bgcolor='#EEF4EA'>
<td colspan="2" height="26" background="../static/web/img/wbg.gif" style="padding-left:10px">修改新建文件
</td>
</tr>
<tr>
<td>工作目录</td>
<td><input name="activepath" value="{dede:global name='activepath'/}" style="width:260px">(空白表示根目录,不允许用 “..” 形式的路径)</td>
</tr>
<tr>
<td>文件名称</td>
<td><input name="filename" value="{dede:global name='filename'/}" style="width:260px">(不允许用 “..”形式的路径)</td>
</tr>
<tr class="table">
<td colspan='2'>{dede:global name='contentView'/}</td>
</tr>
<tr>
<td bgcolor="#f8f8f8" colspan="2" align="center" class="py-3">
<button type=submit name='B1' class="btn btn-success btn-sm">保存</button>
<button type=reset name='B2' class="btn btn-success btn-sm">重置</button>
<button type=button name='B4' class="btn btn-success btn-sm" onClick="javascript:history.go(-1);">返回</button>
</td>
</tr>
</table>
</form>
<script type="text/javascript">
var editor = CodeMirror.fromTextArea(document.getElementById('str'), {
lineNumbers: true,
lineWrapping: true,
mode: '{dede:global name='
extension '/}'
});
</script>
</body>
</html>

+ 6
- 5
src/admin/templets/file_manage_main.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文件管理器</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.linerow {


+ 7
- 6
src/admin/templets/file_upload.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>文件上传</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>文件上传</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
</head>
<body>
<table width="98%" align="center" cellpadding="0" cellspacing="0">


+ 4
- 3
src/admin/templets/freelist_add.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/freelist_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 4
- 3
src/admin/templets/freelist_main.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自由列表管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 8
- 7
src/admin/templets/friendlink_add.htm View File

@@ -1,11 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>友情链接管理</title>
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接管理</title>
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<script language='javascript'>
function CheckSubmit()
{


+ 4
- 3
src/admin/templets/friendlink_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接修改</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 6
- 5
src/admin/templets/friendlink_main.htm View File

@@ -1,11 +1,12 @@
{dede:config.pagesize value='30'/}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>友情链接管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css" type='text/css'>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>


+ 6
- 5
src/admin/templets/friendlink_type.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>网站类型管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 143
- 107
src/admin/templets/index.htm View File

@@ -1,110 +1,146 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="robots" content="noindex,nofollow">
<title><?php echo $cfg_webname; ?>后台管理</title>
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="css/frame.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/frame.js"></script>
<style>
#skinlist{display:block;height:10px;margin-top:10px;overflow:hidden;width:86px}
#skin div{float:left}
#skin li{float:left;width:14px;height:10px;cursor:pointer}
#def div,#s1 div,#s2 div,#s3 div,#s4 div{background-image:url(images/skinbutton.png)no-repeat}
#s1 div{background-position:0 0px}
#s2 div{background-position:0 -11px}
#s3 div{background-position:0 -22px}
#s4 div{background-position:0 -33px}
#s1 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px top transparent}
#s2 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -11px transparent}
#s3 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -22px transparent}
#s4 div.sel{background:url(images/skinbutton.png)no-repeat scroll -14px -33px transparent}
</style>
</head>
<body class="showmenu">
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
</div>
<?php
}
?>
<div class="pagemask"></div>
<iframe class="iframemask"></iframe>
<div class="allmenu">
<div class="allmenu-box">
<?php
echo $mapstring;
?>
<br style="clear:both">
</div>
</div>
<div class="head">
<div class="top">
<div class="top_logo"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?>系统</a></div>
<div class="top_version">V<?php echo $cfg_version_detail; ?></div>
<div class="top_link">
<ul>
<li class="welcome">
<a target="main" href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID(); ?>&dopost=edit"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10) {echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a>
<a href="exit.php">退出</a>
</li>
<?php
if($cuserLogin->getUserType()>=10){
?>
<li><a target="main" href="sys_info.php">系统配置</a></li>
<li><a target="main" href="catalog_main.php">栏目管理</a></li>
<li><a target="main" href="file_manage_main.php">文件管理</a></li>
<li><a target="main" href="templets_main.php">模板管理</a></li>
<?php
}
?>
<li><a target="main" href="public_guide.php">发布文档</a></li>
<li><a target="main" href="makehtml_all.php">更新整站</a></li>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?>
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
</ul>
</div>
</div>
<div class="topnav">
<div class="menuact">
<a href="javascript:;" id="togglemenu"><i class="fa fa-bars"></i> 隐藏菜单</a>
<a href="javascript:;" id="allmenu"><i class="fa fa-map-marker"></i> 功能地图</a>
</div>
<div id="skin"></div>
<div class="nav" id="nav"></div>
<div class="sysmsg">
<div class="scroll">
<form action="action_search.php" method="post" target="main">
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch">
<button type="submit" class="np">搜索</button>
<a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank"><i class="fa fa-code"></i> 代码托管</a>
<a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank"><i class="fa fa-question-circle"></i> 帮助中心</a>
</form>
</div>
</div>
</div>
</div>
<div class="left">
<div class="menu" id="menu">
<iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
</div>
</div>
<div class="right">
<div class="main">
<iframe src="index_body.php" id="main" name="main" frameborder="0"></iframe>
</div>
</div>
<script>
function JumpFrame(url1, url2) {
jQuery('#menufra').get(0).src = url1;
jQuery('#main').get(0).src = url2;
}
</script>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $cfg_webname; ?>后台管理</title>
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="css/frame.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/frame.js"></script>
<style>
#skinlist {
display: block;
height: 10px;
margin-top: 10px;
overflow: hidden;
width: 86px
}
#skin div {
float: left
}
#skin li {
float: left;
width: 14px;
height: 10px;
cursor: pointer
}
#def div,
#s1 div,
#s2 div,
#s3 div,
#s4 div {
background-image: url(images/skinbutton.png)no-repeat
}
#s1 div {
background-position: 0 0px
}
#s2 div {
background-position: 0 -11px
}
#s3 div {
background-position: 0 -22px
}
#s4 div {
background-position: 0 -33px
}
#s1 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px top transparent
}
#s2 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -11px transparent
}
#s3 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -22px transparent
}
#s4 div.sel {
background: url(images/skinbutton.png)no-repeat scroll -14px -33px transparent
}
</style>
</head>
<body class="showmenu">
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
</div>
<?php
}
?>
<div class="pagemask"></div>
<iframe class="iframemask"></iframe>
<div class="allmenu">
<div class="allmenu-box">
<?php
echo $mapstring;
?>
<br style="clear:both">
</div>
</div>
<div class="head">
<div class="top">
<div class="top_logo"><a target="main" href="index_body.php"><?php echo $cfg_webname; ?>系统</a></div>
<div class="top_version">V<?php echo $cfg_version_detail; ?></div>
<div class="top_link">
<ul>
<li class="welcome">
<a target="main" href="sys_admin_user_edit.php?id=<?php echo $cuserLogin->getUserID(); ?>&dopost=edit"><img src="../static/web/img/avatar.png" title="<?php echo $cuserLogin->getUserName(); ?>"><?php echo $cuserLogin->getUserName(); ?><?php if($cuserLogin->getUserType()==10) {echo "管理员";} else if($cuserLogin->getUserType()==5) {echo "频道员";} else {echo "信息员";}?></a>
<a href="exit.php">退出</a>
</li>
<?php
if($cuserLogin->getUserType()>=10) {
?>
<li><a target="main" href="sys_info.php">系统配置</a></li>
<li><a target="main" href="catalog_main.php">栏目管理</a></li>
<li><a target="main" href="file_manage_main.php">文件管理</a></li>
<li><a target="main" href="templets_main.php">模板管理</a></li>
<?php
}
?>
<li><a target="main" href="public_guide.php">发布文档</a></li>
<li><a target="main" href="makehtml_all.php">更新整站</a></li>
<?php echo ($cfg_mb_open=='Y')?'<li><a href="../user" target="_blank">会员中心</a></li>':''; ?>
<li><a href="../index.php?upcache=1" target="_blank">网站主页</a></li>
</ul>
</div>
</div>
<div class="topnav">
<div class="menuact">
<a href="javascript:;" id="togglemenu"><i class="fa fa-bars"></i> 隐藏菜单</a>
<a href="javascript:;" id="allmenu"><i class="fa fa-map-marker"></i> 功能地图</a>
</div>
<div id="skin"></div>
<div class="nav" id="nav"></div>
<div class="sysmsg">
<div class="scroll">
<form action="action_search.php" method="post" target="main">
<input type="text" name="keyword" placeholder="功能搜索" class="allsearch">
<button type="submit" class="np">搜索</button>
<a href="<?php echo $cfg_biz_gitUrl; ?>" target="_blank"><i class="fa fa-code"></i> 代码托管</a>
<a href="<?php echo $cfg_biz_helpUrl; ?>" target="_blank"><i class="fa fa-question-circle"></i> 帮助中心</a>
</form>
</div>
</div>
</div>
</div>
<div class="left">
<div class="menu" id="menu">
<iframe src="index_menu.php" id="menufra" name="menu" frameborder="0"></iframe>
</div>
</div>
<div class="right">
<div class="main">
<iframe src="index_body.php" id="main" name="main" frameborder="0"></iframe>
</div>
</div>
<script>
function JumpFrame(url1, url2) {
jQuery('#menufra').get(0).src = url1;
jQuery('#main').get(0).src = url2;
}
</script>
</body>
</html>

+ 154
- 138
src/admin/templets/index_body.htm View File

@@ -1,141 +1,157 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>系统概况</title>
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<base target="_self">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/indexbody.css">
<script>const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl; ?>';const cfg_webname = '<?php echo $cfg_webname; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/chart.min.js"></script>
<script src="js/indexbody.js"></script>
<script src="js/main.js"></script>
<style>
table.stattable td{padding:.6rem;border-bottom:1px solid #dee2e6;text-align:right;vertical-align:middle}
.stattable{width:100%}
.table{margin-bottom:0}
.web-info{padding:10px;background:#f8f8f8;border-radius:.2rem;text-align:center}
.web-info p{margin-bottom:10px}
#text{font-size:0}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="tips" class="col-md-12"></div>
<div class="col-md-12 mt-3 mb-3">
<div class="card">
<div class="card-header"><a href="#statChart" title="查看流量统计图"><i class="fa fa-line-chart"></i> 流量统计表</a></div>
<div class="card-body">
<table class="stattable">
<tbody>
<tr class="title">
<td width="10%"></td>
<td width="20%">浏览次数(PV)</td>
<td width="20%">独立访客(UV)</td>
<td width="20%">IP</td>
<td width="18%" >访问次数</td>
</tr>
<tr class="bg-white">
<td class="today">今日</td>
<td class="today" id="today_pv">0</td>
<td class="today" id="today_uv">0</td>
<td class="today" id="today_ip">0</td>
<td class="today" id="today_vv">0</td>
</tr>
<tr class="bg-white">
<td>昨日</td>
<td id="yestoday_pv">0</td>
<td id="yestoday_uv">0</td>
<td id="yestoday_ip">0</td>
<td id="yestoday_vv">0</td>
</tr>
<tr class="bg-white grey9 hide" style="display:table-row">
<td>历史累计</td>
<td id="total_pv">0</td>
<td id="total_uv">0</td>
<td id="total_ip">0</td>
<td id="total_vv">0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3 updatenews">
<div class="card">
<div class="card-header">
<a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">Dede:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span>
</div>
<div class="card-body">
<div id="updateinfos">
<?php echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' style='width:98%;height:70px;padding:.6rem'></iframe>"; ?>
</div>
<table width="98%" class="table table-borderless">
<tr>
<td>
<div class="web-info">
<p>操作系统</p>
<span><?php echo PHP_OS; ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>Web服务器</p>
<span><?php echo $_SERVER['SERVER_SOFTWARE']; ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>服务器IP</p>
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']); ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>PHP版本</p>
<span><?php echo @phpversion(); ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>数据库版本</p>
<span><?php echo $dsql->GetVersion(); ?></span>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-database"></i> 版本授权</div>
<div class="card-body" id="_systeminfo">正在载入</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><a name="statChart"><i class="fa fa-bar-chart"></i> 流量统计图</a></div>
<div class="card-body">
<canvas id="statChart"></canvas>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-file-word-o"></i> 最新文档</div>
<div class="card-body" id="newarticles">正在载入</div>
</div>
</div>
</div>
</div>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>系统概况</title>
<base target="_self">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/indexbody.css">
<script>const cfg_biz_dedebizUrl = '<?php echo $cfg_biz_dedebizUrl; ?>';const cfg_webname = '<?php echo $cfg_webname; ?>';</script>
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/chart.min.js"></script>
<script src="js/indexbody.js"></script>
<script src="js/main.js"></script>
<style>
table.stattable td {
padding: .6rem;
border-bottom: 1px solid #dee2e6;
text-align: right;
vertical-align: middle
}
.stattable {
width: 100%
}
.table {
margin-bottom: 0
}
.web-info {
padding: 10px;
background: #f8f8f8;
border-radius: .2rem;
text-align: center
}
.web-info p {
margin-bottom: 10px
}
#text {
font-size: 0
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="tips" class="col-md-12"></div>
<div class="col-md-12 mt-3 mb-3">
<div class="card">
<div class="card-header"><a href="#statChart" title="查看流量统计图"><i class="fa fa-line-chart"></i> 流量统计表</a></div>
<div class="card-body">
<table class="stattable">
<tbody>
<tr class="title">
<td width="10%"></td>
<td width="20%">浏览次数(PV)</td>
<td width="20%">独立访客(UV)</td>
<td width="20%">IP</td>
<td width="18%">访问次数</td>
</tr>
<tr class="bg-white">
<td class="today">今日</td>
<td class="today" id="today_pv">0</td>
<td class="today" id="today_uv">0</td>
<td class="today" id="today_ip">0</td>
<td class="today" id="today_vv">0</td>
</tr>
<tr class="bg-white">
<td>昨日</td>
<td id="yestoday_pv">0</td>
<td id="yestoday_uv">0</td>
<td id="yestoday_ip">0</td>
<td id="yestoday_vv">0</td>
</tr>
<tr class="bg-white grey9 hide" style="display:table-row">
<td>历史累计</td>
<td id="total_pv">0</td>
<td id="total_uv">0</td>
<td id="total_ip">0</td>
<td id="total_vv">0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3 updatenews">
<div class="card">
<div class="card-header">
<a href="javascript:copyFn()"><i class="fa fa-gear"></i> 系统信息</a>
<span id="text">V:<?php echo $cfg_version_detail; ?>|操作系统:<?php echo PHP_OS; ?>|Web服务器:<?php echo $_SERVER['SERVER_SOFTWARE']; ?>|PHP版本:<?php echo @phpversion(); ?>|数据库版本:<?php echo $dsql->GetVersion(); ?></span>
</div>
<div class="card-body">
<div id="updateinfos"><?php echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' style='width:98%;height:70px;padding:.6rem'></iframe>"; ?></div>
<table width="98%" class="table table-borderless">
<tr>
<td>
<div class="web-info">
<p>操作系统</p>
<span><?php echo PHP_OS; ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>Web服务器</p>
<span><?php echo $_SERVER['SERVER_SOFTWARE']; ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>服务器IP</p>
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']); ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>PHP版本</p>
<span><?php echo @phpversion(); ?></span>
</div>
</td>
<td>
<div class="web-info">
<p>数据库版本</p>
<span><?php echo $dsql->GetVersion(); ?></span>
</div>
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-database"></i> 版本授权</div>
<div class="card-body" id="_systeminfo">正在载入</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><a name="statChart"><i class="fa fa-bar-chart"></i> 流量统计图</a></div>
<div class="card-body">
<canvas id="statChart"></canvas>
</div>
</div>
</div>
<div class="col-md-6 mt-3 mb-3">
<div class="card">
<div class="card-header"><i class="fa fa-file-word-o"></i> 最新文档</div>
<div class="card-body" id="newarticles">正在载入</div>
</div>
</div>
</div>
</div>
</body>
</html>

+ 160
- 80
src/admin/templets/index_menu.htm View File

@@ -1,81 +1,161 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>DedeBIZ menu</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<script src="js/leftmenu.js"></script>
<style>
body{margin:0;background:#f6f6f6;padding-left:6px;overflow:scroll;overflow-x:hidden}
img{margin-right:0;border-radius:0}
div{margin:0;padding:0}
dl.bitem{margin:0 0 2px 10px;width:140px;background:url(../static/web/img/menunewbg.gif)repeat-x;clear:both}
dl.bitem2{margin:0 0 2px 10px;width:140px;background:url(../static/web/img/menunewbg2.gif)repeat-x;clear:both}
dl.bitem dt,dl.bitem2 dt{padding-left:30px;height:26px;line-height:26px;cursor:pointer}
dl.bitem dd,dl.bitem2 dd{padding:10px;background:#fff}
dl.bitem dt b,dl.bitem2 dt b{color:#4f7632}
a.mm div{padding:6px 4px 4px 10px;height:40px;color:#424b51;background:url(../static/web/img/leftmbg1.gif)no-repeat;cursor:pointer}
a.mm:hover div{color:#4f7632;background:url(../static/web/img/leftbg2.gif)no-repeat}
a.mmac div{padding:6px 4px 4px 10px;height:40px;color:#4f7632;background:url(../static/web/img/leftbg2.gif)no-repeat}
#mainct{padding-top:12px;background:url(../static/web/img/idnbg1.gif)repeat-y}
.sitemu li{padding:0 0 0 20px;height:26px;line-height:26px;background:url(../static/web/img/arr4.gif)no-repeat 6px 10px}
.fllct{float:left;width:80px}
.flrct{float:left;padding-top:5px}
.fa-minus-circle{color:#dc3545}
.fa-plus-circle{color:#28a745}
</style>
<base target="main">
</head>
<body target="main" onLoad="CheckOpenMenu();">
<table width="180" align="left" cellspacing="0" cellpadding="0">
<tr>
<td width="26" valign="top" style="padding-top:10px">
<a id="link1" class="mmac"><div onClick="ShowMainMenu(1)"><b>运维<b></div></a>
<a id="link100" class="mm"><div onClick="ShowMainMenu(100)"><b>插件<b></div></a>
<a id="link5" class="mm"><div onClick="ShowMainMenu(5)"><b>更新<b></div></a>
<a id="link6" class="mm"><div onClick="ShowMainMenu(6)"><b>会员<b></div></a>
<?php
if($cuserLogin->getUserType()>=10){
?>
<a id="link7" class="mm"><div onClick="ShowMainMenu(7)"><b>模板<b></div></a>
<a id="link10" class="mm"><div onClick="ShowMainMenu(10)"><b>系统<b></div></a>
<?php
}
?>
</td>
<td width="260" valign="top" id="mainct">
<div id="ct1">
<?php
GetMenus($cuserLogin->getUserRank(),'main');
?>
</div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>
<div id="ct6"></div>
<div id="ct7"></div>
<div id="ct20"></div>
<div id="ct10"></div>
</td>
</tr>
<tr>
<td width="26"></td>
<td width="180"><img src="../static/web/img/idnbgfoot.gif"></td>
</tr>
</table>
<?php
if(!empty($openitem) && $openitem!=1)
{
?>
<script>
ShowMainMenu(100);
</script>
<?php
}
?>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>DedeBIZ menu</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script src="../static/web/js/webajax.js"></script>
<script src="../static/web/js/jquery.min.js"></script>
<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
<script src="js/leftmenu.js"></script>
<style>
body {
margin: 0;
background: #f6f6f6;
padding-left: 6px;
overflow: scroll;
overflow-x: hidden
}
img {
margin-right: 0;
border-radius: 0;
vertical-align: top
}
div {
margin: 0;
padding: 0
}
dl.bitem {
margin: 0 0 2px 10px;
width: 140px;
background: url(../static/web/img/menunewbg.gif)repeat-x;
clear: both
}
dl.bitem2 {
margin: 0 0 2px 10px;
width: 140px;
background: url(../static/web/img/menunewbg2.gif)repeat-x;
clear: both
}
dl.bitem dt,
dl.bitem2 dt {
padding-left: 30px;
height: 26px;
line-height: 26px;
cursor: pointer
}
dl.bitem dd,
dl.bitem2 dd {
padding: 10px;
background: #fff
}
dl.bitem dt b,
dl.bitem2 dt b {
color: #4f7632
}
a.mm div {
padding: 6px 4px 4px 10px;
height: 40px;
color: #424b51;
background: url(../static/web/img/leftmbg1.gif)no-repeat;
cursor: pointer
}
a.mm:hover div {
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
}
a.mmac div {
padding: 6px 4px 4px 10px;
height: 40px;
color: #4f7632;
background: url(../static/web/img/leftbg2.gif)no-repeat
}
#mainct {
padding-top: 12px;
background: url(../static/web/img/idnbg1.gif)repeat-y
}
.sitemu li {
padding: 0 0 0 20px;
height: 26px;
line-height: 26px;
background: url(../static/web/img/arr4.gif)no-repeat 6px 10px
}
.fllct {
float: left;
width: 80px
}
.flrct {
float: left;
}
.fa-minus-circle {
color: #dc3545
}
.fa-plus-circle {
color: #28a745
}
</style>
<base target="main">
</head>
<body target="main" onLoad="CheckOpenMenu();">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="27" valign="top" style="padding-top:10px">
<a id="link1" class="mmac">
<div onClick="ShowMainMenu(1)"><b>运维<b></div>
</a>
<a id="link100" class="mm">
<div onClick="ShowMainMenu(100)"><b>插件<b></div>
</a>
<a id="link5" class="mm">
<div onClick="ShowMainMenu(5)"><b>更新<b></div>
</a>
<a id="link6" class="mm">
<div onClick="ShowMainMenu(6)"><b>会员<b></div>
</a>
<?php
if($cuserLogin->getUserType()>=10) {
?>
<a id="link7" class="mm">
<div onClick="ShowMainMenu(7)"><b>模板<b></div>
</a>
<a id="link10" class="mm">
<div onClick="ShowMainMenu(10)"><b>系统<b></div>
</a>
<?php
}
?>
</td>
<td width="170" valign="top" id="mainct">
<div id="ct1">
<?php
GetMenus($cuserLogin->getUserRank(),'main');
?>
</div>
<div id="ct100"></div>
<div id="ct3"></div>
<div id="ct5"></div>
<div id="ct6"></div>
<div id="ct7"></div>
<div id="ct20"></div>
<div id="ct10"></div>
</td>
</tr>
<tr>
<td></td>
<td><img src="../static/web/img/idnbgfoot.gif"></td>
</tr>
</table>
<?php
if(!empty($openitem) && $openitem!=1)
{
?>
<script>
ShowMainMenu(100);
</script>
<?php
}
?>
</body>
</html>

+ 4
- 3
src/admin/templets/log_list.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>采集内容管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 109
- 77
src/admin/templets/login.htm View File

@@ -1,86 +1,118 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/style.css">
<title><?php echo $cfg_webname; ?>后台登录</title>
<style>
body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f6f6f6}
img{max-width:100%}
input{font-size:14px!important}
header{background:#fff}
header .logo{width:300px;padding:1rem 0}
.goindex{line-height:68px}
.fa{font-size:16px}
.login-from{max-width:580px;width:100%}
.login-area{background:#fff;padding:1.25rem;border-radius:.25rem}
.login-area .btnLogin{width:100%}
.login-power{padding-top:1rem}
.login-power a,.goindex a{color:#28a745}
.form-control{height:36px;line-height:36px}
</style>
</head>
<body>
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
</div>
<?php
}
?>
<header>
<div class="container top">
<div class="row">
<div class="col-10">
<div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
</div>
<div class="col-2 d-flex justify-content-end goindex">
<a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
</div>
</div>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title><?php echo $cfg_webname; ?>后台登录</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/style.css">
<style>
body {
font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
color: #424b51;
background: #f6f6f6
}
img {
max-width: 100%
}
input {
font-size: 14px !important
}
header {
background: #fff
}
header .logo {
width: 300px;
padding: 1rem 0
}
.goindex {
line-height: 68px
}
.login-from {
max-width: 580px;
width: 100%
}
.login-area {
background: #fff;
padding: 1.25rem;
border-radius: .25rem
}
.login-area .btnLogin {
width: 100%
}
.login-power {
padding-top: 1rem
}
.login-power a,
.goindex a {
color: #28a745
}
.form-control {
height: 36px;
line-height: 36px
}
</style>
</head>
<body>
<?php
if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
?>
<div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
<a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
<span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
</div>
</header>
<main class="container login-from mt-5">
<?php echo $redmsg; ?>
<div class="login-area">
<h4 class="mb-4 text-center">后台登录</h4>
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="adminstyle" value="newDedeBIZ">
<div class="form-group">
<label for="iptUserid">用户名</label>
<input type="text" name="userid" class="form-control" id="iptUserid">
</div>
<div class="form-group">
<label for="iptPassword">密码</label>
<input type="password" name="pwd" class="form-control" id="iptPassword">
<?php
}
?>
<header>
<div class="container top">
<div class="row">
<div class="col-10">
<div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
</div>
<div class="col-2 d-flex justify-content-end goindex">
<a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
</div>
</div>
<?php
</div>
</header>
<main class="container login-from mt-5">
<?php echo $redmsg; ?>
<div class="login-area">
<h4 class="mb-4 text-center">后台登录</h4>
<form name="form1" method="post" action="login.php">
<input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
<input type="hidden" name="dopost" value="login">
<input type="hidden" name="adminstyle" value="newDedeBIZ">
<div class="form-group">
<label for="iptUserid">用户名</label>
<input type="text" name="userid" class="form-control" id="iptUserid">
</div>
<div class="form-group">
<label for="iptPassword">密码</label>
<input type="password" name="pwd" class="form-control" id="iptPassword">
</div>
<?php
if(preg_match("/6/",$safe_gdopen))
{
?>
<div class="form-group">
<label for="iptValidate">验证码</label>
<div class="input-group">
<input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
<img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg" style="cursor:pointer">
<div class="form-group">
<label for="iptValidate">验证码</label>
<div class="input-group">
<input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
<img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg" style="cursor:pointer">
</div>
</div>
</div>
<?php
}
?>
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
<div class="login-power"><?php echo $cfg_powerby; ?></div>
</form>
</div>
</main>
</body>
<?php
}
?>
<button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
<div class="login-power"><?php echo $cfg_powerby; ?></div>
</form>
</div>
</main>
</body>
</html>

+ 119
- 115
src/admin/templets/makehtml_all.htm View File

@@ -1,118 +1,122 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新整站</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script>
$(document).ready(function () {
$('.datepicker').daterangepicker({
"singleDatePicker": true,
"autoApply": true,
"showDropdowns": true,
"linkedCalendars": false,
"timePicker": true,
"timePicker24Hour": true,
"showCustomRangeLabel": false,
ranges: {
'今日': [moment(), moment()],
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'本月': [moment().startOf('month'), moment().startOf('month')],
'上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').startOf('month')]
},
"locale": {
format: 'YYYY-MM-DD HH:mm',
applyLabel: '确定',
cancelLabel: '取消',
daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月','七月', '八月', '九月', '十月', '十一月', '十二月'],
firstDay: 1
}
}, function (start) {
$(this).val(start.format("YYYY-MM-DD HH:mm"));
});
})
</script>
<script>
function SelUp(){
var ob1 = document.getElementById("uptype1");
var ob2 = document.getElementById("uptype2");
var ob3 = document.getElementById("uptype3");
if(ob1.checked){
document.getElementById("seltime").style.display = "";
document.getElementById("selid").style.display = "none";
} else if(ob2.checked){
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "";
} else {
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "none";
}
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_all.php" target="stafrm" method="post">
<input type="hidden" name="action" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">更新整站</td>
</tr>
<tr>
<td width="260" height="26">更新选项:</td>
<td height="26">
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">&nbsp;指定时间的所有更新</label>
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">&nbsp;指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">&nbsp;更新所有</label>
</td>
</tr>
<tr id="seltime">
<td height="26">起始时间:</td>
<td height="26"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
</tr>
<tr id="selid" style="display:none">
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="360px"></iframe>
</div>
<script>
document.all.mdv.style.pixelHeight = screen.height - 360;
</script>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新整站</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/moment.min.js"></script>
<script src="../static/web/js/daterangepicker.js"></script>
<script>
$(document).ready(function() {
$('.datepicker').daterangepicker({
"singleDatePicker": true,
"autoApply": true,
"showDropdowns": true,
"linkedCalendars": false,
"timePicker": true,
"timePicker24Hour": true,
"showCustomRangeLabel": false,
ranges: {
'今日': [moment(), moment()],
'昨日': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'本月': [moment().startOf('month'), moment().startOf('month')],
'上月': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month')
.startOf('month')
]
},
"locale": {
format: 'YYYY-MM-DD HH:mm',
applyLabel: '确定',
cancelLabel: '取消',
daysOfWeek: ['日', '一', '二', '三', '四', '五', '六'],
monthNames: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
firstDay: 1
}
}, function(start) {
$(this).val(start.format("YYYY-MM-DD HH:mm"));
});
})
</script>
<script>
function SelUp() {
var ob1 = document.getElementById("uptype1");
var ob2 = document.getElementById("uptype2");
var ob3 = document.getElementById("uptype3");
if (ob1.checked) {
document.getElementById("seltime").style.display = "";
document.getElementById("selid").style.display = "none";
} else if (ob2.checked) {
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "";
} else {
document.getElementById("seltime").style.display = "none";
document.getElementById("selid").style.display = "none";
}
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_all.php" target="stafrm" method="post">
<input type="hidden" name="action" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif" style="padding-left:10px">更新整站
</td>
</tr>
<tr>
<td width="260" height="26">更新选项:</td>
<td height="26">
<label><input name="uptype" id="uptype1" type="radio" value="time" onClick="SelUp()" checked="checked">&nbsp;指定时间的所有更新</label>
<label><input name="uptype" id="uptype2" type="radio" onClick="SelUp()" value="id">&nbsp;指定ID文档的所有更新</label>
<label><input name="uptype" id="uptype3" type="radio" onClick="SelUp()" value="mkall">&nbsp;更新所有</label>
</td>
</tr>
<tr id="seltime">
<td height="26">起始时间:</td>
<td height="26"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(time()); ?>" class="datepicker" style="width:160px"></td>
</tr>
<tr id="selid" style="display:none">
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" value="0" style="width:60px"></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center"><button type="submit" name="Submit" class="btn btn-success btn-sm">开始更新</button></td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="360px"></iframe>
</div>
<script>
document.all.mdv.style.pixelHeight = screen.height - 360;
</script>
</td>
</tr>
</table>
</body>
</html>

+ 87
- 86
src/admin/templets/makehtml_archives.htm View File

@@ -1,89 +1,90 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name='form2' action='content_list.php' method="get" target='stafrm'>
<input type='hidden' name='nullfield' value='ok'>
</form>
<form name="form1" action="makehtml_archives_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新文档</td>
<td width="70%" align="right">
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:260px'>";
if($cid=="0") echo "<option value='0' selected>更新所有文档</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<tr>
<td height="26">每页生成:</td>
<td height="26"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class='btn btn-success btn-sm' onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class='btn btn-success btn-sm' onClick="document.form2.submit();">查看所有文档</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新文档</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name='form2' action='content_list.php' method="get" target='stafrm'>
<input type='hidden' name='nullfield' value='ok'>
</form>
<form name="form1" action="makehtml_archives_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新文档</td>
<td width="70%" align="right">
<a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:260px'>";
if($cid=="0") echo "<option value='0' selected>更新所有文档</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<tr>
<td height="26">每页生成:</td>
<td height="26"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
<button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 4
- 3
src/admin/templets/makehtml_freelist.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新自由列表</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 148
- 153
src/admin/templets/makehtml_homepage.htm View File

@@ -1,158 +1,153 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新首页</title>
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/main.js" language="javascript"></script>
<script language="javascript">
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function htmlSubmit() {
form1.submit();
$("#dedebiz_admin").val("");
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新首页</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260">选择首页模板:</td>
<td height="26">
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
<td height="26" colspan="2">默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br>
例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为 http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html”</td>
</tr>
<tr>
<td height="26">首页位置:</td>
<td height="26"><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
</tr>
<tr>
<td height="26">相关选项:</td>
<td height="26">
<label><input name="saveset" type="radio" value="0" class="np">
不保存当前选项</label>
<label><input name="saveset" type="radio" class="np" value="1" checked>
保存当前选项</label>
</td>
</tr>
<tr>
<td height="26">首页模式:</td>
<td height="26">
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>>
动态浏览</label>
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>>
生成静态(或者手动删除根目录下index.html文件)</label>
</td>
</tr>
<?php
if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) {
$client = new DedeBizClient($cfg_bizcore_hostname, $cfg_bizcore_port);
$client->appid = $cfg_bizcore_appid;
$client->key = $cfg_bizcore_key;
$data = $client->AdminPWDExists();
if($data->code == -1){
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
</tr>
<?php
} else {
$data = json_decode($data->data);
$rs = (array)($data->result);
if($rs["admin_pwd_exists"] == "false") {
?>
<tr>
<td height="26">设置操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td>
</tr>
<tr>
<td height="26">重复操作密码:</td>
<td height="26"><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td>
</tr>
<?php
} else {
?>
<tr>
<td height="26">操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td>
</tr>
<tr>
<td height="26">首页状态:</td>
<td height="26">
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>>
解锁</label>
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>>
锁定</label>
</td>
</td>
</tr>
<?php
}
}
} else {
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a>
</td>
</tr>
<?php
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新首页</title>
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="js/main.js" language="javascript"></script>
<script language="javascript">
function SelectTemplets(fname) {
var pos = GetWinPos(800, 600);
window.open("./dialog/select_templets.php?f=" + fname, "poptempWin","scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function htmlSubmit() {
form1.submit();
$("#dedebiz_admin").val("");
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_homepage.php" target="stafrm" method="post">
<input type="hidden" name="dopost" value="make">
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新首页</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260">选择首页模板:</td>
<td height="26">
<input name="templet" type="text" id="templet" value="<?php echo $row['templet']?>" style="width:260px">
<button class="btn btn-success btn-sm" type="button" name="set4" value="" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
<td height="26" colspan="2">
默认的情况下,生成的首页文件放在CMS的安装目录,如果您的CMS不是安装在网站根目录的,又想把首页创建到网站根目录,那么请用相对路径来表示“首页位置”<br>
例:您的CMS安装在 http://www.abc.com/DedeBIZ/ 目录,您想生成的首页为http://www.abc.com/index.html,那吗首页位置就应该用:“../index.html”
</td>
</tr>
<tr>
<td height="26">首页位置:</td>
<td height="26"><input name="position" type="text" id="position" value="<?php echo $row['position']?>" style="width:260px"></td>
</tr>
<tr>
<td height="26">相关选项:</td>
<td height="26">
<label><input name="saveset" type="radio" value="0" class="np"> 不保存当前选项 </label>
<label><input name="saveset" type="radio" class="np" value="1" checked> 保存当前选项</label>
</td>
</tr>
<tr>
<td height="26">首页模式:</td>
<td height="26">
<label><input name="showmod" type="radio" value="0" class="np" <?php echo ($row['showmod']==0)? "checked='checked'" : ""; ?>> 动态浏览 </label>
<label><input name="showmod" type="radio" class="np" value="1" <?php echo ($row['showmod']==1)? "checked='checked'" : ""; ?>> 生成静态(或者手动删除根目录下index.html文件)</label>
</td>
</tr>
<?php
if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) {
$client = new DedeBizClient($cfg_bizcore_hostname, $cfg_bizcore_port);
$client->appid = $cfg_bizcore_appid;
$client->key = $cfg_bizcore_key;
$data = $client->AdminPWDExists();
if($data->code == -1){
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
</tr>
<?php
} else {
$data = json_decode($data->data);
$rs = (array)($data->result);
if($rs["admin_pwd_exists"] == "false") {
?>
<tr>
<td height="26">设置操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px">设定后所有的DedeBIZ涉及安全操作输入当前操作密码</td>
</tr>
<tr>
<td height="26">重复操作密码:</td>
<td height="26"><input name="re_dedebiz_admin" type="password" id="re_dedebiz_admin" value="" style="width:260px"></td>
</tr>
<?php
} else {
?>
<tr>
<td height="26">操作密码:</td>
<td height="26"><input name="dedebiz_admin" type="password" id="dedebiz_admin" value="" style="width:260px"></td>
</tr>
<tr>
<td height="26">首页状态:</td>
<td height="26">
<label><input name="lockindex" type="radio" class="np" value="unlock" <?php echo ($rs['index_lock_state']==true)? "checked='checked'" : ""; ?>> 解锁 </label>
<label><input name="lockindex" type="radio" value="lock" class="np" <?php echo ($row['index_lock_state']==false)? "checked='checked'" : ""; ?>> 锁定</label>
</td>
</tr>
<?php
}
}
} else {
?>
<tr>
<td height="26" colspan="2">尚未开启DedeBIZ商业组件 <a class="btn btn-danger btn-sm" target="_blank" href="https://www.dedebiz.com/start?code=-1008">如何启动组件</a></td>
</tr>
<?php
}
?>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="view" class="btn btn-success btn-sm" type="button" id="view" onClick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button>
<button type="button" onclick="htmlSubmit()" class='btn btn-success btn-sm' name="Submit">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="view" class="btn btn-success btn-sm" type="button" id="view" onClick="window.open('makehtml_homepage.php?dopost=view&templet='+form1.templet.value);">预览首页</button>
<button type="button" onclick="htmlSubmit()" class="btn btn-success btn-sm" name="Submit">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 97
- 97
src/admin/templets/makehtml_js.htm View File

@@ -1,100 +1,100 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新脚本</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js" language="javascript"></script>
<script language="javascript">
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir.'/plus')?>&f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_js_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新脚本</td>
<td width="70%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
if($cid=="0") echo "<option value='0' selected>所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">JS文件:</td>
<td height="26">
<span><?php echo "&lt;script src='".$cfg_cmspath."/static/js/".$cid.".js' language='javascript'&gt;&lt;/script&gt;"; ?></span>
</td>
</tr>
<tr>
<td height="26">模板文件:</td>
<td height="26"><input name="templet" type="text" id="templet" value="plus/js.htm" style="width:260px">
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
<td height="26">更新选项:</td>
<td height="26">
<label><input type="radio" name="uptype" value="all" class="np">
更新所有栏目</label>
<label><input name="uptype" type="radio" value="onlyme" class="np" checked>
仅当前文件</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新脚本</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="js/main.js" language="javascript"></script>
<script language="javascript">
function SelectTemplets(fname) {
var pos = GetWinPos(800, 600);
window.open("./dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir.'/plus')?>&f=" +
fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left +", top=" + pos.top);
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_js_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新脚本</td>
<td width="70%" align="right"><a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
if($cid=="0") echo "<option value='0' selected>所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">JS文件:</td>
<td height="26">
<span><?php echo "&lt;script src='".$cfg_cmspath."/static/js/".$cid.".js' language='javascript'&gt;&lt;/script&gt;"; ?></span>
</td>
</tr>
<tr>
<td height="26">模板文件:</td>
<td height="26"><input name="templet" type="text" id="templet" value="plus/js.htm" style="width:260px">
<button type="button" class="btn btn-success btn-sm" name="set4" onClick="SelectTemplets('form1.templet');">浏览</button>
</td>
</tr>
<tr>
<td height="26">更新选项:</td>
<td height="26">
<label><input type="radio" name="uptype" value="all" class="np"> 更新所有栏目 </label>
<label><input name="uptype" type="radio" value="onlyme" class="np" checked> 仅当前文件</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 84
- 84
src/admin/templets/makehtml_list.htm View File

@@ -1,87 +1,87 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_list_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新栏目</td>
<td width="70%" align="right">
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新文档</a>
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid=0;
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">是否更新子栏目:</td>
<td height="26">
<label><input name="upnext" type="radio" class="np" value="1" checked='1'>
更新子级栏目</label>
<label><input type="radio" name="upnext" class="np" value="0">
仅更新所选栏目</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新栏目</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_list_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新栏目</td>
<td width="70%" align="right">
<a href="makehtml_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>"
class="btn btn-success btn-sm">更新文档</a>
<a href="catalog_main.php" class="btn btn-success btn-sm">栏目管理</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260">选择栏目:</td>
<td height="26">
<?php
if(empty($cid)) $cid=0;
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:260px'>";
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>";
echo $typeOptions;
echo "</select>";
?>
</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">是否更新子栏目:</td>
<td height="26">
<label><input name="upnext" type="radio" class="np" value="1" checked='1'> 更新子级栏目 </label>
<label><input type="radio" name="upnext" class="np" value="0"> 仅更新所选栏目</label>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 59
- 58
src/admin/templets/makehtml_rss.htm View File

@@ -1,61 +1,62 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新订阅</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_rss_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新订阅</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">单个类目最大记录数:</td>
<td><input name="maxrecord" type="text" id="maxrecord" value="50" style="width:60px"> 条</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新订阅</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_rss_action.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新订阅</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="260" height="26">单个类目最大记录数:</td>
<td><input name="maxrecord" type="text" id="maxrecord" value="50" style="width:60px"> 条</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 59
- 58
src/admin/templets/makehtml_spec.htm View File

@@ -1,61 +1,62 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>更新专题</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_spec.php" method="get" target='stafrm'>
<input type="hidden" name="dopost" value="ok">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新专题</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新专题</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_spec.php" method="get" target='stafrm'>
<input type="hidden" name="dopost" value="ok">
<tr>
<td height="26" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新专题</td>
<td width="70%" align="right"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="26">为了安全起见,专题目录建议设置仅可读写权限,发布专题后需要手动更新,默认文件为:<?php echo $cfg_cmspath.$cfg_special."/index.html"?></td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
</td>
</tr>
</form>
<tr>
<td height="26">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 104
- 103
src/admin/templets/makehtml_taglist.htm View File

@@ -1,106 +1,107 @@
<!DOCTYPE html>
<html>
<head>
<meta 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/select2.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/select2.full.min.js"></script>
<script language="javascript" src="../static/web/js/i18n/zh-CN.js"></script>
<script>
function onTagSubmit() {
document.form1.submit();
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新标签</td>
<td width="70%" align="right">
<a href="tags_main.php" class="btn btn-success btn-sm">标签管理</a>
</td>
</tr>
</table>
</td>
</tr>
<?php
if($tagid > 0) {
$row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' ");
?>
<tr>
<td width="260" height="26">输入标签:</td>
<td height="26"><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a></td>
</tr>
<?php
} else {
?>
<tr>
<td width="260" height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<?php
}
?>
<tr>
<td height="26">生成位置:</td>
<td height="26"><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">标签说明:</td>
<td height="26">
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br>
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br>
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>更新标签</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/css/select2.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/select2.full.min.js"></script>
<script language="javascript" src="../static/web/js/i18n/zh-CN.js"></script>
<script>
function onTagSubmit() {
document.form1.submit();
}
</script>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<form name="form1" action="makehtml_tag_action_list.php" method="get" target='stafrm'>
<tr>
<td height="26" colspan="2" background="../static/web/img/tbg.gif">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%" style="padding-left:10px">更新标签</td>
<td width="70%" align="right">
<a href="tags_main.php" class="btn btn-success btn-sm">标签管理</a>
</td>
</tr>
</table>
</td>
</tr>
<?php
if($tagid > 0) {
$row = $dsql->GetOne("Select tag From `#@__tagindex` where id = '$tagid' ");
?>
<tr>
<td width="260" height="26">输入标签:</td>
<td height="26"><input type="hidden" name="tagid" value="<?php echo $tagid;?>"><?php echo $row['tag'];?> <a class="text-success" href="makehtml_taglist.php">重新选择</a></td>
</tr>
<?php
} else {
?>
<tr>
<td width="260" height="26">起始ID:</td>
<td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
</tr>
<tr>
<td height="26">结束ID:</td>
<td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
</tr>
<?php
}
?>
<tr>
<td height="26">生成位置:</td>
<td height="26"><input name="tagsdir" type="text" id="tagsdir" value="<?php echo $cfg_tags_dir;?>" style="width:260px" disabled> <a href="sys_info.php">系统设置</a>-其他选项中“TAGS生成目录”项进行调整</td>
</tr>
<tr>
<td height="26">每次最大创建页数:</td>
<td height="26"><input name="maxpagesize" type="text" id="maxpagesize" value="50" style="width:60px"> 个文件</td>
</tr>
<tr>
<td height="26">标签说明:</td>
<td height="26">
生成静态文件后,访问动态文件则直接跳转到静态文件,如果需要动态访问,删除对应文件即可<br>
Tag首页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/tag.htm<br>
Tag列表页模板文件:<?php echo $cfg_templets_dir; ?>/<?php echo $cfg_df_style?>/taglist.htm<br>
</td>
</tr>
<tr>
<td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
<button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.action='makehtml_taglist_action.php';onTagSubmit();">生成标签</button>
</td>
</tr>
</form>
<tr>
<td height="26" colspan="2">
<table width="100%" class="table table-borderless">
<tr>
<td width="70%">结果:</td>
<td width="30%" align="right">
<script language='javascript'>
function ResizeDiv(obj, ty) {
if (ty == "+") document.all[obj].style.pixelHeight += 50;
else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
}
</script>
<a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
<a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="2" id="mtd">
<div id="mdv" style="width:100%;height:360px">
<iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
</div>
</td>
</tr>
</table>
</body>
</html>

+ 6
- 5
src/admin/templets/media_add.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>上传新文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="../static/web/js/bootstrap.bundle.min.js"></script>


+ 4
- 3
src/admin/templets/media_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改文件</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 6
- 5
src/admin/templets/media_main.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>附件数据管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.napisdiv {


+ 8
- 7
src/admin/templets/member_main.htm View File

@@ -2,13 +2,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>网站会员管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="js/ieemu.js"></script>
<script language="javascript" src="js/member.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>网站会员管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="js/ieemu.js"></script>
<script language="javascript" src="js/member.js"></script>
</head>
<body>
<form action="member_main.php" name="form1" method="get">


+ 4
- 3
src/admin/templets/member_operations.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>业务管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 8
- 7
src/admin/templets/member_pm.htm View File

@@ -2,14 +2,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545}
</style>
</style>
</head>
<body>
<form action="member_pm.php" name="form1" method="get">


+ 8
- 7
src/admin/templets/member_pmall.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545}
</style>
</style>
</head>
<body>
<form action="member_pm.php" name="form1" method="get">


+ 8
- 7
src/admin/templets/member_pmone.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>用户短信管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.current{border:1px solid #dee2e6;padding:6px;background:#FFFEF4;color:#dc3545}
</style>
</style>
</head>
<body>
<form action="member_pm.php" name="form1" method="get">


+ 6
- 5
src/admin/templets/member_rank.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员权限管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 5
- 4
src/admin/templets/member_scores.htm View File

@@ -1,8 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>会员管理--积分头衔设置</title>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员管理-积分头衔设置</title>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<script type="text/javascript">


+ 4
- 3
src/admin/templets/member_toadmin.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>提升为管理员</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 6
- 5
src/admin/templets/member_type.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>会员类型管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 4
- 3
src/admin/templets/member_view.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>查看会员</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 9
- 8
src/admin/templets/module_edit.htm View File

@@ -1,10 +1,13 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script language="javascript" src="../static/web/js/webajax.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script language="javascript">
function ShowHideField(cbox,vid,nid)
{
@@ -29,8 +32,6 @@ function ShowHideMb(rbox1,nid)
}
}
</script>
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 4
- 3
src/admin/templets/module_help.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<script language="javascript" src="../static/web/js/webajax.js"></script>
<script language="javascript">
function LoadHashCode() {


+ 93
- 92
src/admin/templets/module_main.htm View File

@@ -1,95 +1,96 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<title>模块管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function getmodule(action, hash) {
$DE('status_' + hash).innerHTML = '<img src=\'../static/web/img/loadinglit.gif\'>';
fetch('module_main.php?action=download&hash=' + hash).then(resp=>resp.text()).then((d)=>{
$DE('status_' + hash).innerHTML = d;
});
$DE('manager_' + hash).style.display = 'block';
}
</script>
</head>
<body>
<div class="alert alert-info maintable" style="margin:12px auto">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
<form name="form1" action="plus_add.php" method="post">
<input type='hidden' name='dopost' value='save'>
<tr>
<td height="26" colspan="6" background="../static/web/img/tbg.gif" style="padding-left:10px">
<div style="float:left"><a href='module_main.php'>模块管理</a> &gt; 模块列表</div>
<div style="float:right;padding-right:10px">
<a class="btn btn-success btn-sm" href="module_main.php">全部</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=soft">模块</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=templets">模板</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=plus">小插件</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=patch">补丁</a>
</div>
</td>
</tr>
<tr bgcolor="#F8FCF1">
<td align="center" width="16%">模块名称</td>
<td align="center" width="12%">发布时间</td>
<td align="center" width="10%">编码</td>
<td align="center" width="10%">类型</td>
<td align="center" width="12%">模块状态</td>
<td align="center" width="26%">管理</td>
</tr>
<?php
if(count($modules)>0)
foreach($modules as $k=>$v)
{
?>
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td><?php echo $v['name']; ?></td>
<td><?php echo $v['time']; ?></td>
<td>
<?php
if($cfg_soft_lang != $v['lang']) echo "<span class='text-danger'>".$v['lang']."</span>";
else echo $v['lang'];
?>
</td>
<td><?php echo $types[$v['moduletype']]; ?></td>
<td>
<?php
$file = DEDEDATA."/module/{$v['hash']}.xml";
if(file_exists($file)) {
if(file_exists(DEDEDATA."/module/{$v['hash']}-readme.php")){
echo "已安装 <a class='text-danger' href='module_main.php?action=uninstall&hash={$v['hash']}'>卸载</a>";
} else {
echo "未安装 <a class='text-success' href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>";
}
} else {
echo "<div id=\"status_{$v['hash']}\"><a class=\"text-danger\" href=\"javascript:getmodule('download','{$v['hash']}')\">下载</a></div>";
}
?>
</td>
<td>
<div id='manager_<?php echo $v['hash']; ?>'<?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none"'?>>
<a class="btn btn-success btn-sm" href="module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>">开发者</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=showreadme&hash=<?php echo $v['hash']; ?>">说明</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详情</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=edit&hash=<?php echo $v['hash']; ?>">修改</a>
<a class="btn btn-danger btn-sm" href="module_main.php?action=del&hash=<?php echo $v['hash']; ?>">删除</a>
</div>
</td>
</tr>
<?php
}
?>
<tr>
<td colspan="6" bgcolor="#f8f8f8" align="center"></td>
</tr>
</form>
</table>
</body>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="../static/web/js/webajax.js"></script>
<script>
function getmodule(action, hash) {
$DE('status_' + hash).innerHTML = '<img src=\'../static/web/img/loadinglit.gif\'>';
fetch('module_main.php?action=download&hash=' + hash).then(resp => resp.text()).then((d) => {
$DE('status_' + hash).innerHTML = d;
});
$DE('manager_' + hash).style.display = 'block';
}
</script>
</head>
<body>
<div class="alert alert-info maintable" style="margin:12px auto">DedeBIZV6开始启动<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable">
<form name="form1" action="plus_add.php" method="post">
<input type='hidden' name='dopost' value='save'>
<tr>
<td height="26" colspan="6" background="../static/web/img/tbg.gif" style="padding-left:10px">
<div style="float:left"><a href='module_main.php'>模块管理</a> &gt; 模块列表</div>
<div style="float:right;padding-right:10px">
<a class="btn btn-success btn-sm" href="module_main.php">全部</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=soft">模块</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=templets">模板</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=plus">小插件</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=patch">补丁</a>
</div>
</td>
</tr>
<tr bgcolor="#F8FCF1">
<td align="center" width="16%">模块名称</td>
<td align="center" width="12%">发布时间</td>
<td align="center" width="10%">编码</td>
<td align="center" width="10%">类型</td>
<td align="center" width="12%">模块状态</td>
<td align="center" width="26%">管理</td>
</tr>
<?php
if(count($modules)>0)
foreach($modules as $k=>$v)
{
?>
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';"
onmouseout="javascript:this.bgColor='#ffffff';">
<td><?php echo $v['name']; ?></td>
<td><?php echo $v['time']; ?></td>
<td>
<?php
if($cfg_soft_lang != $v['lang']) echo "<span class='text-danger'>".$v['lang']."</span>";
else echo $v['lang'];
?>
</td>
<td><?php echo $types[$v['moduletype']]; ?></td>
<td>
<?php
$file = DEDEDATA."/module/{$v['hash']}.xml";
if(file_exists($file)) {
if(file_exists(DEDEDATA."/module/{$v['hash']}-readme.php")){
echo "已安装 <a class='text-danger' href='module_main.php?action=uninstall&hash={$v['hash']}'>卸载</a>";
} else {
echo "未安装 <a class='text-success' href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>";
}
} else {
echo "<div id=\"status_{$v['hash']}\"><a class=\"text-danger\" href=\"javascript:getmodule('download','{$v['hash']}')\">下载</a></div>";
}
?>
</td>
<td>
<div id='manager_<?php echo $v['hash']; ?>' <?php if(!file_exists(DEDEDATA."/module/{$v['hash']}.xml")) echo 'style="display:none"'?>>
<a class="btn btn-success btn-sm" href="module_main.php?action=view_developoer&hash=<?php echo $v['hash']; ?>">开发者</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=view&hash=<?php echo $v['hash']; ?>">详情</a>
<a class="btn btn-success btn-sm" href="module_main.php?action=edit&hash=<?php echo $v['hash']; ?>">修改</a>
<a class="btn btn-danger btn-sm" href="module_main.php?action=del&hash=<?php echo $v['hash']; ?>">删除</a>
</div>
</td>
</tr>
<?php
}
?>
<tr>
<td colspan="6" bgcolor="#f8f8f8" align="center"></td>
</tr>
</form>
</table>
</body>
</html>

+ 6
- 5
src/admin/templets/module_make.htm View File

@@ -1,7 +1,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<script language="javascript" src="../static/web/js/webajax.js"></script>
@@ -25,8 +28,6 @@
}
}
</script>
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 8
- 7
src/admin/templets/module_upload.htm View File

@@ -1,11 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>模块打包</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="96%" cellpadding="1" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 7
- 6
src/admin/templets/mychannel_add.htm View File

@@ -1,8 +1,12 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>新增频道</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.style2 {
color: #424b51;
@@ -35,9 +39,6 @@
}
}
</script>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">


+ 16
- 17
src/admin/templets/mychannel_edit.htm View File

@@ -1,8 +1,18 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改内容模型</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/codemirror.css">
<script type="text/javascript" src="js/codemirror.js"></script>
<script type="text/javascript" src="js/mode/xml/xml.js"></script>
<script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="js/mode/css/css.js"></script>
<script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
<script language="javascript">
function Nav() {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
@@ -47,15 +57,6 @@
HideObj('head1'); HideObj('needset');
}
</script>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/codemirror.css">
<script type="text/javascript" src="js/codemirror.js"></script>
<script type="text/javascript" src="js/mode/xml/xml.js"></script>
<script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="js/mode/css/css.js"></script>
<script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
</head>
<body>
<form name="form1" action="mychannel_edit.php" method="post">
@@ -251,11 +252,9 @@
<span class="style2" id="help9">如果投稿是唯一会员只能在这个模型对应的栏目中发布单篇文档,其作用相当于自定义表单</span>
</td>
<td>
<label><input name="onlyone" type="radio" class="np" value="1"
<?php if($row['onlyone']==1) echo " checked='1'"; ?> />
<label><input name="onlyone" type="radio" class="np" value="1" <?php if($row['onlyone']==1) echo " checked='1'"; ?> />
是 </label>
<label><input name="onlyone" type="radio" class="np" value="0"
<?php if($row['onlyone']==0) echo " checked='1'"; ?> />
<label><input name="onlyone" type="radio" class="np" value="0" <?php if($row['onlyone']==0) echo " checked='1'"; ?> />
不是 </label>
</td>
</tr>
@@ -359,7 +358,7 @@
<td width="70%"><textarea name="fieldset" style="width:98%;height:300px" rows="10" id="fieldset"><?php echo stripslashes($row['fieldset']); ?></textarea></td>
</tr>
</table>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<table width="98%" cellpadding="3" cellspacing="1" bgcolor="#f8f8f8" align="center" class="table maintable mt-3 mb-3">
<tr>
<td colspan="2" align="center" class="py-3">
<button type="submit" class="btn btn-success btn-sm">保存</button>


+ 11
- 10
src/admin/templets/mychannel_field_add.htm View File

@@ -1,14 +1,15 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script language="javascript" src="js/main.js"></script>
<script language="javascript">
var notAllow = " <?php echo $f; ?> ";
function GetFields()


+ 4
- 3
src/admin/templets/mychannel_field_edit.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改字段</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">


+ 79
- 75
src/admin/templets/mychannel_main.htm View File

@@ -1,77 +1,81 @@
{dede:config name='pagesize' value='30' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<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/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.fa{color:#424b51}
</style>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<table width='96%' cellpadding='0' cellspacing='0' class="table table-borderless">
<tr>
<td width='20%'>内容模型管理</td>
<td align='right'>
<a href="mychannel_add.php" class="btn btn-success btn-sm">增加新模型</a>
<a href="mychannel_edit.php?dopost=exportin" class="btn btn-success btn-sm">导入模型</a>
<a href="stepselect_main.php" class="btn btn-success btn-sm">联动类别管理</a>
</td>
</tr>
</table>
</td>
</tr>
<tr height="26">
<td align="right" colspan="7">图标说明:
<span class="btn-text"><i class="fa fa-clone" title="复制"></i> 复制</span>
<span class="btn-text"><i class="fa fa-file-text-o" title="模板"></i> 模板</span>
<span class="btn-text"><i class="fa fa-download" title="导出"></i> 导出</span>
<span class="btn-text"><i class="fa fa-pencil-square-o" title="修改"></i> 修改</span>
<span class="btn-text"><i class="fa fa-search" title="自定义搜索"></i> 自定义搜索</span>
<span class="btn-text"><i class="fa fa-trash" title="删除"></i> 删除</span>
</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="6%">id号</td>
<td width="16%">频道名称</td>
<td width="12%">识别id</td>
<td width="20%">附加表</td>
<td width="12%">状态</td>
<td width="8%">模型</td>
<td>管理</td>
</tr>
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id /}</td>
<td>
<a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'>{dede:field.typename /}</a>
</td>
<td>{dede:field.nid /}</td>
<td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td>
<td>{dede:field.isshow function="GetSta(@me,$fields['id'])" /}</td>
<td>{dede:field.issystem function='IsSystem(@me)'/}</td>
<td>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=copystart"><i class="btn btn-sm fa fa-clone" title="复制"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets"><i class="btn btn-sm fa fa-file-text-o" title="模板"></i></a>
<a href="mychannel_edit.php?id={dede:field.id /}&dopost=export"><i class="btn btn-sm fa fa-download" title="导出"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<a href="mychannel_edit.php?mid={dede:field.id/}&dopost=modifysearch"><i class="btn btn-sm fa fa-search" title="自定义搜索"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=delete"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
</td>
</tr>
{/dede:datalist}
<tr align="center" bgcolor="#f8f8f8" height="36">
<td colspan="7">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>内容模型管理</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<style>
.fa {
color: #424b51
}
</style>
</head>
<body>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
<tr>
<td height="26" colspan="7" background="../static/web/img/tbg.gif">
<table width='96%' cellpadding='0' cellspacing='0' class="table table-borderless">
<tr>
<td width='20%'>内容模型管理</td>
<td align='right'>
<a href="mychannel_add.php" class="btn btn-success btn-sm">增加新模型</a>
<a href="mychannel_edit.php?dopost=exportin" class="btn btn-success btn-sm">导入模型</a>
<a href="stepselect_main.php" class="btn btn-success btn-sm">联动类别管理</a>
</td>
</tr>
</table>
</td>
</tr>
<tr height="26">
<td align="right" colspan="7">图标说明:
<span class="btn-text"><i class="fa fa-clone" title="复制"></i> 复制</span>
<span class="btn-text"><i class="fa fa-file-text-o" title="模板"></i> 模板</span>
<span class="btn-text"><i class="fa fa-download" title="导出"></i> 导出</span>
<span class="btn-text"><i class="fa fa-pencil-square-o" title="修改"></i> 修改</span>
<span class="btn-text"><i class="fa fa-search" title="自定义搜索"></i> 自定义搜索</span>
<span class="btn-text"><i class="fa fa-trash" title="删除"></i> 删除</span>
</td>
</tr>
<tr align="center" bgcolor="#F8FCF1" height="26">
<td width="6%">id号</td>
<td width="16%">频道名称</td>
<td width="12%">识别id</td>
<td width="20%">附加表</td>
<td width="12%">状态</td>
<td width="8%">模型</td>
<td>管理</td>
</tr>
{dede:datalist empty='<tr>
<td colspan="7">
<center>暂无内容</center>
</td>
</tr>'}
<tr height="26" align="center" onmousemove="javascript:this.bgColor='#F8FCF1';" onmouseout="javascript:this.bgColor='#ffffff';">
<td>{dede:field.id /}</td>
<td>
<a href='mychannel_edit.php?id={dede:field.id/}&dopost=edit'>{dede:field.typename /}</a>
</td>
<td>{dede:field.nid /}</td>
<td>{dede:field.addtable function="str_replace('#@__',$cfg_dbprefix,@me)" /}</td>
<td>{dede:field.isshow function="GetSta(@me,$fields['id'])" /}</td>
<td>{dede:field.issystem function='IsSystem(@me)'/}</td>
<td>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=copystart"><i class="btn btn-sm fa fa-clone" title="复制"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=gettemplets"><i class="btn btn-sm fa fa-file-text-o" title="模板"></i></a>
<a href="mychannel_edit.php?id={dede:field.id /}&dopost=export"><i class="btn btn-sm fa fa-download" title="导出"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=edit"><i class="btn btn-sm fa fa-pencil-square-o" title="修改"></i></a>
<a href="mychannel_edit.php?mid={dede:field.id/}&dopost=modifysearch"><i class="btn btn-sm fa fa-search" title="自定义搜索"></i></a>
<a href="mychannel_edit.php?id={dede:field.id/}&dopost=delete"><i class="btn btn-sm fa fa-trash" title="删除"></i></a>
</td>
</tr>
{/dede:datalist}
<tr align="center" bgcolor="#f8f8f8" height="36">
<td colspan="7">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>
</html>

+ 4
- 3
src/admin/templets/mychannel_modifysearch.htm View File

@@ -1,7 +1,8 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改频道</title>
<script language="javascript" src="../static/web/js/jquery.min.js"></script>
<script language="javascript" src="js/main.js"></script>


+ 6
- 5
src/admin/templets/mytag_add.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>增加自定义标记</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/daterangepicker.css">
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>


+ 7
- 6
src/admin/templets/mytag_edit.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>修改标记</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>修改标记</title>
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
</head>
<body>
<table width="98%" align="center" cellpadding="3" cellspacing="1" class="table maintable mt-3 mb-3">


+ 6
- 5
src/admin/templets/mytag_main.htm View File

@@ -1,11 +1,12 @@
{dede:config.pagesize value='30'/}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>自定义标记</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
</head>
<body>


+ 6
- 5
src/admin/templets/mytag_tag_guide.htm View File

@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<title>智能标记向导</title>
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/codemirror.css">
<script src="../static/web/js/jquery.min.js" language="javascript" type="text/javascript"></script>


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save