コード例 #1
0
ファイル: theme.php プロジェクト: cbsistem/nexos
function themefooter()
{
    global $cpgtpl;
    blocks('right');
    $cpgtpl->assign_vars(array('B_R_VISIBLE' => hideblock('601') ? 'style="display: none"' : '', 'S_FOOTER' => footmsg()));
    $cpgtpl->set_filenames(array('footer' => 'footer.html'));
    $cpgtpl->display('footer');
}
コード例 #2
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    echo "</td>";
    if (defined('INDEX_FILE')) {
        echo "<td>&nbsp;&nbsp;</td><td valign=\"top\">";
        blocks("right");
    }
    echo "</tr></table></td></tr></table>";
    footmsg();
}
コード例 #3
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    if (defined('INDEX_FILE')) {
        echo "</td><td>&nbsp;</td><td valign=top width=200>\n";
        blocks("right");
        echo "</td>";
    }
    echo "</td></tr></table></td></tr></table>";
    footmsg();
}
コード例 #4
0
function themefooter()
{
    if ($GLOBALS['index'] == 1) {
        echo "</td>\n              <td>&nbsp;&nbsp;</td>\n              <td valign=\"top\" width=\"150\" bgcolor=\"{$GLOBALS['bgcolor1']}\">";
        blocks('right');
    }
    echo "</td></tr></table>\n          </td></tr></table>\n          <center>";
    footmsg();
    echo "</center>";
}
コード例 #5
0
function themefooter()
{
    global $index;
    echo "</td>";
    if ($index == 1) {
        echo "<td>&nbsp;&nbsp;</td><td valign=\"top\">";
        blocks(right);
    }
    echo "</tr></table></td></tr></table>";
    footmsg();
}
コード例 #6
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    if (defined('INDEX_FILE')) {
        echo "<td>&nbsp;</td><td valign=\"top\" width=\"200\">";
        blocks("left");
        blocks("right");
    }
    echo "</td></tr></table></td></tr></table>";
    echo "<center>";
    footmsg();
    echo "</center>";
}
コード例 #7
0
function themefooter()
{
    global $index;
    if ($index == 1) {
        echo "<td>&nbsp;</td><td valign=\"top\" width=\"200\">";
        blocks(left);
        blocks(right);
    }
    echo "</td></tr></table></td></tr></table>";
    echo "<center>";
    footmsg();
    echo "</center>";
}
コード例 #8
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    echo "<br>";
    if (defined('INDEX_FILE')) {
        echo "</td><td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"138\" bgcolor=\"d3e2ea\">\n";
        blocks("right");
        echo "<td><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"6\" height=\"1\" border=\"0\" alt=\"\">";
    } else {
        echo "</td><td colspan=\"2\"><img src=\"themes/DeepBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\">";
    }
    echo "<br><br></td></tr></table>\n" . "<br><center>";
    footmsg();
    echo "</center>";
}
コード例 #9
0
function foot()
{
    global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name;
    if ($home == 1) {
        blocks(Down);
    }
    if ($module == 1 and file_exists("modules/{$name}/copyright.php")) {
        $cpname = ereg_replace("_", " ", $name);
        echo "<div align=\"right\"><a href=\"javascript:openwindow()\">{$cpname} &copy;</a></div>";
    }
    if ($module == 1 and file_exists("modules/{$name}/admin/panel.php")) {
        echo "<br>";
        OpenTable();
        include "modules/{$name}/admin/panel.php";
        CloseTable();
    }
    themefooter();
    echo "</body>\n" . "</html>";
    die;
}
コード例 #10
0
ファイル: theme.php プロジェクト: cbsistem/nexos
function themefooter()
{
    global $index, $foot1, $foot2, $foot3, $copyright, $totaltime, $footer_message;
    if ($index) {
        $thefile = implode("", file("themes/MP3Tunes/center_right.html"));
        $thefile = addslashes($thefile);
        $thefile = '$r_file="' . $thefile . '";';
        eval($thefile);
        print $r_file;
        blocks('right');
    }
    $thefile = implode("", file("themes/MP3Tunes/footer.html"));
    $thefile = addslashes($thefile);
    $thefile = '$r_file="' . $thefile . '";';
    eval($thefile);
    print $r_file;
    echo "<center>\n";
    $footer_message = footmsg();
    echo "</center>\n";
    echo "<br>\n";
}
コード例 #11
0
ファイル: footer.php プロジェクト: rotvulpix/php-nuke
function foot()
{
    global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $name, $admin, $commercial_license;
    if (defined('HOME_FILE')) {
        blocks("Down");
    }
    if (basename($_SERVER['PHP_SELF']) != "index.php" and defined('MODULE_FILE') and file_exists("modules/{$name}/copyright.php") && $commercial_license != 1) {
        $cpname = str_replace("_", " ", $name);
        echo "<div align=\"right\"><a href=\"javascript:openwindow()\">{$cpname} &copy;</a></div>";
    }
    if (basename($_SERVER['PHP_SELF']) != "index.php" and defined('MODULE_FILE') and file_exists("modules/{$name}/admin/panel.php") && is_admin($admin)) {
        echo "<br>";
        OpenTable();
        include "modules/{$name}/admin/panel.php";
        CloseTable();
    }
    themefooter();
    if (file_exists("includes/custom_files/custom_footer.php")) {
        include_secure("includes/custom_files/custom_footer.php");
    }
    echo "</body>\n</html>";
    ob_end_flush();
    die;
}
コード例 #12
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    global $foot1, $foot2, $foot3, $copyright, $totaltime;
    if (defined('INDEX_FILE')) {
        $tmpl_file = "themes/NukeNews/center_right.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
        blocks("right");
    }
    $footer_message = "{$foot1}<br>{$foot2}<br>{$foot3}<br>{$copyright}<br>{$totaltime}";
    $tmpl_file = "themes/NukeNews/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"" . $thefile . "\";";
    eval($thefile);
    print $r_file;
}
コード例 #13
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    if (defined('INDEX_FILE')) {
        echo "</td><td><img src=\"themes/Milo/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\" bgcolor=\"#eeeeee\">\n";
        blocks("right");
    }
    echo "</td>\n" . "</tr></table>\n" . "<table bgcolor=\"#000000\" width=\"750\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n" . "<tr>\n" . "<td width=\"750\" height=\"5\"><img src=\"themes/Milo/images/bottombar.gif\" width=\"750\" height=\"5\" border=\"0\" alt=\"\"></td>\n" . "</tr>\n" . "<tr>\n" . "<td width=\"100%\"><img src=\"themes/Milo/images/pixel.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n" . "</tr>\n" . "</table>\n" . "<br>\n" . "<br>\n" . "<table width=\"750\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n" . "<tr align=\"center\">\n" . "<td width=\"100%\" colspan=\"3\">\n";
    footmsg();
    echo "</td>\n" . "</tr>\n" . "</table>\n";
}
コード例 #14
0
function themefooter()
{
    global $index;
    if ($index == 1) {
        echo "</td><td>&nbsp;</td><td valign=top width=200>\n";
        blocks(right);
        echo "</td>";
    }
    echo "</td></tr></table></td></tr></table>";
    footmsg();
}
コード例 #15
0
ファイル: blocks.php プロジェクト: Jireck-npds/npds_dune
                  <div class="form-group">
                     <label class="form-control-label" for="index">Index</label>
                     <input class="form-control" type="number" name="index" id="index" min="0" max="9999" />
                  </div>
                  <div class="form-group">
                     <label class="form-control-label" for="Scache">' . adm_translate("Rétention") . '</label>
                     <input class="form-control" type="number" name="Scache" id="Scache" min="0" max="99999" value="60" />
                     <span class="help-block">' . adm_translate("Chaque bloc peut utiliser SuperCache. La valeur du délai de rétention 0 indique que le bloc ne sera pas caché (obligatoire pour le bloc function#adminblock).") . '</span>
                  </div>
                  <div class="form-group">
                     <label class="checkbox-inline text-danger" for="SHTML">
                        <input class="" type="checkbox" name="SHTML" id="SHTML" value="ON" />HTML
                     </label>
                     <label class="checkbox-inline text-danger" for="CSS">
                        <input class="" type="checkbox" name="CSS" id="CSS" value="ON" />CSS
                     </label>
                  </div>
            </fieldset>
         </div>
      </div>
      <div class="form-group">
         <button class="btn btn-primary-outline btn-block" type="submit"><i class ="fa fa-check fa-lg"></i>&nbsp;' . adm_translate("Valider") . '</button>
     </div>
   </form>';
    include "footer.php";
}
switch ($op) {
    case "blocks":
        blocks();
        break;
}
コード例 #16
0
function themefooter()
{
    global $index, $foot1, $foot2, $foot3, $foot4;
    if ($index == 1) {
        $tmpl_file = "themes/Odyssey/center_right.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
        blocks(right);
    }
    $footer_message = "{$foot1}<br>{$foot2}<br>{$foot3}<br>{$foot4}";
    $tmpl_file = "themes/Odyssey/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"" . $thefile . "\";";
    eval($thefile);
    print $r_file;
}
コード例 #17
0
ファイル: header.php プロジェクト: bogiesoft/TravelAgentv2
$now=time();
$date=date("l, dS  F, Y  - h:i:s A",$now);
$headTemplate= new Template();
$header_array=array("header1.gif","header2.gif","header4.jpg");
$key = array_rand($header_array);
$headTemplate->assign("lang",$lang);
$headTemplate->assign("site_title","$config[site_title]-$page_title");
$headTemplate->assign("description",$config[site_desc]);
$headTemplate->assign("keywords",$config[site_keywords]);
$headTemplate->assign("author","");
$headTemplate->assign("copyright",$config[$site_title]);
$headTemplate->assign("date",$date);
$headTemplate->assign("random_header",$header_array[$key]);
$headTemplate->display("header.tpl");
if(($index==1) || ($index==3)){
 blocks("left");
}
$headTemplate->display("left_center.tpl");

