久久机这里只有精品,国产69精品一区二区亚洲孕妇,91精品国产综合久久婷婷香蕉,午夜久久久久久电影

最新活動(dòng):電腦PC端+手機(jī)端+微網(wǎng)站+自適應(yīng)網(wǎng)頁多模板選擇-建站388元起價(jià)?。。?
當(dāng)前位置:主頁 > 網(wǎng)站建設(shè) > 織夢dedecms提示信息提示框美化,DEDE技術(shù)

織夢dedecms提示信息提示框美化,DEDE技術(shù)

時(shí)間:2023-07-17 11:07:17 閱讀: 文章分類: 網(wǎng)站建設(shè) 作者: dede開發(fā)者

導(dǎo)讀:DEDE技術(shù)DEDE技術(shù)修改后的效果如下圖所示: 打開 /include/common.func.php 找到 大概在278行的 function ShowMsg( { 中間代碼省略.織夢模板dede網(wǎng)站模板。

織夢模板dede網(wǎng)站模板修改后的效果如下圖所示: 打開 /include/common.func.php 找到 大概在278行的   function ShowMsg( { 中間代碼省略... }   把整個(gè)函數(shù)改成:   function ShowMsg($msg, $gourl, $onlymsg=0, $limittime=0) {     if(empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..';     $htmlhead  = "<html>\r\n<head>\r\n<title>提示信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\">\r\n<meta name=\"renderer\" content=\"webkit\">\r\n<meta http-equiv=\"Cache-Control\" content=\"no-siteapp\" />";     $htmlhead .= "<base target='_self'/>\r\n<style>div{line-height:160%;}</style></head>\r\n<body leftmargin='0' topmargin='0' bgcolor='#FFFFFF'>".(isset($GLOBALS['ucsynlogin']) ? $GLOBALS['ucsynlogin'] : '')."\r\n<center>\r\n<script>\r\n";     $htmlfoot  = "</script>\r\n</center>\r\n</body>\r\n</html>\r\n";     $litime = ($limittime==0 ? 1000 : $limittime);     $func = '';     if($gourl=='-1')     {         if($limittime==0) $litime = 5000;         $gourl = "javascript:history.go(-1);";     }     if($gourl=='' || $onlymsg==1)     {         $msg = "<script>alert(\"".str_replace("\"","“",$msg)."\");</script>";     }     else     {         //當(dāng)網(wǎng)址為:close::objname 時(shí), 關(guān)閉父框架的id=objname元素         if(preg_match('/close::/',$gourl))         {             $tgobj = trim(preg_replace('/close::/', '', $gourl));             $gourl = 'javascript:;';             $func .= "window.parent.document.getElementById('{$tgobj}').style.display='none';\r\n";         }         $func .= "      var pgo=0;       function JumpUrl(){         if(pgo==0){ location='$gourl'; pgo=1; }       }\r\n";         $rmsg = $func; $rmsg .= "document.write(\"<style&gdede模板堂t;body{background:#F6F6F6}.tips-box{margin-top:50px;padding:0;width:450px;border:10px solid #E8E8E8;background:#fff;color:#444;font-family:微軟雅黑}.tips .title{margin:0 20px;padding:15px 0;border-bottom:1px dotted #DDD;text-align:left;font-size:15px}.tips .title p{padding-left:10px;height:18px;border-left:2px solid #268B26;font-weight:600;line-height:18px;margin: 0;}.tips .content{position:relative;padding:30px;height:120px;background:#fff;color:#666;font-size:15px}.tips .content p.t織夢模板免費(fèi)下裁ip{color:#999;font-size:1px}.tips .content a.go{display:block;margin:15px auto 0;padding:6px 10px;width:80px;border:1px solid #268B26;border-radius:3px;color:#268B26;text-decoration:blink;font-size:13px}.tips .content a:hover{background:#268B26;color:#fff}</style>\");\r\n;";         $rmsg .= "document.write(\"<div class='tips tips-box'>";         $rmsg .= "<div class='title'><p>提示信息</p></div>\");\r\n";         $rmsg .= "document.write(\"<div class='content'>\");\r\n";         $rmsg .= "document.write(\"".str_replace("\"","“",$msg)."\");\r\n";         $rmsg .= "document.write(\"";         if($onlymsg==0)         {             if( $gourl != 'javascript:;' && $gourl != '')             {                 $rmsg .= "<a href='{$gourl}' class='go'>點(diǎn)擊跳轉(zhuǎn)</a>";                 $rmsg .= "<br/></div>\");\r\n";                 $rmsg .= "setTimeout('JumpUrl()',$litime);";             }             else             {                 $rmsg .= "<br/></div>\");\r\n";             }         }         else         {     &nbsdede手機(jī)模板p;       $rmsg .= "<br/><br/></div>\");\r\n";         }         $msg  = $htmlhead.$rmsg.$htmlfoot;     }     echo $msg; }   注意:如果你有改過這個(gè)函數(shù),記得先備份好這個(gè)文件!相關(guān)織夢模板dede網(wǎng)站模板。

關(guān)鍵詞標(biāo)簽: 織夢 提示信息 提示

聲明: 本文由我的SEOUC技術(shù)文章主頁發(fā)布于:2023-07-17 ,文章織夢dedecms提示信息提示框美化,DEDE技術(shù)主要講述提示信息,提示,織夢網(wǎng)站建設(shè)源碼以及服務(wù)器配置搭建相關(guān)技術(shù)文章。轉(zhuǎn)載請保留鏈接: http://www.bifwcx.com/article/web_28596.html

我的IDC 網(wǎng)站建設(shè)技術(shù)SEOUC.COM
專注網(wǎng)站建設(shè),SEO優(yōu)化,小程序設(shè)計(jì)制作搭建開發(fā)定制網(wǎng)站等,數(shù)千家網(wǎng)站定制開發(fā)案例,網(wǎng)站推廣技術(shù)服務(wù)。
  • 5000+合作客服
  • 8年從業(yè)經(jīng)驗(yàn)
  • 150+覆蓋行業(yè)
  • 最新熱門源碼技術(shù)文章

    主站蜘蛛池模板: 乐都县| 庆元县| 修武县| 宽甸| 珲春市| 舟曲县| 西贡区| 繁峙县| 安多县| 长乐市| 阳泉市| 盐源县| 平泉县| 泸定县| 沭阳县| 扶绥县| 崇礼县| 射阳县| 韩城市| 稷山县| 东山县| 福鼎市| 大埔县| 英山县| 渝北区| 三亚市| 岑巩县| 岑溪市| 扎囊县| 崇左市| 贺州市| 金寨县| 宝应县| 兰坪| 富民县| 饶河县| 陵水| 那坡县| 甘孜| 宣城市| 工布江达县|