当前位置: 首页>>代码示例>>PHP>>正文


PHP show_step函数代码示例

本文整理汇总了PHP中show_step函数的典型用法代码示例。如果您正苦于以下问题:PHP show_step函数的具体用法?PHP show_step怎么用?PHP show_step使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了show_step函数的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: show_header

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);
}
开发者ID:BGCX067,项目名称:f2cont-svn-to-git,代码行数:33,代码来源:install.func.php

示例2: show_header

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);
}
开发者ID:jorkin,项目名称:meiupic,代码行数:32,代码来源:install_func.php

示例3: show_header

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);
}
开发者ID:liuguogen,项目名称:weixin,代码行数:32,代码来源:index.php

示例4: show_header

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);
}
开发者ID:xDiglett,项目名称:discuzx30,代码行数:36,代码来源:install_function.php

示例5: show_header

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);
}
开发者ID:humor-zo,项目名称:woc-yii,代码行数:32,代码来源:install_function.php

示例6: stepD

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 
}
开发者ID:klarclm,项目名称:sgv,代码行数:10,代码来源:install.php

示例7: show_header

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);
}
开发者ID:BGCX262,项目名称:zyyhong-svn-to-git,代码行数:34,代码来源:func.inc.php

示例8: lang

<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:
开发者ID:AlvarodelRosal,项目名称:xppass,代码行数:31,代码来源:index.php

示例9: stepD

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 
}
开发者ID:andyongithub,项目名称:joyplus-cms,代码行数:13,代码来源:index.php

示例10: h_parse_url

            $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">&nbsp;</div>
</body>
</html>
开发者ID:phongdatgl,项目名称:css-spider,代码行数:30,代码来源:process.php

示例11: flow_done

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;
}
开发者ID:2ger,项目名称:trunk,代码行数:16,代码来源:common.php

示例12: show_header

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);
}
开发者ID:kerneltravel,项目名称:QuoraCms,代码行数:22,代码来源:install.func.php


注:本文中的show_step函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。