diff --git a/src/include/common.func.php b/src/include/common.func.php index bdd01c19..2922ccdb 100755 --- a/src/include/common.func.php +++ b/src/include/common.func.php @@ -183,8 +183,8 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) { global $cfg_soft_lang, $cfg_cmsurl; if(empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; - $htmlhead = "提示信息"; - $htmlhead .= "".(isset($GLOBALS['ucsynlogin']) ? $GLOBALS['ucsynlogin'] : '')."
"; $litime = ($limittime == 0 ? 1000 : $limittime); $func = ''; @@ -203,17 +203,17 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) } $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; $rmsg = $func; - $rmsg .= "document.write(\"\");"; - $rmsg .= "document.write(\"
"; - $rmsg .= "

提示信息

\");"; - $rmsg .= "document.write(\"
\");"; + $rmsg .= "document.write(\"\");"; + $rmsg .= "document.write(\"
"; + $rmsg .= "

提示信息

\");"; + $rmsg .= "document.write(\"
\");"; $rmsg .= "document.write(\"".str_replace("\"","“",$msg)."\");"; $rmsg .= "document.write(\""; if($onlymsg==0) { if( $gourl != 'javascript:;' && $gourl != '') { - $rmsg .= "\");"; + $rmsg .= "\");"; $rmsg .= "setTimeout('JumpUrl()',$litime);"; } else { $rmsg .= "
\");";