Beispiel #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";
}
Beispiel #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";
}
Beispiel #3
0
function print_header_default()
{
    global $gbl, $login, $ghtml;
    $ttype = $login->cttype;
    $ghtml->print_include_jscript("header");
    $skin = $login->getSkinDir();
    $logo = "/img/kloxo-logo.gif";
    $logo_loading = "/img/kloxo-splash.gif";
    ?>
<script>

function changeLogo(flag)
{
	imgob = document.getElementById('main_logo');
	if (!imgob) {
		return;
	}
	if (flag) {
		imgob.src = '<?php 
    echo $logo_loading;
    ?>
';
	} else {
		imgob.src = '<?php 
    echo $logo;
    ?>
';
	}
}
</script>
<?php 
    print_close_head_tag();
    createNavigationTabData();
    ?>
<!-- Start Body -->
<body>
<!-- Start Header Table -->
<table width="100%" height="58" valign="top" align="center">
<tr>
    <td width="100%" style="background: url(<?php 
    echo $login->getSkinDir();
    ?>
/header_top_bg.gif);"></td>
    <td width="326" style="background: url(<?php 
    echo $login->getSkinDir();
    ?>
/header_top_rt.gif); background-repeat: no-repeat;">
        <table width="326">
            <tr align="right">
                <td width="200">&nbsp;</td>
                <td align="right">
                    <img id="main_logo" width="84" height="23" src="<?php 
    echo $logo_loading;
    ?>
">
                </td>
                <td width="10%">&nbsp;</td>
            </tr>
        </table>
    </td>
</tr>
</table>
<!-- End Header Table -->
 <!-- Start navigation -->
  <!-- Main Table -->
<table width="100%" background="<?php 
    echo $login->getSkinDir();
    ?>
/header_panel_bg.gif">
<tr><!-- Main  Row -->
<?php 
    print "<!-- Cell Left -->\n";
    $count = 1;
    $count += 83;
    print "<!-- Load button Home (Left) -->\n";
    print_a_button("left", $ttype, "home", $count, 1);
    $count += 83;
    print "<!-- Load other buttons (Left) -->\n";
    print_left_side($ttype, $count);
    print "<!-- Cell Middle -->\n";
    print "<td width=\"100%\">&nbsp;</td>\n";
    print "<!-- Cell Right -->\n";
    if (!$login->is__table('mailaccount')) {
        if (!$login->is__table('ticket')) {
            print "<!-- Load button Ticket (Right) -->\n";
            print_a_right_button("right", $ttype, "ticket", 294);
        }
        print "<!-- Load button Session (Right) -->\n";
        print_a_right_button("right", $ttype, "ssession", 150);
        print "<!-- Load button Help (Right) -->\n";
        print_a_right_button("right", $ttype, "help", 150);
    }
    print "<!-- Load button LogOut (Right) -->\n";
    print_a_right_button("right", $ttype, "logout", 190);
    print "</tr><!-- End Main Row -->\n</table><!-- End Main Table -->\n";
}
Beispiel #4
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> ";
Beispiel #5
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;
}