Loading...
Помощь по скриптам | подключение
Всем привет,кто ставил инру мафия? где там бд прописывать? чет не могу найти
dober , index.php для кого зайди глянь
пишет на локалке Notice: Undefined index: HTTP_REFERER in D:\OpenServer\OSPanel\domains\mafiy.mob\index.php on line 7
по этом номеру $_SESSION['HTTP_REFERER']=$_SERVER['HTTP_REFERER'];
Provider , смотрел
index.php

<?
define('index', 1);
session_start();
error_Reporting(E_ALL);

if(empty($_SESSION['HTTP_REFERER'])){
$_SESSION['HTTP_REFERER']=$_SERVER['HTTP_REFERER'];
}
if(!empty($_GET['ref']) and ($_SERVER['REQUEST_URI']=="/r/".$_GET['ref'] or $_SERVER['REQUEST_URI']=="/ref/".$_GET['ref'] or $_SERVER['REQUEST_URI']=="/bonus/".$_GET['ref'] or $_SERVER['REQUEST_URI']=="/".$_GET['ref'])){
@include_once('/include.php');
@header("Location: /index.php?r=index$_get_ref$_get_iref"); exit;
}




switch($_GET['r']){
default:
@include_once('/include.php');
@header("Location: /index.php?r=index$_get_ref$_get_iref"); exit;
break;

case'closeGame': @include('closeGame.php'); exit;
case'bank': @include('light_bank.php'); exit; // ['good'] || \n || mysql_query_new();
case'profile': @include('light_pers.php'); exit; // ['good'] || \n
case'messages': @include('light_mail.php'); exit; // ['good'] || \n
case'grab': @include('light_grab.php'); exit; // ['good'] || \n

case'index': @include('light_index.php'); exit; // ['good'] || \n || $_LINK
case'chat': @include('light_chat.php'); exit; // ['good'] || \n || $_LINK
case'moderator': @include('light_moder.php'); exit; // ['good'] || \n || $_LINK
case'faq': @include('light_faq.php'); exit; // ['good'] || \n || $_LINK
case'online': @include('light_online.php'); exit; // ['good'] || \n || $_LINK

case'exit': @include('light_exit.php'); exit; // ['good'] || \n || $_LINK
case'smiles': @include('light_smiles.php'); exit; // ['good'] || \n || $_LINK

case'district': @include('light_district.php'); exit;
case'podarok': @include('light_podarok.php'); exit;



case'registration': @include('light_registration.php'); exit;
case'pusher': @include('light_pusher.php'); exit;
case'quests': @include('light_quests.php'); exit;
case'rules': @include('light_rules.php'); exit;
case'tiket': @include('light_tiket.php'); exit;
case'worldkassa': @include('light_worldkassa.php'); exit;
case'wapkassa': @include('light_wapkassa.php'); exit;
case'setting': @include('light_setting.php'); exit;
case'razborki': @include('light_razborki.php'); exit;
case'casino': @include('light_fortuna.php'); exit;
case'clans': @include('light_clans.php'); exit;
case'raid': @include('light_raid.php'); exit;
case'forum': @include('light_forum.php'); exit;
case'fight': @include('light_fight.php'); exit;
case'admin': @include('light_admin.php'); exit;
case'tyrnirs': @include('light_tyrnirs.php'); exit;
case'swat': @include('light_swat.php'); exit;
case'hata': @include('light_hata.php'); exit;


case'mgates': @include('mgates.php'); exit;

}
?>
dober , дай ссилу
Provider ,.
________
посл. ред. 19.04.2018 в 19:25; всего 1 раз(а); by dober
dober , В include.php глянь
Provider , инклюд
[code]<?

$Name_Game = "«Мафия-Street Criminal»";
$site1 = "mafio.ml";
$timeout = time()-(5*60);


$_LINK = "http://$_SERVER[HTTP_HOST]";


$inner = "<div class='inner-content'>";
$innerrow = "<div class='inner-content-row'>";
$list_row = "<div class='list_row'>";
$list_row_odd = "<div class='list_row odd'>";
$user_row = "<div class='list_row odd'>";
$user_row_odd = "<div class='user_row odd'>";
//////////
$balka= "<div class='border-top'></div>";
//$balka= "<div class='balka-top'></div>";
$baloon= "<div class='say'>";
$baloon= "<div class='baloon-inner'>";
$div = "$balka\n<div class='inner-content'>";
///////////
$faq=''.$inner.' <div class="gray_italic cntr casino-faq" >
Че непонятно? <a href="index.php?r=faq&view=faq19">Подъяснись!</a></div></div>';
///////////
$hr= "<div class='hr'></div>";
$hrs= "</div><div class='hrs'></div><div class='inner-content'>";
$h1= "<h1 class='center'>";

