"> ">

".leerEtiqueta("texto_titulo_oferta")."

"; $extension = "gif"; //Ofertas fijas $varsC = ""; // $varsC .= ""; $varsC .= "
"; $varsC .= "
  ".( ($datosBan["link"])?"":"" )."\"\"".( ($datosBan["link"])?"":"")."
"; $varsC .= "

".leerEtiqueta("ofertas_titulo_1")."
"; $vars .= cuadroRojo($varsC, leerEtiqueta("cliente_ofertas")); //Ofertas vía banner $sel = mysql_query("SELECT * FROM tb_banners WHERE es_oferta AND valido AND fecha_limite>\"".date("Y-m-d")."\""); // echo "SELECT * FROM tb_banners WHERE es_oferta AND valido AND fecha_limite<=\"".date("Y-m-d")."\""; $banner1 = "
\"\" \"\"
\"\" ".strtoupper(leerEtiqueta("descuento_seo"))." \"\" \"\"
\"\" \"\" PICK_THREE
PICK_ONE
\"\" \"\" \"\"
\"\" \"\" \"\"
\"\" PICK_TOW \"\" \"\"
\"\" \"\"
"; $banner2 = "
\"\"
\"\" ".strtoupper(leerEtiqueta("descuento_seo"))." \"\"
\"\" PICK_TOW PICK_THREE
PICK_ONE
\"\" \"\"
\"\"
\"\" \"\" \"\" \"\" \"\"
"; $banner3 = "
\"\"
\"\" PICK_TOW PICK_THREE
\"\" PICK_ONE \"\"
\"\" ".strtoupper(leerEtiqueta("descuento_seo"))." \"\"
\"\"
\"\" \"\" \"\" \"\" \"\"
"; $banner4 = "
\"\"
\"\" PICK_TOW PICK_THREE \"\"
\"\" PICK_ONE \"\"
\"\" ".strtoupper(leerEtiqueta("descuento_seo"))." \"\"
\"\"
\"\" \"\" \"\" \"\" \"\"
"; // $plantillaBanner = "
".leerEtiqueta("descuento_seo")."PICK_ONE
PICK_TOWPICK_THREE
"; //$plantillaBanner = $banner2; $vars .= cuadroAzulMayor("", "".leerEtiqueta("cliente_ofertas")."", $urlD, "95%"); //Saltos de celdas $celdasSalto = 1; //ANCLAJE DE BANNERS según idioma if(mysql_num_rows($sel)) { $varsL = ""; while ($datosBan = mysql_fetch_array($sel)) { $vark = "banner".rand(1,4); $plantillaBanner = $$vark; if($celdasSalto) $varsL .= ""; $varsL .= ""; if(!$celdasSalto) $varsL .= ""; $celdasSalto = !$celdasSalto; } $varsL .= "
"; $casual = str_replace("PICK_ONE", str_replace("%FECHA_FIN%", formatearFechaMysqlaWeb($datosBan["fecha_hasta"]) , str_replace("%FECHA_INI%", formatearFechaMysqlaWeb($datosBan["fecha_desde"]) , leerEtiqueta("validez_fechas"))) ,$plantillaBanner); $casual = str_replace("PICK_TOW", $datosBan["porcentaje"]." %", $casual); $varsL .= str_replace("PICK_THREE", $datosBan[declaracionIdioma(1)], $casual); //$varsL .= "
  ".( ($datosBan["link"])?"":"" )."\"".leerEtiqueta($datosBan["f_alt2"])."".( ($datosBan["link"])?"":"")."
"; $varsL .= "
"; $vars .= cuadroAzulMayor($varsL, leerEtiqueta("descuento_ultima"), $urlD, "95%"); } $contenido = $vars; ?>