@@ -1,6 +1,6 @@ | |||||
<?php | <?php | ||||
/** | /** | ||||
* 检索操作 | |||||
* 搜索结果 | |||||
* | * | ||||
* @version $id:action_search.php 8:26 2010年7月12日 tianya $ | * @version $id:action_search.php 8:26 2010年7月12日 tianya $ | ||||
* @package DedeBIZ.Administrator | * @package DedeBIZ.Administrator | ||||
@@ -22,7 +22,7 @@ if ($dopost == "save") { | |||||
$query = "UPDATE `#@__arcatt` SET `attname`='$attname',`sortid`='$sortid' WHERE att='$att' "; | $query = "UPDATE `#@__arcatt` SET `attname`='$attname',`sortid`='$sortid' WHERE att='$att' "; | ||||
$dsql->ExecuteNoneQuery($query); | $dsql->ExecuteNoneQuery($query); | ||||
} | } | ||||
echo "<script> alert('成功更新自定文档义属性表'); </script>"; | |||||
echo "<script>alert('成功更新自定文档义属性表');</script>"; | |||||
} | } | ||||
include DedeInclude('templets/content_att.htm'); | include DedeInclude('templets/content_att.htm'); | ||||
?> | ?> |
@@ -35,7 +35,7 @@ if ($dopost == "save") { | |||||
$dsql->ExecuteNoneQuery($query); | $dsql->ExecuteNoneQuery($query); | ||||
} | } | ||||
header("Content-Type:text/html; charset={$cfg_soft_lang}"); | header("Content-Type:text/html; charset={$cfg_soft_lang}"); | ||||
echo "<script> alert('成功更新友情链接网站分类表'); </script>"; | |||||
echo "<script>alert('成功更新友情链接网站分类表');</script>"; | |||||
} | } | ||||
include DedeInclude('templets/friendlink_type.htm'); | include DedeInclude('templets/friendlink_type.htm'); | ||||
?> | ?> |
@@ -32,12 +32,12 @@ function DedeCopyToClipboard(text) { | |||||
} | } | ||||
} | } | ||||
$(function () { | $(function () { | ||||
$.get("index_testenv.php", function (data) { | |||||
$.get("index_testenv.php",function (data) { | |||||
if (data !== '') { | if (data !== '') { | ||||
$("#body-tips").html(data); | $("#body-tips").html(data); | ||||
} | } | ||||
}); | }); | ||||
$.get("index_body.php?dopost=get_articles", function (data) { | |||||
$.get("index_body.php?dopost=get_articles",function (data) { | |||||
if (data !== '') { | if (data !== '') { | ||||
$("#system-word").html(data); | $("#system-word").html(data); | ||||
} | } | ||||
@@ -72,7 +72,7 @@ function ViewDedeBIZ() { | |||||
</table>`); | </table>`); | ||||
} | } | ||||
function LoadServer() { | function LoadServer() { | ||||
$.get("index_body.php?dopost=system_info", function (data) { | |||||
$.get("index_body.php?dopost=system_info",function (data) { | |||||
let rsp = JSON.parse(data); | let rsp = JSON.parse(data); | ||||
if (rsp.code === 200) { | if (rsp.code === 200) { | ||||
if (rsp.result.core.code === 200) { | if (rsp.result.core.code === 200) { | ||||
@@ -128,7 +128,7 @@ Date.prototype.Format = function (fmt) { //author: meizz | |||||
return fmt; | return fmt; | ||||
} | } | ||||
function LoadStat() { | function LoadStat() { | ||||
$.get("index_body.php?dopost=get_statistics", function (data) { | |||||
$.get("index_body.php?dopost=get_statistics",function (data) { | |||||
try { | try { | ||||
let rsp = JSON.parse(data); | let rsp = JSON.parse(data); | ||||
if (rsp.code == 200) { | if (rsp.code == 200) { | ||||
@@ -140,7 +140,7 @@ function LoadStat() { | |||||
$("#today_uv").html(tuv); | $("#today_uv").html(tuv); | ||||
$("#today_ip").html(tip); | $("#today_ip").html(tip); | ||||
$("#today_vv").html(tvv); | $("#today_vv").html(tvv); | ||||
$.get("index_body.php?dopost=get_statistics&sdate=-1", function (data) { | |||||
$.get("index_body.php?dopost=get_statistics&sdate=-1",function (data) { | |||||
let rsp = JSON.parse(data); | let rsp = JSON.parse(data); | ||||
if (rsp.code == 200) { | if (rsp.code == 200) { | ||||
$("#total_pv").html(parseInt(rsp.result.pv) + tpv); | $("#total_pv").html(parseInt(rsp.result.pv) + tpv); | ||||
@@ -158,7 +158,7 @@ function LoadStat() { | |||||
d.setDate(d.getDate() - 1); | d.setDate(d.getDate() - 1); | ||||
var s = d.Format("yyyy-MM-dd"); | var s = d.Format("yyyy-MM-dd"); | ||||
s = s.replaceAll("-", ""); | s = s.replaceAll("-", ""); | ||||
$.get("index_body.php?dopost=get_statistics&sdate=" + s, function (data) { | |||||
$.get("index_body.php?dopost=get_statistics&sdate=" + s,function (data) { | |||||
try { | try { | ||||
let rsp = JSON.parse(data); | let rsp = JSON.parse(data); | ||||
if (rsp.code == 200) { | if (rsp.code == 200) { | ||||
@@ -65,10 +65,8 @@ function getCheckboxItem() | |||||
{ | { | ||||
var allSel=""; | var allSel=""; | ||||
if (document.form2.arcID.value) return document.form2.arcID.value; | if (document.form2.arcID.value) return document.form2.arcID.value; | ||||
for (i=0;i<document.form2.arcID.length;i++) | |||||
{ | |||||
if (document.form2.arcID[i].checked) | |||||
{ | |||||
for (i=0;i<document.form2.arcID.length;i++) { | |||||
if (document.form2.arcID[i].checked) { | |||||
if (allSel=="") | if (allSel=="") | ||||
allSel=document.form2.arcID[i].value; | allSel=document.form2.arcID[i].value; | ||||
else | else | ||||
@@ -82,8 +80,7 @@ function getOneItem() | |||||
{ | { | ||||
var allSel=""; | var allSel=""; | ||||
if (document.form2.arcID.value) return document.form2.arcID.value; | if (document.form2.arcID.value) return document.form2.arcID.value; | ||||
for (i=0;i<document.form2.arcID.length;i++) | |||||
{ | |||||
for (i=0;i<document.form2.arcID.length;i++) { | |||||
if (document.form2.arcID[i].checked) { | if (document.form2.arcID[i].checked) { | ||||
allSel = document.form2.arcID[i].value; | allSel = document.form2.arcID[i].value; | ||||
break; | break; | ||||
@@ -12,8 +12,7 @@ function getCheckboxItem() | |||||
{ | { | ||||
var allSel=""; | var allSel=""; | ||||
if (document.form2.mid.value) return document.form2.mid.value; | if (document.form2.mid.value) return document.form2.mid.value; | ||||
for (i=0;i<document.form2.mid.length;i++) | |||||
{ | |||||
for (i=0;i<document.form2.mid.length;i++) { | |||||
if (document.form2.mid[i].checked) { | if (document.form2.mid[i].checked) { | ||||
if (allSel=="") | if (allSel=="") | ||||
allSel=document.form2.mid[i].value; | allSel=document.form2.mid[i].value; | ||||
@@ -37,7 +37,7 @@ if ($dopost == 'save') { | |||||
$dsql->ExecuteNoneQuery($inquery); | $dsql->ExecuteNoneQuery($inquery); | ||||
} | } | ||||
} | } | ||||
echo "<script> alert('成功更新会员等级表'); </script>"; | |||||
echo "<script>alert('成功更新会员等级表');</script>"; | |||||
} | } | ||||
if ($dopost == 'del') { | if ($dopost == 'del') { | ||||
$dsql->ExecuteNoneQuery("DELETE FROM `#@__arcrank` WHERE id='$id' AND `rank`<>10"); | $dsql->ExecuteNoneQuery("DELETE FROM `#@__arcrank` WHERE id='$id' AND `rank`<>10"); | ||||
@@ -39,7 +39,7 @@ if ($dopost == "save") { | |||||
$dsql->ExecuteNoneQuery($query); | $dsql->ExecuteNoneQuery($query); | ||||
} | } | ||||
header("Content-Type:text/html; charset={$cfg_soft_lang}"); | header("Content-Type:text/html; charset={$cfg_soft_lang}"); | ||||
echo "<script> alert('成功更新会员等级分类'); </script>"; | |||||
echo "<script>alert('成功更新会员等级分类');</script>"; | |||||
} | } | ||||
$arcranks = array(); | $arcranks = array(); | ||||
$dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank`>10 "); | $dsql->SetQuery("SELECT * FROM `#@__arcrank` WHERE `rank`>10 "); | ||||
@@ -4,8 +4,8 @@ | |||||
<meta charset="utf-8"> | <meta charset="utf-8"> | ||||
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"> | ||||
<title>安装DedeV<?php echo $cfg_version_detail;?></title> | <title>安装DedeV<?php echo $cfg_version_detail;?></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/font/css/font-awesome.min.css"> | ||||
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css"> | |||||
<link rel="shortcut icon" href="../static/web/img/favicon.ico"> | <link rel="shortcut icon" href="../static/web/img/favicon.ico"> | ||||
<script src="../static/web/js/jquery.min.js"></script> | <script src="../static/web/js/jquery.min.js"></script> | ||||
<script src="../static/web/js/popper.min.js"></script> | <script src="../static/web/js/popper.min.js"></script> | ||||