@@ -527,10 +527,10 @@ function GetUpdateSQL() | |||||
fclose($fp); | fclose($fp); | ||||
return $result; | return $result; | ||||
} | } | ||||
/*会员中心调用默认主题模板<?php pasterTempletDiy('head.htm');?>*/ | |||||
if (!function_exists('pasterTempletDiy')) { | |||||
/*会员中心调用默认主题模板<?php obtaintheme('head.htm');?>*/ | |||||
if (!function_exists('obtaintheme')) { | |||||
require_once DEDEINC."/archive/partview.class.php"; | require_once DEDEINC."/archive/partview.class.php"; | ||||
function pasterTempletDiy($path) | |||||
function obtaintheme($path) | |||||
{ | { | ||||
global $cfg_basedir, $cfg_templets_dir, $cfg_df_style; | global $cfg_basedir, $cfg_templets_dir, $cfg_df_style; | ||||
$tmpfile = $cfg_basedir.$cfg_templets_dir.'/'.$cfg_df_style.'/'.$path; | $tmpfile = $cfg_basedir.$cfg_templets_dir.'/'.$cfg_df_style.'/'.$path; | ||||
@@ -539,9 +539,9 @@ if (!function_exists('pasterTempletDiy')) { | |||||
$dtp->Display(); | $dtp->Display(); | ||||
} | } | ||||
} | } | ||||
//标签调用标签[field:id function='GetMyTags(@me,2)'/]2表示调用文档2个标签 | |||||
if (!function_exists('GetMyTags')) { | |||||
function GetMyTags($aid, $num=3) | |||||
//标签调用[field:id function='obtaintags(@me,3)'/]3表示调用文档3个标签 | |||||
if (!function_exists('obtaintags')) { | |||||
function obtaintags($aid, $num = 3) | |||||
{ | { | ||||
global $dsql, $cfg_cmspath; | global $dsql, $cfg_cmspath; | ||||
$tags = ''; | $tags = ''; | ||||
@@ -549,15 +549,32 @@ if (!function_exists('GetMyTags')) { | |||||
$dsql->Execute('tag',$query); | $dsql->Execute('tag',$query); | ||||
while($row = $dsql->GetArray('tag')) { | while($row = $dsql->GetArray('tag')) { | ||||
$link = $cfg_cmspath."/apps/tags.php?/{$row['tid']}"; | $link = $cfg_cmspath."/apps/tags.php?/{$row['tid']}"; | ||||
$tags.= ($tags==''?"<a href='{$link}'>{$row['tag']}</a>" : "<a href='{$link}'>{$row['tag']}</a>"); | |||||
$tags .= ($tags==''?"<a href='{$link}'>{$row['tag']}</a>" : "<a href='{$link}'>{$row['tag']}</a>"); | |||||
} | } | ||||
return $tags; | return $tags; | ||||
} | } | ||||
} | } | ||||
//联动单筛选标签{dede:php}AddFilter(模型id,类型,'字段1,字段2');{/dede:php}类型对应以下case数值 | |||||
//提取文档多图片[field:body function='obtainimgs(@me,3)'/]3表示调用文档3张图片 | |||||
if (!function_exists('obtainimgs')) { | |||||
function obtainimgs($string, $num) | |||||
{ | |||||
preg_match_all("/<img([^>]*)\s*src=('|\")([^'\"]+)('|\")/", $string, $matches); | |||||
$imgsrc_arr = array_unique($matches[3]); | |||||
$count = count($imgsrc_arr); | |||||
$i = 0; | |||||
foreach($imgsrc_arr as $imgsrc) | |||||
{ | |||||
if ($i == $num) break; | |||||
$result .= "<img src=\"$imgsrc\">"; | |||||
$i++; | |||||
} | |||||
return $result; | |||||
} | |||||
} | |||||
//联动单筛选{dede:php}AddFilter(模型id,类型,'字段1,字段2');{/dede:php}类型有三种,对应以下case值 | |||||
function litimgurls($imgid = 0) | function litimgurls($imgid = 0) | ||||
{ | { | ||||
global $lit_imglist, $dsql; | |||||
global $dsql, $lit_imglist; | |||||
$row = $dsql->GetOne("SELECT c.addtable FROM `#@__archives` AS a LEFT JOIN `#@__channeltype` AS c ON a.channel=c.id WHERE a.id='$imgid'"); | $row = $dsql->GetOne("SELECT c.addtable FROM `#@__archives` AS a LEFT JOIN `#@__channeltype` AS c ON a.channel=c.id WHERE a.id='$imgid'"); | ||||
$addtable = trim($row['addtable']); | $addtable = trim($row['addtable']); | ||||
$row = $dsql->GetOne("SELECT imgurls FROM `$addtable` WHERE aid='$imgid'"); | $row = $dsql->GetOne("SELECT imgurls FROM `$addtable` WHERE aid='$imgid'"); | ||||
@@ -586,7 +603,7 @@ function string_filter($str, $stype = "inject") | |||||
} | } | ||||
return $str; | return $str; | ||||
} | } | ||||
//联动单筛选发布三种类型 | |||||
//联动单筛选三种类型显示 | |||||
function AddFilter($channelid, $type = 1, $fieldsnamef = '', $defaulttid = 0, $toptid = 0, $loadtype = 'autofield') | function AddFilter($channelid, $type = 1, $fieldsnamef = '', $defaulttid = 0, $toptid = 0, $loadtype = 'autofield') | ||||
{ | { | ||||
global $tid, $dsql, $id, $aid; | global $tid, $dsql, $id, $aid; | ||||
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -30,6 +30,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -77,6 +77,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -45,6 +45,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -103,6 +103,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -42,6 +42,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -15,7 +15,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/diy.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/diy.js"></script> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -43,6 +43,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -42,6 +42,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -31,6 +31,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -37,6 +37,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -39,6 +39,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -35,6 +35,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -10,7 +10,7 @@ | |||||
<link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/web/css/style.css"> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -29,6 +29,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -13,7 +13,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.album.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.album.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -100,7 +100,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -13,7 +13,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.album.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.album.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -127,7 +127,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
startNum = <?php echo $j;?>; | startNum = <?php echo $j;?>; | ||||
</script> | </script> | ||||
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -74,7 +74,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -73,7 +73,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -70,7 +70,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -69,7 +69,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -78,7 +78,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -81,7 +81,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | <?php include(DEDEMEMBER."/templets/widget_litpic.htm");?> | ||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
@@ -110,6 +110,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php include(DEDEMEMBER."/templets/menu.htm");?> | <?php include(DEDEMEMBER."/templets/menu.htm");?> | ||||
@@ -75,6 +75,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -74,7 +74,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
function viewArc(aid) { | function viewArc(aid) { | ||||
window.open("{dede:global.cfg_phpurl/}/view.php?aid=" + aid); | window.open("{dede:global.cfg_phpurl/}/view.php?aid=" + aid); | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -67,7 +67,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
function viewArc(aid) { | function viewArc(aid) { | ||||
window.open("{dede:global.cfg_phpurl/}/view.php?aid=" + aid); | window.open("{dede:global.cfg_phpurl/}/view.php?aid=" + aid); | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -98,7 +98,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form2.oldpwd.value == '') { | if (document.form2.oldpwd.value == '') { | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -97,6 +97,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/login.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/login.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container"> | <main class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12 text-center"> | <div class="col-md-12 text-center"> | ||||
@@ -48,6 +48,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -59,7 +59,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
//获得选中文件的文件名 | //获得选中文件的文件名 | ||||
function GetCheckfolderItem() { | function GetCheckfolderItem() { | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -52,6 +52,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -61,7 +61,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
//获得选中文件的文件名 | //获得选中文件的文件名 | ||||
function GetCheckfolderItem() { | function GetCheckfolderItem() { | ||||
@@ -13,7 +13,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/style.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/style.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<?php | <?php | ||||
@@ -88,7 +88,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
//阅读消息 | //阅读消息 | ||||
function ReadMsg(id) { | function ReadMsg(id) { | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container"> | <main class="container"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12 text-center"> | <div class="col-md-12 text-center"> | ||||
@@ -54,7 +54,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
//CheckSubmit校验注册提交表单 | //CheckSubmit校验注册提交表单 | ||||
function CheckSubmit() { | function CheckSubmit() { | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -49,7 +49,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
function changeAuthCode() { | function changeAuthCode() { | ||||
var num = new Date().getTime(); | var num = new Date().getTime(); | ||||
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -46,6 +46,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -11,7 +11,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/jquery.min.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -40,6 +40,6 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
</body> | </body> | ||||
</html> | </html> |
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -184,7 +184,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
var startNum = 2; | var startNum = 2; | ||||
function MakeUpload() { | function MakeUpload() { | ||||
@@ -12,7 +12,7 @@ | |||||
<script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | <script src="<?php echo $cfg_cmsurl;?>/static/web/js/user.js"></script> | ||||
</head> | </head> | ||||
<body class="body-bg"> | <body class="body-bg"> | ||||
<?php pasterTempletDiy('top.htm');?> | |||||
<?php obtaintheme('top.htm');?> | |||||
<main class="container py-3"> | <main class="container py-3"> | ||||
<div class="row"> | <div class="row"> | ||||
<div class="col-md-12"> | <div class="col-md-12"> | ||||
@@ -181,7 +181,7 @@ | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</main> | </main> | ||||
<?php pasterTempletDiy('foot.htm');?> | |||||
<?php obtaintheme('foot.htm');?> | |||||
<script> | <script> | ||||
var startNum = 2; | var startNum = 2; | ||||
function MakeUpload() { | function MakeUpload() { | ||||