Пример #1
0
 /**
  * Displays Septenary Footer
  */
 protected function displayFooter()
 {
     $locale = self::$locale;
     $settings = fusion_get_settings();
     $this->open_grid('footer', true);
     echo "<div class='footer-row row'>\n";
     echo "<div class='hidden-xs col-sm-3 col-md-3 col-lg-3'>\n";
     echo "<img style='width:80%;' alt='" . $locale['sept_011'] . "' class='img-responsive' src='" . THEME . "images/htmlcss.jpg' />";
     echo "</div>\n";
     echo "<div class='col-xs-12 col-sm-9 col-md-9 col-lg-9 footer-right-col'>\n";
     echo "<div class='pull-right'>\n";
     echo "<a href='#top'><i style='font-size:50px;' class='entypo mid-opacity up-circled'></i></a>\n";
     echo "</div>\n";
     echo "<p class='text-left'>" . stripslashes(strip_tags($settings['footer'])) . "</p>\n\t    <p>" . showcopyright() . "</p>\n\t    <p>Septenary Theme by <a href='https://www.php-fusion.co.uk/profile.php?lookup=3674' target='_blank'>Craig</a> and <a href='https://www.php-fusion.co.uk/profile.php?lookup=16331' target='_blank'>Chan</a></p>\n\t    <p>";
     if ($settings['visitorcounter_enabled']) {
         echo "<p>" . showcounter() . "</p>\n";
     }
     if ($settings['rendertime_enabled'] == '1' || $settings['rendertime_enabled'] == '2') {
         // Make showing of queries and memory usage separate settings
         echo showrendertime();
         echo showMemoryUsage();
     }
     $footer_errors = showFooterErrors();
     if (!empty($footer_errors)) {
         echo "<div>\n" . showFooterErrors() . "</div>\n";
     }
     echo "</p>\n";
     echo "</div>\n";
     echo "</div>\n";
     $this->close_grid(1);
 }
