Beispiel #1
0
        $nombre_juego = $info['nombre'];
        $href = "game_desc.php?p={$pagina}&step=1&cat={$idCat}&id=" . $idGlobalnet;
        $link_descarga = new Link($href, "Descargar");
        $volver_link = "games.php?p={$pagina}&step=1&cat={$idCat}";
        break;
    case 1:
        $datos = obtenerDatosContenido($db, $idGlobalnet, true);
        if ($back == 'c') {
            $volver_link = "games.php?p={$pagina}&step=1&cat={$idCat}";
        } else {
            $volver_link = "home.php";
        }
        $url = "hacer_descarga.php?tipoCat=" . $datos['tipo'] . "&id={$idGlobalnet}";
        $url_no = "url_no.php?b={$back}&p={$pagina}&cat={$idCat}&tipoCat=31&id={$idGlobalnet}";
        $texto = new MensajeDescarga($url, $url_no, 31, $idGlobalnet);
        $texto->forceSiUrl($url);
        $texto->setWapName("halloween_wap");
        $home_link = "home.php";
        break;
}
/////////////////////////////////////////////
//// PRESENTACION
/////////////////////////////////////////////
$pagina = new Pagina(NOMBRE_PORTAL);
$seccion = new Seccion("Datos del Juego", "center", SMALL_FONT_SIZE);
if ($screen) {
    $seccion->AddComponent(new Imagen("getimage.php?path=" . PREVIEW_HOST . $screen), "<br/>");
}
if ($nombre_juego) {
    $seccion->AddComponent("<b>{$nombre_juego}</b><br/><br/>");
}