本文整理汇总了PHP中build_artica_tabs函数的典型用法代码示例。如果您正苦于以下问题:PHP build_artica_tabs函数的具体用法?PHP build_artica_tabs怎么用?PHP build_artica_tabs使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了build_artica_tabs函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tabs
function tabs()
{
$page = CurrentPageName();
$sock = new sockets();
$users = new usersMenus();
$q = new mysql_blackbox();
$tpl = new templates();
$language = $tpl->language;
$array["performance"] = "{global_performance}";
$array["squid-memory"] = '{memory}';
$array["peristent_cnx"] = "{persistent_connections}";
$array["performance-reports"] = "{performance_reports}";
//$array["logger"]="{artica_logger}";
$fontsize = "22";
while (list($num, $ligne) = each($array)) {
if ($num == "logger") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.accesslogs.php?logfile-daemon-popup=yes\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "peristent_cnx") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.persistent.connections.php\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "squid-memory") {
$html[] = $tpl->_ENGINE_parse_body("<li>\n\t\t\t<a href=\"squid.memory.php\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "performance-reports") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.perfs.reports.php\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}=yes\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n");
}
echo build_artica_tabs($html, "squid_main_performance", 1492) . "";
}
示例2: tabs
function tabs()
{
$tpl = new templates();
$array["index"] = '{parameters}';
$array["rules"] = '{rules}';
$array["transparent"] = '{transparent_rules}';
$array["events"] = '{events}';
//$array["plugins"]='{squid_plugins}';
$page = CurrentPageName();
$tpl = new templates();
$q = new mysql();
$style = "style='font-size:22px'";
$t = time();
while (list($num, $ligne) = each($array)) {
if ($num == "index") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"ss5.php\" {$style}><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "events") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"ss5.events.php\" {$style}><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "rules") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"ss5.rules.php\" {$style}><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "transparent") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"ss5.transparent.php\" {$style}><span>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}=yes\" {$style}><span>{$ligne}</span></a></li>\n");
}
echo build_artica_tabs($html, "ss5_main", 1490);
}
示例3: tabs
function tabs()
{
$uuid = $_GET["uuid"];
$fontsize = 18;
$tpl = new templates();
$page = CurrentPageName();
$array["RTT"] = "{realtime}";
$array["WEEK"] = "{this_week}";
$array["websites"] = "{websites}";
while (list($num, $ligne) = each($array)) {
if ($num == "RTT") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.bandwidth.rtt.week.php?uuid={$uuid}&meta=1\" style='font-size:{$fontsize};font-weight:normal'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "WEEK") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.bandwidth.rttw.week.php?uuid={$uuid}&meta=1\" style='font-size:{$fontsize};font-weight:normal'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "websites") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.bandwidth.rweb.week.php?uuid={$uuid}&meta=1\" style='font-size:{$fontsize};font-weight:normal'><span>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}=yes\" style='font-size:{$fontsize};font-weight:normal'><span>{$ligne}</span></a></li>\n");
}
$html = build_artica_tabs($html, 'main_bandwidth_meta_tabs');
echo $html;
}
示例4: tabs
function tabs()
{
$fontsize = 18;
$tpl = new templates();
$page = CurrentPageName();
$users = new usersMenus();
$sock = new sockets();
$SquidUrgency = intval($sock->GET_INFO("SquidUrgency"));
if ($SquidUrgency == 1) {
echo FATAL_ERROR_SHOW_128("<div style='font-size:22px'>{proxy_in_emergency_mode}</div>\n\t\t\t<div style='font-size:18px'>{proxy_in_emergency_mode_explain}</div>\n\t\t\t<div style='text-align:right'><a href=\"javascript:blur();\" OnClick=\"javascript:Loadjs('squid.urgency.php?justbutton=yes');\"\n\t\t\tstyle='text-decoration:underline'>{disable_emergency_mode}</a></div>\t\n\t\t\t");
return;
}
$array["thishour"] = '{this_hour}';
$array["thishour2"] = '{this_hour} ({compressed})';
while (list($num, $ligne) = each($array)) {
if ($num == "thishour") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.accesslogs.php\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "thishour2") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.accesslogs.compressed.php\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "thishour3") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.accesslogs.day.compressed.php\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}={$time}\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
}
echo build_artica_tabs($html, "main_squid_logs_subtabs");
}
示例5: tabs
function tabs()
{
$page = CurrentPageName();
$fontsize = "font-size:16px;";
$adduri = "&font-size=18";
$adduri2 = "?font-size={$_GET["font-size"]}";
//$array["popup-instances"]="{multiple_webmail}";
$array["popup"] = "{backup}";
$array["schedule"] = "{schedule}";
$fontsize = "font-size:18px";
while (list($num, $ligne) = each($array)) {
if ($num == "schedule") {
$html[] = "<li><a href=\"schedules.php?ForceTaskType=31\" style='{$fontsize}' ><span>{$ligne}</span></a></li>\n";
continue;
}
if ($num == "popup-tune") {
$html[] = "<li><a href=\"zarafa.tuning.php\" style='font-size:18px'><span>{$ligne}</span></a></li>\n";
continue;
}
if ($num == "popup-mysql") {
$html[] = "<li><a href=\"zarafa.mysqlparams.php\" style='font-size:18px'><span>{$ligne}</span></a></li>\n";
continue;
}
$html[] = "<li><a href=\"{$page}?{$num}=yes{$adduri}\" style='{$fontsize}' ><span>{$ligne}</span></a></li>\n";
}
$tabwidth = 759;
if (is_numeric($_GET["tabwith"])) {
$tabwitdh = $_GET["tabwith"];
}
echo build_artica_tabs($html, "main_config_zarafaBack");
}
示例6: tabs
function tabs(){
$tpl=new templates();
$users=new usersMenus();
$page=CurrentPageName();
$squid=new squidbee();
$fontsize=20;
$sock=new sockets();
$compilefile="ressources/logs/squid.compilation.params";
if(!is_file($compilefile)){$sock->getFrameWork("squid.php?compil-params=yes");}
$COMPILATION_PARAMS=unserialize(base64_decode(file_get_contents($compilefile)));
$DisableSSLStandardPort=$sock->GET_INFO("DisableSSLStandardPort");
if(!is_numeric($DisableSSLStandardPort)){$DisableSSLStandardPort=1;}
if($DisableSSLStandardPort==0){$StandardPortSSL=1;}else{$StandardPortSSL=0;}
if(!isset($COMPILATION_PARAMS["enable-ssl"])){
echo FATAL_ERROR_SHOW_128("{error_squid_ssl_not_compiled}");
return;
}
$array["popup"]="{status}";
if($StandardPortSSL==1){
if($squid->SSL_BUMP_WHITE_LIST==1){
$array["ssl-decrypt"]="{decrypted_ssl_websites}";
}else{
$array["ssl-whitelist"]="{whitelist}";
}
}
$t=time();
while (list ($num, $ligne) = each ($array) ){
if($num=="ssl-decrypt"){
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"squid.ssl.encrypt.php\" style='font-size:$fontsize;font-weight:normal'><span>$ligne</span></a></li>\n");
continue;
}
if($num=="ssl-whitelist"){
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"squid.sslbump.php?whitelist=yes\" style='font-size:$fontsize;font-weight:normal'><span>$ligne</span></a></li>\n");
continue;
}
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"$page?$num=$t\" style='font-size:$fontsize;font-weight:normal'><span>$ligne</span></a></li>\n");
}
$html=build_artica_tabs($html,'main_ssl_center_tabs',975)."<script>LeftDesign('ssl-256-white-opac20.png');</script>";
echo $html;
}
示例7: tabs
function tabs()
{
$fontsize = 26;
$tpl = new templates();
$page = CurrentPageName();
$users = new usersMenus();
$sock = new sockets();
$time = time();
$array["page"] = "{parameters}";
$array["template"] = "{error_page}";
$array["whitelist"] = "{whitelist}";
$CountOfTabs = count($array);
if ($CountOfTabs > 9) {
$fontsize = "16";
}
if ($CountOfTabs > 10) {
$fontsize = "14";
}
while (list($num, $ligne) = each($array)) {
if ($num == "whitelist") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"privoxy.whitelist.php\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "template") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"privoxy.template.php\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}={$time}\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
}
echo build_artica_tabs($html, "main_privoxy_tabs", 1493) . "<script>LeftDesign('logs-white-256-opac20.png');</script>";
}
示例8: tabs
function tabs()
{
$tpl = new templates();
$stats_appliance = new stats_appliance();
$array["popup"] = '{active_requests}';
$time = time();
$style = "style='font-size:22px'";
$page = CurrentPageName();
$t = time();
while (list($num, $ligne) = each($array)) {
if ($num == "categories") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.active.requests.categories.php\"><span {$style}>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "categories-day") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.active.requests.categories.day.php\"><span {$style}>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "popup-members") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.active.requests.members.php\"><span {$style}>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "popup-members-day") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"squid.active.requests.members.day.php\"><span {$style}>{$ligne}</span></a></li>\n");
continue;
}
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?{$num}=yes&t={$time}\"><span {$style}>{$ligne}</span></a></li>\n");
}
echo build_artica_tabs($html, "squid_active_requests_relatime");
}
示例9: tabs
function tabs()
{
$page = CurrentPageName();
$tpl = new templates();
$page = CurrentPageName();
$users = new usersMenus();
$q = new mysql_postfix_builder();
$hier = strtotime($q->HIER() . " 00:00:00");
$table_month = "mgreym_" . date("Ym");
$table_hier = $table = "mgreym_" . date("Ymd", $hier);
if ($q->TABLE_EXISTS("MGREY_RTT")) {
$array["NOW"] = '{this_hour}';
}
$array["today"] = '{today}';
if ($q->TABLE_EXISTS($table_month)) {
$array["hier"] = '{yesterday}';
}
if ($q->TABLE_EXISTS($table_month)) {
$array["month"] = '{this_month}';
}
$fontsize = 18;
while (list($num, $ligne) = each($array)) {
$tab[] = "<li><a href=\"{$page}?{$num}=yes\"><span style='font-size:{$fontsize}px'>{$ligne}</span></a></li>\n";
}
$t = time();
//
echo build_artica_tabs($tab, "main_artica_miltergreylist_cnx", 1100) . "<script>LeftDesign('key-256-opac20');</script>";
}
示例10: tabs
function tabs(){
$page=CurrentPageName();
$tpl=new templates();
$users=new usersMenus();
if(!$users->WIFIDOG_INSTALLED){
echo FATAL_ERROR_SHOW_128("{ERROR_SERVICE_NOT_INSTALLED} <hr><center>".button("{manual_update}", "Loadjs('update.upload.php')",32)."</center>");
return;
}
$array["popup"]='{self_register}';
$array["smtp-params"]='{smtp_parameters}';
$fontsize=18;
$t=time();
while (list ($num, $ligne) = each ($array) ){
if($num=="members"){
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"squid.webauth.members.php?members=yes\" style='font-size:$fontsize'><span>$ligne</span></a></li>\n");
continue;
}
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"$page?$num=$t$YahooWinUri\" style='font-size:$fontsize'><span>$ligne</span></a></li>\n");
}
echo build_artica_tabs($html, "squid_hotspot_smtp")."<script>LeftDesign('wifi-white-256-opac20.png');</script>";
}
示例11: tabs
function tabs()
{
$page = CurrentPageName();
$tpl = new templates();
$ID = $_GET["ID"];
$t = $_GET["t"];
$q = new mysql();
$ligne = mysql_fetch_array($q->QUERY_SQL("SELECT groupname FROM haproxy_acls_groups WHERE ID='{$_GET["gpid"]}'", "artica_backup"));
$title = $tpl->javascript_parse_text($ligne["groupname"]);
if ($title == null) {
$title = $tpl->javascript_parse_text("{group} {$ID}");
}
$array["popup"] = $title;
$array["items"] = "{items}";
while (list($num, $ligne) = each($array)) {
if ($num == "popup") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?popup=yes&gpid={$_GET["gpid"]}\" style='font-size:18px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "items") {
$html[] = $tpl->_ENGINE_parse_body("<li><a href=\"haproxy.acls.items.php?gpid={$_GET["gpid"]}\" style='font-size:18px'><span>{$ligne}</span></a></li>\n");
continue;
}
}
echo build_artica_tabs($html, "haproxy_groups_{$_GET["gpid"]}");
}
示例12: tabs
function tabs()
{
$page = CurrentPageName();
$users = new usersMenus();
if (!$users->stunnel4_installed) {
echo FATAL_ERROR_SHOW_128("{stunnel_not_installed}");
die;
}
$tpl = new templates();
$sock = new sockets();
$page = CurrentPageName();
$height = "850px";
$array["status"] = '{status}';
$array["rules"] = '{rules}';
$style = "style='font-size:20px'";
if (isset($_GET["font-size"])) {
$style = "style='font-size:22px'";
}
while (list($num, $ligne) = each($array)) {
if ($num == "rules") {
$html[] = $tpl->_ENGINE_parse_body("<li {$style}>\n\t\t\t\t\t<a href=\\system.network.stunnel4.rules.php\">\n\t\t\t\t\t<span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "authentication") {
$html[] = "<li {$style}><a href=\"postfix.index.php?popup-auth=yes&hostname={$hostname}\"><span>{$ligne}</span></a></li>\n";
continue;
}
$html[] = "<li {$style}><a href=\"{$page}?{$num}=yes\"><span>{$ligne}</span></a></li>\n";
}
echo build_artica_tabs($html, "main_tabs_stunnel4", 1200) . "<script>LeftDesign('ssl-256-white.png');</script>";
}
示例13: websites_script_tab
function websites_script_tab()
{
$servername = $_GET["servername"];
$page = CurrentPageName();
$tpl = new templates();
$q = new mysql();
$array["conf"] = "{configuration}";
$array["events"] = '{access_events}';
$fontsize = 18;
while (list($num, $ligne) = each($array)) {
if ($num == "conf") {
$tab[] = $tpl->_ENGINE_parse_body("<li><a href=\"{$page}?website-script=yes&servername={$servername}\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "events") {
$tab[] = $tpl->_ENGINE_parse_body("<li><a href=\"nginx.access-events.php?servername={$servername}\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
if ($num == "destinations") {
$tab[] = $tpl->_ENGINE_parse_body("<li><a href=\"nginx.destinations.php?ID={$ID}\" style='font-size:{$fontsize}px'><span>{$ligne}</span></a></li>\n");
continue;
}
$tab[] = "<li style='font-size:{$fontsize}px'><a href=\"{$page}?{$num}=yes&ID={$ID}\"><span >{$ligne}</span></a></li>\n";
}
$t = time();
//
echo build_artica_tabs($tab, "main_script_nginx_tabs");
}
示例14: tabs
function tabs(){
$sock=new sockets();
$fontsize=16;
$tpl=new templates();
$page=CurrentPageName();
$array["popup"]='{sources_files}';
$array["parameters"]='{log_retention}';
$array["schedule"]='{schedules}';
while (list ($num, $ligne) = each ($array) ){
if($num=="parameters"){
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"squid.accesslogs.params.php?parameters=yes\" style='font-size:{$fontsize}px'><span>$ligne</span></a></li>\n");
continue;
}
if($num=="schedule"){
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"squid.databases.schedules.php?TaskType=54\" style='font-size:{$fontsize}px'><span>$ligne</span></a></li>\n");
continue;
}
$html[]= $tpl->_ENGINE_parse_body("<li><a href=\"$page?$num=yes\" style='font-size:{$fontsize}px'><span>$ligne</span></a></li>\n");
}
echo build_artica_tabs($html, "main_squid_logs_sources");
}
示例15: popup
function popup()
{
$q = new mysql();
$page = CurrentPageName();
$tpl = new templates();
$sock = new sockets();
$EnableZarafaMulti = $sock->GET_INFO("EnableZarafaMulti");
$ZarafaDedicateMySQLServer = $sock->GET_INFO("ZarafaDedicateMySQLServer");
if (!is_numeric($ZarafaDedicateMySQLServer)) {
$ZarafaDedicateMySQLServer = 0;
}
$users = new usersMenus();
if (!is_numeric($EnableZarafaMulti)) {
$EnableZarafaMulti = 0;
}
$array["status"] = "{APP_Z_PUSH}";
$array["www"] = "{webservers}";
$array["update"] = "{update}";
$fontsize = "font-size:24px;";
while (list($num, $ligne) = each($array)) {
if ($num == "www") {
$html[] = "<li><a href=\"freeweb.servers.php?force-groupware=Z-PUSH\" style='{$fontsize}' ><span>{$ligne}</span></a></li>\n";
continue;
}
$html[] = "<li><a href=\"{$page}?{$num}=yes\" style='{$fontsize}' ><span>{$ligne}</span></a></li>\n";
}
$html = build_artica_tabs($html, 'main_zarafazpush', 1490) . "\n\t\t<script>LeftDesign('push-mail-256-opac20.png');</script>";
echo $html;
}