本文整理汇总了PHP中popup_index函数的典型用法代码示例。如果您正苦于以下问题:PHP popup_index函数的具体用法?PHP popup_index怎么用?PHP popup_index使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了popup_index函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: usersMenus
include_once 'ressources/class.templates.inc';
include_once 'ressources/class.ldap.inc';
include_once 'ressources/class.users.menus.inc';
include_once 'ressources/class.main_cf.inc';
$usersmenus = new usersMenus();
if ($usersmenus->AsMailBoxAdministrator == false) {
header('location:users.index.php');
exit;
}
if (isset($_GET["PagePostFixQueueTab"])) {
PagePostFixQueueTab();
exit;
}
if (isset($_GET["popup-index"])) {
popup_index();
exit;
}
js();
function js()
{
$prefix = str_replace(".", "_", CurrentPageName());
$page = CurrentPageName();
$tpl = new templates();
$title = $tpl->_ENGINE_parse_body('{storage_rules}');
$users = new usersMenus();
if (!$users->AsPostfixAdministrator) {
$error = $tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
echo "alert('{$error}')";
die;
}
示例2: usersMenus
include_once('ressources/class.templates.inc');
include_once('ressources/class.ldap.inc');
include_once('ressources/class.users.menus.inc');
include_once('ressources/class.main_cf.inc');
include_once('ressources/class.maincf.multi.inc');
$usersmenus=new usersMenus();
if(!$usersmenus->AsPostfixAdministrator){
$tpl=new templates();
echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
die();
}
if(isset($_GET["buttons"])){echo popup_index();exit;}
if(isset($_GET["transport-table"])){routingTable(1);exit;}
if(isset($_GET["local-domain-table"])){LocalTable(1);exit;}
if(isset($_GET["relay-domain-table"])){RelayDomainsTable(1);exit;}
if(isset($_GET["relay-recipient-table"])){RelayRecipientsTable(1);exit;}
if(isset($_GET["relay-sender-table"])){SenderTableLoad(1);exit;}
if(isset($_GET["PostfixAddRoutingRuleTableSave"])){PostfixAddRoutingRuleTableSave();exit;}
if(isset($_GET["PostfixAddRoutingTable"])){PostfixAddRoutingRuleTable();exit();}
if(isset($_GET["PostfixAddRoutingTableSave"])){PostfixAddRoutingTableSave();exit;}
if(isset($_GET["PostfixAddRoutingLoadTable"])){echo routingTable();exit;}
if(isset($_GET["LoadRelayDomainsTable"])){echo RelayDomainsTable();exit;}
if(isset($_GET["PostFixDeleteRoutingTable"])){PostFixDeleteRoutingTable();exit;}
示例3: ini_set
include_once 'ressources/class.maincf.multi.inc';
if (isset($_GET["verbose"])) {
$GLOBALS["VERBOSE"] = true;
ini_set('display_errors', 1);
ini_set('error_reporting', E_ALL);
ini_set('error_prepend_string', null);
ini_set('error_append_string', null);
}
$usersmenus = new usersMenus();
if (!$usersmenus->AsPostfixAdministrator) {
$tpl = new templates();
echo "alert('" . $tpl->javascript_parse_text("{ERROR_NO_PRIVS}") . "');";
die;
}
if (isset($_GET["buttons"])) {
echo popup_index();
exit;
}
if (isset($_GET["transport-table"])) {
routingTable(1);
exit;
}
if (isset($_GET["local-domain-table"])) {
LocalTable(1);
exit;
}
if (isset($_GET["relay-domain-table"])) {
RelayDomainsTable(1);
exit;
}
if (isset($_GET["relay-recipient-table"])) {
示例4: gmdate
<?php
header("Pragma: no-cache");
header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-cache, must-revalidate");
session_start();
include_once("ressources/class.templates.inc");
include_once("ressources/class.ldap.inc");
include_once("ressources/class.main_cf.inc");
if(isset($_GET["smtpd_error_sleep_time"])){SaveForm();exit;}
if(isset($_GET["popup-index"])){popup_index();exit;}
js();
function js(){
$prefix=str_replace(".","_",CurrentPageName());
$page=CurrentPageName();
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body('{title_postfix_tuning}');
$users=new usersMenus();
if(!$users->AsPostfixAdministrator){
$error=$tpl->_ENGINE_parse_body("{ERROR_NO_PRIVS}");
echo "alert('$error')";
die();
}
$html="function {$prefix}Loadpage(){
YahooWin2('650','$page?popup-index=yes','$title');
}
示例5: usersMenus
$usersmenus=new usersMenus();
if($usersmenus->AsMailBoxAdministrator==false){header('location:users.index.php');exit;}
if(isset($_GET["PostfixLoadeMailsQueue"])){echo PostfixLoadeMailsQueue();exit;}
if(isset($_GET["MailID"])){MailID();exit;}
if(isset($_GET["PostQueueF"])){PostQueueF();exit();}
if(isset($_GET["TableQueue"])){echo Table_queue();exit;}
if(isset($_GET["DeleteMailID"])){DeleteMailID();exit;}
if(isset($_GET["PostCatReprocess"])){reprocessMailID();exit;}
if(isset($_GET["PostfixDeleteMailsQeue"])){PostfixDeleteMailsQeue();exit;}
if(isset($_GET["js"])){popup_js();exit;}
if(isset($_GET["inline-js"])){popup_js();exit;}
if(isset($_GET["popup"])){popup_tabs();exit;}
if(isset($_GET["smtp_queues"])){popup_index();exit;}
if(isset($_GET["show-queue"])){queue_js();exit;}
if(isset($_GET["popup-queue"])){queue_popup();exit;}
if(isset($_GET["read-queue"])){queue_popup_list();exit;}
if(isset($_GET["popup-message"])){popup_message();exit;}
if(isset($_GET["status"])){status();exit;}
if(isset($_GET["params"])){queue_settings();exit;}
if(isset($_GET["settings-queue-save"])){queue_settings_save();exit;}
if(isset($_GET["details"])){popup_postqueue();exit;}
if(isset($_GET["details-list"])){popup_postqueue_details();exit;}
if(isset($_GET["details-list-from"])){popup_postqueue_details_form();exit;}
if(isset($_GET["details-list-search-to"])){popup_postqueue_details_search();exit;}
if(isset($_GET["details-list-search-from"])){popup_postqueue_details_search();exit;}