diff --git a/src/dede/config.php b/src/dede/config.php index f2ea56b0..8e0e0b57 100755 --- a/src/dede/config.php +++ b/src/dede/config.php @@ -1,5 +1,4 @@ safeCheck = FALSE; $dsql->SetLongLink(); -$cfg_admin_skin = 1; // 后台管理风格 - -if (file_exists(DEDEDATA.'/admin/skin.txt')) { - $skin = file_get_contents(DEDEDATA.'/admin/skin.txt'); +$cfg_admin_skin = 1;//后台管理风格 +if (file_exists(DEDEDATA . '/admin/skin.txt')) { + $skin = file_get_contents(DEDEDATA . '/admin/skin.txt'); $cfg_admin_skin = !in_array($skin, array(1, 2, 3, 4)) ? 1 : $skin; } - -// 检查CSRF +//检查CSRF function CheckCSRF() { $cc_csrf_token_check = GetCookie("dede_csrf_token"); - if ( - !(isset($_POST['_csrf_token'], $cc_csrf_token_check) - && is_string($_POST['_csrf_token']) && is_string($cc_csrf_token_check) - && hash_equals($_POST['_csrf_token'], $cc_csrf_token_check)) - ) { - ShowMsg('CSRF校验失败,请刷新页面重新提交', '-1'); - exit(); - } - DropCookie("dede_csrf_token"); } - -// 生成CSRF校验token,在比较重要的表单中应该要加上这个token校验 +//生成CSRF校验token,在比较重要的表单中应该要加上这个token校验 $cc_csrf_token = GetCookie("dede_csrf_token"); if (!isset($GLOBALS['csrf_token']) || $GLOBALS['csrf_token'] === null) { if ( @@ -50,32 +37,26 @@ if (!isset($GLOBALS['csrf_token']) || $GLOBALS['csrf_token'] === null) { $GLOBALS['csrf_token'] = md5(uniqid(mt_rand(), TRUE)); } } - if (strtoupper($_SERVER['REQUEST_METHOD']) !== 'POST') { PutCookie('dede_csrf_token', $GLOBALS['csrf_token'], 7200, '/'); } - - //获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项 $dedeNowurl = $s_scriptName = ''; $isUrlOpen = @ini_get('allow_url_fopen'); $dedeNowurl = GetCurUrl(); $dedeNowurls = explode('?', $dedeNowurl); $s_scriptName = $dedeNowurls[0]; - //检验用户登录状态 $cuserLogin = new userLogin(); - if ($cuserLogin->getUserID() == -1) { if (preg_match("#PHP (.*) Development Server#", $_SERVER['SERVER_SOFTWARE'])) { $dirname = dirname($_SERVER['SCRIPT_NAME']); - header("location:{$dirname}/login.php?gotopage=".urlencode($dedeNowurl)); + header("location:{$dirname}/login.php?gotopage=" . urlencode($dedeNowurl)); } else { - header("location:login.php?gotopage=".urlencode($dedeNowurl)); + header("location:login.php?gotopage=" . urlencode($dedeNowurl)); } exit(); } - function XSSClean($val) { if (is_array($val)) { @@ -87,7 +68,6 @@ function XSSClean($val) } return RemoveXss($val); } - if ($cfg_dede_log == 'Y') { $s_nologfile = '_main|_list'; $s_needlogfile = 'sys_|file_'; @@ -96,22 +76,19 @@ if ($cfg_dede_log == 'Y') { $s_scriptNames = explode('/', $s_scriptName); $s_scriptNames = $s_scriptNames[count($s_scriptNames) - 1]; $s_userip = GetIP(); - if ($s_method == 'POST' || (!preg_match("#".$s_nologfile."#i", $s_scriptNames) && $s_query != '') || preg_match("#".$s_needlogfile."#i", $s_scriptNames)) { + if ($s_method == 'POST' || (!preg_match("#" . $s_nologfile . "#i", $s_scriptNames) && $s_query != '') || preg_match("#" . $s_needlogfile . "#i", $s_scriptNames)) { $inquery = "INSERT INTO `#@__log`(adminid,filename,method,query,cip,dtime) - VALUES ('".$cuserLogin->getUserID()."','{$s_scriptNames}','{$s_method}','".addslashes($s_query)."','{$s_userip}','".time()."');"; + VALUES ('" . $cuserLogin->getUserID() . "','{$s_scriptNames}','{$s_method}','" . addslashes($s_query) . "','{$s_userip}','" . time() . "');"; $dsql->ExecuteNoneQuery($inquery); } } - -//管理缓存、管理员频道缓存 -$cache1 = DEDEDATA.'/cache/inc_catalog_base.inc'; +//管理缓存管理员频道缓存 +$cache1 = DEDEDATA . '/cache/inc_catalog_base.inc'; if (!file_exists($cache1)) UpDateCatCache(); -$cacheFile = DEDEDATA.'/cache/admincat_'.$cuserLogin->userID.'.inc'; +$cacheFile = DEDEDATA . '/cache/admincat_' . $cuserLogin->userID . '.inc'; if (file_exists($cacheFile)) require_once($cacheFile); - //更新服务器 -require_once(DEDEDATA.'/admin/config_update.php'); - +require_once(DEDEDATA . '/admin/config_update.php'); if (strlen($cfg_cookie_encode) <= 10) { $chars = 'abcdefghigklmnopqrstuvwxwyABCDEFGHIGKLMNOPQRSTUVWXWY0123456789'; $hash = ''; @@ -121,28 +98,27 @@ if (strlen($cfg_cookie_encode) <= 10) { $hash .= $chars[mt_rand(0, $max)]; } $dsql->ExecuteNoneQuery("UPDATE `#@__sysconfig` SET `value`='{$hash}' WHERE varname='cfg_cookie_encode' "); - $configfile = DEDEDATA.'/config.cache.inc.php'; + $configfile = DEDEDATA . '/config.cache.inc.php'; if (!is_writeable($configfile)) { echo "配置文件'{$configfile}'不支持写入,无法修改系统配置参数!"; exit(); } $fp = fopen($configfile, 'w'); flock($fp, 3); - fwrite($fp, "<"."?php\r\n"); + fwrite($fp, "<" . "?php\r\n"); $dsql->SetQuery("SELECT `varname`,`type`,`value`,`groupid` FROM `#@__sysconfig` ORDER BY aid ASC "); $dsql->Execute(); while ($row = $dsql->GetArray()) { if ($row['type'] == 'number') { if ($row['value'] == '') $row['value'] = 0; - fwrite($fp, "\${$row['varname']} = ".$row['value'].";\r\n"); + fwrite($fp, "\${$row['varname']} = " . $row['value'] . ";\r\n"); } else { - fwrite($fp, "\${$row['varname']} = '".str_replace("'", '', $row['value'])."';\r\n"); + fwrite($fp, "\${$row['varname']} = '" . str_replace("'", '', $row['value']) . "';\r\n"); } } - fwrite($fp, "?".">"); + fwrite($fp, "?" . ">"); fclose($fp); } - /** * 更新栏目缓存 * @@ -152,8 +128,8 @@ if (strlen($cfg_cookie_encode) <= 10) { function UpDateCatCache() { global $dsql, $cache1, $cuserLogin; - $cache2 = DEDEDATA.'/cache/channelsonlist.inc'; - $cache3 = DEDEDATA.'/cache/channeltoplist.inc'; + $cache2 = DEDEDATA . '/cache/channelsonlist.inc'; + $cache3 = DEDEDATA . '/cache/channeltoplist.inc'; $dsql->SetQuery("SELECT id,reid,channeltype,issend,typename FROM `#@__arctype`"); $dsql->Execute(); $fp1 = fopen($cache1, 'w'); @@ -161,7 +137,7 @@ function UpDateCatCache() $fp1Header = "<{$phph}php\r\nglobal \$cfg_Cs;\r\n\$cfg_Cs=array();\r\n"; fwrite($fp1, $fp1Header); while ($row = $dsql->GetObject()) { - // 将typename缓存起来 + //将typename缓存起来 $row->typename = base64_encode($row->typename); fwrite($fp1, "\$cfg_Cs[{$row->id}]=array({$row->reid},{$row->channeltype},{$row->issend},'{$row->typename}');\r\n"); } @@ -171,12 +147,11 @@ function UpDateCatCache() @unlink($cache2); @unlink($cache3); } - -// 清空选项缓存 +//清空选项缓存 function ClearOptCache() { - $tplCache = DEDEDATA.'/tplcache/'; - $fileArray = glob($tplCache."inc_option_*.inc"); + $tplCache = DEDEDATA . '/tplcache/'; + $fileArray = glob($tplCache . "inc_option_*.inc"); if (count($fileArray) > 1) { foreach ($fileArray as $key => $value) { if (file_exists($value)) unlink($value); @@ -186,7 +161,6 @@ function ClearOptCache() } return FALSE; } - /** * 引入模板文件 * @@ -197,9 +171,8 @@ function ClearOptCache() */ function DedeInclude($filename, $isabs = FALSE) { - return $isabs ? $filename : DEDEADMIN.'/'.$filename; + return $isabs ? $filename : DEDEADMIN . '/' . $filename; } - /** * 根据用户mid获取用户名称 * @@ -217,4 +190,4 @@ if (!function_exists('GetMemberName')) { $rs = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='{$mid}' "); return $rs['uname']; } -} +} \ No newline at end of file diff --git a/src/dede/css/base.css b/src/dede/css/base.css index d9b29815..823300e7 100644 --- a/src/dede/css/base.css +++ b/src/dede/css/base.css @@ -1,2 +1,2 @@ /* 2022 base.css Xushubieli Provide */ -*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{height:calc(1.5em + .75rem + 2px);padding:.375rem .75rem;font-size:1rem;font-weight:400;color:#495057;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;border:none;cursor:pointer}input[type=text],input[type=password]{padding:.375rem .75rem;height:calc(1.5em + .75rem + 2px);font-size:1rem;font-weight:400;color:#495057;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;line-height:18px;vertical-align:middle}input[type=text]:focus,input[type="password"]:focus{border-color:#28a745;color:#424b51;-moz-box-shadow:0 0 2px #28a745;-webkit-box-shadow:0 0 2px #28a745;box-shadow:0 0 2px #28a745;outline:none}input:disabled,input[readonly]{background:#e9ecef;opacity:1}label{display:inline-block;margin:.6rem 0}.alltxt{padding:.25rem .5rem;line-height:18px;vertical-align:middle;border-width:1px;border-style:solid;border-color:#707070 #CECECE #CECECE #707070}textarea{padding:.25rem .5rem;font-size:1rem;font-weight:400;color:#495057;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:middle;line-height:16px;overflow:auto;resize:vertical}textarea:focus{border-color:#28a745;color:#424b51;-moz-box-shadow:0 0 2px #28a745;-webkit-box-shadow:0 0 2px #28a745;box-shadow:0 0 2px #28a745}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.pubinputs{padding:.25rem .5rem;width:250px;height:16px;line-height:16px;border-width:1px;border-style:solid;border-color:#999 #dddddd #dddddd #999}.iptxt{padding:.25rem .5rem;height:14px;line-height:14px;border-width:1px;border-style:solid;border-color:#999 #dddddd #dddddd #999}.pubinput{padding-top:6px;padding-bottom:0;height:24px;width:250px}.pubinputl{padding-top:6px;padding-bottom:0;height:24px;width:350px}.np{border:none}.linerow{border-bottom:1px solid #ACACAC}.coolbg{padding:.25rem .5rem;border:none;border-bottom:1px solid #ccc;background:#f2f2f2;border-radius:.2rem;cursor:pointer}.coolbg2{border:1px solid #000;background:#DFDDD2;height:18px}.ll{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background:#E6E6E6}.bline{height:36px;background:#fff;border-bottom:1px solid #eee}#uploadfield{float:left}.bline2{border-bottom:1px solid #eee}.coolbt{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#E4F7D7;cursor:pointer}.coolbt2{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#F7FCDA}.coolbg3{width:140px;height:20px;border:1px solid #BDC5B4;background:#DFDDD2;text-align:right}.coolbg61{width:380px;height:26px;line-height:26px;border-top:1px solid #BDC5B4;border-left:1px solid #BDC5B4;border-right:1px solid #BDC5B4;background:#E7F3B1;text-align:right}.coolbg62{padding:6px;width:380px;height:300px;border:1px solid #BDC5B4;background:#F8FDF0}.coolbg4{width:190px;height:24px;line-height:24px;border-bottom:1px solid #C9CFC1;background:#F9FCDC;background:url(../images/dlgtitle.gif)repeat-x;text-align:right}.coolbg5{width:190px;height:6px;border-top:1px solid #BDC5B4;background:#F9FCDC}.wsselect{height:60px;line-height:24px overflow-y:auto;background:#FCFEF1;overflow:auto}.dlg{padding:.25rem .5rem;border:2px solid #008E38;background:#F0FAEB;width:360px;line-height:160%}.pubdlg{background:#fff;border:4px solid #008E38;border-radius:.25rem;z-index:8888}.pubdlg .title{height:29px;line-height:29px;border-bottom:1px solid #C9CFC1;background:url(../images/dlgtitle.gif)repeat-x;text-align:left;cursor:move}.pubdlg .titLeft{float:left;padding-left:10px;line-height:29px;font-weight:600;color:#424b51}.pubdlg .titRight{float:right;padding:0}.fullpagediv{position:absolute;width:100%;height:120%;top:0;left:0;background:#cdcdcd;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:.5;z-index:1999}.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005}.quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D}.quickselItem{margin-bottom:8px}.quickselItem .topcat{padding-left:6px;line-height:24px;border-bottom:1px dashed #ccc;background:#FBFEEF;clear:both}.quickselItem .soncat{padding-left:10px}.quickselItem .item{float:left;margin-right:8px}.mysource,.mywriter{padding:.25rem .5rem;width:280px;line-height:160%;border:4px solid #008E38;background:#F0FAEB;z-index:10001}.dlgws div{width:100%}.dlgTesttitle{padding:.25rem .5rem;width:300px;line-height:150%;border:2px solid #008E38;background:#F0FAEB}#_mysource{z-index:10003}#_mywriter{z-index:10004}#uploadwait{z-index:19999}.option1{background:#DCECA6}.option2{background:#F7FBD2}.option3{background:#fff}.ininput{width:96%;height:20px;border:1px solid #fff}.nbt{padding:2px;background-image:url(../images/allbtbg.gif);background:#fff;border:1px solid #A5AF83}.tdt{padding-left:6px}.waitpage{position:absolute;top:0;left:0;filter:Alpha(opacity=70);-moz-opacity:.7;background:url(../../images/loading1.gif)#ababab center no-repeat;z-index:10000}.divpre img{max-width:150px;max-height:100px}.divpre{overflow:hidden}.autoinput{padding-left:6px;width:90%}.bodytitle{margin:auto;width:98%;height:28px;border:1px dotted #BFD67C;background:url(../images/wbg.gif)}.bodytitle div{float:left}.bodytitletxt{padding-left:6px;line-height:28px}.tbtitle td{padding:6px}.tblist td{padding:6px;background:#fff}.tblist td.tbsname{padding:6px;background:#F9FFE6}.colordlg{padding:.25rem .5rem;width:100px;line-height:160%;border:2px dashed #008E38;background:#F0FAEB;z-index:10005}option.alltype{padding-left:16px;height:18px;line-height:18px;font-size:12px;background:url(../images/arr4.gif)3px 4px no-repeat}option.btype{padding-left:16px;height:18px;line-height:18px;font-size:12px;background:url(../images/arr4.gif)3px 4px no-repeat}option.stype{padding-left:24px;font-size:12px;height:18px;line-height:18px;background:url(../images/arrr.gif)10px 4px no-repeat}.ilist{border-top:1px dashed #eee;border-bottom:1px dashed #eee;border-left:1px dashed #eee}.ilist td{border-right:1px dashed #eee}#typeid2{float:left;font-size:12px;padding:0;height:18px;background:url(../images/typeid2bg.gif)no-repeat;border:0}#litpic{margin-left:-20px;width:85px;height:20px;filter:alpha(opacity=00);-moz-opacity:.0;opacity:.0;cursor:pointer}.litpic_span{margin-left:-60px;width:76px;height:22px;overflow:hidden;cursor:pointer}#starttime,#endtime,#pubdate{padding-left:30px;background:url(../images/calendar.gif)10px no-repeat}#title{background:url(../images/ruler.gif)repeat-x 0px 10px}.spec{width:60px}.gtab a{display:block;float:left;width:80px;height:26px;line-height:26px;text-align:center}.albCt img{cursor:pointer}.maintable{width:98%!important;border:1px solid #dee2e6}span.page-link{color:#fff;background:#28a745}a.btn{color:white!important}.btn-success{background:#28a745;border-color:#28a745}.table{color:#424b51}.table td,.table th{padding:.6rem;vertical-align:middle}.table th img,.table td img,input[type=checkbox],input[type=radio]{vertical-align:text-bottom} \ No newline at end of file +*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}b,strong{font-weight:400}li,dd{margin:0;padding:0;list-style-type:none}select{padding:.375rem .75rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s}input[type=button],input[type=submit],input[type=reset]{padding:.25rem .5rem;line-height:1.5;color:#fff;background:#28a745;border-radius:.2rem;border:none;cursor:pointer}input,input[type=text],input[type=password]{padding:.375rem .75rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s;vertical-align:middle}input[type=text]:focus,input[type="password"]:focus{color:#424b51;border-color:#28a745;-moz-box-shadow:0 0 2px #28a745;-webkit-box-shadow:0 0 2px #28a745;box-shadow:0 0 2px #28a745;outline:none}input:disabled,input[readonly]{background:#e9ecef;opacity:1}label{display:inline-block;margin:.6rem 0}.alltxt{padding:.25rem .5rem;line-height:18px;vertical-align:middle;border-width:1px;border-style:solid;border-color:#707070 #CECECE #CECECE #707070}textarea{padding:.25rem .5rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s;vertical-align:middle;overflow:auto}textarea:focus{color:#424b51;border-color:#28a745;-moz-box-shadow:0 0 2px #28a745;-webkit-box-shadow:0 0 2px #28a745;box-shadow:0 0 2px #28a745}img{margin-right:6px;border-radius:.2rem;vertical-align:baseline}h1,h2,h3{font-size:18px;color:#424b51}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.pubinputs{padding:.25rem .5rem;width:250px;height:16px;line-height:16px;border-width:1px;border-style:solid;border-color:#999 #dddddd #dddddd #999}.iptxt{padding:.25rem .5rem;height:14px;line-height:14px;border-width:1px;border-style:solid;border-color:#999 #dddddd #dddddd #999}.pubinput{padding-top:6px;padding-bottom:0;height:24px;width:250px}.pubinputl{padding-top:6px;padding-bottom:0;height:24px;width:350px}.np{border:none}.linerow{border-bottom:1px solid #ACACAC}.coolbg{padding:.25rem .5rem;border:none;border-bottom:1px solid #ccc;background:#f2f2f2;border-radius:.2rem;cursor:pointer}.coolbg2{border:1px solid #000;background:#DFDDD2;height:18px}.ll{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background:#E6E6E6}.bline{height:36px;background:#fff;border-bottom:1px solid #eee}#uploadfield{float:left}.bline2{border-bottom:1px solid #eee}.coolbt{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#E4F7D7;cursor:pointer}.coolbt2{border-left:1px solid #EFEFEF;border-top:1px solid #EFEFEF;border-bottom:1px solid #ACACAC;background:#F7FCDA}.coolbg3{width:140px;height:20px;border:1px solid #BDC5B4;background:#DFDDD2;text-align:right}.coolbg61{width:380px;height:26px;line-height:26px;border-top:1px solid #BDC5B4;border-left:1px solid #BDC5B4;border-right:1px solid #BDC5B4;background:#E7F3B1;text-align:right}.coolbg62{padding:6px;width:380px;height:300px;border:1px solid #BDC5B4;background:#F8FDF0}.coolbg4{width:190px;height:24px;line-height:24px;border-bottom:1px solid #C9CFC1;background:#F9FCDC;background:url(../images/dlgtitle.gif)repeat-x;text-align:right}.coolbg5{width:190px;height:6px;border-top:1px solid #BDC5B4;background:#F9FCDC}.wsselect{height:60px;line-height:24px overflow-y:auto;background:#FCFEF1;overflow:auto}.dlg{padding:.25rem .5rem;border:2px solid #008E38;background:#F0FAEB;width:360px;line-height:160%}.pubdlg{background:#fff;border:4px solid #008E38;border-radius:.2rem;z-index:8888}.pubdlg .title{height:29px;line-height:29px;border-bottom:1px solid #C9CFC1;background:url(../images/dlgtitle.gif)repeat-x;text-align:left;cursor:move}.pubdlg .titLeft{float:left;padding-left:10px;line-height:29px;font-weight:600;color:#424b51}.pubdlg .titRight{float:right;padding:0}.fullpagediv{position:absolute;width:100%;height:120%;top:0;left:0;background:#cdcdcd;filter:Alpha(opacity=50);-moz-opacity:.5;opacity:.5;z-index:1999}.quicksel{margin-left:10px;margin-top:10px;width:680px;height:420px;overflow:auto;z-index:10005}.quickselfoot{padding-top:8px;border-top:1px dashed #C0CC9D}.quickselItem{margin-bottom:8px}.quickselItem .topcat{padding-left:6px;line-height:24px;border-bottom:1px dashed #ccc;background:#FBFEEF;clear:both}.quickselItem .soncat{padding-left:10px}.quickselItem .item{float:left;margin-right:8px}.mysource,.mywriter{padding:.25rem .5rem;width:280px;line-height:160%;border:4px solid #008E38;background:#F0FAEB;z-index:10001}.dlgws div{width:100%}.dlgTesttitle{padding:.25rem .5rem;width:300px;line-height:150%;border:2px solid #008E38;background:#F0FAEB}#_mysource{z-index:10003}#_mywriter{z-index:10004}#uploadwait{z-index:19999}.option1{background:#DCECA6}.option2{background:#F7FBD2}.option3{background:#fff}.ininput{width:96%;height:20px;border:1px solid #fff}.nbt{padding:2px;background-image:url(../images/allbtbg.gif);background:#fff;border:1px solid #A5AF83}.tdt{padding-left:6px}.waitpage{position:absolute;top:0;left:0;filter:Alpha(opacity=70);-moz-opacity:.7;background:url(../../images/loading1.gif)#ababab center no-repeat;z-index:10000}.divpre img{max-width:150px;max-height:100px}.divpre{overflow:hidden}.autoinput{padding-left:6px;width:90%}.bodytitle{margin:auto;width:98%;height:28px;border:1px dotted #BFD67C;background:url(../images/wbg.gif)}.bodytitle div{float:left}.bodytitletxt{padding-left:6px;line-height:28px}.tbtitle td{padding:6px}.tblist td{padding:6px;background:#fff}.tblist td.tbsname{padding:6px;background:#F9FFE6}.colordlg{padding:.25rem .5rem;width:100px;line-height:160%;border:2px dashed #008E38;background:#F0FAEB;z-index:10005}option.alltype{padding-left:16px;height:18px;line-height:18px;font-size:12px;background:url(../images/arr4.gif)3px 4px no-repeat}option.btype{padding-left:16px;height:18px;line-height:18px;font-size:12px;background:url(../images/arr4.gif)3px 4px no-repeat}option.stype{padding-left:24px;font-size:12px;height:18px;line-height:18px;background:url(../images/arrr.gif)10px 4px no-repeat}.ilist{border-top:1px dashed #eee;border-bottom:1px dashed #eee;border-left:1px dashed #eee}.ilist td{border-right:1px dashed #eee}#typeid2{float:left;font-size:12px;padding:0;height:18px;background:url(../images/typeid2bg.gif)no-repeat;border:0}#litpic{margin-left:-20px;width:85px;height:20px;filter:alpha(opacity=00);-moz-opacity:.0;opacity:.0;cursor:pointer}.litpic_span{margin-left:-60px;width:76px;height:22px;overflow:hidden;cursor:pointer}#starttime,#endtime,#pubdate{padding-left:30px;background:url(../images/calendar.gif)10px no-repeat}#title{background:url(../images/ruler.gif)repeat-x 0px 10px}.spec{width:60px}.gtab a{display:block;float:left;width:80px;height:26px;line-height:26px;text-align:center}.albCt img{cursor:pointer}.maintable{width:98%!important;border:1px solid #dee2e6}span.page-link{color:#fff;background:#28a745}a.btn{color:white!important}.btn-success{background:#28a745;border-color:#28a745}.table{color:#424b51}.table td,.table th{padding:.6rem;vertical-align:middle}.table th img,.table td img,input[type=checkbox],input[type=radio]{vertical-align:text-bottom} \ No newline at end of file diff --git a/src/static/img/base.css b/src/static/img/base.css index 7acca60b..81382337 100755 --- a/src/static/img/base.css +++ b/src/static/img/base.css @@ -1,31 +1 @@ -* {font-size: 12px;line-height: 1.5;} -body {font-size: 12px;line-height: 1.5;} -select,textarea{vertical-align:middle;} -a:link { font-size: 12px; color: #000000; } -a:visited{ font-size: 12px; color: #000000;} -a:hover {font-size: 12px;color: red} -div,form,h1,h2,h3,h4,h5,h6{ margin: 0; padding:0;} -.m1{border-left: 1px solid #DFDFDB; border-top: 1px solid #DFDFDB; border-bottom: 1px solid #808080} -.m2{border-left: 1px solid #DFDFDB; border-bottom: 1px solid #808080; border-top: 1px solid #DFDFDB;border-right: 1px solid #DFDFDB;} -.m3{border-left: 1px solid #DFDFDB; border-top: 1px solid #DFDFDB;border-right: 1px solid #DFDFDB;} -.article{FONT-SIZE: 10pt; LINE-HEIGHT: 160%;table-layout:fixed;word-break:break-all} -.bn{color:#FFFFFF;font-size:0.1pt;line-height:50%} -.contents{font-size:1pt;color:#F7F6F8} -.nb{border: 1px solid #000000;height:18px} -.coolbg {border-right: 2px solid #ACACAC; border-bottom: 2px solid #ACACAC; background-color: #E6E6E6} -.ctfield{ padding: 3px; line-height: 150%} -.nndiv{ width: 175px; height:20px; margin: 0px;padding: 0px;word-break: break-all;overflow: hidden; } -.alltxt { - border-width:1px; - border-style:solid; - border-color:#707070 #CECECE #CECECE #707070; - padding:2px 4px; - line-height:18px; - vertical-align:middle; -} -.maintable { - width: 98%!important; -} -a.btn { - color: white!important; -} \ No newline at end of file +*{font-size:12px;letter-spacing:.4px}body{font:12px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#fff;line-height:1.5}form,h1,h2,h3,ul,ol,div{margin:0;padding:0}td{line-height:1.5}td,th,div{word-break:break-all;word-wrap:break-word}li,dd{margin:0;padding:0;list-style-type:none}select{padding:.375rem .75rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s}input{padding:.375rem .75rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s;vertical-align:middle}textarea{padding:.25rem .5rem;font-size:1rem;color:#424b51;background:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.2rem;transition:all .6s;vertical-align:middle;overflow:auto}a:link{color:#424b51;text-decoration:none}a:hover{opacity:.8}a:visited{color:#666}.m1{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-bottom:1px solid #808080}.m2{border-left:1px solid #DFDFDB;border-bottom:1px solid #808080;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.m3{border-left:1px solid #DFDFDB;border-top:1px solid #DFDFDB;border-right:1px solid #DFDFDB}.article{FONT-SIZE:10pt;LINE-HEIGHT:160%;table-layout:fixed;word-break:break-all}.bn{color:#FFFFFF;font-size:0.1pt;line-height:50%}.contents{font-size:1pt;color:#F7F6F8}.nb{border:1px solid #000000;height:18px}.coolbg{border-right:2px solid #ACACAC;border-bottom:2px solid #ACACAC;background-color:#E6E6E6}.ctfield{padding:3px;line-height:150%}.nndiv{width:170px;height:20px;margin:0px;padding:0px;word-break:break-all;overflow:hidden}.maintable{width:98%!important}a.btn{color:white!important} \ No newline at end of file diff --git a/src/templets/plus/win_templet.htm b/src/templets/plus/win_templet.htm index f6f58b4e..abcfbfec 100755 --- a/src/templets/plus/win_templet.htm +++ b/src/templets/plus/win_templet.htm @@ -1,12 +1,12 @@ - - {dede:wintitle/} - - - - + +{dede:wintitle/} + + + +