Пример #2
0
function render_page($license = false)
{
    global $settings, $main_style;
    //Header
    echo "<div class='outer-border {$main_style}' style='background-color:#fff;width:" . THEME_WIDTH . ";'>\n";
    echo "<div class='floatfix'>\n";
    echo "<div class='full-header floatfix'>\n\n" . showbanners() . "</div>\n";
    echo "<div class='sub-header floatfix'>\n";
    echo "<div style='float:left;'>" . showsublinks(" <span class='bullet'>&middot;</span> ", "white") . "</div>\n";
    echo "<div style='float:right;'>" . showsubdate() . "</div>\n";
    echo "</div></div>\n";
    //Content
    if (LEFT) {
        echo "<div id='side-border-left'>" . LEFT . "</div>\n";
    }
    if (RIGHT) {
        echo "<div id='side-border-right'>" . RIGHT . "</div>\n";
    }
    echo "<div id='main-bg' class='clearfix'><div id='container'>" . U_CENTER . CONTENT . L_CENTER . "</div></div>\n";
    //Footer
    echo "<div class='footer clear' style='text-align:center;'>" . stripslashes($settings['footer']) . "<br />\n";
    if ($license == false) {
        echo showcopyright() . "<br /><br />\n";
    }
    echo showcounter() . "<br /><br />\n";
    echo "</div>\n</div>\n";
}
Пример #3
0
function render_page($license = false)
{
    global $settings, $main_style;
    //Header
    echo "<table cellspacing='0' cellpadding='0' width='" . THEME_WIDTH . "' class='outer-border center'>\n<tr>\n";
    echo "<td>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='full-header'>\n" . showbanners() . "</td>\n";
    echo "</tr>\n</table>\n";
    echo "</td>\n</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header'>" . showsublinks(" <span class='bullet'>&middot;</span> ", "white") . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showsubdate() . "</td>\n";
    echo "</tr>\n</table>\n";
    //Content
    echo "<table cellpadding='0' cellspacing='0' width='100%' class='{$main_style}'>\n<tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo "</tr>\n</table>\n";
    //Footer
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td align='center' class='footer'>" . stripslashes($settings['footer']) . "<br />\n";
    if (!$license) {
        echo showcopyright() . "<br /><br />\n";
    }
    echo showcounter() . "<br /><br />\n";
    echo "</td>\n</tr>\n</table>\n";
    echo "</td>\n</tr>\n</table>\n";
}
Пример #4
0
function render_page($license = false)
{
    global $settings, $locale, $userdata, $aidlink, $theme_width, $bottom_navbar_string, $ver;
    //Header
    echo "<table cellpadding='0' cellspacing='0' width='{$theme_width}' align='center'><tr>";
    echo "<td class='full-header'>&nbsp;</td>";
    echo "<td class='sub-header'>" . showsublinks("", "white") . "";
    echo "<td class='sub-headerright'>&nbsp;</td>";
    echo "</tr></table>";
    echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
    echo "<td class='ad'>&nbsp;</td>";
    echo "</tr></table>";
    //Content
    echo "<table cellpadding='0' cellspacing='0' width='{$theme_width}' align='center'><tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo "</tr>\n</table>\n";
    //Footer
    echo "<table cellpadding='0' cellspacing='0' width='{$theme_width}' align='center'>\n<tr>\n";
    echo "<td><img src='" . THEME . "/images/pfboxfooterleft.jpg' align='right' alt='image' /></td>\n";
    echo "<td align='left' class='bottom-footer' width='50%'>ArcSite CMS v{$ver} by The_Red<br/>Built Using <a target='_blank' href='http://www.php-fusion.co.uk/'>PHP-Fusion v7.00.07</a><br/></td>\n";
    echo "<td align='right' class='bottom-footer' width='50%'>{$bottom_navbar_string}<br/>" . showcounter() . "</td>\n";
    echo "<td><img src='" . THEME . "/images/pfboxfooterright.jpg' align='left' alt='image' /></td>\n";
    echo "</tr>\n</table>\n";
}
Пример #5
0
function render_page($license = false)
{
    global $aidlink, $locale, $settings, $colour_switcher, $fontsize_switcher, $main_style;
    echo "\n\t<div id='main' style='width: " . THEME_WIDTH . ";'>\n\t\t<div id='uborder' class='clearfix'>\n\t\t\t<div id='ucornerl' class='flleft'></div>\n\t\t\t<div id='ucornerr' class='flright'></div>\n\t\t</div>\n\t\t<div id='borderr'>\n\t\t\t<div id='borderl'>\n\t\t\t\t<div id='cont' class='clearfix {$main_style}'>\n\t\t\t\t\t<div id='userbar' class='floatfix'>\n\t\t\t\t\t\t<ul id='anchors' class='flleft'><li><a href='#Content'>" . $locale['global_210'] . "</a></li></ul>\n\t\t\t\t\t\t<ul id='links' class='clearfix flright'>\n";
    if (iMEMBER) {
        echo "\t\t\t\t\t\t\t<li><a href='" . BASEDIR . "edit_profile.php'>" . $locale['global_120'] . "</a></li>\n\t\t\t\t\t\t\t<li><a href='" . BASEDIR . "messages.php'>" . $locale['global_121'] . "</a></li>\n\t\t\t\t\t\t\t" . (iADMIN ? "<li><a href='" . ADMIN . "index.php" . $aidlink . "' >" . $locale['global_123'] . "</a></li>" : "") . "\n\t\t\t\t\t\t\t<li><a href='" . BASEDIR . "setuser.php?logout=yes'>" . $locale['global_124'] . "</a></li>\n";
    } else {
        echo "\t\t\t\t\t\t\t<li><a href='" . BASEDIR . "login.php'>" . $locale['global_104'] . "</a></li>\n\t\t\t\t\t\t\t" . ($settings['enable_registration'] ? "<li><a href='" . BASEDIR . "register.php'>" . $locale['global_107'] . "</a></li>\n" : "");
    }
    echo "\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div id='mainheader' class='clearfix'>" . showbanners() . "</div>\n\t\t\t\t\t<div id='subheader' class='clearfix'>" . preg_replace("^(li)( class='(first-link)')*(><a href='(\\.\\./)*" . preg_quote(START_PAGE) . "')^i", "\\1 class='active \\3'\\4", showsublinks("")) . "\n\t\t\t\t\t\t" . $colour_switcher->makeForm("flright") . " \n\t\t\t\t\t\t" . $fontsize_switcher->makeForm("flright") . "\n\t\t\t\t\t</div>\n\t\t\t\t\t" . (LEFT ? "<div id='side-border-left'>" . LEFT . "</div>" : "") . "\n\t\t\t\t\t" . (RIGHT ? "<div id='side-border-right'>" . RIGHT . "</div>" : "") . "\n\t\t\t\t\t<div id='main-bg'><div id='container'>" . U_CENTER . CONTENT . L_CENTER . "\n\t\t\t\t\t</div></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div id='lborder'>\n\t\t\t<div id='lcornerl' class='flleft'></div>\n\t\t\t<div id='lcornerr' class='flright'></div>\n\t\t</div>\n\t\t<div id='footer' class='clearfix'>\n\t\t\t" . (!$license ? "<div class='flleft' style='width: 50%'>" . showcopyright() . "<br />\n Theme designed by <a href='http://matonor.com'>Max Toball</a></div>" : "") . "\n\t\t\t<div class='flright' style='width: 50%; text-align: right;'>" . stripslashes($settings['footer']) . "</div>\n\t\t</div>\n\t\t<div id='subfooter' class='clearfix'>\n\t\t\t<div class='flleft' style='width: 50%'>" . sprintf($locale['global_172'], substr(get_microtime() - START_TIME, 0, 4)) . "</div>\n\t\t\t<div class='flright' style='width: 50%; text-align: right;'>" . showcounter() . "</div>\n\t\t</div>\n\t</div>";
}
Пример #6
0
function render_page($license = false)
{
    global $locale, $aidlink, $main_style, $settings;
    echo "<div id='main' style='width: " . THEME_WIDTH . "; left: 50%; margin-left: -47.5%;'>\n\t<div id='header'>\n\t\t<div id='userbar'>\n\t\t\t<ul id='anchors' class='flleft'><li><a href='#Content'>" . $locale['global_210'] . "</a></li></ul>\n\t\t\t<ul id='links' class='clearfix flright'>\n";
    if (iMEMBER) {
        echo "\t\t\t\n\t\t\t\t<li><img src='" . THEME . "images/profile.gif' alt='" . $locale['global_120'] . "' /><a href='" . BASEDIR . "edit_profile.php'>" . $locale['global_120'] . "</a></li>\n\t\t\t\t<li><img src='" . THEME . "images/pm.gif' alt='" . $locale['global_121'] . "' /><a href='" . BASEDIR . "messages.php'>" . $locale['global_121'] . "</a></li>\n\t\t\t\t" . (iADMIN ? "<li><img src='" . THEME . "images/admin.gif' alt='" . $locale['global_123'] . "' /><a href='" . ADMIN . "index.php" . $aidlink . "' >" . $locale['global_123'] . "</a></li>" : "") . "\n\t\t\t\t<li><img src='" . THEME . "images/logout.gif' alt='" . $locale['global_124'] . "' /><a href='" . BASEDIR . "setuser.php?logout=yes'>" . $locale['global_124'] . "</a></li>\n";
    } else {
        echo "\t\t\t<li><img src='" . THEME . "images/login.gif' alt='" . $locale['global_104'] . "' /><a href='" . BASEDIR . "login.php'>" . $locale['global_104'] . "</a></li>\n";
    }
    echo "\t\t</ul>\n\t\t</div>\n\t\t<div id='mainheader' class='clearfix'>\n\t\t\t<img src='" . THEME . "images/userbar_shadow.jpg' id='userbar_shadow' alt='---------' />\n\t\t\t" . showbanners() . "\n\t\t</div>\n\t\t<img src='" . THEME . "images/subheader_l.jpg' class='flleft' alt='' />\n\t\t<img src='" . THEME . "images/subheader_r.jpg' class='flright' alt='' />\n\t\t<div id='subheader' class='clearfix'>" . showsublinks(" ") . "</div>\n\t</div>\n\t<div id='cont' class='clearfix {$main_style}'>\n\t\t<img src='" . THEME . "images/side_tl.gif' id='side_tl' alt='' />\n\t\t<img src='" . THEME . "images/side_tr.gif' id='side_tr' alt='' />\n\n\t\t" . (LEFT ? "<div id='side-border-left'>" . LEFT . "</div>" : "") . "\n\t\t" . (RIGHT ? "<div id='side-border-right'>" . RIGHT . "</div>" : "") . "\n\t\t<div id='main-bg'><div id='container'>" . U_CENTER . CONTENT . L_CENTER . "\n\t\t</div></div>\n\t</div>\n\t<img src='" . THEME . "images/side_bl.jpg' class='flleft' alt='' />\n\t<img src='" . THEME . "images/side_br.jpg' class='flright' alt='' />\n\t<div id='cont_b'></div>\n\t<div id='footer' class='clearfix'>\n\t\t" . (!$license ? "<div class='flleft' style='width: 50%'>" . showcopyright() . "<br />\n Theme designed by <a href='http://matonor.com'>Max Toball</a></div>" : "") . "\n\t\t<div class='flright' style='width: 50%; text-align: right;'>" . stripslashes($settings['footer']) . "</div>\n";
    echo "\t</div>\n\t<div id='subfooter' class='clearfix'>\n\t\t<div class='flleft' style='width: 50%'>" . sprintf($locale['global_172'], substr(get_microtime() - START_TIME, 0, 4)) . "</div>\n\t\t<div class='flright' style='width: 50%; text-align: right;'>" . showcounter() . "</div>\n\t</div>\n</div>";
}
Пример #7
0
function render_page($license = FALSE)
{
    global $settings, $main_style, $locale, $mysql_queries_time;
    //Header
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='full-header'>\n" . showbanners() . "</td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td class='sub-header'>" . showsublinks(" " . THEME_BULLET . " ", "white") . "</td>\n";
    echo "<td align='right' class='sub-header'><div class='hidden-xs'>" . showsubdate() . "</div>\n</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    if ($main_style == "") {
        $colspan = "";
    } elseif ($main_style == "side-both") {
        $colspan = "colspan='3'";
    } else {
        $colspan = "colspan='2'";
    }
    //Content
    echo renderNotices(getNotices(array('all', FUSION_SELF)));
    echo "<table cellpadding='0' cellspacing='0' width='100%' class='{$main_style}'>\n";
    echo AU_CENTER ? "<tr><td class='main-bg' " . $colspan . " valign='top'>" . AU_CENTER . "</td>\n</tr>\n<tr>\n" : "<tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo BL_CENTER ? "</tr>\n<tr><td class='main-bg' " . $colspan . " valign='top'>" . BL_CENTER . "</td>\n</tr>\n<tr>\n" : "";
    echo "</tr>\n</table>\n";
    //Footer
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td align='left' class='sub-header'>" . showrendertime() . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showcounter() . "</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td align='center' class='main-footer'>" . stripslashes($settings['footer']);
    if (!$license) {
        echo "<br /><br />\n" . showcopyright();
    }
    echo "</td>\n";
    echo "</tr>\n</table>\n";
    /*foreach ($mysql_queries_time as $query) {
    		echo $query[0]." QUERY: ".$query[1]."<br />";
    	}*/
}
Пример #8
0
function render_page($license = false)
{
    add_handler("theme_output");
    global $settings, $main_style, $locale, $colour_switcher, $mysql_queries_time;
    //Wrapper
    echo "<div class='wrapper' style='width:" . THEME_WIDTH . ";'>\n";
    //Header
    echo "<div class='main-header'>\n" . showbanners() . "</div>\n";
    echo "<div class='sub-header clearfix floatfix'>" . showsublinks("", "") . "</div>\n";
    // Content
    echo "<div class='main-bg'>\n";
    if (LEFT) {
        echo "<div id='side-left'>" . LEFT . "</div>\n";
    }
    if (RIGHT) {
        echo "<div id='side-right'>" . RIGHT . "</div>\n";
    }
    echo "<div id='side-center' class='" . $main_style . "'>";
    echo "<div class='upper'>" . U_CENTER . "</div>\n";
    echo "<div class='content'>" . CONTENT . "</div>\n";
    echo "<div class='lower'>" . L_CENTER . "</div>\n";
    echo "</div>\n";
    echo "<div class='clear'></div>\n";
    echo "</div>\n";
    //Footer
    echo "<div class='sub-footer-top'></div>\n";
    echo "<div class='sub-footer clearfix'>\n";
    if ($settings['rendertime_enabled'] == 1 || $settings['rendertime_enabled'] == 2 && iADMIN) {
        echo "<div class='flleft' style='padding-top: 8px;'>" . showrendertime() . "<br />" . showcounter() . "</div>\n";
    } else {
        echo "<div class='flleft' style='padding: 15px 0 6px 0;'>" . showcounter() . "</div>\n";
    }
    //echo "<div class='flright' style='padding: 15px 0 6px 0;'>".showsubdate()."</div>\n";
    echo "<div style='padding: 15px 0 6px 0;'>" . $colour_switcher->makeForm("flright") . "</div>\n";
    echo "</div>\n";
    echo "<div class='main-footer clearfix'>\n";
    echo "<div class='flleft'>\n";
    if (!$license) {
        echo showcopyright();
    }
    echo "<br />Theme designed by <a href='http://www.agxthemes.com'>Falcon</a></div>\n";
    echo "<div class='flright' style='width: 50%; text-align: right;'>" . stripslashes($settings['footer']) . "</div>\n";
    echo "</div>\n";
    echo "</div>\n";
}
Пример #9
0
function render_page($license = false)
{
    global $aidlink, $ver, $navbar_links, $settings, $main_style, $locale, $userdata, $lettering_string, $use_flash, $neon_banner_path, $flash_banner_path, $site_footer, $fusion_version;
    echo "<table align='center' cellspacing='0' cellpadding='0' width='" . THEME_WIDTH . "' class='outer-border'>\n<tr>\n<td>\n<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td class='full-header'>\n  <table cellpadding='0' cellspacing='0' width='100%'>\n    <tr>\n      <p><td width='100%' height='111'>";
    if ($use_flash == 1) {
        echo "<object type='application/x-shockwave-flash' data={$flash_banner_path} width='898' height='242'>\n<param name='movie' value={$flash_banner_path} /><param name='wmode' value='transparent'>\n </object>";
        for ($b = 0; $b <= Configuration::Get('lettering.begin.spaces'); $b++) {
            echo "<img src='" . BASEDIR . "images/logo/wotlk/space.png' align='center' />";
        }
        if (Configuration::Get('lettering.message') != '') {
            echo $lettering_string;
        }
    }
    if ($use_flash == 0) {
        if ($neon_banner_path != '') {
            echo "<img src='" . $neon_banner_path . "' align='center'>";
        }
    }
    echo "</td></p>\n    </tr>\n  </table>\n  </td></tr>\n</tr></table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td width='140'><img src='" . THEME . "images/menuleft.gif' alt='' style='border-left: 1px #a7a7a7 solid;' /></td>\n<td align='center' class='sub-header-alti'>" . showsublinks(" | ") . "</td>\n<td width='140'><img src='" . THEME . "images/menuright.gif' alt='' style='border-right: 1px #a7a7a7 solid;' /></td>\n</tr>\n</table>\n";
    //echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    //Content
    echo "<table cellpadding='0' cellspacing='0' class='border' width='" . THEME_WIDTH . "' align='center'>\n<tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo "</tr>\n</table>\n";
    //footer
    echo "<table cellpadding='0' cellspacing='0' width='" . THEME_WIDTH . "' align='center'>\n<tr>\n<td align='left' width='50%' height='241' class='footer'><br/>\n";
    if (!$license) {
        echo "<br/>";
        echo "ArcSite CMS v" . $ver . " Scripted by <font color=red>The_Red</font>";
        echo " | \n";
    }
    echo showcounter() . "<br/>Built Using <a target='_blank' href='http://www.php-fusion.co.uk/'>PHP-Fusion v7.00.07</a><br/>\n<a href='http://validator.w3.org/check?uri=referer'><img src='" . THEME . "images/vhtml.png' alt='XHTML' /></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://jigsaw.w3.org/css-validator/check/referer'><img src='" . THEME . "images/vcss.png' alt='CSS' /></a>\n</td>\n<td align='right' width='50%' class='footerright'>\n";
    echo "{$navbar_links}<br/><br/><br/><br/>\n";
    echo "</td>\n</tr>\n</table>\n</td>\n</tr>\n</table>\n";
}
Пример #10
0
function render_page($license = false)
{
    global $settings, $main_style, $locale, $mysql_queries_time;
    //Header
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='full-header'>\n" . showbanners() . "</td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td class='sub-header'>" . showsublinks(" " . THEME_BULLET . " ", "white") . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showsubdate() . "</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    //Content
    echo "<table cellpadding='0' cellspacing='0' width='100%' class='{$main_style}'>\n<tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo "</tr>\n</table>\n";
    //Footer
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td align='left' class='sub-header'>" . showrendertime() . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showcounter() . "</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td align='center' class='main-footer'>" . stripslashes($settings['footer']);
    if (!$license) {
        echo "<br /><br />\n" . showcopyright();
    }
    echo "</td>\n";
    echo "</tr>\n</table>\n";
    /*foreach ($mysql_queries_time as $query) {
    		echo $query[0]." QUERY: ".$query[1]."<br />";
    	}*/
}
Пример #11
0
function render_page($license = false)
{
    global $settings, $main_style, $locale;
    //Header
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='full-header'>\n" . showbanners() . "</td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td class='sub-header'>" . showsublinks(" " . THEME_BULLET . " ", "white") . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showsubdate() . "</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    //Content
    echo "<table cellpadding='0' cellspacing='0' width='100%' class='{$main_style}'>\n<tr>\n";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main-bg' valign='top'>" . U_CENTER . CONTENT . L_CENTER . "</td>";
    if (RIGHT) {
        echo "<td class='side-border-right' valign='top'>" . RIGHT . "</td>";
    }
    echo "</tr>\n</table>\n";
    //Footer
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td class='sub-header-left'></td>\n";
    echo "<td align='left' class='sub-header'>" . sprintf($locale['global_172'], substr(get_microtime() - START_TIME, 0, 4)) . "</td>\n";
    echo "<td align='right' class='sub-header'>" . showcounter() . "</td>\n";
    echo "<td class='sub-header-right'></td>\n";
    echo "</tr>\n</table>\n";
    echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
    echo "<td align='center' class='main-footer'>" . stripslashes($settings['footer']);
    if (!$license) {
        echo "<br /><br />\n" . showcopyright();
    }
    echo "</td>\n";
    echo "</tr>\n</table>\n";
}
Пример #12
0
function render_page($license = FALSE)
{
    //add_handler("theme_output");
    global $settings, $main_style, $locale, $userdata, $aidlink, $mysql_queries_time;
    // set variables
    $brand = $settings['sitebanner'] ? "<img title='" . $settings['sitename'] . "' style='margin-left:-20px; width:100%; margin-top:-35px;' src='" . BASEDIR . $settings['sitebanner'] . "' />" : $settings['sitename'];
    // set size - max of 12 min of 0
    $side_grid_settings = array('desktop_size' => 2, 'laptop_size' => 3, 'tablet_size' => 3, 'phone_size' => 12);
    // Render Theme
    echo "<div class='container p-t-20 p-b-20'>\n";
    echo "<div class='display-inline-block m-t-20 m-l-20' style='max-width: 280px;'>";
    echo $brand;
    echo "</div>\n";
    echo showsublinks('', '', array('logo' => $brand)) . "\n";
    // row 1 - go for max width
    if (defined('AU_CENTER') && AU_CENTER) {
        echo "<div class='row'>\n<div class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>" . AU_CENTER . "</div>\n</div>";
    }
    // row 2 - fluid setitngs depending on panel appearances
    echo "<div class='row main-body'>\n";
    if (defined('LEFT') && LEFT) {
        echo "<div class='" . html_prefix($side_grid_settings) . " hidden-xs'>\n" . LEFT . "</div>\n";
    }
    // column left
    echo "<div class='" . html_prefix(center_grid_settings($side_grid_settings)) . "'>\n";
    $notices = getNotices();
    if ($notices) {
        echo renderNotices($notices);
    }
    echo U_CENTER . CONTENT . L_CENTER . "</div>\n";
    // column center
    if (defined('RIGHT') && RIGHT) {
        echo "<div class='" . html_prefix($side_grid_settings) . "'>\n" . RIGHT . "</div>\n";
    }
    // column right
    if (defined('LEFT') && LEFT) {
        echo "<div class='" . html_prefix($side_grid_settings) . " hidden-sm hidden-md hidden-lg'>\n" . LEFT . "</div>\n";
    }
    // column left
    echo "</div>\n";
    // row 3
    if (defined('BL_CENTER') && BL_CENTER) {
        echo "<div class='row'>\n<div class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>" . BL_CENTER . "</div>\n</div>";
    }
    // footer
    echo "<hr>\n";
    echo "<div class='row'>\n<div class='col-xs-12 col-sm-12 col-md-12 col-lg-12'>";
    echo "<span>" . stripslashes(strip_tags($settings['footer'])) . "</span><br/>\n";
    echo "<span>" . showcopyright() . "</span><br/>\n";
    echo "<span>Bootstrap Theme by <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion Inc</a></span><br/>\n";
    echo "<span>";
    if ($settings['visitorcounter_enabled']) {
        echo showcounter();
    }
    if ($settings['rendertime_enabled'] == '1' || $settings['rendertime_enabled'] == '2') {
        if ($settings['visitorcounter_enabled']) {
            echo " | ";
        }
        echo showrendertime();
    }
    echo "</span>\n";
    echo "</div>\n</div>\n";
    echo "</div>\n";
}
Пример #13
0
}
if (file_exists(THEME . "locale/" . $settings['locale'] . ".php")) {
    include THEME . "locale/" . $settings['locale'] . ".php";
} else {
    include THEME . "locale/English.php";
}
global $aidlink, $locale;
echo open_grid('footer', 1);
echo "<div class='footer-row row'>\n";
echo "<div class='col-xs-12 col-sm-3 col-md-3 col-lg-3'>\n";
echo "<img style='width:80%;' class='img-responsive' src='" . THEME . "images/htmlcss.jpg'>";
echo "</div>\n";
echo "<div class='col-xs-12 col-sm-9 col-md-9 col-lg-9 footer-right-col'>\n";
echo "<div class='pull-right'>\n";
echo "<h1><a href='#top'><i style='font-size:50px;' class='entypo mid-opacity up-circled'></i></a></h1>\n";
echo "</div>\n";
echo "<p class='text-left'>" . stripslashes(strip_tags($settings['footer'])) . "</p>\r\n\t<p>" . showcopyright() . "</p>\r\n\t<p>Septenary Theme by <a href='http://www.phpfusionmods.co.uk' target='_blank'>Craig</a> and <a href='http://www.guildsquare.com' target='_blank'>Hien</a></p>\r\n\t<p>";
if ($settings['visitorcounter_enabled']) {
    echo "" . showcounter();
}
if ($settings['rendertime_enabled'] == '1' || $settings['rendertime_enabled'] == '2') {
    if ($settings['visitorcounter_enabled']) {
        echo " | ";
    }
    echo showrendertime();
}
echo "</p>\n";
echo "</div>\n";
echo "</div>\n";
echo close_grid(1);
add_to_footer("<script type='text/javascript'>\r\nfunction ValidateForm(frm) {\r\n\tif(frm.stext.value=='') {\r\n\t\talert('You Must Enter Something In The Search!');\r\n\treturn false;\r\n\t}\r\n\tif(frm.stext.value.length < 3){\r\n\t\talert('Search text must be at least 3 characters long!');\r\n\treturn false;\r\n\t}\r\n}\r\n</script>");
Пример #14
0
    function display_maintenance(array $info)
    {
        ?>
        <section class="maintenance container">
            <?php 
        $notices = getNotices();
        if ($notices) {
            echo renderNotices($notices);
        }
        ?>
            <div class="m-t-20 jumbotron text-center">
                <img src='<?php 
        echo fusion_get_settings("sitebanner");
        ?>
' alt='<?php 
        echo fusion_get_settings("sitename");
        ?>
' />
                <?php 
        echo "<h1><strong>" . fusion_get_settings("sitename") . "</strong></h1>\n";
        $message = fusion_get_settings("maintenance_message");
        if (!empty($message)) {
            echo "<h1 class='m-b-20'>" . stripslashes(nl2br(fusion_get_settings("maintenance_message"))) . "</h1>\n";
        }
        if (!empty($info)) {
            ?>
                    <hr/>
                    <div class="well clearfix m-t-20 p-20 p-b-0">
                        <?php 
            echo $info['open_form'];
            ?>
                        <div class="col-xs-12 col-sm-4">
                            <?php 
            echo $info['user_name'];
            ?>
                        </div>
                        <div class="col-xs-12 col-sm-4">
                            <?php 
            echo $info['user_pass'];
            ?>
                        </div>
                        <div class="col-xs-12 col-sm-4">
                            <?php 
            echo $info['login_button'];
            ?>
                        </div>
                    </div>
                    <?php 
            echo $info['close_form'];
        }
        ?>
            </div>
            <div class="text-center">
                <?php 
        echo showcopyright();
        ?>
                <?php 
        echo showcounter();
        ?>
                <?php 
        echo showMemoryUsage();
        ?>
            </div>
        </section>
        <?php 
    }
