Hi i downloaded a splash page http://otland.net/f118/real-tibia-intro-site-8-60-xhtml-css-98175/ but theres no guide how to install it if someone knows how to install it please reply!
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
DirectoryIndex index.html index.pl index.cgi index.asp index.shtml index.php index.htm \
<?PHP
session_start();
ob_start("ob_gzhandler");
//require('./exaBD.php');
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
$time_start = microtime_float();
//##### CONFIG #####
include('config-and-functions.php');
$action = $_REQUEST['action'];
//##### LOGOUT #####
if($action == "logout") {
unset($_SESSION['account']);
unset($_SESSION['password']);
}
//##### LOGIN #####
$logged = FALSE;
if(isset($_SESSION['account'])) {
$account_logged = $ots->createObject('Account');
$account_logged->load($_SESSION['account']);
if($account_logged->isLoaded() && $account_logged->getPassword() == $_SESSION['password']) {
$logged = TRUE;
$group_id_of_acc_logged = $account_logged->getPageAccess();
} else {
$logged = FALSE;
unset($_SESSION['account']);
unset($account_logged);
}
}
$login_account = strtoupper(trim($_POST['account_login']));
$login_password = trim($_POST['password_login']);
if(!$logged && !empty($login_account) && !empty($login_password)) {
$login_password = password_ency($login_password);
$account_logged = $ots->createObject('Account');
$account_logged->find($login_account);
if($account_logged->isLoaded()) {
if($login_password == $account_logged->getPassword()) {
$_SESSION['account'] = $account_logged->getId();
$_SESSION['password'] = $login_password;
$logged = TRUE;
$account_logged->setCustomField("page_lastday", time());
$group_id_of_acc_logged = $account_logged->getPageAccess();
} else
$logged = FALSE;
}
}
//#### LOAD PAGE ##########
if(empty($_REQUEST['subtopic'])) {
$_REQUEST['subtopic'] = "latestnews";
$subtopic = "latestnews";
}
switch($_REQUEST['subtopic']) {
case "latestnews":
$topic = "Latest News";
$subtopic = "latestnews";
include("latestnews.php");
break;
case "creatures";
$topic = "Creatures";
$subtopic = "creatures";
include("creatures.php");
break;
case "spells";
$topic = "Spells";
$subtopic = "spells";
include("spells.php");
break;
case "bugtracker";
$topic = "z_Bug_Tracker";
$subtopic = "z_bug_tracker";
include("bug.php");
break;
case "experiencetable";
$topic = "Experience Table";
$subtopic = "experiencetable";
include("experiencetable.php");
break;
case "signatures";
$topic = "Signature Generator";
$subtopic = "signatures";
include("signatures.php");
break;
case "characters";
$topic = "Characters";
$subtopic = "characters";
include("characters.php");
break;
case "whoisonline";
$topic = "Who is online?";
$subtopic = "whoisonline";
include("whoisonline.php");
break;
case "highscores";
$topic = "Highscores";
$subtopic = "highscores";
include("highscores.php");
break;
case "killstatistics";
$topic = "Last Kills";
$subtopic = "killstatistics";
include("killstatistics.php");
break;
case "bounty-hunters";
$topic = "Bounty Hunters";
$subtopic = "characters";
include("bounty.php");
break;
case "houses";
$topic = "Houses";
$subtopic = "houses";
include("houses.php");
break;
case "guilds";
$topic = "Guilds";
$subtopic = "guilds";
include("guilds.php");
break;
case "wars";
$subtopic = "wars";
$topic = "Wars";
include("wars.php");
break;
case "auctions";
$topic = "Auctions";
$subtopic = "auctions";
include("auctionsystem.php");
break;
case "accountmanagement";
$topic = "Account Management";
$subtopic = "accountmanagement";
include("accountmanagement.php");
break;
case "createaccount";
$topic = "Create Account";
$subtopic = "createaccount";
include("createaccount.php");
break;
case "lostaccount";
$topic = "Lost Account Interface";
$subtopic = "lostaccount";
include("lostaccount.php");
break;
case "tibiarules";
$topic = "Server Rules";
$subtopic = "tibiarules";
include("tibiarules.php");
break;
case "adminpanel":
$topic = "Admin Panel";
$subtopic = "adminpanel";
include("adminpanel.php");
break;
case "forum":
$topic = "Forum";
$subtopic = "forum";
include("forum.php");
break;
case "team";
$subtopic = "team";
$topic = "Gamemasters List";
include("team.php");
break;
case "downloads";
$subtopic = "downloads";
$topic = "Downloads";
include("downloads.php");
break;
case "serverinfo";
$subtopic = "serverinfo";
$topic = "Server Info";
include("serverinfo.php");
break;
case "shopsystem";
$subtopic = "shopsystem";
$topic = "Shop System";
include("shopsystem.php");
break;
case "buypoints";
$subtopic = "buypoints";
$topic = "Buy Points";
include("buypoints.php");
break;
case "gallery";
$subtopic = "gallery";
$topic = "Gallery";
include("gallery.php");
break;
case "namelock";
$subtopic = "namelock";
$topic = "Namelock Manager";
include("namelocks.php");
break;
case "archive";
$subtopic = "archive";
$topic = "News Archives";
include("archive.php");
break;
case "mail";
$subtopic = "mail";
$topic = "Mass emails sender";
include("mail.php");
break;
case "shopadmin";
$subtopic = "shopadmin";
$topic = "Shop Admin";
include("shopadmin.php");
break;
case "records";
$subtopic = "records";
$topic = "Players Online Records";
include("records.php");
break;
case "restarter";
$subtopic = "restarter";
$topic = "Restarter";
include("restarter.php");
break;
case "bans";
$subtopic = "bans";
$topic = "Ban List";
include("bans.php");
break;
case "polls";
$topic = "Polls";
$subtopic = "polls";
include("polls.php");
break;
case "changelog";
$topic = "Changelog";
$subtopic = "changelog";
include("changelog.php");
break;
case "pay1";
$subtopic = "pay1";
$topic = "Support X points";
$main_content .= '<div align="center"><iframe src="http://<rozera.hopto.org>/zaypay/pay.php" width="98%"
height="800px;"><p>Need IFRAME support, please download Opera,Firefox or Chrome</p></iframe></div>';
break;
}
if(empty($topic)) {
$title = $GLOBALS['config']['server']["serverName"]." - OTS";
$main_content .= 'Invalid subtopic. Can\'t load page.';
} else {
$title = $GLOBALS['config']['server']["serverName"]." - ".$topic;
}
//#####LAYOUT#####
$layout_header = '<script type=\'text/javascript\'>
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
xmlHttp=new XMLHttpRequest();
}
catch (e)
{
try
{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}
function MouseOverBigButton(source)
{
source.firstChild.style.visibility = "visible";
}
function MouseOutBigButton(source)
{
source.firstChild.style.visibility = "hidden";
}
function BigButtonAction(path)
{
window.location = path;
}
var';
if($logged) { $layout_header .= "loginStatus=1; loginStatus='true';"; } else { $layout_header .= "loginStatus=0; loginStatus='false';"; };
$layout_header .= " var activeSubmenuItem='".$subtopic."';</script>";
include($layout_name."/layout.php");
ob_end_flush();
?>
<?PHP
session_start();
ob_start("ob_gzhandler");
//require('./exaBD.php');
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}
$time_start = microtime_float();
//##### CONFIG #####
include('config-and-functions.php');
if(empty($_REQUEST['subtopic'])) {
echo '<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>'.$GLOBALS['config']['server']["serverName"].'</title>
<meta name="description" content="Tibia is a free massive multiplayer online role playing game (MMORPG)." />
<meta name="author" content="Gesior | Modified by Norix" />
<meta http-equiv="content-language" content="en" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<meta name="keywords" content="free online game, free multiplayer game, ots, open tibia server" />
<link rel="shortcut icon" href="'.$layout_name.'/images/server.ico" type="image/x-icon">
<link rel="icon" href="'.$layout_name.'/images/server.ico" type="image/x-icon">
<link href="landingpage.css" rel="stylesheet" type="text/css">
<script type="text/javascript" >
var IMAGES="images";
</script>
<script type="text/javascript" src="javascripts/landingpage.js"></script>
<style type="text/css">
* html #BoxesBackground {
f\ilter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'images/boxes.png\', sizingMethod=\'scale\');
}
div[id] #BoxesBackground {
background-image: url(images/boxes.png);
}
* html #PlayFree {
f\ilter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'images/play_free_idle.png\', sizingMethod=\'scale\');
}
a[id] #PlayFree {
background-image: url(images/play_free_idle.png);
}
</style>
</head>
<body>
<div id="ArtworkHelper" style="background-image:url(images/background-artwork.jpg);" >
<div id="BodyContainer" >
<div id="Header" >
<b><u><a href="?subtopic=latestnews" >Click here for the complete website including news and login</a></u></b>
</div>
<div id="BoxesContainer" >
<div id="Boxes" >
<div id="BoxesBackground" ></div>
<ul id="FeatureText" >
<li>Free to play</li>
<li>Easy access</li>
<li>300,000 active players</li>
<li>Huge game world</li>
<li>Hundreds of quests</li>
<li>Large variety of monsters</li>
<li>Regular content updates</li>
</ul>
<div id="ScreenShotNavigator" >
<div id="LeftArrow" class="NavigationArrow" style="background-image:url(images/navigation_arrow_left_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number01" class="Number" style="background-image:url(images/number_01_over.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number02" class="Number" style="background-image:url(images/number_02_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number03" class="Number" style="background-image:url(images/number_03_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number04" class="Number" style="background-image:url(images/number_04_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number05" class="Number" style="background-image:url(images/number_05_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number06" class="Number" style="background-image:url(images/number_06_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number07" class="Number" style="background-image:url(images/number_07_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="Number08" class="Number" style="background-image:url(images/number_08_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
<div id="RightArrow" class="NavigationArrow" style="background-image:url(images/navigation_arrow_right_idle.gif);" onClick="ChangeScreenshot(this);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></div>
</div>
<div id="ScreenShotContainer" style="background-image:url(images/screenshot_1.jpg);" ></div>
<div>
<a id="PlayFree" href="?subtopic=createaccount" style="background-image:url(images/join_now_idle.png);" onMouseOver="MouseOver(this);" onMouseOut="MouseOut(this);" ></a>
</div>
</div>
</div>
</div>
<div id="Footer" >
Copyright by CipSoft GmbH. All Rights reserved.<br/>
<a href="http://www.tibia.com/abouttibia/?subtopic=aboutcipsoft">About CipSoft</a> | <a href="http://www.tibia.com/support/?subtopic=legaldocuments&page=agreement">Service Agreement</a> | <a href="http://www.tibia.com/support/?subtopic=legaldocuments&page=privacy">Privacy Policy</a>
</div>
</div>
</body>';
ob_end_flush();
exit();
}
$action = $_REQUEST['action'];
//##### LOGOUT #####
if($action == "logout") {
unset($_SESSION['account']);
unset($_SESSION['password']);
}
//##### LOGIN #####
$logged = FALSE;
if(isset($_SESSION['account'])) {
$account_logged = $ots->createObject('Account');
$account_logged->load($_SESSION['account']);
if($account_logged->isLoaded() && $account_logged->getPassword() == $_SESSION['password']) {
$logged = TRUE;
$group_id_of_acc_logged = $account_logged->getPageAccess();
} else {
$logged = FALSE;
unset($_SESSION['account']);
unset($account_logged);
}
}
$login_account = strtoupper(trim($_POST['account_login']));
$login_password = trim($_POST['password_login']);
if(!$logged && !empty($login_account) && !empty($login_password)) {
$login_password = password_ency($login_password);
$account_logged = $ots->createObject('Account');
$account_logged->find($login_account);
if($account_logged->isLoaded()) {
if($login_password == $account_logged->getPassword()) {
$_SESSION['account'] = $account_logged->getId();
$_SESSION['password'] = $login_password;
$logged = TRUE;
$account_logged->setCustomField("page_lastday", time());
$group_id_of_acc_logged = $account_logged->getPageAccess();
} else
$logged = FALSE;
}
}
//#### LOAD PAGE ##########
switch($_REQUEST['subtopic']) {
case "latestnews":
$topic = "Latest News";
$subtopic = "latestnews";
include("latestnews.php");
break;
case "creatures";
$topic = "Creatures";
$subtopic = "creatures";
include("creatures.php");
break;
case "spells";
$topic = "Spells";
$subtopic = "spells";
include("spells.php");
break;
case "bugtracker";
$topic = "z_Bug_Tracker";
$subtopic = "z_bug_tracker";
include("bug.php");
break;
case "experiencetable";
$topic = "Experience Table";
$subtopic = "experiencetable";
include("experiencetable.php");
break;
case "signatures";
$topic = "Signature Generator";
$subtopic = "signatures";
include("signatures.php");
break;
case "characters";
$topic = "Characters";
$subtopic = "characters";
include("characters.php");
break;
case "whoisonline";
$topic = "Who is online?";
$subtopic = "whoisonline";
include("whoisonline.php");
break;
case "highscores";
$topic = "Highscores";
$subtopic = "highscores";
include("highscores.php");
break;
case "killstatistics";
$topic = "Last Kills";
$subtopic = "killstatistics";
include("killstatistics.php");
break;
case "bounty-hunters";
$topic = "Bounty Hunters";
$subtopic = "characters";
include("bounty.php");
break;
case "houses";
$topic = "Houses";
$subtopic = "houses";
include("houses.php");
break;
case "guilds";
$topic = "Guilds";
$subtopic = "guilds";
include("guilds.php");
break;
case "wars";
$subtopic = "wars";
$topic = "Wars";
include("wars.php");
break;
case "auctions";
$topic = "Auctions";
$subtopic = "auctions";
include("auctionsystem.php");
break;
case "accountmanagement";
$topic = "Account Management";
$subtopic = "accountmanagement";
include("accountmanagement.php");
break;
case "createaccount";
$topic = "Create Account";
$subtopic = "createaccount";
include("createaccount.php");
break;
case "lostaccount";
$topic = "Lost Account Interface";
$subtopic = "lostaccount";
include("lostaccount.php");
break;
case "tibiarules";
$topic = "Server Rules";
$subtopic = "tibiarules";
include("tibiarules.php");
break;
case "adminpanel":
$topic = "Admin Panel";
$subtopic = "adminpanel";
include("adminpanel.php");
break;
case "forum":
$topic = "Forum";
$subtopic = "forum";
include("forum.php");
break;
case "team";
$subtopic = "team";
$topic = "Gamemasters List";
include("team.php");
break;
case "downloads";
$subtopic = "downloads";
$topic = "Downloads";
include("downloads.php");
break;
case "serverinfo";
$subtopic = "serverinfo";
$topic = "Server Info";
include("serverinfo.php");
break;
case "shopsystem";
$subtopic = "shopsystem";
$topic = "Shop System";
include("shopsystem.php");
break;
case "buypoints";
$subtopic = "buypoints";
$topic = "Buy Points";
include("buypoints.php");
break;
case "gallery";
$subtopic = "gallery";
$topic = "Gallery";
include("gallery.php");
break;
case "namelock";
$subtopic = "namelock";
$topic = "Namelock Manager";
include("namelocks.php");
break;
case "archive";
$subtopic = "archive";
$topic = "News Archives";
include("archive.php");
break;
case "mail";
$subtopic = "mail";
$topic = "Mass emails sender";
include("mail.php");
break;
case "shopadmin";
$subtopic = "shopadmin";
$topic = "Shop Admin";
include("shopadmin.php");
break;
case "records";
$subtopic = "records";
$topic = "Players Online Records";
include("records.php");
break;
case "restarter";
$subtopic = "restarter";
$topic = "Restarter";
include("restarter.php");
break;
case "bans";
$subtopic = "bans";
$topic = "Ban List";
include("bans.php");
break;
case "polls";
$topic = "Polls";
$subtopic = "polls";
include("polls.php");
break;
case "changelog";
$topic = "Changelog";
$subtopic = "changelog";
include("changelog.php");
break;
case "pay1";
$subtopic = "pay1";
$topic = "Support X points";
$main_content .= '<div align="center"><iframe src="http://<rozera.hopto.org>/zaypay/pay.php" width="98%"
height="800px;"><p>Need IFRAME support, please download Opera,Firefox or Chrome</p></iframe></div>';
break;
}
if(empty($topic)) {
header('Location: /?subtopic=latestnews');
ob_end_flush();
exit();
}
$title = $GLOBALS['config']['server']["serverName"]." - ".$topic;
//#####LAYOUT#####
$layout_header = '<script type=\'text/javascript\'>
function GetXmlHttpObject()
{
var xmlHttp=null;
try
{
xmlHttp=new XMLHttpRequest();
}
catch (e)
{
try
{
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
}
}
return xmlHttp;
}
function MouseOverBigButton(source)
{
source.firstChild.style.visibility = "visible";
}
function MouseOutBigButton(source)
{
source.firstChild.style.visibility = "hidden";
}
function BigButtonAction(path)
{
window.location = path;
}
var';
if($logged) { $layout_header .= "loginStatus=1; loginStatus='true';"; } else { $layout_header .= "loginStatus=0; loginStatus='false';"; };
$layout_header .= " var activeSubmenuItem='".$subtopic."';</script>";
include($layout_name."/layout.php");
ob_end_flush();
?>
0/10What i have to do if im using Uniserver?
Where do I put Folder?