Пример #1
0
    die;
}
?>
	
	</div></div>
	<div id="footer">
		<div id="gc">
		By <a href="http://www.sourcebans.net" target="_blank" class="footer_link">SourceBans Dev Team</a>		</div>
		<div id="sb"><br/>
		<a href="https://sarabveer.github.io/SourceBans-Fork/" target="_blank"><img src="images/sb.png" alt="SourceBans" border="0" /></a><br/>
		<div id="footqversion">Version <?php 
echo SB_VERSION;
?>
</div>
		<div id="footquote"><?php 
echo CreateQuote();
?>
</div>
		
		
		</div>
		<div id="sm">
		Powered by <a class="footer_link" href="http://www.sourcemod.net" target="_blank">SourceMod</a>
		</div>
	</div>
<?php 
if (isset($_GET['debug']) && $_GET['debug'] == 1) {
    echo '
	<h3>Session Data</h3><pre>
';
    print_r($_SESSION);
Пример #2
0
 * @version 1.0.0
 * @copyright SourceBans (C)2007 SteamFriends.com.  All rights reserved.
 * @package SourceBans
 * @link http://www.sourcebans.net
 * 
 * @version $Id: footer.php 219 2009-02-24 21:09:11Z peace-maker $
 * =============================================================================
 */
if (!defined("IN_SB")) {
    echo "You should not be here. Only follow links!";
    die;
}
global $theme;
$theme->assign('SB_REV', defined('SB_SVN') ? " Rev: " . GetSVNRev() : '');
$theme->assign('SB_VERSION', SB_VERSION);
$theme->assign('SB_QUOTE', CreateQuote());
$theme->display('page_footer.tpl');
if (isset($_GET['p'])) {
    $_SESSION['p'] = $_GET['p'];
}
if (isset($_GET['c'])) {
    $_SESSION['c'] = $_GET['c'];
}
if (isset($_GET['p']) && $_GET['p'] != "login") {
    $_SESSION['q'] = $_SERVER['QUERY_STRING'];
}
if (defined('DEVELOPER_MODE')) {
    global $start;
    $time = microtime();
    $time = explode(" ", $time);
    $time = $time[1] + $time[0];