| daniellfranco |
03-11-2010 02:03 PM |
Ola amigos...
tava pensando em dar uma ajuda aki, ja que ainda num foi resolvido...
Bom... primeiramente eu usei o Dreamweaver.
la no Dreamweaver com o arquivo index.php aberto, em cima tem escrito codigo-fonte, header.php, footer.php
vc seleciona header.php
dai vai aparecer a seguinte pagina (isso tudo no arquivo index.php)
Código:
<?php
/*================================
Autor: Jorge Luiz Oliveira Borba
Email: [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
================================*/
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>
<style type="text/css">
<!--
.style3 {color: #009900; font-weight: bold; }
-->
</style>
</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 $objAccountData->getTotalAccounts();?></span> <?php echo LG_ACCOUNTS;?>
<hr width="100%" size="1">
<span class="azul"><?php echo $objPlayers->getTotalPlayers();?></span> <?php echo LG_CHARS;?>
<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:290px;background: url(_images/caixa_info.gif);background-repeat: no-repeat;">
<div class="caixas">
<span class="azul">Versão Suportada</span> 1.9.0.1 a 1.9.0.3
<hr width="100%" size="1">
<span class="azul">Free Fly</span> <span class="style3"> ON</span>
<hr width="100%" size="1">
<span class="azul">Auto Learn Skill</span><span class="style3"> ON</span>
<hr width="100%" size="1">
<span class="azul">Level Max:</span> 60
<hr width="100%" size="1">
<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>
<div id="caixa" style="width:183px;height:320px;background: url(_images/caixa_premium.png);background-repeat: no-repeat;">
<div class="caixas">
<span class="azul">Versão Suportada</span> 1.9.0.1 a 1.9.0.3
<hr width="100%" size="1">
<span class="azul">Free Fly</span> <span class="style3"> ON</span>
<hr width="100%" size="1">
<span class="azul">Auto Learn Skill</span><span class="style3"> ON</span>
<hr width="100%" size="1">
<span class="azul">Level Max:</span> 60
<hr width="100%" size="1">
<span class="azul">300x</span> <?php echo LG_SERVER_RATE_XP;?>
<hr width="100%" size="1">
<span class="azul">200x</span> <?php echo LG_SERVER_RATE_KINAH;?>
<hr width="100%" size="1">
<span class="azul">150x</span> <?php echo LG_SERVER_RATE_DROP;?>
<hr width="100%" size="1">
<span class="azul">150x</span> <?php echo LG_SERVER_RATE_QUEST;?>
<hr width="100%" size="1">
<span class="azul">600x</span> <?php echo LG_SERVER_RATE_GROUP;?>
<hr width="100%" size="1">
<span class="azul">20x/30x</span> <?php echo LG_SERVER_RATE_AP;?>
<hr width="100%" size="1">
</div>
<!--
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<?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 -->
ai dentro vc apaga o seguinte texto:
$(".newsticker-jcarousellite").jCarouselLite({
vertical: true,
hoverPause: true,
visible: 1,
auto:3500,
speed:2000
});
obs: visible: 1 é que vai aparecer 1 de cada vez na rolagem.
testa la e diz oq q deu ^^
Citação:
Obs: tira aquele espaçao que ta logo apos o <ul>
Código:
<div class="newsticker-jcarousellite">
<ul>
<?php
$objNoticia = new Noticia();
$objNoticia->status_noticia = "1";
$objNoticia->LoadLista("id_noticia DESC limit 10");
while($rs = $objNoticia->Rs())
{
?>
|
|