![]()
@@ -1377,7 +1376,7 @@ textarea{
document.getElementById('nextpageform').submit();
}
+ if (getConfig('admin')!='') { // close div. 有登录或操作,需要关闭DIV时 ?>
function operatediv_close(operate) {
document.getElementById(operate+'_div').style.display='none';
}
@@ -1727,17 +1726,17 @@ function binupfile(file,url,tdnum){
return queryComponents.join('&');
}
+ } else if (getConfig('admin')!='') if (getConfig('adminloginpage')=='') { ?>
function login() {
this.openDisLog('login_div');
document.getElementById('login_input').focus();
}
-
+
function userLoginOut() {
document.cookie = "=; path=/";
location.href = location.href;
}
-
+
function addelement(html) {
var tr1=document.createElement('tr');
tr1.setAttribute('data-to',1);