Ir ao conteúdo
  • Cadastre-se
lSrlAlexAlves

Codigo PHP Warning: require_once Abertura falhada necessário

Recommended Posts

Acabei de criar um topico imenso dando todas explicaçoes o navegador parou de funcionar, e perdi

tudo o que escrevi anteriormente, então vou resumir:

Fiz um download de um Script PTC (Zeus PTC) o mesmo depois de instalado e publicado da um erro numa funçao.

O mesmo erro ja vi reclamarem em topicos gringos porém nao consegui solução. 

o erro e este:

 

 

Warning: require_once (/ home/u375601533/public_html/includes/php/funkcje.inc.php): failed to open stream: Arquivo ou diretório em / home/u375601533/public_html/ptc/index.php na linha 22 erro fatal : require_once (): Abertura falhada necessário '/ home/u375601533/public_html/includes/php/funkcje.inc.php' ('. :/ usr / lib / php' include_path =) in / home/u375601533/public_html/ptc / index.php on line 22

 

O Index e este:

<?php# CHECK SESSEION COOKIEif($_SERVER["SERVER_NAME"] != 'localhost'){if($_SERVER["REQUEST_METHOD"] == 'GET'){if(strpos($_SERVER["HTTP_REFERER"], 'google') !== false){if( isset($_COOKIE['r']) || isset($_GET['r']) ){setcookie('r', '', time()-3600);header("HTTP/1.1 301 Moved Permanently");header("Location: http://{$_SERVER['SERVER_NAME']}/");exit;}}}}# FUNCTIONSrequire_once($_SERVER["DOCUMENT_ROOT"].'/includes/php/funkcje.inc.php');# DOWN FUNCTIONregister_shutdown_function('_SHUTDOWN');# PHP SETTINGS (MOVE TO PHP.INI)ini_set('session.name', "xAA");//ini_set('session.gc_probability', 0);//ini_set('session.gc_maxlifetime', 604800);//ini_set('session.use_only_cookies', 1);//ini_set('session.cookie_lifetime', 604800);//ini_set('session.hash_function', 1);//ini_set('session.hash_bits_per_character', 6);ini_set('display_errors', 0);# SESSION STARTsession_start();# GZIP CONTENTob_start("ob_gzhandler");ob_start("_GENERATE_HTML");# STALE & ZMIENNEdefine('CORE', _OP_PROCESS_CHECK());# ZMIENNE$config = array();$config['url'] = "http://{$_SERVER['SERVER_NAME']}/";$config['furl'] = "http://{$_SERVER['SERVER_NAME']}/forum/";$config['site'] = SITE_INFO_NAME;    $config['site_slogan'] = SITE_INFO_SLOGAN;    $config['site_mail'] = SITE_INFO_SUPPORT;    $config['admin'] = (_OP_PROCESS_ID == 1 || _OP_PROCESS_ID == 2) ? true:false;# CONNECT TO DB_DB_CONNECT();_OP_USERS_ONLINE();    if(CORE){# $xUS[]$xUS_SQL = mysql_query("SELECT * FROM `xeon_users` WHERE `xeon_users`.`id` = "._OP_PROCESS_ID." LIMIT 1;") or die( _OP_ERROR(mysql_error(), __FILE__ ,__LINE__) );   $xUS = mysql_fetch_assoc($xUS_SQL);# $xACCOUNT[0]: ACCOUNT TYPE - 0 STANDARD, 0 EXTENDED, 1 PREMIUM# $xACCOUNT[1]: PREMIUM ACCOUNT EXPIRES: TIME_STAMP$xACCOUNT_NAMES = explode('|', config('account_names'));$xACCOUNT = explode(":", $xUS['e_account']);# Zmienne$xConfig = array();$xConfig['clicks_minimum'] = ($xACCOUNT[0] == 2 || $xACCOUNT[0] == 3) ? ($xACCOUNT[0] == 3 ? 7 : 7) : 4;            $xConfig['clicks_minimum'] = ($xACCOUNT[0] == 4) ? 11 : $xConfig['clicks_minimum'];# PRICES LIST$ceny = _OP_PRICE_LIST($xACCOUNT[0], $xUS['s_referals_rented']);# REDIRECT IF ACCOUNT SUSPENDED_OP_USER_CHECK($xUS['x_status']);}# DELETE REFERER COOKIEif(isset($_GET['r'])){ setcookie('r', $_GET['r']); }# GENERATE COME FROM COOKIEif($_COOKIE['xHT'] == '' && !CORE){ _OP_COME_FROM(); }# INCLUDES TREEif( isset($_GET['v']) ){switch ($_GET['v']){ /* HOME     */ case 'p'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.home.php'); LAY_FOOTER(); break;/* TOS      */ case 't'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.tos.php'); LAY_FOOTER(); break;/* TOS      */ case 'pp' : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.privacy.php'); LAY_FOOTER(); break;/* FAQ      */ case 'f'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.faq.php'); LAY_FOOTER(); break;/* LOGOUT   */ case 'xxx': LAY_HEAD(); require($_SERVER["DOCUMENT_ROOT"].'/sites/inc.logout.php'); LAY_FOOTER(); PROCESS_DESTROY(); break;/* LOGIN    */ case 'l'  : if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.login.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_FOOTER(); } break;/* REGISTER */ case 'r'  : if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.register.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_FOOTER(); } break;/* BANNER   */ case 'iframe' : require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.global.rotator.php'); break;case 'c': if(!CORE){_redirect("{$config['url']}?v=xxx&reason="._OP_PROCESS_REASON);}if(isset($_GET['cc'])){switch ($_GET['cc']){ case 'post': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.post.php'); break;case 'g1': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.game.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rs': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rsc': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.profit.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rsa': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.average.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rd': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.direct.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rr':  if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/'.($xACCOUNT[0] == 4 ? 'inc.account.referals.rented.panel.4.php' : 'inc.account.referals.rented.php')); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'rrf': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.filters.panel.4.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                                                case 'rx': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.queue.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'qq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.queue.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'bq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.bi.que.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'p4': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.panel.4.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'order': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.order.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'sap': if($_SERVER["REQUEST_METHOD"] == 'POST'){require_once($_SERVER["DOCUMENT_ROOT"].'/sites/sap/index.php');} else {LAY_HEAD();LAY_MENU_HEAD();require_once($_SERVER["DOCUMENT_ROOT"].'/sites/sap/index.php');LAY_MENU_FOOTER();LAY_FOOTER();}break;case 'pm': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.pm.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rl': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.logs.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'ru':if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); }require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.upgrade.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'rn':if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); }require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.renew.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'rp': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.banners.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rb': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.funds.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rh': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.history.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rc': if(isset($_GET['post'])){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.cashout.php'); } else { LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.cashout.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'sr': LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.support.php'); LAY_FOOTER(); break;case 'tpc': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.others.calculator.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'jp_0':$QUERY_SQL = mysql_query("SELECT * FROM `xeon_jackpots` WHERE `jp_type` = 0 LIMIT 100;") or _OP_ERROR(mysql_error(), __FILE__, __LINE__);$QUERY_INT = mysql_num_rows($QUERY_SQL);if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_HEAD(); LAY_MENU_HEAD();}require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.jackpot_0.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'jp_1':$QUERY_SQL = mysql_query("SELECT * FROM `xeon_jackpots` WHERE `jp_type` = 1 LIMIT 100;") or _OP_ERROR(mysql_error(), __FILE__, __LINE__);$QUERY_INT = mysql_num_rows($QUERY_SQL);if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_HEAD(); LAY_MENU_HEAD();}require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.jackpot_1.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'p' : if($_SERVER["REQUEST_METHOD"] == 'POST'){require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.personal.php');} else {LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.personal.php'); LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'acp':if($_POST['lol'] == CONFIG_CONTROL_PANEL_PASS){$_SESSION['ACP_LOCKED'] = 'NO';_redirect($config['url'].'?v=c&cc=acp');}if( ($xUS['x_username'] == 'admin' || $xUS['x_username'] == 'root') && $_SESSION['ACP_LOCKED'] == 'NO'){switch ($_GET['acp_i']){ case 'lock': unset($_SESSION['ACP_LOCKED']); _redirect($config['url'].'?v=c'); break;case 'support': LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.support.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'transactions': LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.transactions.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'user': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'user_view': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.view.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'user_view_advanced': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.view.advanced.php'); LAY_FOOTER(); } break;case 'adver': if($_SERVER['REQUEST_METHOD'] == 'GET' && $_GET['action'] != 'view'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.advertisements.php'); if($_SERVER['REQUEST_METHOD'] == 'GET' && $_GET['action'] != 'view'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'banners': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.banners.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'forum': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.forum.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'forum_report': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.forum.report.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'rent_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.rent.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'cashout_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.cashout.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'jackpot_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.jackpot.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;default:  if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }}} else {echo '<div align="center" style="margin-top: 280px;"><form id="acp-login" action="" method="post"><input type="text" name="lol" /> <input type="submit" value="OK" /></form></div><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script><script type="text/javascript">$(function(){$(document).bind(\'keypress\',function(e){if(e.keyCode==13){$(\'#acp-login\').submit();}});});</script>';}break;default : _redirect($config['url'].'?v=c');}} else { LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'v': if(isset($_GET['vv'])){switch ($_GET['vv']){ case 'v2': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.2.php'); break;case 'v3': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.3.php'); break;default : _redirect($config['url'].'?v=v');}} else {LAY_HEAD(); require($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.1.php'); LAY_FOOTER();}break;/* CORE STATS */            case 'core-stats':                if(empty($TOP_STATS[0])){                    $TOP_STATS = _TOP_STATS();                }                                # 1269493200 = day timestamp what bux since                                echo                 SITE_INFO_NAME.' founded since<br />                <b>'.ceil((time()-1269493200) / 86400).'</b> days<br />                                                Registered Users<br />                <b>'.number_format(config('users_total')).'</b><br />                                                Online Users<br />                <b>'.$TOP_STATS[0].'</b><br />                                                Total Paid<br />                <b>$'.number_format(config('instant_paid'), 2).'</b>'                ;                                exit;            break;/* HOME */ default    : _redirect($config['url'].'?v=p'); break;}} else if(isset($_GET['optim'])){switch($_GET['optim']){ case 'geomap' : require_once($_SERVER["DOCUMENT_ROOT"].'/includes/html/geomap.php'); break;case 'bredand' : _CACHE_FREE(); break;            default: echo 'error'; exit();}} else if($_SERVER["REQUEST_URI"] == '/'){LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.home.php'); LAY_FOOTER();} else {_redirect($config['url'].'?v=p');}if($link){@mysql_close($link);}?>

