コード例 #1
0
ファイル: theme.php プロジェクト: simplyianm/clububer
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";
}
コード例 #2
0
ファイル: theme.php プロジェクト: roniwahyu/AKEUDA
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, $userdata, $locale, $aidlink, $p_data;
    echo "<table cellpadding='0' cellspacing='0' width='" . THEME_WIDTH . "' align='center'><tr><td>";
    //Header
    echo "<div class='headneu'>";
    //echo "<table cellpadding='0' cellspacing='0' width='100%' style='border: 0px; margin: 0px auto'><tr><td width='50%' height='163' align='right' valign='top'></td></tr></table>";
    echo "<div id='logo'>" . showbanners() . "</div>";
    echo "</div>";
    //sublinks css Dropdown-Menu
    include INCLUDES . 'include_theme_navigation.php';
    //Content
    //Panelanordnung LEFT MID RIGHT
    echo "<table cellpadding='0' cellspacing='0' width='" . THEME_WIDTH . "' class='main-bg'>\n<tr>";
    if (LEFT) {
        echo "<td class='side-border-left' valign='top'>" . LEFT . "</td>";
    }
    echo "<td class='main1-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>";
    //footer
    echo "<div class='sidefooter'><strong><a href='" . BASEDIR . "impressum.php'>Impressum</a> | <a href='" . BASEDIR . "contact.php'>Kontakt</a></strong></div>";
    echo "<div id='footer'>\n\n<table cellpadding='0' cellspacing='0' width='" . THEME_WIDTH . "' class='footerback'>\n<tr>\n\t<td class='copyleft'>" . showcopyright() . "</td>\n\t<td class='copyright'>\n\t\tBased on Red2violet theme &copy; 2011 by <a href='http://www.puresoundradio.de/' target='_blank'>Wondergekko</a><br />\n\t\tTheme &copy; 2013 by <a href='http://www.radio-la-familia.de/' target='blank'>RLF</a><br />\n\t\t</td>\n</tr>\n</table>\n</div>";
    echo "</td></tr></table>\n";
}
コード例 #4
0
ファイル: theme.php プロジェクト: dioda/phpfusion
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>";
}
コード例 #5
0
ファイル: theme.php プロジェクト: dioda/phpfusion
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>";
}
コード例 #6
0
ファイル: theme.php プロジェクト: knapnet/PHP-Fusion
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 />";
    	}*/
}
コード例 #7
0
ファイル: theme.php プロジェクト: necrophcodr/Muks
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";
}
コード例 #8
0
ファイル: theme.php プロジェクト: dioda/phpfusion
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 />";
    	}*/
}
コード例 #9
0
ファイル: theme.php プロジェクト: roniwahyu/AKEUDA
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";
}
コード例 #10
0
ファイル: login.php プロジェクト: WuChEn/PHP-Fusion
                        case 5:
                            echo $locale['global_411'];
                            break;
                        case 6:
                            echo $locale['global_412'];
                            break;
                    }
                }
                break;
        }
        echo "</div>\n";
    }
    //echo "<form name='loginpageform' method='post' action='".$action_url."'>\n";
    echo "<div id='login_form' class='panel panel-default'>\n";
    echo "<div class='panel-body text-center text-dark' >\n";
    echo "<div>" . showbanners() . "</div>\n";
    echo openform('loginpageform', 'loginpageform', 'POST', $action_url);
    echo form_text('', 'user_name', 'user_name', $_POST['user_name'], array('placeholder' => $locale['global_101']));
    echo form_text('', 'user_pass', 'user_pass', $_POST['user_pass'], array('placeholder' => $locale['global_102'], 'password' => 1));
    //echo $locale['global_101']."<br />\n<input type='text' name='user_name' class='textbox form-control' style='width:100px' /><br />\n";
    //echo $locale['global_102']."<br />\n<input type='password' name='user_pass' class='textbox form-control' style='width:100px' /><br />\n";
    echo "<label><input type='checkbox' name='remember_me' value='y' /> " . $locale['global_103'] . "</label><br /><br />\n";
    //echo "<input type='submit' name='login' value='".$locale['global_104']."' class='button' /><br />\n";
    echo form_button($locale['global_104'], 'login', 'login', $locale['global_104'], array('class' => 'btn-primary btn-block m-b-20'));
    echo closeform();
    if ($settings['enable_registration']) {
        echo "<p>" . $locale['global_105'] . "</p>\n";
    }
    echo $locale['global_106'];
    echo "</div></div>\n";
}
コード例 #11
0
ファイル: header.php プロジェクト: WuChEn/PHP-Fusion
close_grid(1);
open_grid('section-2', 1);
echo "<div class='row'>\n";
echo "<div class='header-nav col-xs-12 col-sm-12 col-md-9 col-lg-9 p-r-0'>\n";
echo showsublinks('') . "\n";
echo "</div>\n";
echo "<div class='header-nav col-xs-12 col-sm-12 col-md-3 col-lg-3' style='padding-top:20px;'>\n";
echo "<form name='search_form', method='GET' action='" . BASEDIR . "search.php?stype=all'>\n";
echo form_text('', 'stext', 'stext', '', array('append_button' => 1, 'placeholder' => 'Search', 'class' => 'no-border'));
echo "</form>\n";
echo "</div>\n</div>\n";
close_grid();
echo "</div>\n";
open_grid('section-showcase', 1);
if ($settings['opening_page'] == FUSION_SELF) {
    echo "<div class='text-center logo'> " . showbanners() . " </div>\n";
    echo "<h2 class='text-center text-uppercase' style='letter-spacing:10px; font-weight:300; font-size:36px;'>" . $settings['sitename'] . "</h2>\n";
    echo "<h4 class='text-center' style='font-size:19.5px; line-height:35px; font-weight:300; color:rgba(255,255,255,0.8'>" . $settings['siteintro'] . "</h4>\n";
    echo "<div class='section-2-row row'>\n";
    echo "<div class='col-sm-3 col-md-3 col-lg-3 section-2-tab text-center'>\n";
    echo "<a href='" . BASEDIR . "news.php'>\n";
    echo "<i class='entypo pencil'></i>\n";
    echo "<h4>News</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 . "photogallery.php'>\n";
    echo "<i class='entypo camera'></i>\n";
    echo "<h4>Gallery</h4>";
    echo "</a>\n";
    echo "</div>\n";
コード例 #12
0
ファイル: theme.php プロジェクト: xXxthebeastxXx/addondb
function render_page()
{
    global $aidlink, $locale, $settings, $userdata;
    add_handler("theme_head_output");
    ?>
<div id="content" class="container_24">
	<div id="header">
		<div id="logo" class="grid_6">
		<?php 
    echo showbanners();
    ?>
		</div><!-- /logo -->
		<div id="nav" class="grid_16 push_1">
			<?php 
    navigation();
    ?>
		</div><!-- /nav -->
		<div class="grid_9 hinfo">
			<h4>National Support Network</h4>
			<p id="profile"></p>
		</div><!-- /nss -->
		<div class="grid_6 push_1 hinfo">
			<h4>Search the site</h4>
			<form action="/search.php" id="search" method="get" role="search">
				<div>
					<label for="s" class="screen-reader-text">Search for:</label>
					<input type="text" id="s" name="stext" value="">
					<input type="submit" value="Search" id="searchsubmit">
				</div>
			</form>
		</div><!-- /search -->
		<div class="grid_6 push_2 userinfo hinfo">
			<?php 
    userinfo();
    ?>
		</div><!-- /userinfo --> 
	</div><!-- /header -->
	<div id="main" class="grid_24">
	<?php 
    echo U_CENTER;
    ?>
 <?php 
    echo CONTENT;
    ?>
 <?php 
    echo L_CENTER;
    ?>
	</div><!-- /main --> 
</div>
<!-- /content -->
<div id="footer">
	<div class="container_24" style="padding-bottom:20px;">
		<?php 
    navigation(false);
    ?>
		<div class="grid_6 push_1">
			<?php 
    include INFUSIONS . "admin_attention_panel/admin_attention_bifrost.php";
    ?>
		</div>
		<div id="subfooter" class="grid_24">
			<small style="padding:10px 0">Powered by PHP-Fusion copyright &copy; 2002 - <?php 
    echo date("Y");
    ?>
 by Nick Jones. Released as free software without warranties under <a href='http://www.fsf.org/licensing/licenses/agpl-3.0.html' target="_blank" rel="nofollow">GNU Affero GPL</a> v3.</small>
		</div><!-- /subfooter --> 
		<div class="clearfix"></div>
	</div>
</div><!-- /footer -->
<?php 
    if (iGUEST) {
        ?>
<div id="modal-content" style="display:none">
	<div id="modal-title">Welcome! Please login below.</div>
	<div class="close"><a href="#" class="simplemodal-close">x</a></div>
	<div id="modal-data">
		<form action="<?php 
        echo FUSION_SELF;
        ?>
" method="post" name="loginform">
			<fieldset>
				<legend>Your Login details</legend>
				<label for="user_name"><strong>Username:</strong></label>
				<input type="text" name="user_name" id="user_name" size="30" /><br />
				<label for="user_pass"><strong>Password:</strong></label>
				<input type="password" name="user_pass" id="user_pass" size="30" /><br />
				<label for="remember_me"><strong>Remember Me:</strong></label>
				<input type="checkbox" value="y" name="remember_me" id="remember_me" /><br />
			</fieldset>
			<h3>Forgotten your password?</h3>
			<p>Request a new one <a href="/lostpassword.php">here</a>.</p>
			<p><button type="submit" name="login" class="button"><span>Login</span></button> <a href="#" class="simplemodal-close" style="margin-left:10px">Cancel</a> <span>(or press ESC)</span></p>
		</form>
	</div>
</div>
<?php 
    }
    get_footer_tags();
    echo (DEBUG ? "<div id='debug'><strong>Debug is on </strong>" : "<!-- ") . showrendertime() . (DEBUG ? "</div><!-- /debug -->" : " -->") . "\n";
}