Ir para conteúdo
Fórum Script Brasil
  • 0

Notícia não aparece


Hulk

Pergunta

Peguei um site para fazer uma alteração,repetir todas as ultimas notícias, só que a primeira nunca aparece, somente da segunda em diante...

o site é este

http://www.audic.com.br/

o código da página inicial este:

<!--#include file="Connections/conexao.asp" -->

<%
Dim Noticias
Dim Noticias_numRows

Set Noticias = Server.CreateObject("ADODB.Recordset")
Noticias.ActiveConnection = MM_conexao_STRING
Noticias.Source = "SELECT * FROM noticias ORDER BY id DESC"
Noticias.CursorType = 0
Noticias.CursorLocation = 2
Noticias.LockType = 1
Noticias.Open()

Noticias_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = 8
Repeat1__index = 0
Noticias_numRows = Noticias_numRows + Repeat1__numRows
%>
<%
Dim Repeat2__numRows
Dim Repeat2__index

Repeat2__numRows = 10
Repeat2__index = 0
avisos_numRows = avisos_numRows + Repeat2__numRows
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...ransitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Audic Contabilidade</title>
<meta name="title" content="AUDIC Contabilidade" />
<meta name="keywords" content="audic,contabilidade,audic contabilidade" />
<meta name="rating" content="General" />
<meta name="Author" content="Fenix Digital" />
<meta name="robots" content="all" />
<meta name="language" content="Portuguese"/>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #F2F2F2;
}
-->
</style>






<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="CSS/estilos.css" rel="stylesheet" type="text/css" />
<link href="menu_style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
#apDiv1 {
position:absolute;
left:254px;
top:272px;
width:500px;
height:258px;
z-index:1;
}
</style>

<link rel="stylesheet" type="text/css" href="css/supersized.css" />
<link rel="stylesheet" type="text/css" href="css/supersized.shutter.css" />
<script type='text/javascript' src='js/jquery.min.js'></script>
<script type='text/javascript' src='js/jquery.easing.min.js'></script>
<script type='text/javascript' src='js/supersized.3.2.6.min.js'></script>
<script type='text/javascript' src='js/supersized.shutter.min.js'></script>
<script type="text/javascript">
jQuery(function(jQuery){
jQuery.supersized({
slide_interval          :   5000, //Length between transitions
transition              :   1, //0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
transition_speed : 1000, //Speed of transition
random :   0,
performance : 1, //0-Normal, 1-Hybrid speed/quality, 2-Optimizes image quality, 3-Optimizes transition speed // (Only works for Firefox/IE, not Webkit)
image_protect : 0,
slides :   [ //Slideshow Images
{image : 'images/bg_01.jpg'},{image : 'images/bg_02.jpg'},{image : 'images/bg_03.jpg'},{image : 'images/bg_04.jpg'}]
//{image : 'images/bg_01.jpg'},{image : 'images/bg_02.jpg'},{image : 'images/bg_03.jpg'},{image : 'images/bg_04.jpg'},{image : 'images/bg_05.jpg'},{image : 'images/bg_06.jpg'},{image : 'images/bg_07.jpg'} ]
});
});
</script>
<link rel="stylesheet" href="css/scoller.css" type="text/css" media="screen" />
<script src="js/jcarousellite_1.0.1c4.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$(".newsticker-jcarousellite").jCarouselLite({
vertical: true,
hoverPause:true,
visible: 1,
auto:1000,
speed:2000
});
});
</script>
<link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="css/ie.css" /><![endif]-->
<script type='text/javascript' src='js/ddsmoothmenu.js'></script>
<script type='text/javascript' src='js/drop-down.js'></script>




<script type="text/javascript" src="jquery-1.7.2.min.js"></script>

<script type="text/javascript" src="http://ajax.googleap...4/jquery.min.js"></script>

<script type="text/javascript" src="js/jquery.fancybox-1.3.4.pack.js"></script>


<link rel="stylesheet" href="css/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />




<!-- Add jQuery library -->
<script type="text/javascript" src="../lib/jquery-1.8.2.min.js"></script>

<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="../lib/jquery.mousewheel-3.0.6.pack.js"></script>

