Ver Mensaje Individual
  #9 (permalink)  
Antiguo 19/07/2008, 10:33
PoLiZe
 
Fecha de Ingreso: marzo-2008
Ubicación: Santa Cruz, Argentina
Mensajes: 433
Antigüedad: 16 años, 1 mes
Puntos: 5
Respuesta: BBCODE Insertar Reproductor de Audio

osea en que parte se encuentra el contenido?

Código PHP:
          <?

switch($contenido){
case 
'noticia':
$rsnoticias3mysql_query("SELECT ID_Contenido,DATE_FORMAT(fecha,'%d-%m-%Y') as fecha,Nombre_Contenido,Descripcion_Contenido,Texto_Completo,Inicial,Imagen_Contenido FROM contenido where ID_Contenido='$ID_Contenido'");
$columnanoticias3=mysql_fetch_array($rsnoticias3);
?>
        </p>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="1">
            <tr>
              <td colspan="2" height="1" style="font-family: verdana; font-size: 10px"><p align="right"><a href="javascript:MasTxt('TextoCompleto');MasTxt('TextoCompleto1')" title="Agrandar Texto"><img border="0" src="images/bt_AMas.gif" width="16" height="15"></a> <a href="javascript:MenosTxt('TextoCompleto');MenosTxt('TextoCompleto1')" title="Achicar Texto"><img border="0" src="images/bt_AMenos.gif" width="16" height="15"></a> <a href="javascript:abrirpopup('recomendar.php','400','200')"><img border="0" src="images/icon_mail2.gif" width="34" height="28"></a> <a href="javascript:abrirpopup('imprimir.php?id=<?=$columnanoticias3['ID_Contenido'];?>','800','700')"><img border="0" src="images/icon_print2.gif" width="35" height="28"></a> <b><font class="texto">
                  <!--titulo-->
                | <strong><? echo $columnanoticias3['Nombre_Contenido']." ".$columnanoticias3['fecha']; ?></strong></font></b></td>
            </tr>
            <tr>
              <td width="28%" height="1" style="font-family: verdana; font-size: 10px"><?php if($columnanoticias3["Imagen_Contenido"]!=""){ echo "<p><a href='javascript:abrirpopup(\"imagenes/".$columnanoticias3["Imagen_Contenido"]."\",\"500\",\"400\")'>
                            <img style=\"border: 2px solid #FFFFFF\" src='../imagenes/miniaturas/mini_"
.$columnanoticias3["Imagen_Contenido"]."'></a>";
          } 
?></td>
              <td width="72%" height="1" style="font-family: verdana; font-size: 10px"><div id='TextoCompleto'><font class="texto"><? echo nl2br($columnanoticias3['Descripcion_Contenido']); ?></font></div></td>
            </tr>
            <tr>
              <td height="1" colspan="2" align="left" valign="top" style="font-family: verdana; font-size: 10px"><div id='TextoCompleto1'><font class="texto"><? echo nl2br($columnanoticias3['Texto_Completo']); ?></font></div>
                  <a href="index2.php" class="texto"> <font color="#005B8E"><br>
                  <br>
                  </font> <strong><font color="#4c99cd"> <img border="0" src="images/volver.gif" width="60" height="16"></font></strong></a><font color="#4c99cd">&nbsp; </font> <br>
                  
            </tr>
          </table>
          <p class="MsoNormal">
            <?
break;
default:

//$rsnoticias1= mysql_query("SELECT ID_Contenido,DATE_FORMAT(fecha,'%d-%m-%Y') as fecha,Nombre_Contenido,Descripcion_Contenido,Texto_Completo,Inicial,Imagen_Contenido FROM contenido where Inicial='si' order by ID_Contenido desc limit 10 ");
$select="SELECT ID_Contenido,DATE_FORMAT(fecha,'%d-%m-%Y') as fecha,Nombre_Contenido,Descripcion_Contenido,Texto_Completo,Inicial,Imagen_Contenido FROM contenido WHERE Inicial='si' ORDER BY ID_Contenido DESC";
$registros=5;
include (
"paginacion.php");

//while($columnanoticias=mysql_fetch_array($rsnoticias1)){

while($columnanoticias=mysql_fetch_array($resultados)){
?>
          </p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0">&nbsp; </p>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3" height="1">
            <tr>
              <td width="100%" colspan="2" height="1" style="font-family: verdana; font-size: 10px"><p align="right"><b><font class="texto"><? echo $columnanoticias['Nombre_Contenido']." ".$columnanoticias['fecha']; ?></font></b></td>
            </tr>
            <tr>
              <td width="34%" height="1" style="font-family: verdana; font-size: 10px">
                <?php if($columnanoticias["Imagen_Contenido"]!=""){ echo "<p><img style=\"border: 2px solid #FFFFFF\" src='imagenes/miniaturas/mini_".$columnanoticias["Imagen_Contenido"]."'>";
          } 
?>
                <br>
                <p> <img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"><img border="0" src="images/linea.gif" width="4" height="1"></td>
              <td width="66%" height="1" style="font-family: verdana; font-size: 10px"><p><font class="texto"><? echo nl2br($columnanoticias['Descripcion_Contenido']); ?></font> <img border="0" src="images/flechanaranja.gif" width="8" height="8"><strong><font color="#4c99cd"> <a href="?contenido=noticia&ID_Contenido=<?php echo $columnanoticias['ID_Contenido'];?>" class="texto"> 
              <font color="#0073CC">click aca</font></a></font></strong><a href="?contenido=noticia&ID_Contenido=<?php echo $columnanoticias['ID_Contenido'];?>" class="texto"><font color="#4c99cd"> <bR>
                </font> </a></p>
                  <p>&nbsp;</p></td>
            </tr>
          </table>
          <p align="center">&nbsp; </p>
          <p></p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0"></p>
          <? ?>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0">
            <?
$rsnoticias2
mysql_query("SELECT ID_Contenido,DATE_FORMAT(fecha,'%d-%m-%Y') as fecha,Nombre_Contenido,Descripcion_Contenido,Texto_Completo,Inicial,Imagen_Contenido FROM contenido where Inicial='no' order by ID_Contenido desc limit 5 ");

while(
$columnanoticias2=mysql_fetch_array($rsnoticias2)){
?>
          </p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0"> <span class="estilo431"><a href="?contenido=noticia&ID_Contenido=<?php echo $columnanoticias2['ID_Contenido'];?>"><font color="#005B8E" size="1"> <b><? echo $columnanoticias2['Nombre_Contenido']." ".$columnanoticias2['fecha']; ?></b></font></a></span></p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0">&nbsp; </p>
          <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0"> <span class="estilo431"><font color="#005B8E" size="1">
            <? }

break;
}
                                                  
?>
Desde ya

MUCHISIMAS GRACIAS :D