$query_permiso = "SELECT vip_permisos.id_permiso FROM vip_permisos WHERE vip_permisos.tipo = 'calendario' AND vip_permisos.id_vip = '$idV'";
$permiso = mysqli_query($conn_entra,$query_permiso);
$row_permiso = mysqli_fetch_assoc($permiso);
$totalRows_permiso = mysqli_num_rows($permiso); ?>
if ($row_permiso['id_permiso'] > 0) { ?>
}?>
if ($row_get_user['username'] <> "eygogo" && $row_get_user['username'] <> "") { ?>
if ($row_sec_educacion['autorizado'] == 1) {?>
if ($row_educaBTN['id_boton'] == "") { echo "Area Educativa"; } else { echo $row_educaBTN['nombre']; }?> |
}
if ($row_get_producVenta['id_producto'] <> "") {?>
if ($row_tiendaBTN['id_boton'] == "") { echo "Tienda Virtual"; } else { echo $row_tiendaBTN['nombre']; }?> |
}?>
if ($row_veaBTN['id_boton'] == "") { echo "Vea También"; } else { echo $row_veaBTN['nombre']; }?> |
}?>
if ($row_get_actividad['id_actividad']!="") { ?>
|
if ($row_get_vipAnuncio['id_anuncio'] <> "") { ?>
$foto = "../".$row_get_vipAnuncio['img'];
@list($width, $height) = getimagesize($foto);
$ancho = 180;
if ($width > $ancho) {
@$percentage = ($ancho / $width);
} else {
@$percentage = ($ancho / $height);
}
$width = round($width * $percentage);
$height = round($height * $percentage);
if ($height > $ancho) {
@$percentage = ($ancho / $height);
@$height = round($height * $percentage);
@$width = round($width * $percentage);
}
?>
 |
}?>