Jump to content

Recommended Posts

Posted (edited)

Hi all, some1 can help me plz with my web page. i installed webstress11 nulled. all succesfully instaled. 

after instalation delet install.php and install folder how it says. 

but when i try to enter my installed webpage (localhost/index.php or ''myip''/index.php) shows empty page.

 

 

 

my index.php

<?php
session_start( );
error_reporting(E_ALL);
define( "STRESSWEB", TRUE );
define( "ROOT_DIR", dirname( __FILE__ ) );
define( "INC_DIR", ROOT_DIR."/inc" );
define( "MOD", "index" );

require_once( INC_DIR."/cache.php" );
require_once( INC_DIR."/data/config.php" );
require_once( INC_DIR."/data/config_db.php" );
require_once( INC_DIR."/cfg.default.php" );
require_once( INC_DIR."/lang/".$l2cfg['lang'].".php" );
require_once( INC_DIR."/classes/class.mysql.php" );
require_once( INC_DIR."/classes/class.template.php" );
$host=getenv("HTTP_HOST");
$tpl = new template_parse_class( );
$tpl->dir = ROOT_DIR.( "/skin/".$l2cfg['template'] );
$http_home_url = explode( "index.php", strtolower( $_SERVER['PHP_SELF'] ) );
$http_home_url = reset( $http_home_url );
define( "TPL_DIR", $http_home_url.( "skin/".$l2cfg['template'] ) );
require_once( INC_DIR."/classes/class.la2.php" );
require_once( INC_DIR."/classes/class.functions.php" );
require_once( INC_DIR."/classes/class.user.php" );
user::offline( );
$debug = $l2cfg['mysql']['debug'];
require_once( INC_DIR."/l2init.php" );

$user = new user( );
$user->auth( );
$_TIME = time( ) + $l2cfg['timezone'] * 60;
require_once( INC_DIR."/module.php" );
include_once( INC_DIR."/module/login.php" );
include_once( INC_DIR."/module/server.php" );
include_once( INC_DIR."/module/info.php" );
include_once( INC_DIR."/module/poll.php" );
include_once( INC_DIR."/module/forum.php" );
$tpl->GetTemplate( "index.tpl" );
$tpl->SetVar( "{TITLE}", $l2cfg['title'] );
$tpl->SetVar( "{THEME}", TPL_DIR );
$tpl->SetVar( "{LOGIN}", $tpl->result['login'] );
$tpl->SetVar( "{SERVER}", $tpl->result['server'] );
$tpl->SetVar( "{FORUM_LINKS}", $tpl->result['forum'] );
$tpl->SetVar( "{INFO}", $user->errorMsg( ) );
$tpl->SetVar( "{CONTENT}", $tpl->result['content'] );
$tpl->SetVar( "{POLL}", $tpl->result['poll'] );
$tpl->SetVar( "{COPYRIGHT}", $tpl->result['copy'] );
$tpl->parse( "index" );
echo $tpl->result['index'];
$tpl->clear_global( );
$db->Close( );
foreach ( $ldb as $ldb_close )
{
    $ldb_close->Close( );
}
foreach ( $gdb as $gdb_close )
{
    $gdb_close->Close( );
}
?>

Edited by renolv8

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock