Example #1
0
function header_main()
{
    global $gbl, $sgbl, $login, $ghtml;
    initProgram();
    init_language();
    print_open_head_tag();
    print_meta_tags();
    print_meta_css();
    if ($login->isDefaultSkin()) {
        print "<!-- Default Theme -->\n";
        print_header_default();
    } else {
        print_close_head_tag();
        print "<!-- Feather Theme -->\n";
        print_header_feather();
    }
    print "</body>\n</html>\n";
}
Example #2
0
function lpanel_main()
{
    global $gbl, $login, $ghtml;
    initProgram();
    init_language();
    print_open_head_tag();
    print_meta_tags();
    print_meta_css();
    print_meta_css_lpanel();
    $gbl->__navigmenu = null;
    $gbl->__navig = null;
    $catched = false;
    $ghtml->print_include_jscript('left_panel');
    $ghtml->print_jscript_source("/htmllib/js/lpanel-tabs.js");
    try {
        $ghtml->tab_vheight();
    } catch (exception $e) {
        print_close_head_tag();
        print "<body>\n";
        print "The Resource List could not gathered....{$e->getMessage()}<br> \n";
        $catched = true;
    }
    if (!$catched) {
        print_close_head_tag();
        print "<body>\n";
    }
    // The div id's tabs1 script markup tree-div tab-content are generated from lpanel-tabs.js
    print "<div class=\"lpanelmain\" id=\"tabs1\">\n";
    print "<div id=\"script\" class=\"lpanelnormal tab-content\">\n";
    print "<br>\n";
    $ghtml->xp_panel($login);
    print "</div>\n";
    print "<div id=\"markup\" class=\"tab-content\">\n";
    print "<div id=\"tree-div\" class=\"lpaneltree\">\n";
    print "</div>\n";
    print "</div>\n";
    print "</div>\n";
    print "</body>\n";
    print "</html>\n";
}
Example #3
0
<?php

chdir("../../");
include_once "htmllib/lib/displayinclude.php";
initProgram();
init_language();
print_open_head_tag();
print_meta_tags();
print_meta_css();
print_head_javascript();
print_close_head_tag();
print "<body topmargin=0 leftmargin=0> ";
print "<div id=statusbar  style='background:#f0f0ff;scroll:auto;height:100%;width:100%;border-top:1px solid #aaaacf;margin:0 0 0 0:vertical-align:top;text-align:top'></div> </body> ";
Example #4
0
function do_display_init()
{
    global $gbl, $sgbl, $login, $ghtml;
    $skindir = $login->getSkinDir();
    $col = $login->getSkinColor();
    check_if_disabled_and_exit();
    if (!ifSplashScreen()) {
        ob_start();
    }
    createPrincipleObject();
    print_open_head_tag();
    print_meta_tags();
    print_meta_css();
    if ($gbl->getSessionV('__refresh_lpanel') == 'true') {
        print "<script>top.leftframe.window.location.reload();</script>\n";
        print "<script>top.topframe.window.location.reload();</script>\n";
        $gbl->unsetSessionV('__refresh_lpanel');
    }
    if ($ghtml->frm_refresh_lpanel === 'true') {
        unset($ghtml->__http_vars['frm_refresh_lpanel']);
        print "<script>top.leftframe.window.location.reload();</script>\n";
        print "<script>top.topframe.window.location.reload();</script>\n";
    }
    print_close_head_tag();
    print "<!-- Start MainFrame Body -->\n";
    $ghtml->print_body();
    if (!$login->isDefaultSkin()) {
        // Show header picture
        print "<!-- Display Theme image -->\n";
        print_head_image();
    }
    if ($sgbl->isKloxo() && $gbl->c_session->ssl_param) {
        $url = $gbl->c_session->ssl_param['backurl'];
        $parent = $gbl->c_session->ssl_param['parent_clname'];
        print "<!-- Load HyperVM to Kloxo session table -->\n";
        print "<table cellpadding=\"0\" height=\"26\" cellspacing=\"0\" background=\"{$skindir}/expand.gif\">\n";
        print "<tr>\n";
        print "<td nowrap><a href=\"{$url}\">Back to HyperVM ({$parent})</a></td>\n";
        print "<td width=\"10\">&nbsp;|&nbsp;</td>\n";
        print "<td>Kloxo</td>\n";
        print "<td width=\"10\">&nbsp;|&nbsp;</td>\n";
        print "<td><a href=\"/display.php?frm_action=show\">Home</a></td>\n";
        print "<td width=\"10\">&nbsp;|&nbsp;</td>\n";
        print "<td><a href=\"/display.php?frm_action=list&frm_o_cname=all_domain\">All</a></td>\n";
        print "<td width=\"10\">&nbsp;|&nbsp;</td>\n";
        print "<td><a href=\"/display.php?frm_action=list&frm_o_cname=client\">Clients</a></td>\n";
        print "<td width=\"100%\">&nbsp;</td>\n";
        print "<td><a href=\"/htmllib/phplib/logout.php\">Logout</a></td>\n";
        print "</tr>\n";
        print "</table>\n";
    }
    if ($gbl->c_session->consuming_parent) {
        print "<!-- Load from Kloxo to HyperVM session (Consumed) -->\n";
        print "<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"{$col}\">\n";
        print "<tr>\n";
        print "<td nowrap>Consumed Login</td>\n";
        print "<td><a href=\"/display.php?frm_consumedlogin=true&frm_action=desktop\">Desktop</a></td>\n";
        print "<td width=\"100%\">&nbsp;</td>\n";
        print "<td><a href=\"/htmllib/phplib/logout.php?frm_consumedlogin=true\">Logout</a></td>\n";
        print "</tr>\n";
        print "</table>\n";
    }
    print "<!-- Load Splash -->\n";
    $ghtml->print_splash();
    if (ifSplashScreen()) {
        flush();
        ob_start();
    }
    print "<!-- Print Start -->\n";
    $ghtml->print_start();
    $gbl->__this_redirect = null;
}