@@ -26,8 +26,8 @@ if ($dopost == 'ok') { | |||||
} | } | ||||
$dsql->SetQuery("SELECT typename,typedir FROM `#@__arctype` WHERE id=".$id); | $dsql->SetQuery("SELECT typename,typedir FROM `#@__arctype` WHERE id=".$id); | ||||
$row = $dsql->GetOne(); | $row = $dsql->GetOne(); | ||||
$wintitle = "删除栏目确认"; | |||||
$wecome_info = "<a href='catalog_main.php'>栏目管理</a> > 删除栏目确认"; | |||||
$wintitle = "删除栏目"; | |||||
$wecome_info = "<a href='catalog_main.php'>栏目管理</a> > 删除栏目"; | |||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
$win->Init('catalog_del.php', 'js/blank.js', 'POST'); | $win->Init('catalog_del.php', 'js/blank.js', 'POST'); | ||||
$win->AddHidden('id', $id); | $win->AddHidden('id', $id); | ||||
@@ -10,7 +10,7 @@ | |||||
*/ | */ | ||||
require_once(dirname(__FILE__).'/config.php'); | require_once(dirname(__FILE__).'/config.php'); | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
ShowMsg("请指定栏目参数", "catalog_main.php"); | |||||
ShowMsg("请指定一个栏目参数", "catalog_main.php"); | |||||
exit(); | exit(); | ||||
} | } | ||||
$cid = empty($cid) ? 0 : intval($cid); | $cid = empty($cid) ? 0 : intval($cid); | ||||
@@ -32,10 +32,9 @@ if ($dopost == "addArchives") { | |||||
} | } | ||||
$gurl = $row["addcon"]; | $gurl = $row["addcon"]; | ||||
if ($gurl == "") { | if ($gurl == "") { | ||||
ShowMsg("您指的栏目可能有误", "catalog_main.php"); | |||||
ShowMsg("操作失败,正在返回", "catalog_main.php"); | |||||
exit(); | exit(); | ||||
} | } | ||||
//跳转并传递参数 | //跳转并传递参数 | ||||
header("location:{$gurl}?channelid={$channelid}&cid={$cid}"); | header("location:{$gurl}?channelid={$channelid}&cid={$cid}"); | ||||
exit(); | exit(); | ||||
@@ -57,7 +56,7 @@ else if ($dopost == "listArchives") { | |||||
$typename = $row["typename"]; | $typename = $row["typename"]; | ||||
$channelname = $row["channelname"]; | $channelname = $row["channelname"]; | ||||
if ($gurl == "") { | if ($gurl == "") { | ||||
ShowMsg("您指的栏目可能有误", "catalog_main.php"); | |||||
ShowMsg("操作失败,正在返回", "catalog_main.php"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} else if ($channelid > 0) { | } else if ($channelid > 0) { | ||||
@@ -67,7 +66,6 @@ else if ($dopost == "listArchives") { | |||||
$typename = ""; | $typename = ""; | ||||
$channelname = $row["typename"]; | $channelname = $row["typename"]; | ||||
} | } | ||||
if (empty($gurl)) $gurl = 'content_list.php'; | if (empty($gurl)) $gurl = 'content_list.php'; | ||||
header("location:{$gurl}?channelid={$channelid}&cid={$cid}"); | header("location:{$gurl}?channelid={$channelid}&cid={$cid}"); | ||||
exit(); | exit(); | ||||
@@ -102,8 +100,9 @@ else if ($dopost == "upRank") { | |||||
UpDateCatCache(); | UpDateCatCache(); | ||||
ShowMsg("操作成功,返回目录", "catalog_main.php"); | ShowMsg("操作成功,返回目录", "catalog_main.php"); | ||||
exit(); | exit(); | ||||
} else if ($dopost == "upRankAll") { | |||||
//检查权限许可 | |||||
} | |||||
//检查权限许可 | |||||
else if ($dopost == "upRankAll") { | |||||
CheckPurview('t_Edit'); | CheckPurview('t_Edit'); | ||||
$row = $dsql->GetOne("SELECT id FROM `#@__arctype` ORDER BY id DESC"); | $row = $dsql->GetOne("SELECT id FROM `#@__arctype` ORDER BY id DESC"); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
@@ -143,11 +142,6 @@ else if ($dopost == "upcatcache") { | |||||
ShowMsg("操作成功,正在返回", "catalog_main.php"); | ShowMsg("操作成功,正在返回", "catalog_main.php"); | ||||
exit(); | exit(); | ||||
} | } | ||||
//获取js文件 | |||||
else if ($dopost == "GetJs") { | |||||
header("location:makehtml_js.php"); | |||||
exit(); | |||||
} | |||||
//获得子类的文档 | //获得子类的文档 | ||||
else if ($dopost == "GetSunListsMenu") { | else if ($dopost == "GetSunListsMenu") { | ||||
$userChannel = $cuserLogin->getUserChannel(); | $userChannel = $cuserLogin->getUserChannel(); | ||||
@@ -193,16 +187,15 @@ else if ($dopost == 'unitCatalog') { | |||||
$win->AddHidden('typeid', $typeid); | $win->AddHidden('typeid', $typeid); | ||||
$win->AddHidden('channelid', $channelid); | $win->AddHidden('channelid', $channelid); | ||||
$win->AddHidden('nextjob', 'unitok'); | $win->AddHidden('nextjob', 'unitok'); | ||||
$win->AddTitle("合并目录时不会删除原来的栏目目录,合并后需手动更新目标栏目的文档网页和列表网页"); | |||||
$win->AddTitle("合并目录时不会删除原来的栏目目录,合并后需手动更新目标栏目的文档网页和列表网页,栏目不能有下级子栏目,只允许子级到更高级或同级或不同父级的情况"); | |||||
$win->AddItem('您选择的栏目是:', "<span class='text-primary'>$typename($typeid)</span>"); | $win->AddItem('您选择的栏目是:', "<span class='text-primary'>$typename($typeid)</span>"); | ||||
$win->AddItem('您希望合并到那个栏目', "<select name='unittype'>{$typeOptions}</select>"); | $win->AddItem('您希望合并到那个栏目', "<select name='unittype'>{$typeOptions}</select>"); | ||||
$win->AddItem('注意事项:', '栏目不能有下级子栏目,只允许子级到更高级或同级或不同父级的情况'); | |||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
$win->Display(); | $win->Display(); | ||||
exit(); | exit(); | ||||
} else { | } else { | ||||
if ($typeid == $unittype) { | if ($typeid == $unittype) { | ||||
ShowMsg("同一栏目无法合并,请后退重试", '-1'); | |||||
ShowMsg("同一栏目无法合并,请重新合并", '-1'); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (IsParent($unittype, $typeid)) { | if (IsParent($unittype, $typeid)) { | ||||
@@ -243,10 +236,9 @@ else if ($dopost == 'moveCatalog') { | |||||
$win->AddHidden('typeid', $typeid); | $win->AddHidden('typeid', $typeid); | ||||
$win->AddHidden('channelid', $channelid); | $win->AddHidden('channelid', $channelid); | ||||
$win->AddHidden('nextjob', 'unitok'); | $win->AddHidden('nextjob', 'unitok'); | ||||
$win->AddTitle("移动目录时不会删除原来已创建的列表,移动后需重新对栏目创建网页"); | |||||
$win->AddTitle("移动目录时不会删除原来已创建的列表,移动后需重新对栏目创建网页,不允许从父级移动到子级目录,只允许子级到更高级或同级或不同父级的情况"); | |||||
$win->AddItem('您选择的栏目是:', "$typename($typeid)"); | $win->AddItem('您选择的栏目是:', "$typename($typeid)"); | ||||
$win->AddItem('您希望移动到那个栏目', "<select name='movetype'>\r\n<option value='0'>移动为顶级栏目</option>\r\n$typeOptions\r\n</select>"); | $win->AddItem('您希望移动到那个栏目', "<select name='movetype'>\r\n<option value='0'>移动为顶级栏目</option>\r\n$typeOptions\r\n</select>"); | ||||
$win->AddItem('注意事项:', '不允许从父级移动到子级目录,只允许子级到更高级或同级或不同父级的情况'); | |||||
$winform = $win->GetWindow('ok'); | $winform = $win->GetWindow('ok'); | ||||
$win->Display(); | $win->Display(); | ||||
exit(); | exit(); | ||||
@@ -265,7 +257,8 @@ else if ($dopost == 'moveCatalog') { | |||||
ShowMsg('成功移动目录', 'catalog_main.php'); | ShowMsg('成功移动目录', 'catalog_main.php'); | ||||
exit(); | exit(); | ||||
} | } | ||||
} //查看API | |||||
} | |||||
//查看跨站调用秘钥 | |||||
else if ($dopost == 'viewAPI') { | else if ($dopost == 'viewAPI') { | ||||
require_once(DEDEINC.'/typelink/typelink.class.php'); | require_once(DEDEINC.'/typelink/typelink.class.php'); | ||||
$typeid = isset($typeid) ? intval($typeid) : 0; | $typeid = isset($typeid) ? intval($typeid) : 0; | ||||
@@ -283,7 +276,6 @@ else if ($dopost == 'viewAPI') { | |||||
} | } | ||||
?>'; | ?>'; | ||||
$gocode = 'package main | $gocode = 'package main | ||||
import ( | import ( | ||||
"crypto/md5" | "crypto/md5" | ||||
"encoding/json" | "encoding/json" | ||||
@@ -293,7 +285,6 @@ import ( | |||||
"strconv" | "strconv" | ||||
"time" | "time" | ||||
) | ) | ||||
func main() { | func main() { | ||||
typeid := '.$typeid.' | typeid := '.$typeid.' | ||||
row := 10 | row := 10 | ||||
@@ -325,7 +316,6 @@ func main() { | |||||
import json | import json | ||||
import time | import time | ||||
import urllib.request | import urllib.request | ||||
typeid = '.$typeid.' | typeid = '.$typeid.' | ||||
row = 10 | row = 10 | ||||
timestamp = int(time.time()) | timestamp = int(time.time()) | ||||
@@ -339,7 +329,6 @@ if data[\'code\'] == 0: | |||||
'; | '; | ||||
$jscode = 'const crypto = require(\'crypto\'); | $jscode = 'const crypto = require(\'crypto\'); | ||||
const http = require(\'http\'); | const http = require(\'http\'); | ||||
const typeid = '.$typeid.'; | const typeid = '.$typeid.'; | ||||
const row = 10; | const row = 10; | ||||
const timestamp = Math.floor(Date.now() / 1000); | const timestamp = Math.floor(Date.now() / 1000); | ||||
@@ -35,7 +35,6 @@ if ($gotype == '' || $gotype == 'mkallct') { | |||||
$idArray[] = $typeid; | $idArray[] = $typeid; | ||||
} | } | ||||
} | } | ||||
//一键更新带缓存的情况 | //一键更新带缓存的情况 | ||||
else if ($gotype == 'mkall') { | else if ($gotype == 'mkall') { | ||||
$uppage = 1; | $uppage = 1; | ||||
@@ -44,7 +43,7 @@ else if ($gotype == 'mkall') { | |||||
if (file_exists($mkcachefile)) require_once($mkcachefile); | if (file_exists($mkcachefile)) require_once($mkcachefile); | ||||
} | } | ||||
if (!$idArray) { | if (!$idArray) { | ||||
ShowMsg("尚未添加栏目,请先添加栏目再进行更新", "javascript:;"); | |||||
ShowMsg("暂无栏目,请添加栏目", "javascript:;"); | |||||
exit; | exit; | ||||
} | } | ||||
//当前更新栏目id | //当前更新栏目id | ||||
@@ -110,11 +109,11 @@ if ($nextpage >= $totalpage && $finishType) { | |||||
$typename = isset($cfg_Cs[$tid][3])? base64_decode($cfg_Cs[$tid][3]) : ""; | $typename = isset($cfg_Cs[$tid][3])? base64_decode($cfg_Cs[$tid][3]) : ""; | ||||
if ($finishType) { | if ($finishType) { | ||||
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$nextpage"; | $gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$nextpage"; | ||||
ShowMsg("更新栏目id:<span class='text-primary'>".$tid."</span>,栏目名称:<span class='text-primary'>{$typename}</span>,继续执行任务", $gourl, 0, 100); | |||||
ShowMsg("更新栏目<span class='text-primary'>(id:".$tid."){$typename}</span>,继续执行任务", $gourl, 0, 100); | |||||
exit(); | exit(); | ||||
} else { | } else { | ||||
$gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno"; | $gourl = "makehtml_list_action.php?gotype={$gotype}&uppage=$uppage&mkpage=$mkpage&maxpagesize=$maxpagesize&typeid=$typeid&pageno=$pageno"; | ||||
ShowMsg("更新栏目id:<span class='text-primary'>".$tid."</span>,栏目名称:<span class='text-primary'>{$typename}</span>,继续执行任务", $gourl, 0, 100); | |||||
ShowMsg("更新栏目<span class='text-primary'>(id:".$tid."){$typename}</span>,继续执行任务", $gourl, 0, 100); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } |
@@ -36,7 +36,6 @@ if ($row['send_max'] == -1) { | |||||
} else { | } else { | ||||
$rtimes = ($row['send_max'] - $sendtime) > 0? $row['send_max'] - $sendtime : 0; | $rtimes = ($row['send_max'] - $sendtime) > 0? $row['send_max'] - $sendtime : 0; | ||||
} | } | ||||
function GetMemberTypeName($rank) | function GetMemberTypeName($rank) | ||||
{ | { | ||||
global $dsql; | global $dsql; | ||||
@@ -128,7 +128,7 @@ | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>文件保存目录:</td> | <td>文件保存目录:</td> | ||||
<td><input type="text" name="typedir" id="typedir" value="<?php echo $myrow['typedir']?>" class="admin-input-lg">(标签“{cmspath}”请勿删除)</td> | |||||
<td><input type="text" name="typedir" id="typedir" value="<?php echo $myrow['typedir']?>" class="admin-input-lg">(标签“{cmspath}”必填)</td> | |||||
<td>继承选项:</td> | <td>继承选项:</td> | ||||
<td><label><input type="checkbox" name="upnext" id="upnext" value="1"> 同时继承下级栏目浏览权限、文档类型、模板风格、命名规则等通用属性</label></td> | <td><label><input type="checkbox" name="upnext" id="upnext" value="1"> 同时继承下级栏目浏览权限、文档类型、模板风格、命名规则等通用属性</label></td> | ||||
</tr> | </tr> | ||||
@@ -248,10 +248,8 @@ | |||||
<td>是否支持跨站调用:</td> | <td>是否支持跨站调用:</td> | ||||
<td> | <td> | ||||
<input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | <input value="<?php echo $myrow['apikey']?>" type="text" name="apikey" id="apikey" class="admin-input-lg" placeholder="请输入跨站调用秘钥"> | ||||
<?php if ($myrow['apienabled']=="1") {;?><span class="btn btn-success btn-sm" title="秘钥标签" onclick="showAPI(<?php echo $id;?>)"><i class="fa fa-question-circle"></i></span><?php } ;?> | |||||
<span class="btn btn-success btn-sm mr-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span> | <span class="btn btn-success btn-sm mr-2" title="更新秘钥" onclick="makeAPIKey()"><i class="fa fa-repeat"></i></span> | ||||
<?php if ($myrow['apienabled']=="1") {;?> | |||||
<span class="btn btn-success btn-sm" title="调用" onclick="showAPI(<?php echo $id;?>)"><i class="fa fa-question-circle"></i></span> | |||||
<?php } ;?> | |||||
<label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo "checked='1'";?>> 支持</label> | <label><input type="radio" name="apienabled" value="1" <?php if ($myrow['apienabled']=="1") echo "checked='1'";?>> 支持</label> | ||||
<label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo "checked='1'";?>> 不支持</label> | <label><input type="radio" name="apienabled" value="0" <?php if ($myrow['apienabled']=="0") echo "checked='1'";?>> 不支持</label> | ||||
</td> | </td> | ||||
@@ -277,21 +275,17 @@ | |||||
<div class="modal-body"> | <div class="modal-body"> | ||||
<form> | <form> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<span> | |||||
本功能主要用于移动客户端或第三方系统调用栏目数据进行展现。 | |||||
</span> | |||||
<span>本功能主要用于移动客户端或第三方系统调用栏目数据进行展现。</span> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label for="iptAPICode">代码调用</label> | |||||
<nav> | |||||
<div class="nav nav-tabs" id="nav-tab" role="tablist"> | |||||
<button class="nav-link active" id="nav-php-tab" data-toggle="tab" data-target="#nav-php" type="button" role="tab" aria-controls="nav-php" aria-selected="true">PHP</button> | |||||
<button class="nav-link" id="nav-js-tab" data-toggle="tab" data-target="#nav-js" type="button" role="tab" aria-controls="nav-js" aria-selected="true">Javasctipt</button> | |||||
<button class="nav-link" id="nav-go-tab" data-toggle="tab" data-target="#nav-go" type="button" role="tab" aria-controls="nav-go" aria-selected="false">Go</button> | |||||
<button class="nav-link" id="nav-python-tab" data-toggle="tab" data-target="#nav-python" type="button" role="tab" aria-controls="nav-python" aria-selected="false">Python3</button> | |||||
</div> | |||||
</nav> | |||||
<div class="tab-content py-3" id="nav-tabContent"> | |||||
<label for="iptAPICode" class="pb-3">代码调用</label> | |||||
<div class="nav nav-tabs" id="nav-tab" role="tablist"> | |||||
<button class="nav-link active" id="nav-php-tab" data-toggle="tab" data-target="#nav-php" type="button" role="tab" aria-controls="nav-php" aria-selected="true">PHP</button> | |||||
<button class="nav-link" id="nav-js-tab" data-toggle="tab" data-target="#nav-js" type="button" role="tab" aria-controls="nav-js" aria-selected="true">Javasctipt</button> | |||||
<button class="nav-link" id="nav-go-tab" data-toggle="tab" data-target="#nav-go" type="button" role="tab" aria-controls="nav-go" aria-selected="false">Go</button> | |||||
<button class="nav-link" id="nav-python-tab" data-toggle="tab" data-target="#nav-python" type="button" role="tab" aria-controls="nav-python" aria-selected="false">Python3</button> | |||||
</div> | |||||
<div class="tab-content" id="nav-tabContent"> | |||||
<div class="tab-pane fade show active" id="nav-php" role="tabpanel" aria-labelledby="nav-php-tab"> | <div class="tab-pane fade show active" id="nav-php" role="tabpanel" aria-labelledby="nav-php-tab"> | ||||
<pre><code id="codephp"></code></pre></div> | <pre><code id="codephp"></code></pre></div> | ||||
<div class="tab-pane fade" id="nav-js" role="tabpanel" aria-labelledby="nav-js-tab"> | <div class="tab-pane fade" id="nav-js" role="tabpanel" aria-labelledby="nav-js-tab"> | ||||
@@ -303,19 +297,16 @@ | |||||
<div class="tab-pane fade" id="nav-python" role="tabpanel" aria-labelledby="nav-python-tab"> | <div class="tab-pane fade" id="nav-python" role="tabpanel" aria-labelledby="nav-python-tab"> | ||||
<pre><code id="codepython"></code></pre> | <pre><code id="codepython"></code></pre> | ||||
</div> | </div> | ||||
</div> | |||||
</div> | |||||
</div> | </div> | ||||
<div class="form-group"> | <div class="form-group"> | ||||
<label for="iptAPITag">标签调用</label> | |||||
<label for="iptAPITag" class="pb-3">标签调用</label> | |||||
<pre><code id="codetag"></code></pre> | <pre><code id="codetag"></code></pre> | ||||
</div> | </div> | ||||
</form> | </form> | ||||
</div> | </div> | ||||
<div class="modal-footer"> | <div class="modal-footer"> | ||||
<div class="btnStep"> | |||||
<button id="btnGoStep4" type="button" class="btn btn-success" data-dismiss="modal">我知道了</button> | |||||
</div> | |||||
<div class="btnStep"><button id="btnGoStep4" type="button" class="btn btn-success" data-dismiss="modal">关闭</button></div> | |||||
</div> | </div> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
@@ -8,6 +8,7 @@ | |||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/admin.css"> | <link rel="stylesheet" href="../static/web/css/admin.css"> | ||||
<style>.admin-td{border-bottom:1px solid #dee2e6!important}</style> | <style>.admin-td{border-bottom:1px solid #dee2e6!important}</style> | ||||
<script src="../static/web/js/jquery.min.js"></script> | |||||
<script src="../static/web/js/webajax.js"></script> | <script src="../static/web/js/webajax.js"></script> | ||||
<script src="js/global.js"></script> | <script src="js/global.js"></script> | ||||
</head> | </head> | ||||
@@ -98,7 +98,7 @@ class ListView | |||||
)); | )); | ||||
exit; | exit; | ||||
} | } | ||||
//验签算法 md5(typeid+timestamp+apikey+PageNo+PageSize) | |||||
//验签算法md5(typeid+timestamp+apikey+PageNo+PageSize) | |||||
$sign = md5($this->TypeID.$GLOBALS['timestamp'].$this->Fields['apikey'].$GLOBALS['PageNo'].$GLOBALS['PageSize']); | $sign = md5($this->TypeID.$GLOBALS['timestamp'].$this->Fields['apikey'].$GLOBALS['PageNo'].$GLOBALS['PageSize']); | ||||
if ($sign !== $GLOBALS['sign']) { | if ($sign !== $GLOBALS['sign']) { | ||||
echo json_encode(array( | echo json_encode(array( | ||||
@@ -1106,12 +1106,12 @@ class ListView | |||||
} | } | ||||
$totalpage = ceil($this->TotalResult / $this->pagesize); | $totalpage = ceil($this->TotalResult / $this->pagesize); | ||||
if ($totalpage <= 1 && $this->TotalResult > 0) { | if ($totalpage <= 1 && $this->TotalResult > 0) { | ||||
return "<li class='d-none d-sm-block page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>\r\n"; | |||||
return "<li class='page-item disabled'><span class='page-link'>1页".$this->TotalResult."条</span></li>\r\n"; | |||||
} | } | ||||
if ($this->TotalResult == 0) { | if ($this->TotalResult == 0) { | ||||
return "<li class='d-none d-sm-block page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>\r\n"; | |||||
return "<li class='page-item disabled'><span class='page-link'>0页".$this->TotalResult."条</span></li>\r\n"; | |||||
} | } | ||||
$maininfo = "<li class='d-none d-sm-block page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
$maininfo = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>\r\n"; | |||||
$purl = $this->GetCurUrl(); | $purl = $this->GetCurUrl(); | ||||
//如果开启为静态,则对规则进行替换 | //如果开启为静态,则对规则进行替换 | ||||
if ($cfg_rewrite == 'Y') { | if ($cfg_rewrite == 'Y') { | ||||
@@ -94,7 +94,7 @@ class SgListView | |||||
)); | )); | ||||
exit; | exit; | ||||
} | } | ||||
//验签算法 md5(typeid+timestamp+apikey+PageNo+PageSize) | |||||
//验签算法md5(typeid+timestamp+apikey+PageNo+PageSize) | |||||
$sign = md5($this->TypeID.$GLOBALS['timestamp'].$this->Fields['apikey'].$GLOBALS['PageNo'].$GLOBALS['PageSize']); | $sign = md5($this->TypeID.$GLOBALS['timestamp'].$this->Fields['apikey'].$GLOBALS['PageNo'].$GLOBALS['PageSize']); | ||||
if ($sign !== $GLOBALS['sign']) { | if ($sign !== $GLOBALS['sign']) { | ||||
echo json_encode(array( | echo json_encode(array( | ||||
@@ -269,7 +269,6 @@ trait JsonQueriable | |||||
*/ | */ | ||||
protected function getDataFromUrl($url) | protected function getDataFromUrl($url) | ||||
{ | { | ||||
$curl_handle=curl_init(); | $curl_handle=curl_init(); | ||||
curl_setopt($curl_handle, CURLOPT_URL, $url); | curl_setopt($curl_handle, CURLOPT_URL, $url); | ||||
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); | curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); | ||||
@@ -320,8 +320,7 @@ class MemberLogin | |||||
return $fnum; | return $fnum; | ||||
} | } | ||||
/** | /** | ||||
* 会员登录 | |||||
* 把登录密码转为指定长度md5数据 | |||||
* 会员登录,把登录密码转为指定长度md5数据 | |||||
* | * | ||||
* @access public | * @access public | ||||
* @param string $pwd 需要加密的密码 | * @param string $pwd 需要加密的密码 | ||||
@@ -343,29 +342,7 @@ class MemberLogin | |||||
} | } | ||||
} | } | ||||
/** | /** | ||||
* 投稿是否被限制 | |||||
* | |||||
* @return array | |||||
*/ | |||||
function IsSendLimited() | |||||
{ | |||||
$arr = $this->dsql->GetOne("SELECT COUNT(*) as dd FROM `#@__arctiny` WHERE mid='{$this->M_ID}'"); | |||||
if (is_array($arr)) { | |||||
if ($this->M_SendMax < 0) { | |||||
return false; | |||||
} | |||||
if ($arr['dd'] >= $this->M_SendMax) { | |||||
return true; | |||||
} else { | |||||
return false; | |||||
} | |||||
} else { | |||||
return true; | |||||
} | |||||
} | |||||
/** | |||||
* 把数据库密码转为特定长度 | |||||
* 如果数据库密码是明文的,本程序不支持 | |||||
* 会员登录,把数据库密码转为特定长度,如果数据库密码是明文,本程序不支持 | |||||
* | * | ||||
* @access public | * @access public | ||||
* @param string | * @param string | ||||
@@ -391,6 +368,27 @@ class MemberLogin | |||||
} | } | ||||
} | } | ||||
} | } | ||||
/** | |||||
* 投稿是否被限制 | |||||
* | |||||
* @return array | |||||
*/ | |||||
function IsSendLimited() | |||||
{ | |||||
$arr = $this->dsql->GetOne("SELECT COUNT(*) as dd FROM `#@__arctiny` WHERE mid='{$this->M_ID}'"); | |||||
if (is_array($arr)) { | |||||
if ($this->M_SendMax < 0) { | |||||
return false; | |||||
} | |||||
if ($arr['dd'] >= $this->M_SendMax) { | |||||
return true; | |||||
} else { | |||||
return false; | |||||
} | |||||
} else { | |||||
return true; | |||||
} | |||||
} | |||||
/** | /** | ||||
* 检查会员是否合法 | * 检查会员是否合法 | ||||
* | * | ||||
@@ -408,7 +406,7 @@ class MemberLogin | |||||
$loginuser = $rs; | $loginuser = $rs; | ||||
return '0'; | return '0'; | ||||
} | } | ||||
//matt=10 是管理员关连的前台帐号,为了安全起见,这个帐号只能从后台登录,不能直接从前台登录 | |||||
//matt=10是管理员关连的前台帐号,为了安全起见,这个帐号只能从后台登录,不能直接从前台登录 | |||||
$row = $this->dsql->GetOne("SELECT mid,matt,pwd,pwd_new,logintime FROM `#@__member` WHERE userid LIKE '$loginuser' "); | $row = $this->dsql->GetOne("SELECT mid,matt,pwd,pwd_new,logintime FROM `#@__member` WHERE userid LIKE '$loginuser' "); | ||||
if (is_array($row)) { | if (is_array($row)) { | ||||
if (!empty($row['pwd_new']) && !password_verify($loginpwd, $row['pwd_new'])) { | if (!empty($row['pwd_new']) && !password_verify($loginpwd, $row['pwd_new'])) { | ||||
@@ -1,14 +1,15 @@ | |||||
文档列表标签 | 文档列表标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:arclist typeid='' row='' col='' titlelen='' flag='h' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'} | |||||
{dede:arclist typeid='' notypeid='' row='' col='' titlelen='' flag='h' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'} | |||||
<a href='[field:arcurl/]'>[field:title/]</a> | <a href='[field:arcurl/]'>[field:title/]</a> | ||||
{/dede:arclist} | {/dede:arclist} | ||||
>>dede>> | >>dede>> | ||||
col='' 分多少列显示(默认为单列) | |||||
row='10' 返回文档列表总数 | |||||
typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | |||||
titlelen='30' 标题长度等同于titlelength | |||||
infolen='160' 表示文档简介长度等同于infolength | |||||
typeid='' 调用栏目id文档,用英文逗号分开表示多个栏目 | |||||
notypeid='' 不调用栏目id文档,用英文逗号分开表示多个栏目 | |||||
row='10' 调用文档列表总数 | |||||
col='2' 分多少列显示(默认为单列) | |||||
titlelen='160' 标题长度 | |||||
infolen='260' 文档简介长度 | |||||
imgwidth='120' 缩略图宽度 | imgwidth='120' 缩略图宽度 | ||||
imgheight='90' 缩略图高度 | imgheight='90' 缩略图高度 | ||||
listtype='all' 栏目类型(顶级栏目) | listtype='all' 栏目类型(顶级栏目) | ||||
@@ -20,14 +21,14 @@ orderby='sortrank' 文档排序方式 | |||||
orderby=='scores' 按得分排序 | orderby=='scores' 按得分排序 | ||||
orderby='id' 按文档id排序 | orderby='id' 按文档id排序 | ||||
orderby='rand' 随机获得指定条件的文档列表 | orderby='rand' 随机获得指定条件的文档列表 | ||||
keyword='' 含有指定关键词的文档列表,多个关键词用英文逗号分开 | |||||
keyword='关键词' 含有指定关键词的文档列表,多个关键词用英文逗号分开 | |||||
limit='' 限定的记录范围(如:limit='1,2') | |||||
innertext='' 单条记录样式 | innertext='' 单条记录样式 | ||||
aid='' 指定文档id | aid='' 指定文档id | ||||
idlist='' 提取特定文档(文档id) | |||||
idlist='' 提取特定文档 | |||||
isweight='n' 开启按照权重排序,默认为n/N,如果设为y/Y,则文档会按照weight字段排序,数值越小越靠前 | isweight='n' 开启按照权重排序,默认为n/N,如果设为y/Y,则文档会按照weight字段排序,数值越小越靠前 | ||||
channelid 栏目id | |||||
limit='' 起始,结束 表示限定的记录范围(如:limit='1,2') | |||||
channelid='' 栏目id | |||||
flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b] | flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b] | ||||
noflag='' 同flag,但这里是表示不包含这些属性 | noflag='' 同flag,但这里是表示不包含这些属性 | ||||
orderway='desc' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序 | |||||
subday='天数' 表示在多少天以内的文档 | |||||
orderway='' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序 | |||||
subday='7' 表示在多少天以内的文档 |
@@ -1,19 +1,27 @@ | |||||
自定义模型文档列表标签 | 自定义模型文档列表标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:arclistsg typeid='' row='' flag='h' col='' titlelen='' orderway='' keyword='' limit='0,1'} | |||||
{dede:arclistsg typeid='' row='' col='' titlelen='' flag='h' orderway='' keyword='' limit='0,1'} | |||||
<a href='[field:arcurl/]'>[field:title/]</a> | <a href='[field:arcurl/]'>[field:title/]</a> | ||||
{/dede:arclistsg} | {/dede:arclistsg} | ||||
>>dede>> | >>dede>> | ||||
col='' 分多少列显示(默认为单列) | |||||
row='10' 返回文档列表总数 | |||||
typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | |||||
titlelen='30' 标题长度等同于titlelength | |||||
orderwey='desc'或'asc'排序方向 | |||||
keyword= 含有指定关键词的文档列表,多个关键词用英文逗号分开 | |||||
innertext="<a href='[field:arcurl/]'>[field:title/]</a>" 单条记录样式(innertext是放在标签之间的代码) | |||||
arcid='' 指定文档id | |||||
idlist='' 提取特定文档(文档id) | |||||
typeid='' 调用栏目id文档,用英文逗号分开表示多个栏目 | |||||
row='10' 调用文档列表总数 | |||||
col='2' 分多少列显示(默认为单列) | |||||
titlelen='160' 标题长度 | |||||
orderby='sortrank' 文档排序方式 | |||||
orderby='hot' 或orderby='click'表示按点击数排列 | |||||
orderby='sortrank' 或orderby='pubdate'按出版时间排列 | |||||
orderby='near' | |||||
orderby=='lastpost' 按最后评论时间 | |||||
orderby=='scores' 按得分排序 | |||||
orderby='id' 按文档id排序 | |||||
orderby='rand' 随机获得指定条件的文档列表 | |||||
keyword='关键词' 含有指定关键词的文档列表,多个关键词用英文逗号分开 | |||||
limit='' 限定的记录范围(如:limit='1,2') | |||||
innertext='' 单条记录样式 | |||||
aid='' 指定文档id | |||||
idlist='' 提取特定文档 | |||||
channelid='' 栏目id | channelid='' 栏目id | ||||
limit='' 起始结束表示限定的记录范围(如:limit='1,2') | |||||
flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b] | flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b] | ||||
subday='天数' 表示在多少天以内的文档 | |||||
orderway='' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序 | |||||
subday='7' 表示在多少天以内的文档 |
@@ -2,5 +2,5 @@ | |||||
>>dede>> | >>dede>> | ||||
{dede:autochannel partsort='' typeid=''}{/dede:autochannel} | {dede:autochannel partsort='' typeid=''}{/dede:autochannel} | ||||
>>dede>> | >>dede>> | ||||
partsort='0' 栏目所在的排序位置 | |||||
typeid='0' 指定的父栏目 | |||||
partsort='' 栏目所在的排序位置 | |||||
typeid='' 指定的父栏目 |
@@ -1,11 +1,10 @@ | |||||
获取栏目列表标签 | 获取栏目列表标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:channel type='top' typeid='' notypeid='' row='8' currentstyle="<li><a href='~typelink~' class='thisclass'>~typename~</a></li>"} | |||||
{dede:channel type='top' typeid='' row='8' currentstyle="<li><a href='~typelink~' class='thisclass'>~typename~</a></li>"} | |||||
<li><a href='[field:typelink/]'>[field:typename/]</a></li> | <li><a href='[field:typelink/]'>[field:typename/]</a></li> | ||||
{/dede:channel} | {/dede:channel} | ||||
>>dede>> | >>dede>> | ||||
typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | ||||
notypeid='' 不调用栏目id,用英文逗号分开表示多个栏目 | |||||
reid='0' 调用上级栏目id | reid='0' 调用上级栏目id | ||||
row='100' 调用栏目数 | row='100' 调用栏目数 | ||||
col='1' 分多少列显示(默认为单列) | col='1' 分多少列显示(默认为单列) | ||||
@@ -15,5 +15,4 @@ | |||||
typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | typeid='' 调用栏目id,用英文逗号分开表示多个栏目 | ||||
notypeid='' 不调用栏目id,用英文逗号分开表示多个栏目 | notypeid='' 不调用栏目id,用英文逗号分开表示多个栏目 | ||||
row='20' 获取的栏目返回值 | row='20' 获取的栏目返回值 | ||||
除了宏标签外,channelArtlist 是唯一一个可以直接嵌套其它标签的标签,不过仅限于嵌套 | |||||
{dede:type}{/dede:type}和{dede:arclist}{/dede:arclist}两个标签 | |||||
除了宏标签外,{dede:channelartlist}标签是唯一一个可以直接嵌套其它标签的标签,仅限于嵌套{dede:type}和{dede:arclist} |
@@ -1,5 +1,4 @@ | |||||
演示标签 | 演示标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:demotag/} | {dede:demotag/} | ||||
>>dede>> | |||||
无属性信息 | |||||
>>dede>> |
@@ -6,5 +6,5 @@ | |||||
{/dede:feedback} | {/dede:feedback} | ||||
>>dede>> | >>dede>> | ||||
row='12' 调用评论条数 | row='12' 调用评论条数 | ||||
titlelen='24' 标题长度 | |||||
infolen='100' 评论长度 | |||||
titlelen='160' 标题长度 | |||||
infolen='260' 评论长度 |
@@ -2,8 +2,8 @@ | |||||
>>dede>> | >>dede>> | ||||
{dede:flink row='30'/} | {dede:flink row='30'/} | ||||
>>dede>> | >>dede>> | ||||
type='image' 或textall,图片链接,text文字链接; | |||||
type='image' 或textall,图片链接,text文字链接 | |||||
row='30' 链接数量 | row='30' 链接数量 | ||||
titlelen='24' 站点文字的长度 | |||||
titlelen='30' 站点文字的长度 | |||||
linktype='1' 链接位置(1首页,2内页) | linktype='1' 链接位置(1首页,2内页) | ||||
typeid='0' 所有类型 | typeid='0' 所有类型 |
@@ -1,5 +1,4 @@ | |||||
分类信息地区与小分类搜索标签 | 分类信息地区与小分类搜索标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:infoguide/} | {dede:infoguide/} | ||||
>>dede>> | |||||
无属性 | |||||
>>dede>> |
@@ -1,5 +1,4 @@ | |||||
分类信息地区与类型快捷链接标签 | 分类信息地区与类型快捷链接标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:infolink/} | {dede:infolink/} | ||||
>>dede>> | |||||
无属性 | |||||
>>dede>> |
@@ -1,9 +0,0 @@ | |||||
JSONQ标签 | |||||
>>dede>> | |||||
{dede:jsonq url='域名/api/v1/ping' path='list' cachetime='3600'} | |||||
<a href="[field:arcurl/]">[field:title/]</a> | |||||
{/dede:json} | |||||
>>dede>> | |||||
url='' JSON接口地址 | |||||
path='' 路径(可选),如果为空[field:path/]可获取指定path的值 | |||||
cachetime='3600' 缓存时间 |
@@ -6,7 +6,7 @@ | |||||
>>dede>> | >>dede>> | ||||
col='' 分多少列显示(默认为单列) | col='' 分多少列显示(默认为单列) | ||||
row='10' 返回文档列表总数 | row='10' 返回文档列表总数 | ||||
titlelen='30' 标题长度等同于titlelength | |||||
infolen='160' 表示文档简介长度 等同于infolength | |||||
titlelen='160' 标题长度等同于titlelength | |||||
infolen='260' 表示文档简介长度 等同于infolength | |||||
mytypeid='0' 手工指定要限定的栏目id,用英文逗号表示多个 | mytypeid='0' 手工指定要限定的栏目id,用英文逗号表示多个 | ||||
innertext='' 单条记录样式(指标签中间的文档) | innertext='' 单条记录样式(指标签中间的文档) |
@@ -1,6 +1,6 @@ | |||||
指定单个栏目数据标签 | 指定单个栏目数据标签 | ||||
>>dede>> | >>dede>> | ||||
{dede:type} | |||||
{dede:type typeid=''} | |||||
<a href="[field:typelink/]">[field:typename/]</a> | <a href="[field:typelink/]">[field:typename/]</a> | ||||
{/dede:type} | {/dede:type} | ||||
>>dede>> | >>dede>> |
@@ -2,10 +2,9 @@ | |||||
>>dede>> | >>dede>> | ||||
{dede:vote id='' lineheight='26' tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'/} | {dede:vote id='' lineheight='26' tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'/} | ||||
>>dede>> | >>dede>> | ||||
id='' 数字,当前投票ID | |||||
id='' 数字,当前投票id | |||||
lineheight='26' 表格高度 | lineheight='26' 表格高度 | ||||
tablewidth='100%' 表格宽度 | tablewidth='100%' 表格宽度 | ||||
titlebgcolor='#EDEDE2' 投票标题背景色 | titlebgcolor='#EDEDE2' 投票标题背景色 | ||||
titlebackground='' | |||||
tablebg='' 投票表格背景色 | tablebg='' 投票表格背景色 | ||||
在后台->插件列表->投票管理,直接复制生成的网页代码来使用 | 在后台->插件列表->投票管理,直接复制生成的网页代码来使用 |
@@ -29,7 +29,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if (empty($formhtml)) $formhtml = 0; | if (empty($formhtml)) $formhtml = 0; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -28,7 +28,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if (empty($formhtml)) $formhtml = 0; | if (empty($formhtml)) $formhtml = 0; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -42,7 +42,7 @@ if (empty($dopost)) { | |||||
$dtime = time(); | $dtime = time(); | ||||
$maxtime = $cfg_mb_editday * 24 * 3600; | $maxtime = $cfg_mb_editday * 24 * 3600; | ||||
if ($dtime - $row['senddate'] > $maxtime) { | if ($dtime - $row['senddate'] > $maxtime) { | ||||
ShowMsg("这篇文档已经锁定,暂时无法修改", "-1"); | |||||
ShowMsg("这篇文档已锁定,暂时无法修改", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -33,7 +33,7 @@ if (empty($dopost)) { | |||||
$dtime = time(); | $dtime = time(); | ||||
$maxtime = $cfg_mb_editday * 24 * 3600; | $maxtime = $cfg_mb_editday * 24 * 3600; | ||||
if ($dtime - $row['senddate'] > $maxtime) { | if ($dtime - $row['senddate'] > $maxtime) { | ||||
ShowMsg("这篇文档已经锁定,暂时无法修改", "-1"); | |||||
ShowMsg("这篇文档已锁定,暂时无法修改", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -20,7 +20,7 @@ $typeid = isset($typeid) && is_numeric($typeid) ? $typeid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -19,7 +19,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | $mtypesid = isset($mtypesid) && is_numeric($mtypesid) ? $mtypesid : 0; | ||||
$menutype = 'content'; | $menutype = 'content'; | ||||
if ($cfg_ml->IsSendLimited()) { | if ($cfg_ml->IsSendLimited()) { | ||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "-1", "0", 5000); | |||||
ShowMsg("投稿失败,投稿限定次数<span class='text-primary'>{$cfg_ml->M_SendMax}次</span>(剩余0次),需要增加次数,请联系网站管理员", "index.php", "0", 5000); | |||||
exit(); | exit(); | ||||
} | } | ||||
if (empty($dopost)) { | if (empty($dopost)) { | ||||
@@ -33,7 +33,7 @@ if (empty($dopost)) { | |||||
$dtime = time(); | $dtime = time(); | ||||
$maxtime = $cfg_mb_editday * 24 * 3600; | $maxtime = $cfg_mb_editday * 24 * 3600; | ||||
if ($dtime - $row['senddate'] > $maxtime) { | if ($dtime - $row['senddate'] > $maxtime) { | ||||
ShowMsg("这篇文档已经锁定,暂时无法修改", "-1"); | |||||
ShowMsg("这篇文档已锁定,暂时无法修改", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -27,11 +27,9 @@ if ($fmdo == 'sendMail') { | |||||
$url = $proto.preg_replace("#\/\/#i", '/', $url); | $url = $proto.preg_replace("#\/\/#i", '/', $url); | ||||
$mailtitle = "{$cfg_webname},会员邮件验证通知"; | $mailtitle = "{$cfg_webname},会员邮件验证通知"; | ||||
$mailbody = ''; | $mailbody = ''; | ||||
$mailbody .= "尊敬的会员<span class='text-primary'>{$cfg_ml->fields['uname']}</span>,您好:\r\n"; | |||||
$mailbody .= "欢迎注册成为<span class='text-primary'>{$cfg_webname}</span>会员\r\n"; | |||||
$mailbody .= "尊敬的会员<span class='text-primary'>{$cfg_ml->fields['uname']}</span>,欢迎注册成为<span class='text-primary'>{$cfg_webname}</span>会员\r\n"; | |||||
$mailbody .= "要通过注册,还必须进行最后一步操作,请点击或复制下面链接到地址栏浏览这地址:\r\n"; | $mailbody .= "要通过注册,还必须进行最后一步操作,请点击或复制下面链接到地址栏浏览这地址:\r\n"; | ||||
$mailbody .= "{$url}\r\n"; | $mailbody .= "{$url}\r\n"; | ||||
$mailbody .= "Powered by DedeBIZ开发团队\r\n"; | |||||
$headers = "From: ".$cfg_adminemail."\r\nReply-To: ".$cfg_adminemail; | $headers = "From: ".$cfg_adminemail."\r\nReply-To: ".$cfg_adminemail; | ||||
if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) { | if (!empty($cfg_bizcore_appid) && !empty($cfg_bizcore_key)) { | ||||
$client = new DedeBizClient(); | $client = new DedeBizClient(); | ||||
@@ -69,7 +67,7 @@ if ($fmdo == 'sendMail') { | |||||
$dsql->ExecuteNoneQuery("UPDATE `#@__member` SET spacesta=0 WHERE mid='{$mid}' "); | $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET spacesta=0 WHERE mid='{$mid}' "); | ||||
//清除会员缓存 | //清除会员缓存 | ||||
$cfg_ml->DelCache($mid); | $cfg_ml->DelCache($mid); | ||||
ShowMsg('操作成功,请重新登录系统', 'login.php'); | |||||
ShowMsg('会员缓存已清理', 'login.php'); | |||||
exit(); | exit(); | ||||
} else if ($fmdo == 'user') { | } else if ($fmdo == 'user') { | ||||
//检查会员名是否存在 | //检查会员名是否存在 | ||||
@@ -211,54 +209,49 @@ if ($fmdo == 'sendMail') { | |||||
require_once(DEDEINC.'/libraries/oxwindow.class.php'); | require_once(DEDEINC.'/libraries/oxwindow.class.php'); | ||||
CheckRank(0, 0); | CheckRank(0, 0); | ||||
$row = $dsql->GetOne("SELECT count(*) as dd FROM `#@__member` WHERE `pmid`='{$cfg_ml->M_ID}' "); | $row = $dsql->GetOne("SELECT count(*) as dd FROM `#@__member` WHERE `pmid`='{$cfg_ml->M_ID}' "); | ||||
$msg = "您已经邀请了{$row['dd']}人: | |||||
<div class='my-3 bg-white'> | |||||
<div class='media text-muted pt-3'> | |||||
<svg class='bd-placeholder-img mr-2 rounded' width='32' height='32' xmlns='http://www.w3.org/2000/svg' role='img' aria-label='Placeholder: 32x32' preserveAspectRatio='xMidYMid slice' focusable='false'><title>Placeholder</title><rect width='100%' height='100%' fill='green'></rect><text x='50%' y='50%' fill='green' dy='.3em'>32x32</text></svg> | |||||
<div class='media-body pb-3 mb-0 small lh-125 border-bottom border-gray'> | |||||
<div class='d-flex justify-content-between align-items-center w-100'> | |||||
<strong class='text-gray-dark'>链接邀请</strong> | |||||
<a href='javascript:Copylink()'>复制链接</a> | |||||
$msg = "<p>您已经邀请了{$row['dd']}人:</p> | |||||
<div class='media mb-3'> | |||||
<span class='btn btn-primary btn-sm mr-2'>链</span> | |||||
<div class='media-body pb-3 border-bottom border-gray'> | |||||
<div class='d-flex justify-content-between align-items-center w-100'> | |||||
<h5>链接邀请</h5> | |||||
<a href='javascript:Copylink()' class='btn btn-outline-primary btn-sm'>复制链接</a> | |||||
</div> | |||||
<span class='d-block'>复制链接分享给其他人,对方通过链接注册后双方均可获得{$cfg_userad_adds}积分<span id='text' style='font-size:0'>{$cfg_basehost}/user/index_do.php?fmdo=user&dopost=regnew&pid={$cfg_ml->M_LoginID}</span> | |||||
</div> | </div> | ||||
<span class='d-block'>复制链接分享给其他人,对方通过链接注册后双方均可获得{$cfg_userad_adds}积分<span id='text' style='font-size:0'>{$cfg_basehost}/user/index_do.php?fmdo=user&dopost=regnew&pid={$cfg_ml->M_LoginID}</span></span> | |||||
</div> | |||||
</div> | </div> | ||||
<div class='media text-muted pt-3'> | |||||
<svg class='bd-placeholder-img mr-2 rounded' width='32' height='32' xmlns='http://www.w3.org/2000/svg' role='img' aria-label='Placeholder: 32x32' preserveAspectRatio='xMidYMid slice' focusable='false'><title>Placeholder</title><rect width='100%' height='100%' fill='#007bff'></rect><text x='50%' y='50%' fill='#007bff' dy='.3em'>32x32</text></svg> | |||||
<div class='media-body pb-3 mb-0 small lh-125 border-bottom border-gray'> | |||||
<div class='d-flex justify-content-between align-items-center w-100'> | |||||
<strong class='text-gray-dark'>二维码邀请</strong> | |||||
<a href='javascript:ShowQrcode()'>查看二维码</a> | |||||
<div class='media mb-3'> | |||||
<span class='btn btn-success btn-sm mr-2'>码</span> | |||||
<div class='media-body pb-3 border-bottom border-gray'> | |||||
<div class='d-flex justify-content-between align-items-center w-100'> | |||||
<h5>二维码邀请</h5> | |||||
<a href='javascript:ShowQrcode()' class='btn btn-outline-success btn-sm'>查看二维码</a> | |||||
</div> | |||||
<span class='d-block'>分享二维码到移动设备,通过二维码扫码注册,双方均可获得{$cfg_userad_adds}积分</span> | |||||
</div> | </div> | ||||
<span class='d-block'>分享二维码到移动设备,通过二维码扫码注册,双方均可获得{$cfg_userad_adds}积分</span> | |||||
</div> | |||||
</div> | </div> | ||||
<div><a href='index.php' class='btn btn-outline-success btn-sm mt-3'>返回</a></div> | |||||
</div> | |||||
<div id='qrcode' style='margin:15px 0;width:200px;height:200px;display:none;margin:0 auto'></div> | |||||
<script type=\"text/javascript\">var qrcode = new QRCode(document.getElementById(\"qrcode\"), { | |||||
width : 200, | |||||
height : 200, | |||||
correctLevel : 3 | |||||
});qrcode.makeCode('{$cfg_basehost}/user/index_do.php?fmdo=user&dopost=regnew&pid={$cfg_ml->M_LoginID}');</script> | |||||
<script> | |||||
function Copylink() { | |||||
var val = document.getElementById('text'); | |||||
window.getSelection().selectAllChildren(val); | |||||
document.execCommand(\"Copy\"); | |||||
ShowMsg(\"复制推广链接成功\"); | |||||
} | |||||
function ShowQrcode(){ | |||||
ShowMsg(document.getElementById('qrcode').innerHTML); | |||||
} | |||||
</script> | |||||
<style> | |||||
.modal-body img{ | |||||
margin:0 auto; | |||||
} | |||||
</style> | |||||
"; | |||||
<div class='text-center'><a href='index.php' class='btn btn-outline-success btn-sm'>返回</a></div> | |||||
<div id='qrcode'></div> | |||||
<style>.modal-body img{margin:0 auto}#qrcode{display:none;margin:15px auto;width:200px;height:200px}</style> | |||||
<script> | |||||
var qrcode = new QRCode(document.getElementById(\"qrcode\"), { | |||||
width : 200, | |||||
height : 200, | |||||
correctLevel : 3 | |||||
}); | |||||
qrcode.makeCode('{$cfg_basehost}/user/index_do.php?fmdo=user&dopost=regnew&pid={$cfg_ml->M_LoginID}'); | |||||
</script> | |||||
<script> | |||||
function Copylink() { | |||||
var val = document.getElementById('text'); | |||||
window.getSelection().selectAllChildren(val); | |||||
document.execCommand(\"Copy\"); | |||||
ShowMsg(\"复制推广链接成功\"); | |||||
} | |||||
function ShowQrcode(){ | |||||
ShowMsg(document.getElementById('qrcode').innerHTML); | |||||
} | |||||
</script>"; | |||||
$wintitle = "邀请好友赚积分"; | $wintitle = "邀请好友赚积分"; | ||||
$wecome_info = " "; | $wecome_info = " "; | ||||
$win = new OxWindow(); | $win = new OxWindow(); | ||||
@@ -17,7 +17,7 @@ if (!isset($dopost)) $dopost = ''; | |||||
$step = empty($step) ? 1 : intval($step); | $step = empty($step) ? 1 : intval($step); | ||||
if ($step == 1) { | if ($step == 1) { | ||||
if ($cfg_ml->IsLogin()) { | if ($cfg_ml->IsLogin()) { | ||||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||||
ShowMsg('正在登录会员中心,请稍等', 'index.php'); | |||||
exit(); | exit(); | ||||
} | } | ||||
if ($dopost == 'regbase') { | if ($dopost == 'regbase') { | ||||
@@ -108,7 +108,7 @@ if ($step == 1) { | |||||
if ($pMid > 0) { | if ($pMid > 0) { | ||||
$dsql->ExecuteNoneQuery("UPDATE `#@__member` SET scores=scores+{$cfg_userad_adds} WHERE mid='$pMid'"); | $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET scores=scores+{$cfg_userad_adds} WHERE mid='$pMid'"); | ||||
} | } | ||||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||||
ShowMsg('正在登录会员中心,请稍等', 'index.php'); | |||||
exit; | exit; | ||||
} else { | } else { | ||||
ShowMsg("注册失败,请检查资料是否有误或与管理员联系", "-1"); | ShowMsg("注册失败,请检查资料是否有误或与管理员联系", "-1"); | ||||
@@ -122,7 +122,7 @@ if ($step == 1) { | |||||
ShowMsg("您未填写基本信息,请填写基本信息", "index_do.php?fmdo=user&dopost=regnew"); | ShowMsg("您未填写基本信息,请填写基本信息", "index_do.php?fmdo=user&dopost=regnew"); | ||||
exit; | exit; | ||||
} else { | } else { | ||||
ShowMsg('操作成功,请重新登录系统', 'index.php'); | |||||
ShowMsg('正在登录会员中心,请稍等', 'index.php'); | |||||
exit; | exit; | ||||
} | } | ||||
} | } |
@@ -29,7 +29,7 @@ if (empty($dopost)) { | |||||
$dtime = time(); | $dtime = time(); | ||||
$maxtime = $cfg_mb_editday * 24 * 3600; | $maxtime = $cfg_mb_editday * 24 * 3600; | ||||
if ($dtime - $row['senddate'] > $maxtime) { | if ($dtime - $row['senddate'] > $maxtime) { | ||||
ShowMsg("这篇文档已经锁定,暂时无法修改", "-1"); | |||||
ShowMsg("这篇文档已锁定,暂时无法修改", "-1"); | |||||
exit(); | exit(); | ||||
} | } | ||||
} | } | ||||
@@ -102,7 +102,7 @@ | |||||
function checkSubmit() { | function checkSubmit() { | ||||
if (document.form2.oldpwd.value == '') { | if (document.form2.oldpwd.value == '') { | ||||
document.form2.oldpwd.focus(); | document.form2.oldpwd.focus(); | ||||
ShowMsg("请您填写旧密码"); | |||||
ShowMsg("请您填写原登录密码"); | |||||
return false; | return false; | ||||
} | } | ||||
if (document.form2.userpwdok.value != document.form2.userpwd.value) { | if (document.form2.userpwdok.value != document.form2.userpwd.value) { | ||||
@@ -124,7 +124,7 @@ | |||||
$(document).ready(function () { | $(document).ready(function () { | ||||
$("#btnChangeEmail").click(function () { | $("#btnChangeEmail").click(function () { | ||||
if ($("#iptOldpwd").val() === "") { | if ($("#iptOldpwd").val() === "") { | ||||
ShowMsg("请您填写旧密码"); | |||||
ShowMsg("请您填写原登录密码"); | |||||
return false; | return false; | ||||
} | } | ||||
$.post("<?php echo $cfg_cmsurl;?>/user/api.php?action=get_old_email", { oldpwd: $("#iptOldpwd").val() }, function (result) { | $.post("<?php echo $cfg_cmsurl;?>/user/api.php?action=get_old_email", { oldpwd: $("#iptOldpwd").val() }, function (result) { | ||||
@@ -41,28 +41,28 @@ | |||||
<div class="pannel-main-container shadow-sm rounded"> | <div class="pannel-main-container shadow-sm rounded"> | ||||
<div class="media-body"> | <div class="media-body"> | ||||
<ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled text-center mb-0"> | <ul class="row row-cols-3 row-cols-sm-4 row-cols-lg-6 row-cols-xl-8 list-unstyled text-center mb-0"> | ||||
<li class="col m-pb-1" data-tags="alarm clock"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox"><i class="fa fa-commenting"></i></a></div> | |||||
<li class="col m-pb-1"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox"><i class="fa fa-commenting"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox">消息管理</a> | <a href="<?php echo $cfg_memberurl;?>/pm.php?folder=inbox">消息管理</a> | ||||
</li> | </li> | ||||
<li class="col m-pb-1" data-tags="alarm clock"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"><i class="fa fa-file-text"></i></a></div> | |||||
<li class="col m-pb-1"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1"><i class="fa fa-file-text"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1">文档管理</a> | <a href="<?php echo $cfg_memberurl;?>/content_list.php?channelid=1">文档管理</a> | ||||
</li> | </li> | ||||
<li class="col" data-tags="space align distribute"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/mystow.php"><i class="fa fa-star"></i></a></div> | |||||
<li class="col m-pb-1"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/mystow.php"><i class="fa fa-star"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a> | <a href="<?php echo $cfg_memberurl;?>/mystow.php">我的收藏</a> | ||||
</li> | </li> | ||||
<li class="col m-pb-1" data-tags="alarm clock"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/buy.php"><i class="fa fa-credit-card-alt"></i></a></div> | |||||
<li class="col"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/buy.php"><i class="fa fa-credit-card-alt"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/buy.php">积分钱包</a> | <a href="<?php echo $cfg_memberurl;?>/buy.php">积分钱包</a> | ||||
</li> | </li> | ||||
<li class="col" data-tags="space align distribute"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"><i class="fa fa fa-pencil-square"></i></a></div> | |||||
<li class="col"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php"><i class="fa fa fa-pencil-square"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php">资料修改</a> | <a href="<?php echo $cfg_memberurl;?>/edit_baseinfo.php">资料修改</a> | ||||
</li> | </li> | ||||
<li class="col" data-tags="space align distribute"> | |||||
<div class="bg-light user-meter rounded mb-2 p-4 py-3"><a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=purl"><i class="fa fa fa-share"></i></a></div> | |||||
<li class="col"> | |||||
<div class="bg-light user-meter rounded mb-3 p-4"><a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=purl"><i class="fa fa fa-share"></i></a></div> | |||||
<a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=purl">推广链接</a> | <a href="<?php echo $cfg_memberurl;?>/index_do.php?fmdo=purl">推广链接</a> | ||||
</li> | </li> | ||||
</ul> | </ul> | ||||
@@ -18,10 +18,10 @@ | |||||
<div class="login-box shadow-sm rounded text-left"> | <div class="login-box shadow-sm rounded text-left"> | ||||
<h2 class="text-center mb-3">会员注册</h2> | <h2 class="text-center mb-3">会员注册</h2> | ||||
<form method="post" action="reg_new.php" id="regUser" name="form2" onsubmit="return CheckSubmit();"> | <form method="post" action="reg_new.php" id="regUser" name="form2" onsubmit="return CheckSubmit();"> | ||||
<input type="hidden" value="regbase" name="dopost"> | |||||
<input type="hidden" value="1" name="step"> | |||||
<input type="hidden" value="个人" name="mtype"> | |||||
<input type="hidden" value="<?php echo $pid;?>" name="pid"> | |||||
<input type="hidden" name="dopost" value="regbase"> | |||||
<input type="hidden" name="step" value="1"> | |||||
<input type="hidden" name="mtype" value="个人"> | |||||
<input type="hidden" name="pid" value="<?php echo $pid;?>"> | |||||
<div class="form-group"> | <div class="form-group"> | ||||
<label for="iptUserid">会员账号</label> | <label for="iptUserid">会员账号</label> | ||||
<input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号"> | <input type="text" name="userid" id="iptUserid" class="form-control" placeholder="请输入会员账号"> | ||||
@@ -7,7 +7,6 @@ | |||||
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css"> | <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css"> | <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css"> | ||||
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css"> | <link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css"> | ||||
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/user.css"> | |||||
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script> | <script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script> | ||||
<script src="{dede:global.cfg_cmsurl/}/static/web/js/qrcode.min.js"></script> | <script src="{dede:global.cfg_cmsurl/}/static/web/js/qrcode.min.js"></script> | ||||
</head> | </head> | ||||