雨哲插件

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
雨哲插件 资料库 网页教程PHP discuz安装进度效果
  • 全部资料
  • 查看资料

discuz安装进度效果

2018-4-22 23:24|分类: 网页教程PHP |发布用户: 雨哲

201804/22/232456hv5hhh53rvsrv445.jpg

非ajax效果的。

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>Discuz! 安装向导</title>
<style type="text/css">
body{ padding:5px 0; background:#FFF; text-align:center; }
body, td, input, textarea, select, button{ color:#666; font:12px/1.5 Verdana, Tahoma, Arial, 'Microsoft Yahei', 'Simsun', sans-serif; }
.container{ overflow:hidden; margin:0 auto; width:700px; height:auto !important;text-align:left; border:1px solid #B5CFD9; }
.main{ padding:20px 20px 0; background:#F7FBFE url(bg_repx.gif) repeat-x 0 -194px; }
.main h3{ margin:10px auto; width:75%; color:#6CA1B4; font-weight:700; }
#notice { overflow: hidden; margin: 20px; padding: 5px; height: 300px; border: 1px solid #B5CFD9; text-align: left; }
</style>
<meta name="Copyright" content="Comsenz Inc.">
</head>
<body><div class="container">
<div class="main"><script type="text/javascript">
function showmessage(message) {
    document.getElementById('notice').innerHTML += message + '<br/>';
    document.getElementById('notice').scrollTop = 100000000;
}
</script>
<div id="notice"></div>
<?php 
//检测完成后显示的信息
function showjsmessage($message) {
    echo '<script type="text/javascript">showmessage(\''.addslashes($message).' \');</script>'."\r\n";
    flush();
    ob_flush();
}
//模拟初始化数据表
for ($i = 1; $i <= 50; $i++) {
    showjsmessage("建立数据表 {$i} ... 成功");
    sleep(rand(0, 1));
}
?>
</div>
</div>
</body>
</html>


分享到: 手机访问 分享给QQ好友 分享到QQ 分享到QQ空间 QQ空间 分享到新浪微博 新浪微博 分享到人人 人人网

手机扫码访问

企业微信 : 雨哲手机扫描添加到联系人手机扫描直接访问

QQ|关于我们|Archiver|手机版|小黑屋|雨哲插件

GMT+8, 2024-5-20 16:37 , Processed in 0.268732 second(s), 11 queries , Xcache On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

返回顶部