Пример #15
0
    include THEME . "locale/" . LANGUAGE . ".php";
} else {
    include THEME . "locale/English.php";
}
global $aidlink, $locale;
open_grid('footer', true);
echo "<div class='footer-row row'>\n";
echo "<div class='hidden-xs col-sm-3 col-md-3 col-lg-3'>\n";
echo "<img style='width:80%;' alt='" . $locale['sept_011'] . "' class='img-responsive' src='" . THEME . "images/htmlcss.jpg' />";
echo "</div>\n";
echo "<div class='col-xs-12 col-sm-9 col-md-9 col-lg-9 footer-right-col'>\n";
echo "<div class='pull-right'>\n";
echo "<a href='#top'><i style='font-size:50px;' class='entypo mid-opacity up-circled'></i></a>\n";
echo "</div>\n";
echo "<p class='text-left'>" . stripslashes(strip_tags($settings['footer'])) . "</p>\n\t<p>" . showcopyright() . "</p>\n\t<p>Septenary Theme by <a href='http://www.phpfusionmods.co.uk' target='_blank'>Craig</a> and <a href='http://www.guildsquare.com' target='_blank'>Hien</a></p>\n\t<p>";
if ($settings['visitorcounter_enabled']) {
    echo showcounter();
}
if ($settings['rendertime_enabled'] == '1' || $settings['rendertime_enabled'] == '2') {
    if ($settings['visitorcounter_enabled']) {
        echo "<br />";
    }
    // Make showing of queries and memory usage separate settings
    echo showrendertime();
    echo showMemoryUsage();
}
echo "</p>\n";
echo "</div>\n";
echo "</div>\n";
close_grid(1);
add_to_footer("<script type='text/javascript'>\nfunction ValidateForm(frm) {\n\tif(frm.stext.value=='') {\n\t\talert('You Must Enter Something In The Search!');\n\treturn false;\n\t}\n\tif(frm.stext.value.length < 3){\n\t\talert('Search text must be at least 3 characters long!');\n\treturn false;\n\t}\n}\n</script>");