E o funkcje e este:
 

<?php# CHECK SESSEION COOKIEif($_SERVER["SERVER_NAME"] != 'localhost'){if($_SERVER["REQUEST_METHOD"] == 'GET'){if(strpos($_SERVER["HTTP_REFERER"], 'google') !== false){if( isset($_COOKIE['r']) || isset($_GET['r']) ){setcookie('r', '', time()-3600);header("HTTP/1.1 301 Moved Permanently");header("Location: http://{$_SERVER['SERVER_NAME']}/");exit;}}}}# FUNCTIONSrequire_once($_SERVER["DOCUMENT_ROOT"].'/includes/php/funkcje.inc.php');# DOWN FUNCTIONregister_shutdown_function('_SHUTDOWN');# PHP SETTINGS (MOVE TO PHP.INI)ini_set('session.name', "xAA");//ini_set('session.gc_probability', 0);//ini_set('session.gc_maxlifetime', 604800);//ini_set('session.use_only_cookies', 1);//ini_set('session.cookie_lifetime', 604800);//ini_set('session.hash_function', 1);//ini_set('session.hash_bits_per_character', 6);ini_set('display_errors', 0);# SESSION STARTsession_start();# GZIP CONTENTob_start("ob_gzhandler");ob_start("_GENERATE_HTML");# STALE & ZMIENNEdefine('CORE', _OP_PROCESS_CHECK());# ZMIENNE$config = array();$config['url'] = "http://{$_SERVER['SERVER_NAME']}/";$config['furl'] = "http://{$_SERVER['SERVER_NAME']}/forum/";$config['site'] = SITE_INFO_NAME;    $config['site_slogan'] = SITE_INFO_SLOGAN;    $config['site_mail'] = SITE_INFO_SUPPORT;    $config['admin'] = (_OP_PROCESS_ID == 1 || _OP_PROCESS_ID == 2) ? true:false;# CONNECT TO DB_DB_CONNECT();_OP_USERS_ONLINE();    if(CORE){# $xUS[]$xUS_SQL = mysql_query("SELECT * FROM `xeon_users` WHERE `xeon_users`.`id` = "._OP_PROCESS_ID." LIMIT 1;") or die( _OP_ERROR(mysql_error(), __FILE__ ,__LINE__) );   $xUS = mysql_fetch_assoc($xUS_SQL);# $xACCOUNT[0]: ACCOUNT TYPE - 0 STANDARD, 0 EXTENDED, 1 PREMIUM# $xACCOUNT[1]: PREMIUM ACCOUNT EXPIRES: TIME_STAMP$xACCOUNT_NAMES = explode('|', config('account_names'));$xACCOUNT = explode(":", $xUS['e_account']);# Zmienne$xConfig = array();$xConfig['clicks_minimum'] = ($xACCOUNT[0] == 2 || $xACCOUNT[0] == 3) ? ($xACCOUNT[0] == 3 ? 7 : 7) : 4;            $xConfig['clicks_minimum'] = ($xACCOUNT[0] == 4) ? 11 : $xConfig['clicks_minimum'];# PRICES LIST$ceny = _OP_PRICE_LIST($xACCOUNT[0], $xUS['s_referals_rented']);# REDIRECT IF ACCOUNT SUSPENDED_OP_USER_CHECK($xUS['x_status']);}# DELETE REFERER COOKIEif(isset($_GET['r'])){ setcookie('r', $_GET['r']); }# GENERATE COME FROM COOKIEif($_COOKIE['xHT'] == '' && !CORE){ _OP_COME_FROM(); }# INCLUDES TREEif( isset($_GET['v']) ){switch ($_GET['v']){ /* HOME     */ case 'p'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.home.php'); LAY_FOOTER(); break;/* TOS      */ case 't'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.tos.php'); LAY_FOOTER(); break;/* TOS      */ case 'pp' : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.privacy.php'); LAY_FOOTER(); break;/* FAQ      */ case 'f'  : LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.faq.php'); LAY_FOOTER(); break;/* LOGOUT   */ case 'xxx': LAY_HEAD(); require($_SERVER["DOCUMENT_ROOT"].'/sites/inc.logout.php'); LAY_FOOTER(); PROCESS_DESTROY(); break;/* LOGIN    */ case 'l'  : if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.login.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_FOOTER(); } break;/* REGISTER */ case 'r'  : if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.register.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_FOOTER(); } break;/* BANNER   */ case 'iframe' : require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.global.rotator.php'); break;case 'c': if(!CORE){_redirect("{$config['url']}?v=xxx&reason="._OP_PROCESS_REASON);}if(isset($_GET['cc'])){switch ($_GET['cc']){ case 'post': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.post.php'); break;case 'g1': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.game.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rs': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rsc': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.profit.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rsa': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.stats.average.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rd': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.direct.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;                        case 'rr':  if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/'.($xACCOUNT[0] == 4 ? 'inc.account.referals.rented.panel.4.php' : 'inc.account.referals.rented.php')); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'rrf': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.filters.panel.4.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                                                case 'rx': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.queue.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'qq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.queue.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'bq': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.renting.bi.que.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'p4': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.panel.4.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;                        case 'order': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.order.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'sap': if($_SERVER["REQUEST_METHOD"] == 'POST'){require_once($_SERVER["DOCUMENT_ROOT"].'/sites/sap/index.php');} else {LAY_HEAD();LAY_MENU_HEAD();require_once($_SERVER["DOCUMENT_ROOT"].'/sites/sap/index.php');LAY_MENU_FOOTER();LAY_FOOTER();}break;case 'pm': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.pm.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rl': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.logs.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'ru':if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); }require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.upgrade.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'rn':if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_HEAD(); }require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.referals.rented.renew.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'rp': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.banners.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rb': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.funds.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rh': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.history.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'rc': if(isset($_GET['post'])){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.cashout.php'); } else { LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.cashout.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'sr': LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.support.php'); LAY_FOOTER(); break;case 'tpc': LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.others.calculator.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'jp_0':$QUERY_SQL = mysql_query("SELECT * FROM `xeon_jackpots` WHERE `jp_type` = 0 LIMIT 100;") or _OP_ERROR(mysql_error(), __FILE__, __LINE__);$QUERY_INT = mysql_num_rows($QUERY_SQL);if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_HEAD(); LAY_MENU_HEAD();}require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.jackpot_0.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'jp_1':$QUERY_SQL = mysql_query("SELECT * FROM `xeon_jackpots` WHERE `jp_type` = 1 LIMIT 100;") or _OP_ERROR(mysql_error(), __FILE__, __LINE__);$QUERY_INT = mysql_num_rows($QUERY_SQL);if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_HEAD(); LAY_MENU_HEAD();}require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.jackpot_1.php');if($_SERVER['REQUEST_METHOD'] == 'GET'){LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'p' : if($_SERVER["REQUEST_METHOD"] == 'POST'){require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.personal.php');} else {LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.personal.php'); LAY_MENU_FOOTER(); LAY_FOOTER();}break;case 'acp':if($_POST['lol'] == CONFIG_CONTROL_PANEL_PASS){$_SESSION['ACP_LOCKED'] = 'NO';_redirect($config['url'].'?v=c&cc=acp');}if( ($xUS['x_username'] == 'admin' || $xUS['x_username'] == 'root') && $_SESSION['ACP_LOCKED'] == 'NO'){switch ($_GET['acp_i']){ case 'lock': unset($_SESSION['ACP_LOCKED']); _redirect($config['url'].'?v=c'); break;case 'support': LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.support.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'transactions': LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.transactions.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); break;case 'user': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'user_view': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); LAY_MENU_ACP_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.view.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'user_view_advanced': if($_POST){ require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.php'); } else { LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.user.view.advanced.php'); LAY_FOOTER(); } break;case 'adver': if($_SERVER['REQUEST_METHOD'] == 'GET' && $_GET['action'] != 'view'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.advertisements.php'); if($_SERVER['REQUEST_METHOD'] == 'GET' && $_GET['action'] != 'view'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'banners': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.banners.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'forum': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.forum.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'forum_report': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.forum.report.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'rent_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.rent.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'cashout_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.cashout.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;case 'jackpot_logs': if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.jackpot.logs.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); } break;default:  if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_HEAD(); LAY_MENU_ACP_HEAD(); } require_once($_SERVER["DOCUMENT_ROOT"].'/sites/acp/inc.admin.php'); if($_SERVER['REQUEST_METHOD'] == 'GET'){ LAY_MENU_FOOTER(); LAY_FOOTER(); }}} else {echo '<div align="center" style="margin-top: 280px;"><form id="acp-login" action="" method="post"><input type="text" name="lol" /> <input type="submit" value="OK" /></form></div><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script><script type="text/javascript">$(function(){$(document).bind(\'keypress\',function(e){if(e.keyCode==13){$(\'#acp-login\').submit();}});});</script>';}break;default : _redirect($config['url'].'?v=c');}} else { LAY_HEAD(); LAY_MENU_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.account.php'); LAY_MENU_FOOTER(); LAY_FOOTER(); }break;case 'v': if(isset($_GET['vv'])){switch ($_GET['vv']){ case 'v2': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.2.php'); break;case 'v3': require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.3.php'); break;default : _redirect($config['url'].'?v=v');}} else {LAY_HEAD(); require($_SERVER["DOCUMENT_ROOT"].'/sites/inc.ads.step.1.php'); LAY_FOOTER();}break;/* CORE STATS */            case 'core-stats':                if(empty($TOP_STATS[0])){                    $TOP_STATS = _TOP_STATS();                }                                # 1269493200 = day timestamp what bux since                                echo                 SITE_INFO_NAME.' founded since<br />                <b>'.ceil((time()-1269493200) / 86400).'</b> days<br />                                                Registered Users<br />                <b>'.number_format(config('users_total')).'</b><br />                                                Online Users<br />                <b>'.$TOP_STATS[0].'</b><br />                                                Total Paid<br />                <b>$'.number_format(config('instant_paid'), 2).'</b>'                ;                                exit;            break;/* HOME */ default    : _redirect($config['url'].'?v=p'); break;}} else if(isset($_GET['optim'])){switch($_GET['optim']){ case 'geomap' : require_once($_SERVER["DOCUMENT_ROOT"].'/includes/html/geomap.php'); break;case 'bredand' : _CACHE_FREE(); break;            default: echo 'error'; exit();}} else if($_SERVER["REQUEST_URI"] == '/'){LAY_HEAD(); require_once($_SERVER["DOCUMENT_ROOT"].'/sites/inc.home.php'); LAY_FOOTER();} else {_redirect($config['url'].'?v=p');}if($link){@mysql_close($link);}?>

Sera que alguem pode ajudar ? Desde ja agradeço!

Compartilhar este post


Link para o post
Compartilhar em outros sites

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar agora





Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas publicações sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×