Secret Experience

Secret Experience (https://secretexperience.net/)
-   [AION | Admin] Pedidos (https://secretexperience.net/aion-admin-pedidos/)
-   -   Modificacão no site (https://secretexperience.net/aion-admin-pedidos/26554-modificacao-no-site.html)

tunin 14-10-2010 08:57 PM

Modificacão no site
 
Opa galera, estava querendo fazer uma modificacao no meu site, atualmente ele mostra apenas a ultima noticia postada e cria uma rolagem abaixo com o restante, eu queria que essa rolagem nao existise, e aparece o link das 10 ultimas postadas ou sei la, todas que jah foram postadas.

Atualmente ele esta assim:

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

Queria alterar para ficar assim:

[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
[Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]

O codigo do site onde fik as noticias é este:

Código:

<?php
/*================================
  Autor: Jorge Luiz Oliveira Borba
  Email: jorge.borba@gmail.com
  ================================*/
?>
<?php include("includes/header.php");?>

<?php
$objNoticia = new Noticia();

if(is_numeric($_GET["id_noticia"]))
{
        $objNoticia->SelectById($_GET["id_noticia"]);
}else{
        $objNoticia->SelectUltima();
}


if($objNoticia->id_noticia != "")
{
?>
<table width="511" height="29" border="0" cellpadding="0" cellspacing="0" background="_images/titulo_bg.gif">
  <tr>
    <td align="center" class="titulo"><?php echo LG_HOME;?></td>
  </tr>
</table>

      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td class="conteudo">
                 
    <?php echo LG_POSTED_BY;?>
      <span class="azul">
      <?php echo $objNoticia->autor;?>
      </span><br>
      <?php echo LG_DATE;?>
      : <span class="azul">
      <?php echo $objNoticia->data_cadastro;?>
      </span>
          <br> <h1><?php echo $objNoticia->titulo;?></h1>

<?php
        if($objNoticia->imagem != "")
        {
?>
<div id="jquery-image-zoom-example">
      <table width="200" border="0" align="left" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="conteudo">
        <tr>
          <td><a href="arquivos/imagens/<?php echo $objNoticia->imagem;?>"><img src="thumbnail.php?w=200&img=arquivos/imagens/<?php echo $objNoticia->imagem;?>" hspace="4" border="0"></a></td>
        </tr>
        <tr>
          <td align="center"><?php echo LG_CLICK_ZOOM;?></td>
        </tr>
      </table>
</div>
<?php
        }
?>
        <?php echo $objNoticia->noticia;?>
                 
                  </td>
        </tr>
                        <tr>
          <td height="30">&nbsp;</td>
        </tr>
        <tr>
          <td>
                 
      <h2><?php echo LG_MORE_NEWS;?></h2>



    <div class="newsticker-jcarousellite">
                <ul>
           



<?php
$objNoticia = new Noticia();

$objNoticia->status_noticia = "1";
$objNoticia->LoadLista("id_noticia DESC limit 10");

while($rs = $objNoticia->Rs())
{
?>
                        <li>
                                <div class="info">
                                        <span class="azul"><?php echo $rs["data_cadastro"];?></span>
                                        <a href="index.php?id_noticia=<?php echo $rs["id_noticia"];?>"><?php echo $rs["titulo"];?></a>
                                </div>
                                <div class="thumbnail">
                                        <?php echo $rs["chamada"];?>
                                </div>
                                <div class="clear"></div>
                        </li>
<?php
}
?>
        </ul>
    </div>
                  </td>
        </tr>
      </table>
<?php
}
?>
     
<?php include("includes/footer.php");?>


radiador22~ 14-10-2010 09:10 PM

Procure essa parte:
$objNoticia->status_noticia = "1";
$objNoticia->LoadLista("id_noticia DESC limit 10");


Em vermelho, é o numero de noticias que vai aparecer.


em verde é o numero total de noticias que vai ser carregada embaixo das principais.

Ou

tunin 14-10-2010 09:59 PM

tentei isso amigo, resultou apenas em nao aparecer nenhuma na rolagem.

fetish 15-10-2010 08:42 AM

Screenshots, por gentileza.

tunin 15-10-2010 09:37 PM

Screns Adicionadas

fetish 16-10-2010 08:46 AM

O Script do sistema de notícias é apenas este? Se não for poste-o por completo.

@Radiador22

Uma correção: $objNoticia->status_noticia = "1"; Isto é setado se a notícia está ou não online no sistema, não aconselho alterar ali, e deixar 1 mesmo.

radiador22~ 16-10-2010 11:18 AM

É, ta certo, não tinha prestado atenção, olhando isso também, percebi, se o script principal puxa as noticias com status 1, deve ter um painel para modificar os scripts não? e se quer q mais de uma noticia apareça em cima de uma vez, tente ir na database, e altarar o status da noticia para 1, pois deve dar assim.

tunin 16-10-2010 01:50 PM

sim onde mostra a noticias e este ae porem tbm tem este que e o que posta a noticia:

Código:

<?php
/*================================
  Autor: Jorge Luiz Oliveira Borba
  Email: jorge.borba@gmail.com
  ================================*/
?>
<?php include("includes/header.php");?>

<?php
if($_SESSION["access_level"] < 2)
{
        echo "<script>location.href='index.php'</script>";
        exit;
}
?>
      <img src="_images/titulo_edit_news.gif" width="511" height="29">

<?php
require_once("libs/Noticia.class.php");

$objNoticia = new Noticia();
$objNoticia->LoadByPost();

switch($_POST["Acao"])
{
    case "Inserir":
                if($objNoticia->Insert())
                {
                        alerta("Dados Inseridos com sucesso!!");
                        mudapagina("lista_noticia.php");
                        exit;
                }else{
                        $msg = "Ocorreu um erro durante o envio dos dados!!!";
                }
        break;
    case "Alterar":
                if($objNoticia->Update())
                {
                        alerta("Dados Alterados com sucesso!!");
                        mudapagina("lista_noticia.php");
                        exit;
                }else{
                        $msg = "Ocorreu um erro durante o envio dos dados!!!";
                }
        break;
    case "Excluir":
                if($objNoticia->Delete())
                {
                        alerta("Dados Excluídos com sucesso!!");
                        mudapagina("lista_noticia.php");
                        exit;
                }else{
                        $msg = "Ocorreu um erro durante o envio dos dados!!!";
                }
        break;
}

if(is_numeric($_GET["id"]))
{
        $objNoticia->SelectById($_GET["id"]);
}

if($objNoticia->data_cadastro == "")
{
        $objNoticia->data_cadastro = date("d/m/Y");;
}
?>
<?php
if($msg != "")
{
?>
      <br>
          <table width="100%" border="0" cellpadding="2" cellspacing="2" id="box_erro">
        <tr>
          <td height="16" class="erro">
                          <fieldset class="fieldseterror">
                        <legend><img src="_images/ico_alert.gif" width="24" height="26" hspace="5" align="absmiddle">Ocorreram
                        os seguintes erros</legend>
            <table width="100%" border="0" cellpadding="2" cellspacing="2">
              <tr>
              <tr>
                <td height="16"> <span id="erro" class="erro">
                  <?php echo $msg?>
                  </span> </td>
              </tr>
            </table>
            </fieldset>
                  </td>
        </tr>
      </table>
<?php
}
?>
  <form method="POST" name="form1" action="form_noticia.php?id=<?php echo $_GET["id"]?>">

  <input name="data_cadastro" type="hidden" value="<?php echo $objNoticia->data_cadastro?>">
 
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                        <td>
                        <fieldset>
                          <legend>Formulário de Cadastro</legend>
                          <table width="100%" border="0" cellspacing="2" cellpadding="2">
                                        <tr>
                                          <td width="100">Titulo:</td>
                                          <td>

                                                <input name="titulo" type="text" class="inputs" id="titulo" value="<?php echo $objNoticia->titulo?>" size="50" maxlength="150">

                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="100">Chamada:</td>
                                          <td>

                                                <input name="chamada" type="text" class="inputs" id="chamada" value="<?php echo $objNoticia->chamada?>" size="50" maxlength="250">

                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="100">Noticia:</td>
                                          <td>

                                                <textarea name="html_noticia" id="html_noticia" cols="5" rows="5" class="selects"><?php echo $objNoticia->noticia?></textarea>
                                                <script language="javascript1.2">
                                                generate_wysiwyg("html_noticia");
                                                </script>

                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="100">Imagem:</td>
                                          <td>

                                                <table border="0" cellspacing="0" cellpadding="0">
                                                  <tr>
                                                                <td colspan="2"><a href="javascript:;"><img src="thumbnail.php?img=arquivos/imagens/<?php echo $objNoticia->imagem?>&w=80" border="0" id="thumb_imagem" onerror="this.src='_images/spacer.gif'" onabort="this.src='_images/spacer.gif'" onclick="window.open('arquivos/imagens/' + document.form1.imagem.value,'','')"></a></td>
                                                  </tr>
                                                  <tr>
                                                        <td><input name="imagem" type="text" class="inputs" onFocus="this.blur()" value="<?php echo $objNoticia->imagem?>" size="40"></td>
                                                        <td> <input name="Button" type="button" class="inputs" onClick="altera_imagem('imagem')" value="Alterar Imagem"></td>
                                                  </tr>
                                                </table>

                                          </td>
                                        </tr>
                                        <tr>
                                          <td width="100">Autor:</td>
                                          <td>

                                                <input name="autor" type="text" class="inputs" id="autor" value="<?php echo $objNoticia->autor?>" size="50" maxlength="150">

                                          </td>
                                        </tr>                                                                       
                </table>
              </fieldset>
              <fieldset>
              <legend>Status</legend>
                                  <table width="100%" border="0" cellspacing="2" cellpadding="2">
                                        <tr>
                                          <td width="100"> </td>
                                          <td>
                                                <input type="radio" name="status_noticia" value="1" id="status_1" <?php if($objNoticia->status_noticia == "1") echo "checked";?>>
                                                <label for="status_1">Ativo</label>
                                                <input type="radio" name="status_noticia" value="0" id="status_0" <?php if($objNoticia->status_noticia == "0") echo "checked";?>>
                                                <label for="status_0">Inativo</label>
                                          </td>
                                        </tr>
                                  </table>
              </fieldset>
              <fieldset>
              <legend>Opções</legend>
              <table width="100%" border="0" cellspacing="2" cellpadding="2">
                <tr>
                                  <td width="100"> </td>
                  <td>
<?php
if(is_numeric($_GET["id"]))
{
?>
                    <input type="hidden" name="id_noticia" value="<?php echo $_GET["id"]?>">
                    <input type="button" class="inputs" value="Inserir" disabled>
                    <input name="Acao" type="submit" class="inputs" value="Alterar">
                    <input name="Acao" type="submit" class="inputs" value="Excluir" onClick="return confirm('Deseja realmente excluir este registro?');">

<?php
}else{
?>
                    <input name="Acao" type="submit" class="inputs" value="Inserir">
                    <input type="button" class="inputs" value="Alterar" disabled>
                    <input type="button" class="inputs" value="Excluir" disabled>
<?php
}
?>
                    <input name="Acao" type="button"  class="inputs" value="Voltar" onClick="location.href='lista_noticia.php'">
                  </td>
                </tr>
              </table>
              </fieldset>
                        </td>
          </tr>
        </table>
      </form>

<?php include("includes/footer.php");?>


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">&nbsp;</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())
{
?>



DES7RUCTOR 06-11-2010 10:35 PM

Por isso que gosto de ajudar, quando eu fico fora por problemas sempre tem uma boa alma esforçada em tentar resolver o problema sem precisar so da moderação, parabens a todos.


Horários baseados na GMT -3. Agora são 03:12 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0