Exemplo n.º 1
0
/*
+------------------------------------------------
|   TBDev.net BitTorrent Tracker PHP
|   =============================================
|   by CoLdFuSiOn
|   (c) 2003 - 2009 TBDev.Net
|   http://www.tbdev.net
|   =============================================
|   svn: http://sourceforge.net/projects/tbdevnet/
|   Licence Info: GPL
+------------------------------------------------
|   $Date$
|   $Revision$
|   $Author$
|   $URL$
+------------------------------------------------
*/
require "include/bittorrent.php";
require_once "include/user_functions.php";
require_once "include/html_functions.php";
require_once "include/emoticons.php";
dbconn(false);
loggedinorreturn();
$lang = load_language('global');
$HTMLOUT = stdhead();
$HTMLOUT .= begin_main_frame();
$HTMLOUT .= insert_smilies_frame();
$HTMLOUT .= end_main_frame();
$HTMLOUT .= stdfoot();
print $HTMLOUT;
Exemplo n.º 2
0
<?php

require "include/bittorrent.php";
require "include/bbcode_functions.php";
dbconn(false);
maxcoder();
if (!logged_in()) {
    header("HTTP/1.0 404 Not Found");
    // moddifed logginorreturn by retro//Remember to change the following line to match your server
    print "<html><h1>Not Found</h1><p>The requested URL /{$_SERVER['PHP_SELF']} was not found on this server.</p><hr /><address>Apache/1.1.11 " . $SITENAME . " Server at " . $_SERVER['SERVER_NAME'] . " Port 80</address></body></html>\n";
    die;
}
stdhead();
begin_main_frame();
insert_smilies_frame();
end_main_frame();
stdfoot();