//Url Rewritting Settings.

function replace_for_mod_rewrite(&$s){
	$in =array(
		"'(?<!/)index.php\?m=fare&id=([0-9]*)'",
		"'(?<!/)index.php\?m=package&file=packagedetails&id=([0-9]*)'"
		);
		$out=array(
		"fare\\1.html",
		"package\\1.html"
	);
		$s = preg_replace("(&amp;|&)","&", $s);
コード例 #18
0
function validBlocks($board)
{
    $all_values = [1, 2, 3, 4, 5, 6, 7, 8, 9];
    $blocks = blocks($board);
    foreach ($blocks as $row) {
        sort($row);
        if ($row != $all_values) {
            return false;
        }
    }
    return true;
}
コード例 #19
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    global $index, $swapblock, $foot1, $foot2, $foot3, $foot4;
    $tmpl_file = "themes/org_green/center_right.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"" . $thefile . "\";";
    eval($thefile);
    print $r_file;
    if (defined('INDEX_FILE')) {
        $swapblock = "0";
        $tmpl_file = "themes/org_green/rightb.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
        blocks("right");
        $tmpl_file = "themes/org_green/rightbb.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
    }
    $footer_message = "{$foot1}<br />{$foot2}<br />{$foot3}<br />{$foot4}";
    if (defined('INDEX_FILE')) {
        $tmpl_file = "themes/org_green/footer.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
    } else {
        $tmpl_file = "themes/org_green/footernrb.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
    }
}
コード例 #20
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    if (defined('INDEX_FILE')) {
        echo "</td><td><img src=\"themes/Anagram/images/pixel.gif\" width=\"5\" height=\"1\" border=\"0\" alt=\"\"></td>\n" . "<td background=\"themes/Anagram/images/column-bg.gif\" valign=\"top\" width=\"150\">\n";
        blocks(right);
    }
    echo "</td>\n" . "</tr></table>\n" . "<table width=\"780\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#ffffff\" align=\"center\">\n" . "<tr align=\"center\">\n" . "<td width=\"100%\" bgcolor=\"#DAD8D8\"><img src=\"themes/Anagram/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\"></td>\n" . "</tr>\n" . "</table>\n" . "<table width=\"780\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#EEEEEE\" align=\"center\">\n" . "<tr align=\"center\">\n" . "<td width=\"100%\" colspan=\"3\">\n";
    footmsg();
    echo "</td>\n" . "</tr>\n" . "</table>\n";
}
コード例 #21
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    if (defined('INDEX_FILE')) {
        echo "</td><td><img src=\"themes/NukeNews/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\">\n";
        blocks("right");
    }
    echo "</td></tr></table>\n";
    echo "<br>";
    OpenTable();
    echo "<center>";
    footmsg();
    echo "</center>";
    CloseTable();
}
コード例 #22
0
ファイル: footer.php プロジェクト: bogiesoft/TravelAgentv2
<?