<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="../source/jquery.fancybox.js?v=2.1.3"></script>
<link rel="stylesheet" type="text/css" href="../source/jquery.fancybox.css?v=2.1.2" media="screen" />

<!-- Add Button helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="../source/helpers/jquery.fancybox-buttons.css?v=1.0.5" />
<script type="text/javascript" src="../source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>

<!-- Add Thumbnail helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="../source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" />
<script type="text/javascript" src="../source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>

<!-- Add Media helper (this is optional) -->
<script type="text/javascript" src="../source/helpers/jquery.fancybox-media.js?v=1.0.5"></script>

<script type="text/javascript">
$(document).ready(function() {
/*
*  Simple image gallery. Uses default settings
*/

$('.fancybox').fancybox();

/*
*  Different effects
*/

// Change title type, overlay closing speed
$(".fancybox-effects-a").fancybox({
helpers: {
title : {
type : 'outside'
},
overlay : {
speedOut : 0
}
}
});

// Disable opening and closing animations, change title type
$(".fancybox-effects-b").fancybox({
openEffect  : 'none',
closeEffect : 'none',

helpers : {
title : {
type : 'over'
}
}
});

// Set custom style, close if clicked, change title type and overlay color
$(".fancybox-effects-c").fancybox({
wrapCSS    : 'fancybox-custom',
closeClick : true,

openEffect : 'none',

helpers : {
title : {
type : 'inside'
},
overlay : {
css : {
'background' : 'rgba(238,238,238,0.85)'
}
}
}
});

// Remove padding, set opening and closing animations, close if clicked and disable overlay
$(".fancybox-effects-d").fancybox({
padding: 0,

openEffect : 'elastic',
openSpeed  : 150,

closeEffect : 'elastic',
closeSpeed  : 150,

closeClick : true,

helpers : {
overlay : null
}
});

/*
*  Button helper. Disable animations, hide close button, change title type and content
*/

$('.fancybox-buttons').fancybox({
openEffect  : 'none',
closeEffect : 'none',

prevEffect : 'none',
nextEffect : 'none',

closeBtn  : false,

helpers : {
title : {
type : 'inside'
},
buttons : {}
},

afterLoad : function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
}
});


/*
*  Thumbnail helper. Disable animations, hide close button, arrows and slide to next gallery item if clicked
*/

$('.fancybox-thumbs').fancybox({
prevEffect : 'none',
nextEffect : 'none',

closeBtn  : false,
arrows    : false,
nextClick : true,

helpers : {
thumbs : {
width  : 50,
height : 50
}
}
});

/*
*  Media helper. Group items, disable animations, hide arrows, enable media and button helpers.
*/
$('.fancybox-media')
.attr('rel', 'media-gallery')
.fancybox({
openEffect : 'none',
closeEffect : 'none',
prevEffect : 'none',
nextEffect : 'none',

arrows : false,
helpers : {
media : {},
buttons : {}
}
});

/*
*  Open manually
*/

$("#fancybox-manual-a").click(function() {
$.fancybox.open('1_b.jpg');
});

$("#fancybox-manual-b").click(function() {
$.fancybox.open({
href : 'iframe.html',
type : 'iframe',
padding : 5
});
});

$("#fancybox-manual-c").click(function() {
$.fancybox.open([
{
href : '1_b.jpg',
title : 'My title'
}, {
href : '2_b.jpg',
title : '2nd title'
}, {
href : '3_b.jpg'
}
], {
helpers : {
thumbs : {
width: 75,
height: 50
}
}
});
});


});
</script>
    
 <script type="text/javascript">
    $(document).ready(function() {
        $("#hidden_link").fancybox().trigger('click');
    });
</script>

<body onload="MM_preloadImages('images/noticias_bg2.gif','images/legalize_bg2.gif','images/certidoes_bg2.gif','images/secretaria_bg2.gif','images/fgts_bg2.gif','images/inss_bg2.gif','images/inscricao_bg2.gif','images/cnpj_bg2.gif','images/inscricao_bg2-15.gif')">

<!--<div id="hidden_link" style="display:none"><iframe src="natal.html"></iframe></div>-->



<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/topo_bg.jpg">
      <tr>
        <td width="42%"><img src="images/topo1_bk.jpg" alt="" width="419" height="141" border="0" /></td>
        <td width="58%"><img src="images/topo_2.jpg" alt="" width="584" height="141" border="0" usemap="#Map" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td background="images/button1a.gif"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div>
