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


PHP mysql::TABLE_STATUS方法代码示例

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


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

示例1: tweaks

function tweaks()
{
    if (GET_CACHED(__FILE__, __FUNCTION__, null)) {
        return;
    }
    $sock = new sockets();
    $EnablePostfixMultiInstance = $sock->GET_INFO("EnablePostfixMultiInstance");
    $users = new usersMenus();
    $page = CurrentPageName();
    $tpl = new templates();
    if ($users->ALTERMIME_INSTALLED) {
        $altermime = Paragraphe('icon_settings-64.png', '{disclaimer}', '{disclaimer_text}', "javascript:Loadjs('amavis.index.php?altermime-js=yes')", 90);
    } else {
        //$altermime=ParagrapheTEXT_disabled('icon_settings-48.png','{disclaimer}','{disclaimer_text}',null,90);
    }
    if ($users->POMMO_INSTALLED) {
        $pommo = Paragraphe('64-pommo.png', '{APP_POMMO}', '{APP_POMMO_TEXT}', "javascript:Loadjs('pommo.index.php?pommo-js=yes')", 90);
    } else {
        //$pommo=ParagrapheTEXT_disabled('48-pommo.png','{APP_POMMO}','{APP_POMMO_TEXT}',null,90);
    }
    if ($users->zip_installed) {
        if ($users->AMAVIS_INSTALLED) {
            if ($users->EnableAmavisDaemon == 1) {
                $winzip = Paragraphe('64-winzip.png', '{auto-compress}', '{auto-compress_text}', "javascript:Loadjs('auto-compress.php?script=winzip')", 90);
            }
        }
    }
    if ($users->POSTMULTI) {
        $multi = Paragraphe('postfix-multi-64.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', "javascript:Loadjs('postfix.network.php?POSTFIX_MULTI_INSTANCE_JS=yes')", 90);
    } else {
        //$multi=ParagrapheTEXT_disabled('postfix-multi-48.png','{POSTFIX_MULTI_INSTANCE}','{POSTFIX_MULTI_INSTANCE_TINY_TEXT}',null,90);
    }
    if ($users->MEM_TOTAL_INSTALLEE < 700000) {
        $multi = ParagrapheTEXT_disabled('postfix-multi-64.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', null, 90);
        $multi = null;
    }
    $postfixStop = Paragraphe('pause-64.png', '{stop_messaging}', '{stop_messaging_text}', "javascript:Loadjs('postfix.stop.php',true)", 90);
    //$postfix_restrictions_classes=Paragraphe('folder-64-restrictions-classes.png','{postfix_restrictions_classes}','{restriction_classes_minitext}',"javascript:Loadjs('postfix.restrictions.classes.php?js=yes')",90);
    $events = Paragraphe('64-mailevents.png', '{postfix_events}', '{logs_viewer_text}', "javascript:s_PopUp('postfix.events.php?pop=true',450,400)", 90);
    //$storage=Paragraphe('folder-storage2-64.png','{storage_rules}','{storage_rules_text}',"javascript:Loadjs('postfix.storage.rules.php')",90);
    //$main_src=Paragraphe('folder-script-database-64.png','{main_ldap}','{main_ldap_explain}',"javascript:s_PopUp(\"postfix.report.php\",500,500,true)",90);
    $watchdog_queue = Paragraphe('folder-watch-64.png', '{watchdog_queue}', '{watchdog_queue_text}', "javascript:Loadjs('postfix.postqueuep.php',true)", 90);
    $postmaster = Paragraphe('postmaster-64.png', '{postmaster}', '{postmaster_text}', "javascript:Loadjs('postfix.postmaster.php')", 90);
    $postmaster_identity = Paragraphe('postmaster-identity.png', '{postmaster_identity}', '{postmaster_identity_text}', "javascript:Loadjs('postfix.postmaster-ident.php',true)", 90);
    $UnknownUsers = Paragraphe('unknown-user-64.png', '{unknown_users}', '{postfix_unknown_users_tinytext}', "javascript:Loadjs('postfix.luser_relay.php',true)", 90);
    $RemoveMessaging = Paragraphe('delete-64.png', '{disable_messaging}', '{disable_messaging_text}', "javascript:Loadjs('postfix.disable.php',true)", 90);
    $ActiveDirectory = Paragraphe('wink-64.png', '{active_directory_link}', '{active_directory_linkmail_text}', "javascript:Loadjs('{$page}?active_directory_link=yes')", 90);
    //$massmailing=ParagrapheTEXT_disabled('mass-mailing-postfix-48.png','{emailings}','{ENABLE_MASSMAILING_TEXT}',null,90);
    if ($users->EMAILRELAY_INSTALLED) {
        $massmailing = Paragraphe('mass-mailing-postfix-64.png', '{emailings}', '{ENABLE_MASSMAILING_TEXT}', "javascript:Loadjs('postfix.massmailing.php',true)", 90);
    }
    //$multi_infos=ParagrapheTEXT_disabled('postfix-multi-48-info.png','{POSTFIX_MULTI_INSTANCE_INFOS}',
    ///'{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}',null,90);
    if ($EnablePostfixMultiInstance == 1) {
        $main_src = null;
        $performances = ParagrapheTEXT_disabled('folder-performances-64.png', '{performances_settings}', '{performances_settings_text}', null, 90);
        $performances = null;
        $mastercf = null;
        $maincfedit = null;
        $maincf = null;
        $postfix_restrictions_classes = null;
        $storage = null;
        $other = null;
        $multi_infos = Paragraphe('postfix-multi-64-info.png', '{POSTFIX_MULTI_INSTANCE_INFOS}', '{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}', "javascript:Loadjs('postfix.multiple.instances.infos.php')");
        $postfixStop = Paragraphe('pause-64-grey.png', '{stop_messaging}', '{stop_messaging_text}', "", 90);
    }
    $q = new mysql();
    $table_storage = $q->TABLE_STATUS("storage", "artica_backup");
    if ($table_storage["Rows"] > 0) {
        $backup_query = Paragraphe('64-backup.png', "{$table_storage["Rows"]} {backuped_mails}", '{all_mailbackup_text}', "javascript:Loadjs('domains.backup.php?js=yes&Master=yes')");
    }
    if ($users->MAILMAN_INSTALLED) {
        $mailman = Paragraphe('mailman-64.png', '{APP_MAILMAN}', '{manage_distribution_lists}', "javascript:Loadjs('mailman.php?script=yes')");
    }
    $tr[] = $multi;
    $tr[] = $multi_infos;
    $tr[] = $postfixStop;
    $tr[] = $RemoveMessaging;
    $tr[] = $watchdog_queue;
    $tr[] = $massmailing;
    $tr[] = $pommo;
    $tr[] = $postmaster;
    $tr[] = $postmaster_identity;
    $tr[] = $UnknownUsers;
    $tr[] = $backup_query;
    $tr[] = $mailman;
    $tr[] = $events;
    $tr[] = $altermime;
    $tr[] = $maincf;
    $tr[] = $main_src;
    $tr[] = $maincfedit;
    $tr[] = $mastercf;
    $tr[] = $storage;
    $tr[] = $postfix_restrictions_classes;
    $tr[] = $other;
    $icons = CompileTr2($tr, 'form');
    $refresh = "<div style='width:100%;text-align:right'>" . imgtootltip("refresh-24.png", "{refresh}", "RefreshIndexPostfixAjax()") . "</div>";
    $main = "<input type='hidden' id='monitor_page' value='1' name='monitor_page'>\n{$refresh}\n<table style='width:100%'>\n<tbody>\n<tr>\n\t<td style='width:99%'>{$icons}</td>\n\t<td style='vertical-align:top'><div id='Postfixservinfos' style='width:450px'></div>\n</tr>\n</tbody>\n</table>\n";
    $html = "{$main}\n\n<script>\n\t\t\n</script>\n";
    $datas = $tpl->_ENGINE_parse_body($html);
//.........这里部分代码省略.........
开发者ID:brucewu16899,项目名称:1.6.x,代码行数:101,代码来源:postfix.index.php

示例2: tweaks

function tweaks()
{
    if (GET_CACHED(__FILE__, __FUNCTION__, null)) {
        return;
    }
    $sock = new sockets();
    $EnablePostfixMultiInstance = $sock->GET_INFO("EnablePostfixMultiInstance");
    $users = new usersMenus();
    $page = CurrentPageName();
    $tpl = new templates();
    if ($users->ALTERMIME_INSTALLED) {
        $altermime = ParagrapheTEXT('icon_settings-48.png', '{disclaimer}', '{disclaimer_text}', "javascript:Loadjs('amavis.index.php?altermime-js=yes')", 90);
    } else {
        $altermime = ParagrapheTEXT_disabled('icon_settings-48.png', '{disclaimer}', '{disclaimer_text}', null, 90);
    }
    if ($users->POMMO_INSTALLED) {
        $pommo = ParagrapheTEXT('48-pommo.png', '{APP_POMMO}', '{APP_POMMO_TEXT}', "javascript:Loadjs('pommo.index.php?pommo-js=yes')", 90);
    } else {
        $pommo = ParagrapheTEXT_disabled('48-pommo.png', '{APP_POMMO}', '{APP_POMMO_TEXT}', null, 90);
    }
    if ($users->zip_installed) {
        if ($users->AMAVIS_INSTALLED) {
            if ($users->EnableAmavisDaemon == 1) {
                $winzip = ParagrapheTEXT('48-winzip.png', '{auto-compress}', '{auto-compress_text}', "javascript:Loadjs('auto-compress.php?script=winzip')", 90);
            }
        }
    }
    if ($users->POSTMULTI) {
        $multi = ParagrapheTEXT('postfix-multi-48.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', "javascript:Loadjs('postfix.network.php?POSTFIX_MULTI_INSTANCE_JS=yes')", 90);
    } else {
        $multi = ParagrapheTEXT_disabled('postfix-multi-48.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', null, 90);
    }
    if ($users->MEM_TOTAL_INSTALLEE < 700000) {
        $multi = ParagrapheTEXT_disabled('postfix-multi-48.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', null, 90);
    }
    $artica_stats = ParagrapheTEXT('graphs-48.png', '{ARTICA_STATS}', '{ARTICA_SMTP_STATS_TEXT}', "javascript:Loadjs('postfix.artica-stats.php')", 90);
    $postfix_restrictions_classes = ParagrapheTEXT('folder-48-restrictions-classes.png', '{postfix_restrictions_classes}', '{restriction_classes_minitext}', "javascript:Loadjs('postfix.restrictions.classes.php?js=yes')", 90);
    $events = ParagrapheTEXT('48-mailevents.png', '{postfix_events}', '{logs_viewer_text}', "javascript:s_PopUp('postfix.events.php?pop=true',450,400)", 90);
    $performances = ParagrapheTEXT('folder-performances-48.png', '{performances_settings}', '{performances_settings_text}', "javascript:Loadjs('postfix.performances.php')", 90);
    $maincf = ParagrapheTEXT('folder-script-48.png', '{main.cf}', '{main.cf_explain}', "javascript:Loadjs('postfix.main.cf.php')", 90);
    $storage = ParagrapheTEXT('folder-storage2-48.png', '{storage_rules}', '{storage_rules_text}', "javascript:Loadjs('postfix.storage.rules.php')", 90);
    $maincfedit = ParagrapheTEXT('folder-maincf-48.png', '{main.cf_edit}', '{main.cfedit_explain}', "javascript:Loadjs('postfix.main.cf.edit.php?js=yes')", 90);
    $mastercf = ParagrapheTEXT('folder-script-48-master.png', '{master.cf}', '{mastercf_explain}', "javascript:Loadjs('postfix.master.cf.php?script=yes')", 90);
    $other = ParagrapheTEXT('folder-tools2-48.png', '{other_settings}', '{other_settings_text}', "javascript:Loadjs('postfix.other.php')", 90);
    $main_src = ParagrapheTEXT('folder-script-database-48.png', '{main_ldap}', '{main_ldap_explain}', "javascript:s_PopUp(\"postfix.report.php\",500,500,true)", 90);
    $postmaster = ParagrapheTEXT('postmaster-48.png', '{postmaster}', '{postmaster_text}', "javascript:Loadjs('postfix.postmaster.php')", 90);
    $postmaster_identity = ParagrapheTEXT('postmaster-identity-48.png', '{postmaster_identity}', '{postmaster_identity_text}', "javascript:Loadjs('postfix.postmaster-ident.php')", 90);
    $UnknownUsers = ParagrapheTEXT('unknown-user-48.png', '{unknown_users}', '{postfix_unknown_users_tinytext}', "javascript:Loadjs('postfix.luser_relay.php')", 90);
    $massmailing = ParagrapheTEXT_disabled('mass-mailing-postfix-48.png', '{emailings}', '{ENABLE_MASSMAILING_TEXT}', null, 90);
    if ($users->EMAILRELAY_INSTALLED) {
        $massmailing = ParagrapheTEXT('mass-mailing-postfix-48.png', '{emailings}', '{ENABLE_MASSMAILING_TEXT}', "javascript:Loadjs('postfix.massmailing.php')", 90);
    }
    $multi_infos = ParagrapheTEXT_disabled('postfix-multi-48-info.png', '{POSTFIX_MULTI_INSTANCE_INFOS}', '{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}', null, 90);
    if ($EnablePostfixMultiInstance == 1) {
        $main_src = null;
        $performances = ParagrapheTEXT_disabled('folder-performances-48.png', '{performances_settings}', '{performances_settings_text}', null, 90);
        $mastercf = null;
        $maincfedit = null;
        $maincf = null;
        $postfix_restrictions_classes = null;
        $storage = null;
        $other = null;
        $multi_infos = ParagrapheTEXT('postfix-multi-48-info.png', '{POSTFIX_MULTI_INSTANCE_INFOS}', '{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}', "javascript:Loadjs('postfix.multiple.instances.infos.php')");
        if ($users->MAILMAN_INSTALLED) {
            $mailman = ParagrapheTEXT('folder-group2-48.png', '{APP_MAILMAN}', '{manage_distribution_lists}', "javascript:Loadjs('mailman.php?script=yes')");
        }
    }
    $q = new mysql();
    $table_storage = $q->TABLE_STATUS("storage", "artica_backup");
    if ($table_storage["Rows"] > 0) {
        $backup_query = ParagrapheTEXT('48-backup.png', "{$table_storage["Rows"]} {backuped_mails}", '{all_mailbackup_text}', "javascript:Loadjs('domains.backup.php?js=yes&Master=yes')");
    }
    $tr[] = $performances;
    $tr[] = $massmailing;
    $tr[] = $pommo;
    $tr[] = $artica_stats;
    $tr[] = $postmaster;
    $tr[] = $postmaster_identity;
    $tr[] = $UnknownUsers;
    $tr[] = $backup_query;
    $tr[] = $mailman;
    $tr[] = $events;
    $tr[] = $altermime;
    $tr[] = $maincf;
    $tr[] = $main_src;
    $tr[] = $maincfedit;
    $tr[] = $mastercf;
    $tr[] = $storage;
    $tr[] = $postfix_restrictions_classes;
    $tr[] = $other;
    $t = 0;
    $tables[] = "<table style='width:100%'><tr>";
    $t = 0;
    while (list($key, $line) = each($tr)) {
        $line = trim($line);
        if ($line == null) {
            continue;
        }
        $t = $t + 1;
        $tables[] = "<td valign='top'>{$line}</td>";
//.........这里部分代码省略.........
开发者ID:,项目名称:,代码行数:101,代码来源:

示例3: tweaks

function tweaks()
{
    $sock = new sockets();
    $EnablePostfixMultiInstance = $sock->GET_INFO("EnablePostfixMultiInstance");
    $users = new usersMenus();
    $page = CurrentPageName();
    $tpl = new templates();
    if ($users->ALTERMIME_INSTALLED) {
        $altermime = Buildicon64("DEF_ICO_ALTERMIME");
    }
    if ($users->POMMO_INSTALLED) {
        $pommo = Paragraphe('64-pommo.png', '{APP_POMMO}', '{APP_POMMO_TEXT}', "javascript:Loadjs('pommo.index.php?pommo-js=yes')", null, 210, 100, 0, true);
    }
    if ($users->zip_installed) {
        if ($users->AMAVIS_INSTALLED) {
            if ($users->EnableAmavisDaemon == 1) {
                $winzip = Paragraphe('64-winzip.png', '{auto-compress}', '{auto-compress_text}', "javascript:Loadjs('auto-compress.php?script=winzip')", null, 210, 100, 0, true);
            }
        }
    }
    if ($users->POSTMULTI) {
        $multi = Paragraphe('postfix-multi-64.png', '{POSTFIX_MULTI_INSTANCE}', '{POSTFIX_MULTI_INSTANCE_TINY_TEXT}', "javascript:Loadjs('postfix.network.php?POSTFIX_MULTI_INSTANCE_JS=yes')");
    }
    $postfix_restrictions_classes = Paragraphe('folder-64-restrictions-classes.png', '{postfix_restrictions_classes}', '{restriction_classes_minitext}', "javascript:Loadjs('postfix.restrictions.classes.php?js=yes')", null, 210, null, 0, true);
    $events = Buildicon64("DEF_ICO_EVENTS_POSTFIX");
    $performances = Paragraphe('folder-performances-64.png', '{performances_settings}', '{performances_settings_text}', "javascript:Loadjs('postfix.performances.php')");
    $maincf = Paragraphe('folder-script-64.png', '{main.cf}', '{main.cf_explain}', "javascript:Loadjs('postfix.main.cf.php')");
    $storage = Paragraphe('folder-storage2-64.png', '{storage_rules}', '{storage_rules_text}', "javascript:Loadjs('postfix.storage.rules.php')");
    $maincfedit = Paragraphe('folder-maincf-64.png', '{main.cf_edit}', '{main.cfedit_explain}', "javascript:Loadjs('postfix.main.cf.edit.php?js=yes')");
    $mastercf = Paragraphe('folder-script-64-master.png', '{master.cf}', '{mastercf_explain}', "javascript:Loadjs('postfix.master.cf.php?script=yes')");
    $other = Paragraphe('folder-tools2-64.png', '{other_settings}', '{other_settings_text}', "javascript:Loadjs('postfix.other.php')");
    $main_src = Paragraphe('folder-script-database-64.png', '{main_ldap}', '{main_ldap_explain}', "javascript:s_PopUp(\"postfix.report.php\",500,500,true)");
    $postmaster = Paragraphe('postmaster-64.png', '{postmaster}', '{postmaster_text}', "javascript:Loadjs('postfix.postmaster.php')");
    $postmaster_identity = Paragraphe('postmaster-identity.png', '{postmaster_identity}', '{postmaster_identity_text}', "javascript:Loadjs('postfix.postmaster-ident.php')");
    $UnknownUsers = Paragraphe('unknown-user-64.png', '{unknown_users}', '{postfix_unknown_users_tinytext}', "javascript:Loadjs('postfix.luser_relay.php')");
    if ($EnablePostfixMultiInstance == 1) {
        $main_src = null;
        $performances = null;
        $mastercf = null;
        $maincfedit = null;
        $maincf = null;
        $postfix_restrictions_classes = null;
        $storage = null;
        $other = null;
        $multi_infos = Paragraphe('postfix-multi-64-info.png', '{POSTFIX_MULTI_INSTANCE_INFOS}', '{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}', "javascript:Loadjs('postfix.multiple.instances.infos.php')");
        if ($users->MAILMAN_INSTALLED) {
            $mailman = Buildicon64('DEF_ICO_POSTFIX_MAILMAN');
        }
    }
    $q = new mysql();
    $table_storage = $q->TABLE_STATUS("storage", "artica_backup");
    if ($table_storage["Rows"] > 0) {
        $backup_query = Paragraphe('64-backup.png', "{$table_storage["Rows"]} {backuped_mails}", '{all_mailbackup_text}', "javascript:Loadjs('domains.backup.php?js=yes&Master=yes')");
    }
    $tr[] = $multi;
    $tr[] = $multi_infos;
    $tr[] = $postmaster;
    $tr[] = $postmaster_identity;
    $tr[] = $UnknownUsers;
    $tr[] = $backup_query;
    $tr[] = $mailman;
    $tr[] = $altermime;
    $tr[] = $pommo;
    $tr[] = $events;
    $tr[] = $performances;
    $tr[] = $maincf;
    $tr[] = $main_src;
    $tr[] = $maincfedit;
    $tr[] = $mastercf;
    $tr[] = $storage;
    $tr[] = $postfix_restrictions_classes;
    $tr[] = $other;
    $tr[] = $cyrus_backup;
    $tr[] = $roundcube;
    $tr[] = $fetchmail;
    $tr[] = $atmail;
    $tables[] = "<table style='width:100%'><tr>";
    $t = 0;
    while (list($key, $line) = each($tr)) {
        $line = trim($line);
        if ($line == null) {
            continue;
        }
        $t = $t + 1;
        $tables[] = "<td valign='top'>{$line}</td>";
        if ($t == 3) {
            $t = 0;
            $tables[] = "</tr><tr>";
        }
    }
    if ($t < 3) {
        for ($i = 0; $i <= $t; $i++) {
            $tables[] = "<td valign='top'>&nbsp;</td>";
        }
    }
    $tables[] = "</table>";
    $html = implode("\n", $tables);
    $html = "<div style='width:700px'>{$html}</div>";
    $datas = $tpl->_ENGINE_parse_body($html);
    SET_CACHED(__FILE__, __FUNCTION__, null, $datas);
//.........这里部分代码省略.........
开发者ID:brucewu16899,项目名称:artica,代码行数:101,代码来源:postfix.index.php

示例4: tweaks

function tweaks(){
	if(GET_CACHED(__FILE__,__FUNCTION__,null)){return;}
	$sock=new sockets();
	$EnablePostfixMultiInstance=$sock->GET_INFO("EnablePostfixMultiInstance");
	$users=new usersMenus();
	$page=CurrentPageName();
	$tpl=new templates();
	
	$massmailing=Paragraphe('mass-mailing-postfix-64-grey.png','{emailings}','{ENABLE_MASSMAILING_TEXT}');
	
	if($users->ALTERMIME_INSTALLED){
		$altermime=Paragraphe('icon_settings-64.png','{disclaimer}','{disclaimer_text}',"javascript:Loadjs('amavis.index.php?altermime-js=yes')");
	}else{
		$altermime=Paragraphe('icon_settings-64-grey.png','{disclaimer}','{disclaimer_text}');
	}

	
	if($users->POMMO_INSTALLED){
		$pommo=Paragraphe('64-pommo.png','{APP_POMMO}','{APP_POMMO_TEXT}',"javascript:Loadjs('pommo.index.php?pommo-js=yes')");	
	}else{
		$pommo=Paragraphe('64-pommo-grey.png','{APP_POMMO}','{APP_POMMO_TEXT}');
	}
	
	
	if($users->zip_installed){
		if($users->AMAVIS_INSTALLED){
			if($users->EnableAmavisDaemon==1){
				$winzip=Paragraphe('64-winzip.png','{auto-compress}','{auto-compress_text}',"javascript:Loadjs('auto-compress.php?script=winzip')");	
			}
		}
	}

	
	if($users->POSTMULTI){
		
		$multi=Paragraphe('postfix-multi-64.png','{POSTFIX_MULTI_INSTANCE}','{POSTFIX_MULTI_INSTANCE_TINY_TEXT}',"javascript:Loadjs('postfix.network.php?POSTFIX_MULTI_INSTANCE_JS=yes')");
	}else{
		$multi=Paragraphe('postfix-multi-64-grey.png','{POSTFIX_MULTI_INSTANCE}','{POSTFIX_MULTI_INSTANCE_TINY_TEXT}');	
	}
	
	if($users->MEM_TOTAL_INSTALLEE<700000){
		$multi=Paragraphe('postfix-multi-64-grey.png','{POSTFIX_MULTI_INSTANCE}','{POSTFIX_MULTI_INSTANCE_TINY_TEXT}');
	}
		

	$artica_stats=Paragraphe('graphs-64.png','{ARTICA_STATS}','{ARTICA_SMTP_STATS_TEXT}',"javascript:Loadjs('postfix.artica-stats.php')");
	
	$postfix_restrictions_classes=Paragraphe('folder-64-restrictions-classes.png',
	'{postfix_restrictions_classes}','{restriction_classes_minitext}',"javascript:Loadjs('postfix.restrictions.classes.php?js=yes')");
	
	$events=Buildicon64("DEF_ICO_EVENTS_POSTFIX");
	$performances=Paragraphe('folder-performances-64.png','{performances_settings}','{performances_settings_text}',"javascript:Loadjs('postfix.performances.php')");
	$maincf=Paragraphe('folder-script-64.png','{main.cf}','{main.cf_explain}',"javascript:Loadjs('postfix.main.cf.php')");
	$storage=Paragraphe('folder-storage2-64.png','{storage_rules}','{storage_rules_text}',"javascript:Loadjs('postfix.storage.rules.php')");
	$maincfedit=Paragraphe('folder-maincf-64.png','{main.cf_edit}','{main.cfedit_explain}',"javascript:Loadjs('postfix.main.cf.edit.php?js=yes')");
	$mastercf=Paragraphe('folder-script-64-master.png','{master.cf}','{mastercf_explain}',"javascript:Loadjs('postfix.master.cf.php?script=yes')") ;
	$other=Paragraphe('folder-tools2-64.png','{other_settings}','{other_settings_text}',"javascript:Loadjs('postfix.other.php')");
	$main_src=Paragraphe('folder-script-database-64.png','{main_ldap}','{main_ldap_explain}',"javascript:s_PopUp(\"postfix.report.php\",500,500,true)");
	$postmaster=Paragraphe('postmaster-64.png','{postmaster}','{postmaster_text}',"javascript:Loadjs('postfix.postmaster.php')");
	$postmaster_identity=Paragraphe('postmaster-identity.png','{postmaster_identity}','{postmaster_identity_text}',"javascript:Loadjs('postfix.postmaster-ident.php')");
	$UnknownUsers=Paragraphe('unknown-user-64.png','{unknown_users}','{postfix_unknown_users_tinytext}',"javascript:Loadjs('postfix.luser_relay.php')");
	
	
	if($users->EMAILRELAY_INSTALLED){
		$massmailing=Paragraphe('mass-mailing-postfix-64.png','{emailings}','{ENABLE_MASSMAILING_TEXT}',"javascript:Loadjs('postfix.massmailing.php')");
	}		
	
	
	if($EnablePostfixMultiInstance==1){
		$main_src=null;
		$performances=null;
		$mastercf=null;
		$maincfedit=null;
		$maincf=null;
		$postfix_restrictions_classes=null;
		$storage=null;
		$other=null;
		$multi_infos=Paragraphe('postfix-multi-64-info.png','{POSTFIX_MULTI_INSTANCE_INFOS}','{POSTFIX_MULTI_INSTANCE_INFOS_TEXT}',"javascript:Loadjs('postfix.multiple.instances.infos.php')");
		
		if($users->MAILMAN_INSTALLED){
			$mailman=Buildicon64('DEF_ICO_POSTFIX_MAILMAN');
		}
	}
	
	$q=new mysql();
	$table_storage=$q->TABLE_STATUS("storage","artica_backup");
	if($table_storage["Rows"]>0){
		$backup_query=Paragraphe('64-backup.png',"{$table_storage["Rows"]} {backuped_mails}",'{all_mailbackup_text}',"javascript:Loadjs('domains.backup.php?js=yes&Master=yes')");
		
	}
	
	

	
		$serv[]=$multi;
		$serv[]=$multi_infos;
		$serv[]=$altermime;
		$serv[]=$massmailing;
		$serv[]=$pommo;
		$serv[]=$artica_stats;
//.........这里部分代码省略.........
开发者ID:rsd,项目名称:artica-1.5,代码行数:101,代码来源:postfix.index.php


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