Posted on: 05/04/06 06:34pm
By: Midd_Knight
<?php /* Reminder: always indent with 4 spaces (no tabs). */ // +---------------------------------------------------------------------------+ // | Geeklog 1.4 | // +---------------------------------------------------------------------------+ // | blank.php | // | | // | Geeklog blank page page. | // +---------------------------------------------------------------------------+ // // $Id: blank.php,v 1.0 Exp $ require_once('lib-common.php'); require_once( $_CONF['path_system'] . 'lib-admin.php' ); if (empty ($_USER['username']) && (($_CONF['loginrequired'] == 1) || ($_CONF['statsloginrequired'] == 1))) { $display = COM_siteHeader(''); $display .= COM_startBlock ($LANG_LOGIN[1], '', COM_getBlockTemplate ('_msg_block', 'header')); $login = new Template($_CONF['path_layout'] . 'submit'); $login->set_file (array ('login'=>'submitloginrequired.thtml')); $login->set_var ('login_message', $LANG_LOGIN[2]); $login->set_var ('site_url', $_CONF['site_url']); $login->set_var ('lang_login', $LANG_LOGIN[3]); $login->set_var ('lang_newuser', $LANG_LOGIN[4]); $login->parse ('output', 'login'); $display .= $login->finish ($login->get_var('output')); $display .= COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer')); $display .= COM_siteFooter(); echo $display; exit; } $display .= COM_siteHeader(); if (isset ($_GET['msg'])) { $display .= COM_showMessage (COM_applyFilter ($_GET['msg'], true),COM_applyFilter ($_GET['plugin'])); } // Show any Plugin formatted blocks // Requires a plugin to have a function called plugin_centerblock_<plugin_name> $displayBlock = PLG_showCenterblock (1, $page, $topic); // top blocks if (!empty ($displayBlock)) { $display .= $displayBlock; // Check if theme has added the template which allows the centerblock // to span the top over the rightblocks if (file_exists($_CONF['path_layout'] . 'topcenterblock-span.thtml')) { $topspan = new Template($_CONF['path_layout']); $topspan->set_file (array ('topspan'=>'topcenterblock-span.thtml')); $topspan->parse ('output', 'topspan'); $display .= $topspan->finish ($topspan->get_var('output')); $GLOBALS['centerspan'] = true; } } echo "Hello world<p>"; $display .= COM_siteFooter(true); echo $display; ?>
Posted on: 05/05/06 06:21am
By: destr0yr
echo = "Hello World<p>";
$display .= "Hello world<p>";