08/09/2010, 15:20
|
| | Fecha de Ingreso: julio-2010
Mensajes: 91
Antigüedad: 14 años, 5 meses Puntos: 1 | |
Respuesta: restar fechas index parte 3.... Código PHP: <? if($categoria<=0){ ?>
<td width="22%" height="350" valign="top" background="img/fondos/banner2.jpg">
<table width="171" align="center" cellpadding="2" cellspacing="0" height="100%">
<?
$sel_mm1 = query_db("select * from $t2 where mm_estado = 1 and mm_pocision = 2 order by mm_orden asc");
while($m1 = traer_fila_db($sel_mm1)){
$negri=0;
if($m1[6] == "1"){
$val_tti1 = "<a href='javascript:window.parent.location.href=\"index.php?categoria=inicio\"'><img src='img/subtitulos/".$m1[1]."'></a>";
$ss2 = "0";
$negri=1;
}
if($m1[6] == "2"){
$val_tti1 = $m1[1];
$ss2 = $sel_valores5[2];
}
if($m1[6] == "" or $m1[6] == "0"){
$val_tti1 = "NO DISPONIBLE";
$ss2 = "10";
}?>
<style type="text/css">
.menu_der<?=$m1[0];?>{
font-family: <?=$sel_valores12[1];?>;
font-size: <?=$ss2;?>;
color: <?=$sel_valores9[1];?>;
}
</style>
<?
echo "<tr>
<td width='100%' align='center' valign='top' class='menu_der$m1[0]' colspan='2'>$sel_valores9[3]".$val_tti1."$sel_valores9[4]</td>
</tr>";
$sel_mr = query_db("select * from $t3 where mr_estado = 1 and mm_id = $m1[0] order by orden asc");
while($m2 = traer_fila_db($sel_mr)){
if($m2[2] == '* Boletines')
$linke_002 = 'javascript:ajax_carga("ppl/noti_cont.php","carga_ajaax")';
else
$linke_002 = 'javascript:ajax_carga("ppl/cont_menu.php?id_pss='.$m2[0].'&tipo=1","carga_ajaax")';
?>
<tr style='CURSOR: pointer' onClick='<? echo $linke_002;?>' class="cont_menu_derc">
<td valign="top"><?=$sel_valores3[3];?>
<div onmouseover=this.className='vinculo2'; onmouseout=this.className='';>
<div align="center">
<?=$m2[2];?>
</div>
</div>
<?=$sel_valores3[4];?>
</td>
</tr>
<?
}
?>
<tr>
<td height="5"></td>
</tr>
<?
}
?>
</table></td>
<? } // si entra al carro de compra ?>
</tr>
</table></td>
<td width="90" valign="top"> </td>
</tr>
<?
if($ubicacion_marquesina[2]=="abajo"){
?>
<tr>
<td colspan="7" align="center" valign="middle" bgcolor="<?=$sel_valores60[1];?>"><marquee behavior="scroll" direction="left" SCROLLDELAY=150 ScrollAmount="5" onMouseOver="this.stop()" onMouseOut="this.start()" >
<div class="marquesina" onmouseover=this.className='vinculo_marque'; onmouseout=this.className='marquesina'; style='CURSOR: pointer'><strong>
<?=$sel_marque[1];?>
</strong></div>
</marquee></td>
</tr>
<?
}
?>
<tr>
<td bgcolor="#5F282C" height="5" colspan="2"></td>
<td colspan="2"> </td></tr>
<tr>
<td colspan="2" bgcolor="<?=$sel_valores68[1];?>" height="25" align="right">
<span class="Estilo1">Visitas
<? echo $numeros = $sel_c[1];?>
</span> <strong> </strong> </td>
<td> </td>
</tr>
<tr >
<td colspan="7" valign="top" bgcolor="<?=$sel_valores65[1];?>"><br>
<div align="center"><font size="1" color="#666666" face="Times New Roman, Times, serif">Desarrollo: Opened
Technological Solutions (O.T.S) [email protected] </font></div></td>
</tr>
</table>
<input type="hidden" name="cam_1">
<input type="hidden" name="cam_2">
<input type="hidden" name="accion">
</form>
<form method="post" name="compra" >
<input name="usuarioId" type="hidden">
<input name="descripcion" type="hidden" >
<input name="refVenta" type="hidden" >
<input name="valor" type="hidden" >
<input name="baseDevolucionIva" type="hidden" >
<input name="iva" type="hidden" >
<input name="moneda" type="hidden">
<input name="firma" type="hidden" >
<input name="emailComprador" type="hidden" >
</form>
<iframe name="graba" width="0" height="0"></iframe>
</body>
</html> |