当前位置:网站首页>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!
边栏推荐
- Mini Program Graduation Works WeChat Gymnasium Reservation Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
- golang源码阅读(11)GO中各个目录的功能
- DeepMind 首席科学家 Oriol Vinyals 最新访谈:通用 AI 的未来是强交互式元学习
- 再获权威认证!马上消费安逸花APP通过中国信通院“金融APP人脸识别安全能力评测”
- npm install 编译时报“Cannot read properties of null (reading ‘pickAlgorithm‘)“
- Red and blue against experience sharing: CS from kill posture
- Mysql开启binlog
- 租房小程序自动定位城市
- Gartner released, annual Challenger!
- SQL 正则解析手机号码提供商
猜你喜欢

「全球数字经济大会」登陆 N 世界,融云提供通信云服务支持

NoSQL之redis缓存雪崩、穿透、击穿概念解决办法

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

图解LeetCode——622. 设计循环队列(难度:中等)

vulnhub W34kn3ss: 1

动力电池扩产潮,宁德时代遭围剿

Five speakers: seventy genius_platform software platform development 】 【 turn YUY2 RGB24 implementation source code

Wechat Gymnasium Appointment Mini Program Graduation Design Finished Work (5) Task Book

IReport常见问题及处理方法

全面认识二极管,一篇文章就够了
随机推荐
小程序毕设作品之微信体育馆预约小程序毕业设计成品(6)开题答辩PPT
Kubernetes:(七)优化大法(江湖失传已久的武林秘籍)
方法的使用
golang源码分析(4):select
Since September, China has granted zero-tariff treatment to 98% of tax items from 16 countries including Togo
罗敏背后是抖音
边界访问的空间权限
NIO Cup 2022 Niu Ke Summer Multi-School Training Camp 5 ABCDFGHK
What is an APS system?What should I pay attention to when importing APS?Worth watching again and again
npm install报gyp info it worked if it ends with ok
究极异常处理逻辑——多层次异常的处理顺序
电烙铁的基础知识
MySQL——慢查询日志分析
2022安全员-C证考试题库模拟考试平台操作
安全至上:落地DevSecOps最佳实践你不得不知道的工具
Five speakers: seventy genius_platform software platform development 】 【 turn YUY2 RGB24 implementation source code
npm install 时,卡住不动,五种解决方法
MySQL索引
Navicat 连接Oracle时提示oracle library is not loaded的问题解决
executeScript异步执行的时候没有返回值的原因