<?php

if ($hostdom == NULL) {$hostdom = "http://www.radiosnet.com.ar";} else {};

if ($rutadom == NULL) {$rutadom = "/home/content/90/7626090/html";} else {};?><style type="text/css">
<!--
.Estilo1 {

	font-family: Verdana, Arial, Helvetica, sans-serif;


	font-size: 14px;
}
-->
</style>


<?php $lugar = $_POST['lugar'];?>
<p align="center">PONER UNA PUBLICIDAD EN FORMATO FLASH <?php echo $lugar ?>

</p>
<p>&nbsp;</p>
<table width="419" border="0" align="center">
  <tr>
    <td width="413" valign="top"  bgcolor="#C3C3C3" class="Estilo1"><p>&nbsp;</p>
      <p>
        <?php     $tam_ancho = 370;

include('concha.php');
mysql_connect ("$host", "$usuario", "$contra");
mysql_select_db ("$basedatos");

$sql = "SELECT * FROM publicidades_swf";

$consulta = mysql_query ($sql);
while ($row = mysql_fetch_array($consulta))
{
$ID = $row["ID"];

$swf = $row["swf"];
$carpetafoto = $row["carpetafoto"];

$ancho = $row["ancho"];

$alto = $row["alto"];


 
	
	$tam_alto = $alto * $tam_ancho / $ancho;
	
	
	
    
    ?>
        <object  width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>">
          <param name="src" value="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" />
          <embed src="<? echo $dom ?>/<? echo $carpetafoto ?>/<?php echo $swf ?>" pluginspage="http://www.adobe.com/shockwave/download/" width="<?php echo $tam_ancho ?>" height="<?php echo $tam_alto ?>"></embed>
        </object>
        <br>
      </p>
      <p><br />
        </p>
      <form id="form1" name="form1" method="post" action="form_poner_publicidad_flash_en_noticia.php">
          <input name="lugar" type="hidden" value="<?php echo $lugar ?>" />
              <input name="ID_i" type="hidden" value="<?php echo $ID ?>" />
           
<label>
          <input type="submit" name="button" id="button" value="SELECCIONAR ESTA">
          </label>
        </form>
      <hr />
      <?
	  }
mysql_free_result($consulta);

?>
      <br />
        <br /></td>
  </tr>
</table>
<p>&nbsp; </p>
