function show_header() { define('SHOW_HEADER', TRUE); global $charset, $step; $version = DISCUZ_VERSION; $release = DISCUZ_RELEASE; $install_lang = lang(INSTALL_LANG); $title = lang('title_install'); echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset={$charset}" /> <title>{$title}</title> <link rel="stylesheet" href="style.css" type="text/css" media="all" /> <script type="text/javascript"> \tfunction \$(id) { \t\treturn document.getElementById(id); \t} \tfunction showmessage(message) { \t\t\$('notice').value += message + "\\r\\n"; \t} </script> <meta content="Comsenz Inc." name="Copyright" /> </head> <div class="container"> \t<div class="header"> \t\t<h1>{$title}</h1> \t\t<span>V{$version} {$install_lang} {$release}</span> EOT; $step > 0 && show_step($step); }
function show_header() { define('SHOW_HEADER', TRUE); global $step; $version = MPIC_VERSION; $install_lang = lang('lang_name'); $title = lang('title_install'); echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>{$title}</title> <link rel="stylesheet" href="img/style.css" type="text/css" media="all" /> <script type="text/javascript"> function \$(id) { return document.getElementById(id); } function showmessage(message) { document.getElementById('notice').innerHTML += message + '<br />'; } </script> <meta content="Meiu Studio" name="Copyright" /> </head> <div class="container"> <div class="header"> <h1>{$title}</h1> <span>MeiuPic {$version} {$install_lang}</span> EOT; $step > 0 && show_step($step); }
function show_header() { global $step; $version = SOFT_VERSION; $release = SOFT_RELEASE; $title = lang('title_install'); echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>{$title}</title> <meta http-equiv="X-UA-Compatible" content="IE=7" /> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> <meta content="微信公共平台" name="Copyright" /> <script type="text/javascript"> \tfunction \$(id) { \t\treturn document.getElementById(id); \t} \tfunction showmessage(message) { \t\t\$('notice').value += message + "\\r\\n"; \t} </script> </head> <div class="container"> \t<div class="header"> \t\t<h1>{$title}</h1> \t\t<span>V{$version} {$release}</span> EOT; $step > 0 && show_step($step); }
function show_header() { define('SHOW_HEADER', TRUE); global $step; /*vot*/ global $method, $language; $version = DISCUZ_VERSION; $release = DISCUZ_RELEASE; $install_lang = lang(INSTALL_LANG); $title = lang('title_install'); $charset = CHARSET; /*vot*/ echo <<<EOT <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> <title>$title</title> <link rel="stylesheet" href="images/style.css" type="text/css" media="all" /> <script type="text/javascript"> function $(id) { return document.getElementById(id); } function showmessage(message) { document.getElementById('notice').innerHTML += message + '<br />'; } </script> <meta content="Comsenz Inc." name="Copyright" /> </head> <body><!--vot--> <div class="container"> <div class="header"> <h1>$title</h1> <span>Discuz!$version $install_lang, Release $release</span> EOT; $step > 0 && show_step($step); }
function show_header() { define('SHOW_HEADER', TRUE); global $step; $install_lang = lang(INSTALL_LANG); $title = lang('title_install'); $charset = CHARSET; echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset={$charset}" /> <title>{$title}</title> <link rel="stylesheet" href="images/style.css" type="text/css" media="all" /> <script type="text/javascript"> \tfunction \$(id) { \t\treturn document.getElementById(id); \t} \tfunction showmessage(message) { \t\tdocument.getElementById('notice').innerHTML += message + '<br />'; \t} </script> <meta content="yjzzj.com" name="Copyright" /> </head> <div class="container"> \t<div class="header"> \t\t<h1>{$title}</h1> \t\t<span>WOC {$install_lang}</span> EOT; $step > 0 && show_step($step); }
function stepD() { show_step(4, "安装完毕", "稍后进入后台管理页面"); fwrite(fopen("inc/install.lock", "wb"), ''); ?> <div class="main"><div class="desc">5秒后自动跳转到后台管理登录页面...</div> <script> setTimeout("jump();",5000); function jump(){location.href='admin/index.php';} </script> <?php }
function show_header() { define('SHOW_HEADER', TRUE); global $step; $version = SOFT_VERSION; $release = SOFT_RELEASE; $install_lang = lang(INSTALL_LANG); $title = lang('title_install'); $charset = CHARSET; echo <<<EOT <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=$charset" /> <title>$title</title> <link rel="stylesheet" href="style.css" type="text/css" media="all" /> <script type="text/javascript"> function $(id) { return document.getElementById(id); } function showmessage(message) { document.getElementById('notice').innerHTML += message + '<br />'; } </script> <meta content="Comsenz Inc." name="Copyright" /> </head> <div class="container"> <div class="header"> <h1>$title</h1> <span>V$version $install_lang $release</span> EOT; $step > 0 && show_step($step); }
<LINK href="style.css" type=text/css rel=stylesheet> </head> <body> <div id="header"> <img src="../public/images/xppass.png"><span style="font-size:16px"><b><?php echo lang('install_wizard'); ?> </b></span> </div> <?php } //end of show_header show_header(); $step > 0 && show_step($step); switch ($step) { case 0: show_license(); break; case 1: dirfile_check($dirfile_items); env_check($env_items); function_check($func_items); show_env_result($env_items, $dirfile_items, $func_items); break; case 2: set_params(); show_param_table(); break; case 3:
function stepD() { show_step(4, "安装完毕", "正在删除安装脚本"); //if (file_exists("index.php")){ // @unlink("index.php"); //} ?> <div class="main"> <div class="desc">如果没有自动删除install/index.php,请手工删除。 5秒后自动跳转到后台管理登录页面...</div> <script> setTimeout("gonextpage();",5000); function gonextpage(){location.href='../manager/index.php';} </script> <?php }
$images_src = $h_img->src; if (strpos($images_src, 'http') === false) { $h_img->src = h_parse_url($_SESSION['url']) . '/' . $images_src; } } // recreate sub link foreach ($html_file->find('a') as $link) { $link_href = $link->href; if (strpos($link_href, '//') === false) { $link->href = h_parse_url($_SESSION['url']) . '/' . $link_href; } } // delete temp file and create html file unlink($path . '/tmp'); $html_file->save($path . '/' . $save_file); $step++; $_SESSION['step'] = $step; echo '<script>location.reload();</script>'; exit; break; case "5": show_step(true); session_destroy(); break; } // end switch ?> <div id="bottom"> </div> </body> </html>
function flow_done($flow_type) { //我发起的流程,已被审批的 $uid = get_user_id(); $str = ""; $where['type'] = array('in', $flow_type); $where['step'] = array("in", "40,0"); $where['user_id'] = $uid; $flow_list = M("Flow")->where($where)->order('id desc')->select(); $count = M("Flow")->where($where)->count(); for ($i = 0; $i < $count; $i++) { $flow = M("Flow")->where('id=' . $flow_list[$i]['flow_id'])->find(); $str = $str . "\n\t\t\t\t\t<li> <a href=" . __APP__ . "/flow/read?id=" . $flow_list[$i]['id'] . " title=>【" . $flow_list[$i]['user_name'] . "】 " . $flow_list[$i]['name'] . " " . show_step($flow_list[$i]['step']) . " </a></li>"; } return $str; }
function show_header() { global $step, $VERSION; echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>QuoraCms 安装向导</title> <link rel="stylesheet" href="images/style.css" type="text/css" media="all" /> <script type="text/javascript" src="../Public/jquery.js"></script> <script type="text/javascript"> function showmessage(message) { $("#notice").html($("#notice").html()+message+"<br />"); } </script> </head> <div class="container"> <div class="header"> <h1 class="install">QuoraCms 安装向导</h1> <span>QuoraCms ' . $VERSION . ' </span>'; $step > 0 && show_step($step); }