<ul class="menu">
<li class="top"><a href="nossa_empresa.html" target="_self" class="top_link"><span>Nossa Empresa</span></a></li>
<li class="top"><a href="#" target="_self" class="top_link"><span>Servi&ccedil;os</span></a>
<ul class="sub">
<li><a href="balanco_patrimonial.html" target="_self" class="parent"><spam>Balan&ccedil;o Patrimonial</spam></a>
<li><a href="pepartamento_pessoal.html"><span>Departamento Pessoal</span></a></li>
<li><a href="PAF.html"><span>Planejamento e an&aacute;lise financeira</span></a></li>
<li><a href="PAC.html"><span>Planejamento e an&aacute;lise de custos </span></a></li>
<li><a href="pla_tributario.html" target="_self" class="parent"><spam>Planejamento Tribut&aacute;rio</spam></a></li>
<li><a href="escrituracao_livros.html"><span>Escritura&ccedil;&atilde;o de todos os livros fiscais e comerciais</span></a></li>
<li><a href="assessoria_empresas_recuperacao.html"><span>Assessoria e execu&ccedil;&atilde;o cont&aacute;bil de empresas em Recupera&ccedil;&atilde;o Judicial</span></a></li>
<li><a href="legalizacao_baixa.html"><span>Legaliza&ccedil;&atilde;o e baixa de empresas</span></a></li>
</ul>
</li>
<li class="top"><a href="cursos.html" target="_self" class="top_link"><span>Cursos</span></a>
<li class="top"><a href="#" target="_self" class="top_link"><span>Legalize sua Empresa</span></a>
<ul class="sub">
<li><a href="legalize.html" target="_self" class="parent"><spam>Informa&ccedil;&otilde;es B&aacute;sicas</spam></a>
<li><a href="ativ_socio.html"><span>Atividade sem s&oacute;cio</span></a></li>
<li><a href="ativ_sociedade.html"><span>Atividade em sociedade</span></a></li>
</ul>
</li>
<li class="top"><a href="seja_cliente.html" target="_self" class="top_link"><span> Seja Cliente </span></a></li>
<li class="top"><a href="http://audiccontabil....wordpress.com/" target="_blank" class="top_link"><span> Blog </span></a></li>
<li class="top"><a href="http://twitter.com/audicrj" target="_blank" class="top_link"><span> Twitter </span></a></li>
<li class="top"><a href="http://www.facebook....165484180149689" target="_blank" class="top_link"><span> Facebook </span></a></li>
<li class="top"><a href="contato.html" target="_self" class="top_link"><span>Contato </span></a></li>
</ul>
</div></td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="28%" valign="top"><table width="26%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><a href="noticias.asp" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image62','','images/noticias_bg2.gif',1)"><img src="images/noticias_bg1.gif" name="Image62" width="259" height="28" border="0" id="Image62" /></a></td>
            </tr>
            <tr>
              <td><a href="contabilidade_e_empresa.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image63','','images/legalize_bg2.gif',1)"><img src="images/legalize_bg1.gif" name="Image63" width="259" height="28" border="0" id="Image63" /></a></td>
            </tr>
            <tr>
              <td><a href="#" onmouseover="MM_swapImage('Image64','','images/certidoes_bg2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/certidoes_bg1.gif" name="Image64" width="259" height="28" border="0" id="Image64" /></a></td>
            </tr>
            <tr>
              <td><a href="http://www.receita.f...idao.asp?Tipo=1" target="_blank" onmouseover="MM_swapImage('Image65','','images/secretaria_bg2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/secretaria_bg1.gif" name="Image65" width="259" height="28" border="0" id="Image65" /></a></td>
            </tr>
            <tr>
              <td><a href="https://webp.caixa.g...iosPesquisa.asp" target="_blank" onmouseover="MM_swapImage('Image66','','images/fgts_bg2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/fgts_bg1.gif" name="Image66" width="259" height="27" border="0" id="Image66" /></a></td>
            </tr>
            <tr>
              <td><a href="http://www010.datapr...CND1/PCND1.HTML" target="_blank" onmouseover="MM_swapImage('Image67','','images/inss_bg2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/inss_bg1.gif" name="Image67" width="259" height="28" border="0" id="Image67" /></a></td>
            </tr>
            <tr>
              <td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image68','','images/inscricao_bg2.gif',1)"><img src="images/inscricao_bg1.gif" name="Image68" width="259" height="28" border="0" id="Image68" /></a></td>
            </tr>
            <tr>
              <td><a href="http://www.receita.f...Solicitacao.asp" target="_blank" onmouseover="MM_swapImage('Image69','','images/cnpj_bg2.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/cnpj_bg1.gif" name="Image69" width="259" height="28" border="0" id="Image69" /></a></td>
            </tr>
            <tr>
              <td><a href="http://www.fazenda.r...br/projetoCISC/" target="_blank" onmouseover="MM_swapImage('Image70','','images/inscricao_bg2-15.gif',1)" onmouseout="MM_swapImgRestore()"><img src="images/inscricao_bg1-48.gif" name="Image70" width="259" height="29" border="0" id="Image70" /></a></td>
            </tr>
            <tr>
              <td><img src="images/index_48.jpg" width="259" height="7" alt="" /></td>
            </tr>
            <tr>
              <td><a href="conhecer_tudo.html" target="_blank"><img src="images/boletim_img.gif" alt="" width="259" height="59" border="0" /></a></td>
            </tr>
            <tr>
              <td><img src="images/index_48.jpg" width="259" height="7" alt="" /></td>
            </tr>
            <tr>
              <td><img src="images/2012_2.jpg"  border="0" /></td>
            </tr>
            <tr>
              <td>&nbsp;</td>
            </tr>
                
                 
            
            <tr>
              <td align="center"><img src="images/parceiros_img.gif" width="181" height="193" border="0" usemap="#Map2" /><br /></td>
            </tr>
          </table></td>
        <td width="50%" align="center" valign="top"><table width="457" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><img src="images/flash.jpg" width="458" height="248" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/topo_bg-51.jpg" width="458" height="10" alt="" /></td>
          </tr>
          <tr>
            <td background="images/meio_bg.jpg">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="images/base_bg.jpg" width="458" height="7" alt="" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><img src="images/destaques_tit.gif" width="458" height="21" alt="" /></td>
          </tr>
          
          <tr>
            <td align="left"><img src="images/avaliacao_tit.gif" width="75" height="40" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/topo_bg-51.jpg" width="458" height="10" alt="" /></td>
          </tr>
          <tr>
            <td width="458" align="left" background="images/index_96.jpg"><table width="100%" border="0" cellspacing="3" cellpadding="3">
                <tr>
                  <td width="11%"><img src="images/equi_img.jpg" width="51" height="42" alt="" /></td>
                  <td class="txt">Conhe&ccedil;a seu ponto de equil&iacute;brio</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td align="center" background="images/meio_bg.jpg"><img src="images/index_78.jpg" width="438" height="5" alt="" /></td>
          </tr>
          <tr>
            <td width="458" align="left" background="images/index_96.jpg"><table width="100%" border="0" cellspacing="3" cellpadding="3">
                <tr>
                  <td width="11%"><img src="images/cont_img.jpg" width="51" height="42" alt="" /></td>
                  <td width="89%"><span class="txt"><font face="Verdana, Arial, Helvetica, sans-serif">Conhe&ccedil;a 
                                    a contabilidade dos que n&atilde;o perdem 
                      dinheiro</font></span></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><img src="images/base_bg.jpg" width="458" height="7" alt="" /></td>
          </tr>
          <tr>
            <td align="left"><img src="images/calc_tit.gif" width="68" height="40" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/topo_bg-51.jpg" width="458" height="10" alt="" /></td>
          </tr>
          <tr>
            <td background="images/meio_bg.jpg"><table width="100%" border="0" cellpadding="3" cellspacing="3" background="images/index_96.jpg">
              <tr>
                <td width="11%"><img src="images/calc_img.jpg" width="51" height="42" alt="" /></td>
                <td width="89%" class="txt"><div align="left"><a href="http://www.contribuintecidadao.org.br" target="_blank">Calculadora do Imposto</a></div></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="images/base_bg.jpg" width="458" height="7" alt="" /></td>
          </tr>
          
          <tr>
            <td>&nbsp;</td>
          </tr>
        </table></td>
        <td width="22%" valign="top"><table width="57%" border="0" align="center" cellpadding="0" cellspacing="0">
          
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
          <td valign="top"><marquee id='iescroller2' direction='up' width='190' height='140' scrollamount='2' scrolldelay='100' style='border:0px solid #999999;' onmouseover='this.stop()' onmouseout='this.start()'>
                    <table width="190" border="0" align="center" cellpadding="0" cellspacing="2">
                      
                      <tr valign="middle">
                       
                        <td width="100%" style="color:blue"><p style="color:#F00"><strong>IMPORTANTE!</strong></p>
                          <p>N&atilde;o haver&aacute; expediente nos dias 24 e 31 de dezembro.<br />
                            <br />
                          A empresa que possui estoques para revendas – sejam mercadorias ou produtos – deverá providenciar um relatório contendo a descrição da existência do mesmo em 31 de dezembro, contendo os itens a seguir:<br />
                          Quantidade<br />
                          Unidade<br />
                          Descrição da mercadoria<br />
                          Valor por unidade<br />
                          Valor total (quantidade x valor ´por unidade).<br />
                          A fiscalização poderá autuar a empresa que não apresentar o livro de inventário devidamente preenchido com os dados acima.
                            
                            
                            
                          <br />
                          <br />
                          &quot;As empresas não agem na base da pura improvisação e nem querem depender da sorte ou do acaso.&quot;<br/>
                          <br/>
                          Tudo nelas é planejado para que possa ser feito:<br/>
  – Da melhor maneira possível,<br/>
  – Da primeira vez,<br/>
  – E sem erros<br/>
  <br/>
                          AUDIC: 25 anos de atividade evolutiva
                            
                      <!--Agradecemos  a satisfa&ccedil;&atilde;o por n&oacute;s experimentada pela presen&ccedil;a dos clientes, amigos e  colaboradores no culto  em a&ccedil;&atilde;o de gra&ccedil;as pelos 25 anos de exist&ecirc;ncia da nossa organiza&ccedil;&atilde;o;<br />
                        Aguardem  novos convites para dar seguimento aos diversos eventos que se realizar&atilde;o  durante este ano.&nbsp;--></p></td>
                      </tr>
                      <% 
 Repeat1__index=Repeat1__index+1
 Repeat1__numRows=Repeat1__numRows-1
 Noticias.MoveNext()

