Файл: index.php
Строк: 218
<?php
/**
* @author MyStyle
* @copyright 2013
*/
if(isset($_GET['LinkOKSave'])){
echo '<img class="portrait" src="images/icons/tutorialFaceWithDialog.gif" width="48" height="48" alt="o">
<div class="tframe">
<span class="small">Вы успешно сохранились. <br/> Теперь вы можете перезайти в игру!</span>
</div>';
}
ob_start();
include 'LinkUserInc/LinkDB.php';
include 'LinkUserInc/LinkUserGameFunction.php';
include 'LinkUserInc/Users.php';
if($user){
include 'LinkUserInc/LinkModUser.php';
}
include 'LinkUserInc/LinkUserLevelNext.php';
include 'LinkUserInc/LinkHead.php';
$time = time();
if (!isset($user_id)) {
if(isset($_GET['LinkSogl'])) {
include 'LinkMod/LinkSogl.php';
}elseif(isset($_GET['LinkAuthGame'])) {
include 'LinkUserInc/LinkAuthGame.php';
}elseif(isset($_GET['LinkStartGame'])) {
include 'LinkUserInc/LinkStartGameOk.php';
include 'LinkUserInc/LinkStartGame.php';
}else
include 'LinkUser/LinkAuth.php';
exit;
}
///////////////////////////////////////////////////
///////////////////////////////////////////////////
if(!$user_id) {
}else{
if(isset($_GET['LinkUserWebMoney'])) {
include 'LinkMod/UserWebMoney.php';
}elseif(isset($_GET['LinkWebMoney'])) {
include 'LinkMod/LinkWebMoney.php';
}elseif(isset($_GET['LinkPodvalShop'])) {
include 'LinkPodval/LinkShop.php';
}elseif(isset($_GET['LinkPodval'])) {
include 'LinkPodval/IndexLink.php';
}elseif(isset($_GET['LinkPaymentUser'])) {
include 'LinkMod/MyPayment.php';
}elseif(isset($_GET['LinkPayment'])) {
include 'LinkPayment/LinkPayment.php';
}elseif(isset($_GET['LinkUserSetting'])) {
include 'LinkSetting/LinkUserSetting.php';
}elseif(isset($_GET['blacklist'])) {
include 'LinkMod/LinkBlack.php';
}elseif(isset($_GET['friends'])) {
include 'LinkMod/LinkFrend.php';
}elseif(isset($_GET['payment'])) {
include 'a1pay/index.php';
}elseif(isset($_GET['Smile'])) {
include 'LinkMod/LinkSmile.php';
}elseif(isset($_GET['UserHouseItems'])) {
include 'LinkMod/UserHouseItems.php';
}elseif(isset($_GET['UserDomik'])) {
include 'LinkMod/LinkDomik.php';
}elseif(isset($_GET['UserAlbum'])) {
include 'LinkMod/LinkAlbum.php';
}elseif(isset($_GET['LinkAdminWebMoney'])) {
if($user['admin'] == 1){
include 'LinkPanel/LinkAdminWebMoney.php';
}else{
header("Location: ?chat");
}
}elseif(isset($_GET['LinkAdmin'])) {
if($user['admin'] == 1){
include 'LinkPanel/PanelAdmina.php';
}else{
header("Location: ?chat");
}
}elseif(isset($_GET['chat'])) {
include 'LinkChat/LinkIndex.php';
}elseif(isset($_GET['LinkBaby'])) {
include 'LinkMod/LinkBaby.php';
}elseif(isset($_GET['LinkSnow'])) {
include 'LinkMod/LinkSnow.php';
}elseif(isset($_GET['UserOnline'])) {
include 'LinkUser/LinkOnline.php';
}elseif(isset($_GET['forum'])) {
include 'LinkForum/LinkIndex.php';
}elseif(isset($_GET['presents']) && intval($_GET['presents'])!=NULL && mysql_result(mysql_query("SELECT COUNT(*) FROM `mystyle_user` WHERE `id` = '".intval($_GET['presents'])."'"),0)!=0) {
include 'LinkUser/LinkPodarki.php';
}elseif(isset($_GET['mail'])) {
include 'LinkUser/MailLink.php';
}elseif(isset($_GET['UserSave'])) {
include 'LinkUserInc/LinkSave.php';
}elseif(isset($_GET['Rating'])) {
include 'LinkUser/LinkUserRating.php';
}elseif(isset($_GET['User'])) {
include 'LinkUser/LinkUsersProfile.php';
}elseif(isset($_GET['LinkWalk'])) {
include 'LinkUser/LinkProgulka.php';
}elseif(isset($_GET['things'])) {
include 'LinkUser/things.php';
}elseif(isset($_GET['LinkMyPes'])) {
include 'LinkUser/LinkMyPes.php';
}elseif(isset($_GET['LinkZadaniya'])) {
include 'LinkUser/LinkZadaniya.php';
}elseif(isset($_GET['LinkUhod'])) {
include 'LinkUser/LinkUhod.php';
}elseif(isset($_GET['LinkUserExit'])) {
include 'LinkUser/LinkExit.php';
}elseif(isset($_GET['LinkUserShop'])) {
include 'LinkUser/LinkUserShop.php';
}else{
include 'LinkUser/LinkProfile.php';
}
include 'LinkUserInc/LinkFoot.php';
}
ob_end_flush();
?>