<?php

?><?php

?>
<?

mysql_connect("localhost","almanoti_cotiz","Lse5I9meGY7f");
mysql_select_db ("almanoti_base");


$sql2 = "SELECT * FROM  `horoscopo` ORDER BY ID desc  LIMIT 1";
$consulta2 = mysql_query ($sql2);
while ($row2 = mysql_fetch_array($consulta2))
{

$aries  = $row2["aries"];
$aries = str_replace("Horóscopo de Aries completo","",$aries);
$aries = str_replace("Horóscopo de Aries hoy.","",$aries);
$aries = str_replace("<h2>","</h2>",$aries);

$tauro  = $row2["tauro"];
$tauro = str_replace("Horóscopo de Tauro completo","",$tauro);
$tauro = str_replace("Horóscopo de Tauro hoy.","",$tauro);
$tauro = str_replace("<h2>","</h2>",$tauro);

$geminis  = $row2["geminis"];
$geminis = str_replace("Horóscopo de Géminis completo","",$geminis);
$geminis = str_replace("Horóscopo de Géminis hoy.","",$geminis);
$geminis = str_replace("<h2>","</h2>",$geminis);

$cancer  = $row2["cancer"];
$cancer = str_replace("Horóscopo de Cáncer completo","",$cancer);
$cancer = str_replace("Horóscopo de Cáncer hoy.","",$cancer);
$cancer = str_replace("<h2>","</h2>",$cancer);

$leo  = $row2["leo"];
$leo = str_replace("Horóscopo de Leo completo","",$leo);
$leo = str_replace("Horóscopo de Leo hoy.","",$leo);
$leo = str_replace("<h2>","</h2>",$leo);


$virgo  = $row2["virgo"];
$virgo = str_replace("Horóscopo de Virgo completo","",$virgo);
$virgo = str_replace("Horóscopo de Virgo hoy.","",$virgo);
$virgo = str_replace("<h2>","</h2>",$virgo);

$libra  = $row2["libra"];
$libra = str_replace("Horóscopo de Libra completo","",$libra);
$libra = str_replace("Horóscopo de Libra hoy.","",$libra);
$libra = str_replace("<h2>","</h2>",$libra);

$escorpio  = $row2["escorpio"];
$escorpio = str_replace("Horóscopo de Escorpio completo","",$escorpio);
$escorpio = str_replace("Horóscopo de Escorpio hoy.","",$escorpio);
$escorpio = str_replace("<h2>","</h2>",$escorpio);

$sagitario  = $row2["sagitario"];
$sagitario = str_replace("Horóscopo de Sagitario completo","",$sagitario);
$sagitario = str_replace("Horóscopo de Sagitario hoy.","",$sagitario);
$sagitario = str_replace("<h2>","</h2>",$sagitario);

$capricornio  = $row2["capricornio"];
$capricornio = str_replace("Horóscopo de Capricornio completo","",$capricornio);
$capricornio = str_replace("Horóscopo de Capricornio hoy.","",$capricornio);
$capricornio = str_replace("<h2>","</h2>",$capricornio);

$acuario  = $row2["acuario"];
$acuario = str_replace("Horóscopo de Acuario completo","",$acuario);
$acuario = str_replace("Horóscopo de Acuario hoy.","",$acuario);
$acuario = str_replace("<h2>","</h2>",$acuario);

$pisis  = $row2["pisis"];
$pisis = str_replace("Horóscopo de Piscis completo","",$pisis);
$pisis = str_replace("Horóscopo de Piscis hoy.","",$pisis);
$pisis = str_replace("<h2>","</h2>",$pisis);

}
mysql_free_result($consulta2);

$numeroa = rand(1,12);

?>




<div>



      <div class=" col-lg-12 col-12" style="background-position: center center;
      padding:0;background:url(https://www.radiosnet.com.ar/imag/<?php echo $estilo ?>/imag/arribaVENTANA.gif);
      background-repeat:no-repeat;background-size:cover;">

          <div class="e<?php echo $estilo ?>">

        <div>

          <h6 style="text-align:center;font-family:<?php echo $style_titulo ?>;font-size:13px;padding:10px 0;<?php if ($estilo >= 97) {?>color:#1D1D1D;
           <?php } else {?>color:#FFFFFF!important;<?php }?>">HORÓSCOPO</h6>

        </div>

      </div>

      </div>

    <div class="container-fluid">

      <td valign="top"  background="fondo.gif">




<?php if ($numeroa == 1) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/aries.png" width="64" height="45" /></div>
                </td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Aries</span> <br />
                </div>
                <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $aries ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>

    <?php if ($numeroa == 2) {?>
    <table width="100%" border="0" cellpadding="0">
      <tr>
        <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/tauro.png" width="50" /></div></td>
      </tr>
      <tr>
        <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Tauro</span> <br />
          </div>
            <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $tauro
 ?></span> </div></td>
      </tr>
    </table>
    <?php  };?>

   <?php if ($numeroa == 3) {?>
   <table width="100%" border="0" cellpadding="0">
     <tr>
       <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/geminis.png" width="57" /></div></td>
     </tr>
     <tr>
       <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Géminis</span> <br />
         </div>
           <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $geminis ?></span> </div></td>
     </tr>
   </table>
   <?php  };?>
            <?php if ($numeroa == 4) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/cancer.png" width="60" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Cáncer</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $cancer ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 5) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/leo.png" width="60" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Leo</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $leo ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 6) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/virgo.png" width="50" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Virgo</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $virgo ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 7) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/libra.png" width="50" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Libra</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $libra ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 8) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/escorpio.png" width="50" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Escorpio</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $escorpio ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 9) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/sagitario.png" width="50" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Sagitario</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $sagitario ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 10) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/capricornio.png" width="55" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Capricornio</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $capricornio ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 11) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/acuario.png" width="55" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Acuario</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $acuario ?></span> </div></td>
              </tr>
            </table>
            <?php  };?>
            <?php if ($numeroa == 12) {?>
            <table width="100%" border="0" cellpadding="0">
              <tr>
                <td valign="top"><div align="center"><img src="https://recursos.x7.com.ar/radioshosting.com/signos/piscis.png" width="55" /></div></td>
              </tr>
              <tr>
                <td valign="top"><div align="center"><span style="font-family:<?php echo $style_titulo ?>;font-size:25px;color:<?php echo $d_color_titulo?>;">Piscis</span> <br />
                  </div>
                    <div align="justify"><span style="font-family: 'Roboto Condensed', sans-serif;font-size:14px;color: #333333"><?php echo $pisis ?></span> </div></td>
              </tr>
            </table>

              <?php  };?>
               <div align="center">
            <span style="font-family: 'Roboto Condensed', sans-serif;font-size:13px;"><a href="<?php echo $dom ?>/horoscopo.php">Ver Todos los Signos</a> </span></div></td>

     </div>

    </div>