%>
                    </table>
                    </marquee>                  </td>
 </tr>
          <tr><td>&nbsp;</td></tr>
          
          <!-- AREA DE ACESSO QUE NÃO ESTÁ SENDO USADA MAIS FUTURAMENTE VOLTARÁ -->
          
         <tr>
            <td><img src="images/area_restrita_tit.gif" width="209" height="21" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/index_28.jpg" width="209" height="1" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/lado_bg_topo.jpg" width="209" height="5" alt="" /></td>
          </tr>
          <tr>
            <td background="images/lado_bg_meio.jpg"><form action='http://www.webmatic....validasenha.asp'method='post' name='WebMatic' target='_blank' id="WebMatic">
                <input type='hidden' name='CodEscritorio' value='17409' />
                <table width='90%' border='0' align="center" cellpadding='2' cellspacing='2'>
                  <tr>
                    <td colspan='3' align='center' valign="top" class="txt2"><strong>&Agrave; partir de 2010</strong></td>
                  </tr>
                  <tr>
                    <td width='30%' class="txt2">Login:</td>
                    <td width='36%' class="txt2"><input name='CodCliente' type='text' style='FONT-SIZE: 8pt; FONT-FAMILY: Verdana' tabindex='1' size="12" />                    </td>
                    <td width='34%' rowspan='2' class="txt2"><input type='image' src='images/ok.gif' width='24' height='22' /></td>
                  </tr>
                  <tr>
                    <td width='30%' class="txt2">Senha:</td>
                    <td width='36%' class="txt2"><input name='Senha' type='password' style='FONT-SIZE: 8pt; FONT-FAMILY: Verdana'tabindex='2' size="12" />                    </td>
                  </tr>
                </table>
            </form></td>
          </tr>
          <tr>
            <td><img src="images/lado_bg_Base.jpg" width="209" height="4" alt="" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <!--<tr>
            <td><img src="images/restrira_tit.gif" width="209" height="21" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/index_28.jpg" width="209" height="1" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/lado_bg_topo.jpg" width="209" height="5" alt="" /></td>
          </tr>
          <tr>
            <td background="images/lado_bg_meio.jpg"><table width="90%" border="0" align="center" cellpadding="2" cellspacing="0">
              <form action="validalogin.asp" method="post" name="form1" id="form1">
                  <tr>
                    <td width="24%"><span class="txt2">Login:</span></td>
                    <td width="23%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                      <input name="login" type="text" class="txt2" id="login" size="8" />
                    </font></td>
                    <td width="53%" rowspan="2"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                      <input name="imageField" type="image" src="images/ok.gif" width="24" height="22" border="0" />
                    </font></td>
                  </tr>
                  <tr>
                    <td><span class="txt2">Senha:</span></td>
                    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
                      <input name="senha" type="password" class="txt2" id="senha" size="8" />
                    </font></td>
                  </tr>
                  <tr valign="top">
                    <td colspan="3"><div align="left">
                        <table width="100%" border="0" cellspacing="4" cellpadding="2">
                          <tr>
                            <td valign="top"><img src="images/ico.jpg" width="5" height="11" alt="" /></td>
                            <td><span class="txt2"><a href="clientes.htm">Solicite 
                              Senha de Cliente</a></span></td>
                          </tr>
                        </table>
                    </div></td>
                  </tr>
              </form>
            </table></td>
          </tr>-->
          <tr>
            <td><img src="images/lado_bg_Base.jpg" width="209" height="4" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/index_55.jpg" width="209" height="7" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/manual_tit.jpg" width="209" height="49" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/index_55.jpg" width="209" height="7" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/noticias_tit.gif" width="209" height="21" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/index_28.jpg" width="209" height="1" alt="" /></td>
          </tr>
          <tr>
            <td><img src="images/lado_bg_topo.jpg" width="209" height="5" alt="" /></td>
          </tr>
          <tr>
            <td align="right" valign="top" background="images/lado_bg_meio.jpg" class="txt2"></td>
          </tr>
          <tr>
            <td background="images/lado_bg_meio.jpg"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                <tr>
                  <td valign="top"><marquee id='iescroller2' direction='up' width='190' height='140' scrollamount='2' scrolldelay='100' style='border:0px solid #999999;' onmouseover='this.stop()' onmouseout='this.start()'>
                    <table width="190" border="0" align="center" cellpadding="0" cellspacing="2">
                      <% 
