
<?




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 style="" class="widget-head">



          <div class="e<?php echo $estilo ?>">
            <h3 style="" class="widget-title"><span><? echo $lang_100033 ?></span></h3>
          </div>



    </div>







      <div style="">





            <?php if ($numeroa == 1) {?>

            <article  style="">

                <div class="base-box2">



                <div  style="text-align:center; padding-top:20px;">

                    <img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/aries.png" width="64" height="45" />

                    </div>



               <h3 style="text-align:center;"><? echo $lang_100034?></h3>



                <p style="text-align:justify;padding:10px;"><?php echo $aries ?></p>



                </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 2) {?>

            <article  style="">

                <div class="base-box2">



        <div  style="text-align:center; padding-top:20px;">

            <img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/tauro.png" width="50" /></div>

            <h3 style="text-align:center;"><? echo $lang_100035?></h3>



            <div style="text-align:justify;padding:10px;"><?php echo $tauro

 ?></div> </div>



    </article>

            <?php  };?>

            <?php if ($numeroa == 3) {?>

            <article  style="">

                <div class="base-box2">

       <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/geminis.png" width="57" /></div>





       <h3 style="text-align:center;"><? echo $lang_100036?></h3>



           <div style="text-align:justify;padding:10px;"><?php echo $geminis ?></div></div>



   </article>

            <?php  };?>

            <?php if ($numeroa == 4) {?>

            <article  style="">

                <div class="base-box2">

               <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/cancer.png" width="60" /></div>





                 <h3 style="text-align:center;"><? echo $lang_100037?></h3>



                    <div style="text-align:justify;padding:10px;"><?php echo $cancer ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 5) {?>

            <article  style="">

                <div class="base-box2">

                <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/leo.png" width="60" /></div>





               <h3 style="text-align:center;"><? echo $lang_100038?></h3>



                    <div style="text-align:justify;padding:10px;"><?php echo $leo ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 6) {?>

            <article  style="">

                <div class="base-box2">

                <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/virgo.png" width="50" /></div>





                <h3 style="text-align:center;"><? echo $lang_100039?></h3>



                    <div style="text-align:justify;padding:10px;"><?php echo $virgo ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 7) {?>

           <article  style="">

                <div class="base-box2">

              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/libra.png" width="50" /></div>

              <h3 style="text-align:center;"><? echo $lang_100040?></h3>



                    <div style="text-align:justify;padding:10px;"><?php echo $libra ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 8) {?>

            <article  style="">

                <div class="base-box2">

              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/escorpio.png" width="50" /></div>

                    <h3 style="text-align:center;"><? echo $lang_100041?></h3>





                    <div style="text-align:justify;padding:10px;"><?php echo $escorpio ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 9) {?>

            <article  style="">

                <div class="base-box2">

              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/sagitario.png" width="50" /></div>



              <h3 style="text-align:center;"><? echo $lang_100042?></h3>

                    <div style="text-align:justify;padding:10px;"><?php echo $sagitario ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 10) {?>

            <article  style="">

                <div class="base-box2">

              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/capricornio.png" width="55" /></div>



             <h3 style="text-align:center;"><? echo $lang_100043?></h3>

                    <div style="text-align:justify;padding:10px;"><?php echo $capricornio ?></div> </div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 11) {?>

            <article  style="">

                <div class="base-box2">



              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/acuario.png" width="55" /></div>



             <h3 style="text-align:center;"><? echo $lang_100044?></h3>



                    <div style="text-align:justify;padding:10px;"><?php echo $acuario ?></div></div>



            </article>

            <?php  };?>

            <?php if ($numeroa == 12) {?>

            <article  style="">

                <div class="base-box2">

              <div  style="text-align:center; padding-top:20px;"><img class="img-fluid" src="https://recursos.x7.com.ar/radioshosting.com/signos/piscis.png" width="55" /></div>



                <h3 style="text-align:center;"><? echo $lang_100045?></h3>

                    <div style="text-align:justify;padding:10px;"><?php echo $pisis ?></div> </div>



            </article>



              <?php  };?>

               <article  style="margin-bottom:15px;">

                <div class="base-box2">

                    <div style="text-align: center;"><a class="btn btn-outline-primary my-2" href="<?php echo $dom ?>/horoscopo.php">Ver Todos los Signos</a> </div></div></article></div>









</div>
