当前位置:网站首页>Dream weaving prompt information prompt box beautification
Dream weaving prompt information prompt box beautification
2022-08-02 20:02:00 【website building shadow】

The tutorial is as follows
Open /include/common.func.php and find about line 278
function ShowMsg({Intermediate code omitted...}Change the entire function to
function ShowMsg($msg, $gourl, $onlymsg=0, $limittime=0){if(empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..';$htmlhead = "\r\n\r\nInformation \r\n\r\n\r\n\r\n";$htmlhead .= " \r\n\r\n".(isset($GLOBALS['ucsynlogin']) ? $GLOBALS['ucsynlogin'] : '')."\r\n\r\n\r\n \r\n
\r\n\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 = "";}else{//When the URL is: close::objname, close the id=objname element of the parent frameif(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(\"\");\r\n;";$rmsg .= "document.write(\"";$rmsg .= "Information
\");\r\n";$rmsg .= "document.write(\"\");\r\n";$rmsg .= "document.write(\"".str_replace("\"",""",$msg)."\");\r\n";$rmsg .= "document.write(\"";if($onlymsg==0){if( $gourl != 'javascript:;' && $gourl != ''){$rmsg .= "Click to jump";$rmsg .= "
\");\r\n";$rmsg .= "setTimeout('JumpUrl()',$litime);";}else{$rmsg .= "
\");\r\n";}}else{$rmsg .= "
Note: If you have changed this function, remember to make a backup copy of yours and try again!
边栏推荐
猜你喜欢

Security First: Tools You Need to Know to Implement DevSecOps Best Practices
![[300+ selected big factory interview questions continue to share] Big data operation and maintenance sharp knife interview questions column (10)](/img/cf/44b3983dd5d5f7b92d90d918215908.png)
[300+ selected big factory interview questions continue to share] Big data operation and maintenance sharp knife interview questions column (10)

AI+医疗:使用神经网络进行医学影像识别分析

分布式 | dble 启动的时候做了什么之配置检测

vulnhub W34kn3ss: 1

Navicat for mysql cracked versions installed

npm install报错Fix the upstream dependency conflict, or retry

IReport常见问题及处理方法

cpolar应用实例之多设备数据采集

Mysql——字符串函数
随机推荐
MYSQL一站式学习,看完即学完
Flink SQL builds real-time data warehouse DWD layer
executeScript异步执行的时候没有返回值的原因
一篇文章带你搞定BFC~
MySQL基本查询和运算符
Informatica旗下PowerCenter的元数据库解析
蔚来杯2022牛客暑期多校训练营5 ABCDFGHK
安全至上:落地DevSecOps最佳实践你不得不知道的工具
MySQL基本语法
Red and blue against experience sharing: CS from kill posture
百问百答第49期:极客有约——国内可观测领域SaaS产品的发展前景
再获权威认证!马上消费安逸花APP通过中国信通院“金融APP人脸识别安全能力评测”
Arduino hardware programming introduction to language learning
Pytest study notes
Wechat Gymnasium Appointment Mini Program Graduation Design Finished Works Mini Program Graduation Design Finished Work (6) Question Opening Reply PPT
vulnhub W34kn3ss: 1
搭建属于自己的知识库(Wikijs)
MYSQL下载及安装完整教程
What is an APS system?What should I pay attention to when importing APS?Worth watching again and again
故障分析 | 一条 SELECT 语句跑崩了 MySQL ,怎么回事?