While ((Repeat1__numRows <> 1) AND (NOT Noticias.EOF)) 
%>
                      <tr valign="middle">
                        <td width="19" height="19"><img src="images/ico.jpg" width="5" height="11" alt="" /></td>
                        <td width="165"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
                        <a href="noticias_detalhes2.asp?id=<%=(noticias.Fields.Item("id").Value)%>" target="_blank"><%=(Noticias.Fields.Item("titulo").Value)%></a></font></td>
                      </tr>
                      <% 
 Repeat1__index=Repeat1__index+1
 Repeat1__numRows=Repeat1__numRows-1
 Noticias.MoveNext()
Wend
%>
                    </table>
                    </marquee>                  </td>
                </tr>
                <tr>
                  <td valign="top"><div align="right" class="txt">
                      <div align="left"><a href="noticias.asp"><img src="images/veja_mais_tit.jpg" width="122" height="19" border="0" /></a></div>
                  </div></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td><img src="images/lado_bg_Base.jpg" width="209" height="4" alt="" /></td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td><img src="images/testes_tit.gif" width="209" height="17" alt="" /></td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="3" cellpadding="3">
                <tr>
                  <td class="txtIndex1">Voc&ecirc; quer conhecer efici&ecirc;ncia, rapidez e precis&atilde;o?</td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td bgcolor="#666666"><table width="100%" border="0" cellspacing="3" cellpadding="3">
                <tr>
                  <td class="txtIndex2"><p>- Prepare-se para o imprevisto!<br />
                    - Que tipo de empres&aacute;rio voc&ecirc; &eacute;?<br />
                  </p></td>
                </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><!-- Início do código HTML Cursos 24 Horas -->

