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


PHP Dispatcher::getPopupInfo方法代码示例

本文整理汇总了PHP中Dispatcher::getPopupInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP Dispatcher::getPopupInfo方法的具体用法?PHP Dispatcher::getPopupInfo怎么用?PHP Dispatcher::getPopupInfo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Dispatcher的用法示例。


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

示例1:

if (!isset($_COOKIE['admin_version'])) {
    $version = 1;
} else {
    $version = $_COOKIE['admin_version'];
}
$main_array = Dispatcher::main_getMain_map($language);
$map_center = $main_array['map_center'];
$main_info = Dispatcher::moduls_getInfo('main');
$user = Dispatcher::admin_getUser();
$popup_text = Dispatcher::getPopupInfo($language, "tours");
$about_seglfie_popup_text = Dispatcher::getPopupInfo($language, "about");
$questions_popup_text = Dispatcher::getPopupInfo($language, "questions");
$contacts_popup_text = Dispatcher::getPopupInfo($language, "contacts");
$instagram_popup_text = Dispatcher::getPopupInfo($language, "instagram");
$terms_popup_text = Dispatcher::getPopupInfo($language, "terms");
$company_popup_text = Dispatcher::getPopupInfo($language, "company");
$_POST['language'] = $language;
$directions_info = MainController::getDirInfo();
require '../menu_items.php';
?>

<!doctype html>
<html>

    <head>
        <meta charset="utf-8" />
        <title>Sysadmin3000 - <?php 
echo $menu_item_1;
?>
</title>
        <meta name="description" content="">
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:index.php

示例2: microtime

require_once "sysadmin3000/core/core.inc";
//require_once("detect_language.inc");
// Header
$version = 1;
$language = "en";
$_POST['language'] = $language;
$main_info = Dispatcher::moduls_getInfo('main');
$directions_info = MainController::getDirInfo();
$time_pre = microtime(true);
$popup_text = Dispatcher::getPopupInfo($language, 'tours');
$contacts_popup_text = Dispatcher::getPopupInfo($language, 'contacts');
$about_popup_text = Dispatcher::getPopupInfo($language, 'about');
$questions_popup_text = Dispatcher::getPopupInfo($language, 'questions');
$instagram_popup_text = Dispatcher::getPopupInfo($language, "instagram");
$company_popup_text = Dispatcher::getPopupInfo($language, "company");
$terms_popup_text = Dispatcher::getPopupInfo($language, "terms");
$host = $_SERVER['HTTP_HOST'];
$string = __FILE__;
$server_root = $_SERVER['DOCUMENT_ROOT'];
global $our_path;
global $our_uri;
$path_part = explode('\\', $string);
//$our_uri = "http://" . $host . "/" . $path_part[3] . "/";
$our_uri = "http://" . $host . "/";
$our_path = $server_root . $path_part[3] . "/";
$our_path_part = $path_part[3];
//header('Location: http://localhost/segwayforours');
?>
<!DOCTYPE html>
<html>
    <head>
开发者ID:buga1234,项目名称:buga_segforours,代码行数:31,代码来源:index.php


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