Parse error: syntax error, unexpected T_STRING in /data/multiserv/users/996585/projects/2269552/www/include/config.php on line 1
really nice release
my error:
These files works on xamppon webhost don't works....... files are good but need maked working for host like 000webhost or anothers.
If you want to see how it is try it on xampp. If you want it on a webhost............. need some who know how to repair it.
UP
I started alone a development of this :-S i fixed the index and i add the train buttons at user_main
<?php
if ( !isset( $_SESSION['id'] ) ) {
header( "location: logout.php" );
exit;
}
date_default_timezone_set( $config['timezone'] );
require $config['path'] . '/include/func.general.php';
require $config['path'] . '/include/func.database.php';
require $config['path'] . '/include/func.user.php';
require $config['path'] . '/include/func.time.php';
require $config['path'] . '/include/func.clan.php';
require $config['path'] . '/include/func.ranking.php';
require $config['path'] . '/include/func.search.php';
if ( !isset( $config ) )
exit( 'Não é permitido o acesso direto aos scritps' );
db_connect(
$config['database']['hostname'],
$config['database']['database'],
$config['database']['username'],
$config['database']['password']
);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="pl">
<head>
<title>BiteFight</title>
<link rel="stylesheet" type="text/css" href="game.css" />
<meta name="description" content="A luta entre Vampiros e Lobisomens tem escalado durante séculos. É o teu destino decidir esta batalha!">
<meta name="keywords" content="webgame, browser, navegador, bitefight, vampiro, lobsomen, guerra, snague">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script type="text/javascript" src="inc/jquery.js"></script>
<script type="text/javascript" src="inc/countdown.js"></script>
</head>
<body bgcolor="#220202" >
<div id="container">
<table background="img/header.jpg" width="1035" height="294" style="position:absolute; left:-37px; top:0px;" alt="Bite Fight">
<tr>
<td>
<div style="width: 728px; height: 90px; left: 255px; top: 158px; position: absolute;">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9719214342517886";
google_ad_slot = "2129802929";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:20px; background-image:url(img/border.gif); background-repeat:repeat-y; background-position:right;"> </td>
<td style="width:156px; background-image:url(img/sidebg.jpg); background-repeat:repeat-y; background-position:left; vertical-align:top;">
<div id="menu" style="width:156px; background-image:url(img/menubg.jpg); background-repeat:repeat-y; background-position:left;">
<?php require $config['path'] . '/include/tpl/index_z.php'; ?>
</div>
<img src="img/menudivider.gif" width="156" height="17" alt="" />
</td>
<td style="width:16px; background-image:url(img/border.gif); background-repeat:repeat-y;"> </td>
<td style="background-image:url(img/darkstone.jpg); vertical-align:top; text-align:center;">
<img src="img/content_top.jpg" width="784" height="38" alt="" />
<div id="content" style="position:relative; top:-30px; width:720px; margin-left:auto; margin-right:auto;">
<?php
date_default_timezone_set( $config['timezone'] );
require $config['path'] . '/include/func.user.php';
require $config['path'] . '/include/func.clan.php';
require $config['path'] . '/include/func.database.php';
if ( !isset( $config ) )
exit( 'Não é permitido o acesso direto aos scritps' );
db_connect(
$config['database']['hostname'],
$config['database']['database'],
$config['database']['username'],
$config['database']['password']
);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="pl">
<head>
<title>BiteFight</title>
<link rel="stylesheet" type="text/css" href="game.css">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#220202" >
<div id="container">
<table background="img/header.jpg" width="1035" height="294" style="position:absolute; left:-37px; top:0px;" alt="Bite Fight">
<tr>
<td></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="width:20px; background-image:url(img/border.gif); background-repeat:repeat-y; background-position:right;"> </td>
<td style="width:156px; background-image:url(img/sidebg.jpg); background-repeat:repeat-y; background-position:left; vertical-align:top;">
<div id="menu" style="width:156px; background-image:url(img/menubg.jpg); background-repeat:repeat-y; background-position:left;">
<?php require $config['path'] . '/include/tpl/index_m.php'; ?>
</div>
<img src="img/menudivider.gif" width="156" height="17" alt="" />
</td>
<td style="width:16px; background-image:url(img/border.gif); background-repeat:repeat-y;"> </td>
<td style="background-image:url(img/darkstone.jpg); vertical-align:top; text-align:center;">
<img src="img/content_top.jpg" width="784" height="38" alt="" />
<div id="content" style="position:relative; top:-30px; width:720px; margin-left:auto; margin-right:auto;">