<!-- Fim do código HTML Cursos 24 Horas --></td>
  </tr>
  <tr>
    <td><img src="images/rodape.jpg" width="1003" height="63" alt="" /></td>
  </tr>
</table>

<map name="Map" id="Map">
  <area shape="rect" coords="335,1,383,23" href="#" /><area shape="rect" coords="393,0,449,22" href="contato.html" />
<area shape="rect" coords="460,0,534,22" href="cadastrese.asp" />
</map>
<map name="Map2" id="Map2"><area shape="rect" coords="15,206,187,293" href="http://www.fenixdigital.com.br" target="_blank" />
</map>
</body>
</html>

me ajudem por favor... lembrando que em asp sou cego

Link para o comentário
Compartilhar em outros sites

7 respostass a esta questão

Posts Recomendados

  • 0

você quer fazer a noticia de rolagem como no site mostrado?

1- coloque o codigo java script:

<script language="javascript" CHARSET="ISO-8859-1">

// ScrollNews

var scrollspeed=cache=1

function initialize(){

marqueeheight=document.all? parent.document.all.datamain.height : parent.document.getElementById("datamain").getAttribute("height")

dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")

dataobj.style.top=5

thelength=dataobj.offsetHeight

scrolltest()

}

function scrolltest(){

dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed

if (parseInt(dataobj.style.top)<thelength*(-1))

dataobj.style.top=5

setTimeout("scrolltest()",50)

}