if(!empty($_light)){ $_width_torch='65'; }else{ $_width_torch='90'; }
$javaback='<a href="javascript:history.go(-1)" class="bttn_green margin0">Назад</a>';
$javabackbttn='<a href="javascript:history.go(-1)" class="bttn margin0">Назад</a>';
$javabacksea='<a href="javascript:history.go(-1)" class="bttn_sea margin0">Назад</a>';
$systemback="<a href='$_SERVER[HTTP_REFERER]' class='bttn_sea margin0'>Назад</a>";

$refresh=="Перенаправление...";
$hr_gr_1="<a href='?go=$_GET[go]&mod=$_GET[mod]&act=$_GET[act]";
$hr_gr_2="' class='bttn_green margin0'>";
$bt_gr="class='bttn_green margin0'";
$bt_r="class='bttn_red margin0'";
$bt_sea="class='bttn_sea margin0'";
$bt_s="class='bttn_sea margin0'";
$div_right="class='rightw'";

$imglave="<img alt=\"*\" src=\"$path/theme/i/icons/i-lave.png\" width=\"21\">";
$imglave2="<img alt=\"*\" src=\"$path/theme/i/icons/i-lave-2.png\" width=\"21\">";
$imgvk="<img alt=\"*\" src=\"$path/theme/i/icons/vk.png\" width=\"21\">";
$imggang_auth="<img alt=\"*\" src=\"$path/theme/i/icons/clans/clans_auth.png\" title=\"Влияние\" width=\"13\">";
$imgdistrict_auth="<img alt=\"*\" src=\"$path/theme/i/icons/clans/clans_auth.png\" title=\"Влияние\" width=\"13\">";

$imgx="<img alt=\"*\" src=\"$path/theme/i/icons/x.png\" width=\"21\">";
$imgno="<img alt=\"*\" src=\"$path/theme/i/icons/no.png\" width=\"15\">";
$imgdel="<img alt=\"*\" src=\"$path/theme/i/icons/del.png\" width=\"21\">";

$imgnot="<img alt=\"*\" src=\"$path/theme/i/icons/chat/not.png\" width=\"21\">";
$imgyes="<img alt=\"*\" src=\"$path/theme/i/icons/yes.png\" width=\"15\">";
$imgok="<img alt=\"*\" src=\"$path/theme/i/icons/ok.png\" width=\"21\">";

$imglock="<img alt=\"*\" src=\"$path/theme/i/icons/chat/lock.png\" width=\"21\">";
$imgreply="<img alt=\"*\" src=\"$path/theme/i/icons/chat/reply.png\">";
$imgtools="<img alt=\"*\" src=\"$path/theme/i/icons/tools.png\" width=\"21\">";
$imgbox="<img alt=\"*\" src=\"$path/theme/i/icons/toch/box.png\" width=\"21\">";
$imgment="<img alt=\"*\" src=\"$path/theme/i/icons/lose.jpg width=\"100%\">";

$imgdoc="<img alt=\"*\" src=\"$path/theme/i/icons/i-rubin.png\" title=\"Рубины\" width=\"21\">";
$imgmoney="<img alt=\"*\" src=\"$path/theme/i/icons/money.png\">";
$imgexp="<img alt=\"*\" src=\"$path/theme/i/icons/i-exp.png\" title=\"Опыт\">";

$imgmoder="<img alt=\"*\" src=\"$path/theme/i/icons/status/i-moder.png\" title=\"Модератор\">";
$imgadmin="<img alt=\"*\" src=\"$path/theme/i/icons/status/i-administrator.png\" title=\"Администратор\">";
$imgauth="<img alt=\"*\" src=\"$path/theme/i/icons/auth.png\" title=\"Авторитет\">";

$imglibraly="<img alt=\"*\" src=\"$path/theme/i/icons/libraly.png\">";
$imggl="<img alt=\"*\" src=\"$path/theme/i/icons/gl.png\">";
$imgtime="<img alt=\"*\" src=\"$path/theme/i/icons/time.png\">";

$imgdamage="<img alt=\"*\" src=\"$path/theme/i/icons/damage.png\" width=\"21\">";
$imgenergy="<img alt=\"*\" src=\"$path/theme/i/icons/i-energy.png\" width=\"21\">";
$imgman="<img alt=\"*\" src=\"$path/theme/i/icons/status/mprofile.png\">";

$imgwoman="<img alt=\"*\" src=\"$path/theme/i/icons/status/wprofile.png\">";
$imgblack="<img alt=\"*\&quo
________
посл. ред. 19.04.2018 в 19:32; всего 1 раз(а); by dober
dober (19.04.2018 в 19:19)
пишет на локалке Notice: Undefined index: HTTP_REFERER in D:OpenServerOSPaneldomainsmafiy.mobindex.php on line 7
по этом номеру $_SESSION['HTTP_REFERER']=$_SERVER['HTTP_REFERER'];

Онлайн: 5
Время:
Gen. 0.1617
(c) Bym.Guru 2010-2026