Пример #1
0
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Name: Septenary Theme
| Filename: content.php
| Version: 1.00
| Author: PHP-Fusion Mods UK
| Developer & Designer: Craig
| Site: http://www.phpfusionmods.co.uk
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) {
    die("Access Denied");
}
open_grid('section-3', 1);
echo "<div class='row'>\n";
echo "<div class='col-xs-12 col-sm-3 col-md-3 col-lg-3 leftbar'>\n";
echo RIGHT . LEFT;
echo "</div>\n";
echo "<div class='col-xs-12 col-sm-9 col-md-9 col-lg-9 main-content'>\n";
echo U_CENTER . CONTENT . L_CENTER;
echo "</div>\n";
echo "</div>\n";
close_grid(1);
Пример #2
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>");
Пример #3
0
    echo "<div class='col-sm-3 col-md-3 col-lg-3 section-2-tab text-center'>\n";
    echo "<a href='" . BASEDIR . "forum/index.php'>\n";
    echo "<i class='entypo icomment'></i>\n";
    echo "<h4>Discussion</h4>";
    echo "</a>\n";
    echo "</div>\n";
    echo "<div class='col-sm-3 col-md-3 col-lg-3 section-2-tab text-center'>\n";
    echo "<a href='" . BASEDIR . "downloads.php'>\n";
    echo "<i class='entypo window'></i>\n";
    echo "<h4>Download</h4>";
    echo "</a>\n";
    echo "</div>\n";
    echo "</div>\n";
} else {
    // use SQL search for page title.
    $result = dbquery("SELECT link_name FROM " . DB_SITE_LINKS . " WHERE link_url='" . FUSION_SELF . "'");
    if (dbrows($result) > 0) {
        $data = dbarray($result);
        $link_name = $data['link_name'];
    } else {
        $link_name = $settings['sitename'];
    }
    echo "<h2 class='text-center text-uppercase' style='letter-spacing:10px; font-weight:300; font-size:36px;'>" . $link_name . "</h2>\n";
}
if (FUSION_SELF == 'login.php') {
    /* Custom Overrides CSS just for login */
    add_to_head('<style>.heading h2 { display:none !important; } .footer {margin-top:0px;}</style>');
    echo CONTENT;
}
close_grid();
echo "</header>\n";