window.onload=initialize

</script>

2- coloque na pagina principal o iframe:

<iframe id='datamain' src='scrollnews.asp' allowTransparency='true' width='300px' height='200px' marginwidth='10' marginheight='10' hspace='0' vspace='0' frameborder='0' scrolling='no'></iframe>

3- dentro da pagina chamada pelo iframe:

<div id='datacontainer' onMouseover='scrollspeed=0' onMouseout='scrollspeed=cache' align='left'>

<%

Response.Write ("<font size='2'>")

Response.Write ("<b> Title </b>")

Response.Write ("</font>")

Response.Write ("<br>")

Response.Write ("<font size='2'>")

Response.Write ("Info")

Response.Write ("</font>")

%>

</div>

---

Link para o comentário
Compartilhar em outros sites

  • 0
você quer fazer a noticia de rolagem como no site mostrado?

1- coloque o codigo java script:

&lt;script language="javascript" CHARSET="ISO-8859-1">

// ScrollNews

var scrollspeed=cache=1

function initialize(){

marqueeheight=document.all? parent.document.all.datamain.height : parent.document.getElementById("datamain").getAttribute("height")

dataobj=document.all? document.all.datacontainer : document.getElementById("datacontainer")

dataobj.style.top=5

thelength=dataobj.offsetHeight

scrolltest()

}

function scrolltest(){

dataobj.style.top=parseInt(dataobj.style.top)-scrollspeed

if (parseInt(dataobj.style.top)<thelength*(-1))

dataobj.style.top=5

setTimeout("scrolltest()",50)

}

window.onload=initialize

</script>

2- coloque na pagina principal o iframe:

<iframe id='datamain' src='scrollnews.asp' allowTransparency='true' width='300px' height='200px' marginwidth='10' marginheight='10' hspace='0' vspace='0' frameborder='0' scrolling='no'></iframe>

3- dentro da pagina chamada pelo iframe:

<div id='datacontainer' onMouseover='scrollspeed=0' onMouseout='scrollspeed=cache' align='left'>

<%

Response.Write ("<font size='2'>")

Response.Write ("<b> Title </b>")

Response.Write ("</font>")

Response.Write ("<br>")

Response.Write ("<font size='2'>")

Response.Write ("Info")

Response.Write ("</font>")

%>

</div>

---

Link para o comentário
Compartilhar em outros sites

  • 0
resolveu?

Não pois o que quero ninguém consegue ajudar e meio complicado mesmo eu acho...

este já é o site em questão que estou fazendo, o que quero é que nele fique todas as notícias, porém so aparece da seguanda em diante nunca a primeira...

esta armazenando as noticias em algum tipo de banco de dados? qual?

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,3k
    • Posts
      652,5k
×
×
  • Criar Novo...