| sheylane |
20-11-2010 01:20 AM |
Poblema com configuração no SITE
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
Baixei esse site mas nao consigo concluir ele ja mudei as configuraçoes tudo nao sei oq é alguem pode me ajudar
Meu Header>>
Código PHP:
<?php
/*================================
Autor: Jorge Luiz Oliveira Borba
Email: jorge.borba@gmail.com
================================*/
require_once("libs/config.php");
require_once("libs/functions.php");
require_once("lang/".LANGUAGE.".php");
?>
<html>
<head>
<title><?php echo SERVER_NAME;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- SEO -->
<meta name="robots" content="follow" />
<meta name="description" content="" />
<meta name="keywords" content="">
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="_css/default.css" />
<link rel="stylesheet" type="text/css" href="_css/jquery.imageZoom.css" />
<link rel="stylesheet" type="text/css" href="_css/jquery.ui.css" />
<!-- JS -->
<script type="text/javascript" language="JavaScript1.2" src="_js/scripts.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.ui.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.pngfix.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.validate.js" ></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.imageZoom.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.jcarousellite.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/editor/wysiwyg.js"></script>
<script type="text/javascript" language="JavaScript1.2" src="_js/jquery.swfobject.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
$(document).ready(function(){
$("#caixa").pngfix();
jQuery(document.body).imageZoom();
$(".menu").button();
$("#menu_home").click(function() { location.href='index.php'; });
$("#menu_downloads").click(function() { location.href='downloads.php'; });
$("#menu_register").click(function() { location.href='register.php'; });
$("#menu_ranking").click(function() { location.href='ranking.php'; });
$(".newsticker-jcarousellite").jCarouselLite({
vertical: true,
hoverPause: true,
visible: 1,
auto:3500,
speed:2000
});
$("#frm_cadastro").validate({
rules: {
name: {required: true, no_special_chars:true, minlength:4},
password2: {required: true, minlength:4},
password: {required: true, minlength:4, equalTo: "#password2"},
user_code: {required: true}
},
messages: {
name: {required: "<?php echo LG_LOGIN_REQUIRED;?>", no_special_chars: "<?php echo LG_CHARS_NOT_ALLOWED;?>", minlength: "<?php echo LG_LOGIN_MIN_CHARS;?>"},
password2: {required: "<?php echo LG_PASSWORD_REQUIRED;?>", minlength: "<?php echo LG_PASSWORD_MIN_CHARS;?>"},
password: {required: "<?php echo LG_REWRITE_PASSWORD;?>", minlength: "<?php echo LG_PASSWORD_MIN_CHARS;?>", equalTo: "<?php echo LG_PASSWORD_DONT_MATCH;?>"},
user_code: {required: "<?php echo LG_CAPTCHA_REQUIRED;?>"}
}
});
$("#frm_password").validate({
rules: {
old_password: {required: true, minlength:4},
password2: {required: true, minlength:4},
password: {required: true, minlength:4, equalTo: "#password2"}
},
messages: {
old_password: {required: "<?php echo LG_OLD_PASSWORD_REQUIRED;?>", minlength: "<?php echo LG_PASSWORD_MIN_CHARS;?>"},
password2: {required: "<?php echo LG_PASSWORD_REQUIRED;?>", minlength: "<?php echo LG_PASSWORD_MIN_CHARS;?>"},
password: {required: "<?php echo LG_REWRITE_PASSWORD;?>", minlength: "<?php echo LG_PASSWORD_MIN_CHARS;?>", equalTo: "<?php echo LG_PASSWORD_DONT_MATCH;?>"}
}
});
});
//-->
</script>
</head>
<body bgcolor="#000000" background="_images/bg2.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td width="1000" height="171" background="_images/header.gif"></td>
</tr>
<tr>
<td><table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="183" valign="top" style="background-repeat: no-repeat;" background="_images/lateral_esq.gif">
<div id="caixa" style="width:183px;height:198px;background: url(_images/caixa_status.png);background-repeat: no-repeat;">
<?php
$objPlayers = new Players();
$objAccountData = new AccountData();
?>
<div id="caixa" style="width:183px;height:198px;background: url(_images/caixa_status.png);background-repeat: no-repeat;">
<div class="caixas">
<span class="azul"><?php echo $objPlayers->getTotalPlayersOnline();?></span> <?php echo LG_PLAYERS_ONLINE;?>
<hr width="100%" size="1">
<span class="azul"><?php echo $objPlayers->getTotalPlayers();?></span> <?php echo LG_CHARS;?>
<hr width="100%" size="1">
<span class="azul"><?php echo $objAccountData->getTotalAccounts();?></span> <?php echo LG_ACCOUNTS;?>
<hr width="100%" size="1">
<?php echo LG_LOGIN_SERVER;?>:
<?php
if(isOnline(2106))
{
?>
<span class="verde"><?php echo LG_ONLINE;?></span>
<?php
}else{
?>
<span class="vermelho"><?php echo LG_OFFLINE;?></span>
<?php
}
?>
<hr width="100%" size="1">
<?php echo LG_GAME_SERVER;?>:
<?php
if(isOnline(7777))
{
?>
<span class="verde"><?php echo LG_ONLINE;?></span>
<?php
}else{
?>
<span class="vermelho"><?php echo LG_OFFLINE;?></span>
<?php
}
?>
<hr width="100%" size="1">
</div>
</div>
</div>
<div>
<a href="downloads.php"><img src="_images/tit_downloads.png" width="183" height="80" border="0" id="caixa"></a>
</div>
<div id="caixa" style="width:183px;height:220px;background: url(_images/caixa_rates.gif);background-repeat: no-repeat;">
<div class="caixas">
<span class="azul"><?php echo SERVER_RATE_XP;?></span> <?php echo LG_SERVER_RATE_XP;?>
<hr width="100%" size="1">
<span class="azul"><?php echo SERVER_RATE_KINAH;?></span> <?php echo LG_SERVER_RATE_KINAH;?>
<hr width="100%" size="1">
<span class="azul"><?php echo SERVER_RATE_DROP;?></span> <?php echo LG_SERVER_RATE_DROP;?>
<hr width="100%" size="1">
<span class="azul"><?php echo SERVER_RATE_QUEST;?></span> <?php echo LG_SERVER_RATE_QUEST;?>
<hr width="100%" size="1">
<span class="azul"><?php echo SERVER_RATE_GROUP;?></span> <?php echo LG_SERVER_RATE_GROUP;?>
<hr width="100%" size="1">
<span class="azul"><?php echo SERVER_RATE_AP;?></span> <?php echo LG_SERVER_RATE_AP;?>
<hr width="100%" size="1">
</div>
</div>
<?php
$objEnquete = new Enquete();
$objEnquete->SelectUltimaEnquete();
if($objEnquete->id_enquete != "")
{
?>
<div id="caixa" style="width:183px;height:205px;background: url(_images/caixa_enquete.gif);background-repeat: no-repeat;">
<form method="post" action="resultado_enquete.php" target="pop_enquete" name="frm_enquete">
<input type="hidden" name="id_enquete" value="<?php echo $objEnquete->id_enquete?>">
<div class="caixas">
<span class="azul"><?php echo $objEnquete->pergunta?></span>
<hr width="100%" size="1">
<input name="id_enquete_resposta" id="resposta1" type="radio" value="1" style="height:10px;" onClick="enquete_votar();">
<label for="resposta1"><?php echo $objEnquete->resposta1?></label>
<hr width="100%" size="1">
<input name="id_enquete_resposta" id="resposta2" type="radio" value="2" style="height:10px;" onClick="enquete_votar();">
<label for="resposta2"><?php echo $objEnquete->resposta2?></label>
<hr width="100%" size="1">
<input name="id_enquete_resposta" id="resposta3" type="radio" value="3" style="height:10px;" onClick="enquete_votar();">
<label for="resposta3"><?php echo $objEnquete->resposta3?></label>
<hr width="100%" size="1">
</div>
</form>
</div>
<?php
}
?>
</td>
<td valign="top" background="_images/aion.template_recorte_r2_c2.gif" height="44" style="background-repeat: no-repeat;">
<div>
<button class="menu" id="menu_home"><?php echo LG_HOME;?></button>
<button class="menu" id="menu_downloads"><?php echo LG_DOWNLOADS;?></button>
<button class="menu" id="menu_register"><?php echo LG_REGISTER;?></button>
<button class="menu" id="menu_ranking"><?php echo LG_RANKING;?></button>
</div>
<table width="633" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="3"><img src="_images/box_conteudo_cima.gif" width="633" height="80"></td>
</tr>
<tr>
<td width="61" background="_images/box_conteudo_esq.gif"> </td>
<td width="511" height="420" valign="top" background="_images/bg_conteudo.gif">
<!-- CONTEUDO -->
|