//Desc : File Loader

if (eregi("footer.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}
require_once("mainfile.php");
global $index,$config;
$tpl= new Template();
global $index;
  if (($index ==1) || ($index==2)) {
		$tpl->display("center_right.tpl");
		blocks(right);
  }
$tpl->assign("copyright",$config[site_title]);
$tpl->display("footer.tpl");
$contents = ob_get_contents(); // store buffer in $contents
ob_end_clean(); // delete output buffer and stop buffering
echo replace_for_mod_rewrite($contents); //display modified buffer to screen

?>
コード例 #23
0
function themefooter()
{
    global $index;
    if ($index == 1) {
        echo "</td><td><img src=\"themes/NukeNews/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\">\n";
        blocks(right);
    }
    echo "</td></tr></table>\n";
    echo "<br>";
    OpenTable();
    echo "<center>";
    footmsg();
    echo "</center>";
    CloseTable();
}
コード例 #24
0
 public function test_blocks()
 {
     $this->assertEquals([[0, 3, 5, 6, 8, 9], [0, 1, 5, 7, 9], [0, 6], [0, 4, 7, 8], [0, 2, 3, 6, 8], [0, 1, 3, 6], [0, 6], [0, 1, 4, 8, 9], [0, 2, 5, 7, 8, 9]], blocks([[5, 3, 0, 0, 7, 0, 0, 0, 0], [6, 0, 0, 1, 9, 5, 0, 0, 0], [0, 9, 8, 0, 0, 0, 0, 6, 0], [8, 0, 0, 0, 6, 0, 0, 0, 3], [4, 0, 0, 8, 0, 3, 0, 0, 1], [7, 0, 0, 0, 2, 0, 0, 0, 6], [0, 6, 0, 0, 0, 0, 2, 8, 0], [0, 0, 0, 4, 1, 9, 0, 0, 5], [0, 0, 0, 0, 8, 0, 0, 7, 9]]));
     $this->assertEquals([[1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9]], blocks([[5, 3, 4, 6, 7, 8, 9, 1, 2], [6, 7, 2, 1, 9, 5, 3, 4, 8], [1, 9, 8, 3, 4, 2, 5, 6, 7], [8, 5, 9, 7, 6, 1, 4, 2, 3], [4, 2, 6, 8, 5, 3, 7, 9, 1], [7, 1, 3, 9, 2, 4, 8, 5, 6], [9, 6, 1, 5, 3, 7, 2, 8, 4], [2, 8, 7, 4, 1, 9, 6, 3, 5], [3, 4, 5, 2, 8, 6, 1, 7, 9]]));
 }
コード例 #25
0
function themefooter()
{
    global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
    if ($index == 1) {
        $tmpl_file = "themes/iCGstation/center_right.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
        blocks(right);
    }
    echo "\t\t\t\t</td>" . "\t\t\t</tr>" . "\t\t</table>" . "\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">" . "\t\t  <tr> " . "\t\t\t<td align=\"right\"><a href=\"#top\"><img src=\"themes/iCGstation/forums/images/top.gif\" border=\"0\" /></a></td>" . "\t\t  </tr>" . "\t\t</table>" . "\t\t<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">" . "\t\t  <tr> " . "\t\t\t<td><a href=\"http://www.nukemods.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_left.gif\" border=\"0\" /></a></td>" . "\t\t\t<td width=\"100%\" class=\"indexbom\" align=\"center\">";
    $footer_message = footmsg();
    echo "\t\t\t</td>" . "\t\t\t<td><a href=\"http://www.ioptional.com\" target=\"_blank\"><img src=\"themes/iCGstation/forums/images/bt_right.gif\" border=\"0\" /></a></td>" . "\t\t  </tr>" . "\t\t</table>" . "\t</td>" . "\t<td width=\"10\" nowrap=\"nowrap\" class=\"righttd\"></td>" . "  </tr>" . "</table>" . "";
}
コード例 #26
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    global $bgcolor1, $bgcolor2, $bgcolor3;
    if (defined('INDEX_FILE')) {
        echo "</td><td>&nbsp;&nbsp;</td><td valign=\"top\" bgcolor={$bgcolor1}>";
        blocks("right");
        echo "</td>";
    }
    echo "</td></tr></table></td></tr></table>";
    echo "<center>";
    footmsg();
    echo "</center>";
}
コード例 #27
0
function themefooter()
{
    global $index, $bgcolor1, $bgcolor2, $bgcolor3;
    if ($index == 1) {
        echo "</td><td>&nbsp;&nbsp;</td><td valign=\"top\" bgcolor={$bgcolor1}>";
        blocks(right);
        echo "</td>";
    }
    echo "</td></tr></table></td></tr></table>";
    echo "<center>";
    footmsg();
    echo "</center>";
}
コード例 #28
0
function themefooter()
{
    global $index;
    if ($index == 1) {
        echo "</td><td><img src=\"themes/Karate/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\" bgcolor=\"#eeeeee\">\n";
        blocks(right);
    }
    echo "</td>\n" . "</tr></table>\n" . "<table bgcolor=\"#000000\" width=\"750\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n" . "<tr>\n" . "<td width=\"750\" height=\"5\"><img src=\"themes/Karate/images/bottombar.gif\" width=\"750\" height=\"5\" border=\"0\" alt=\"\"></td>\n" . "</tr>\n" . "<tr>\n" . "<td width=\"100%\"><img src=\"themes/Karate/images/pixel.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>\n" . "</tr>\n" . "</table>\n" . "<br>\n" . "<br>\n" . "<table width=\"750\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\">\n" . "<tr align=\"center\">\n" . "<td width=\"100%\" colspan=\"3\">\n";
    footmsg();
    echo "</td>\n" . "</tr>\n" . "</table>\n";
}
コード例 #29
0
ファイル: theme.php プロジェクト: rotvulpix/php-nuke
function themefooter()
{
    global $index, $foot1, $foot2, $foot3, $foot4;
    if (defined('INDEX_FILE')) {
        $tmpl_file = "themes/3D-Fantasy/center_right.html";
        $thefile = implode("", file($tmpl_file));
        $thefile = addslashes($thefile);
        $thefile = "\$r_file=\"" . $thefile . "\";";
        eval($thefile);
        print $r_file;
        blocks("right");
    }
    $footer_message = "{$foot1}<br>{$foot2}<br>{$foot3}<br>{$foot4}";
    $tmpl_file = "themes/3D-Fantasy/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"" . $thefile . "\";";
    eval($thefile);
    print $r_file;
}
コード例 #30
0
##################################################
# Include some common header for HTML generation #
##################################################
$header = 1;
function head()
{
    global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    $ThemeSel = get_theme();
    include "themes/{$ThemeSel}/theme.php";
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>{$sitename} {$pagetitle}</title>\n";
    include "includes/meta.php";
    include "includes/javascript.php";
    if (file_exists("themes/{$ThemeSel}/images/favicon.ico")) {
        echo "<link REL=\"shortcut icon\" HREF=\"themes/{$ThemeSel}/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/{$ThemeSel}/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include "includes/my_header.php";
    echo "\n\n\n</head>\n\n";
    themeheader();
}
online();
head();
include "includes/counter.php";
global $home;
if ($home == 1) {
    message_box();
    blocks(Center);
}