本文整理汇总了PHP中Launch函数的典型用法代码示例。如果您正苦于以下问题:PHP Launch函数的具体用法?PHP Launch怎么用?PHP Launch使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了Launch函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: popup
function popup(){
$tpl=new templates();
$page=CurrentPageName();
Launch();
$t=$_GET["t"];
if(!is_numeric($t)){$t=time();}
$title="{PLEASE_WAIT_COMPILING_WEBFILTERING_SETTINGS}";
$text=$tpl->_ENGINE_parse_body($title);
$html="
<center id='title-$t' style='font-size:18px;margin-bottom:20px'>$text</center>
<div id='progress-$t' style='height:50px'></div>
<p> </p>
<textarea style='margin-top:5px;font-family:Courier New;
font-weight:bold;width:99%;height:446px;border:5px solid #8E8E8E;
overflow:auto;font-size:11px' id='text-$t'></textarea>
<script>
function Step1$t(){
$('#progress-$t').progressbar({ value: 1 });
Loadjs('$page?build-js=yes&t=$t&md5file=0');
}
$('#progress-$t').progressbar({ value: 1 });
setTimeout(\"Step1$t()\",1000);
</script>
";
echo $html;
}
示例2: popup
function popup()
{
$tpl = new templates();
$page = CurrentPageName();
Launch();
$t = $_GET["t"];
if (!is_numeric($t)) {
$t = time();
}
$title = "{GLOBAL_ACCESS_CENTER}";
$text = $tpl->_ENGINE_parse_body($title);
$html = "\n<center id='title-{$t}' style='font-size:18px;margin-bottom:20px'>{$text}</center>\n<div id='progress-{$t}' style='height:50px'></div>\n<p> </p>\n<textarea style='margin-top:5px;font-family:Courier New;\nfont-weight:bold;width:98%;height:446px;border:5px solid #8E8E8E;\noverflow:auto;font-size:11px' id='text-{$t}'></textarea>\n\t\n<script>\nfunction Step1{$t}(){\n\t\$('#progress-{$t}').progressbar({ value: 1 });\n\tLoadjs('{$page}?build-js=yes&t={$t}&md5file=0');\n}\n\$('#progress-{$t}').progressbar({ value: 1 });\nsetTimeout(\"Step1{$t}()\",1000);\n\n</script>\n";
echo $html;
}
示例3: popup
function popup()
{
$tpl = new templates();
$page = CurrentPageName();
Launch();
$t = $_GET["t"];
if (!is_numeric($t)) {
$t = time();
}
$title = "{PLEASE_WAIT_RESTARTING_ALL_SERVICES}";
if (isset($_GET["onlySquid"])) {
$title = "{please_wait}, {restarting_proxy_service}";
}
if (isset($_GET["onlyreload"])) {
$title = "{please_wait_reloading_service}";
}
if (isset($_GET["CheckCaches"])) {
$onlySquid = "&CheckCaches=yes";
$title = "{please_wait_check_caches}";
}
if (isset($_GET["firewall"])) {
$title = "{please_wait}, {reconfigure_transparent_rules}";
}
$text = $tpl->_ENGINE_parse_body($title);
$html = "\n<center id='title-{$t}' style='font-size:18px;margin-bottom:20px'>{$text}</center>\n<div id='progress-{$t}' style='height:50px'></div>\n<p> </p>\n<textarea style='margin-top:5px;font-family:Courier New;\nfont-weight:bold;width:98%;height:446px;border:5px solid #8E8E8E;\noverflow:auto;font-size:11px' id='text-{$t}'></textarea>\n\t\n<script>\nfunction Step1{$t}(){\n\t\$('#progress-{$t}').progressbar({ value: 1 });\n\tLoadjs('{$page}?build-js=yes&t={$t}&md5file=0');\n}\n\$('#progress-{$t}').progressbar({ value: 1 });\nsetTimeout(\"Step1{$t}()\",1000);\n\n</script>\n";
echo $html;
}