//------ Counter -----------------------------------
define("_BBC_PAGE_NAME", "Home");
define("_BBCLONE_DIR", "bbclone/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
require("adm/web.php");
$query = "SELECT * FROM `gbtf_banners` ORDER BY ban_orden ASC;";
$resp = $mysql->sql_query($query);
$nunc = 1;
while($row_sl = $mysql->sql_fetchrow($resp)){
/*$slideshow[] = "'".$row_sl['ban_imagen']."'";
if($nunc == 1)*/ list($_ww, $_hh) = @getimagesize($_WEB_IMAGE["thumb"].$row_sl['ban_imagen']);
$first_image .= "
";
//$nunc++;
}
$query = "SELECT * FROM `gbtf_menus` ORDER BY men_id ASC;";
$resp2 = $mysql->sql_query($query);
while($row_s2 = $mysql->sql_fetchrow($resp2)){
$menus[$row_s2['men_id']] = $row_s2['men_nombre_en'];
}
$query = "SELECT * FROM `gbtf_rotatorios` ORDER BY rot_id ASC;";
$resprot = $mysql->sql_query($query);
$numrot = $mysql->sql_numrows($resprot);
if($numrot){
$rotatorios .= "
";
while($row_rot = $mysql->sql_fetchrow($resprot)){
list($_ww, $_hh) = @getimagesize($_WEB_IMAGE["thumb"].$row_rot['rot_imagen']);
if(trim($row_rot['rot_url'])){
if(substr($row_rot['rot_url'],0,7) != 'http://' && $row_rot['rot_url'] != "") $_url_aux = 'http://'.$row_rot['rot_url'];
$rotatorios .= "

";
}
else
$rotatorios .= "

";
$_url_aux = NULL;
if($_hh > $ha) $ha = $_hh;
}
$rotatorios .= "
";
}
?>
.:: Feria de Turismo – Bolivia – Trade & Travel Show ::.