本文整理汇总了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="">
示例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>