algo asi
Código PHP:
<?php require_once './includes/phpBB.inc.php';require_once './php-bin/db_mysql.inc.php';$db = &new DB_Sql();$db2 = &new DB_Sql();include_once './includes/media.inc.php';$media = &new Media($db, $db2);include_once './includes/poll.inc.php';$poll = &new Poll($db);include_once './includes/news.inc.php';$news = &new News($db);include_once './includes/game.inc.php';$game = &new Game($db);include_once './includes/cheat.inc.php';$cheat = &new Cheat($db);include_once './includes/article.inc.php';$article = &new Article($db);$system = $_REQUEST['system'];?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><LINK REL="alternate" TYPE="application/rss+xml" TITLE="Gameplay RSS" HREF="http://www.gameplay.com.mx/rss.php"><script type="text/javascript" src="ufo.js"></script><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Gameplay.com.mx Xbox360, Xbox, PS2, PS3, Gamecube, Wii, PSP, Nintendo Ds</title><style type="text/css" media="all">@import url(style.css);.Estilo1 { color: #FFFFFF; font-weight: bold;}.Estilo2 {color: #FFFFFF}</style><script type="text/javascript" src="common.js">function MM_CheckFlashVersion(reqVerStr,msg){ with(navigator){ var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1); var isWin = (appVersion.toLowerCase().indexOf("win") != -1); if (!isIE || !isWin){ var flashVer = -1; if (plugins && plugins.length > 0){ var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : ""; desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc; if (desc == "") flashVer = -1; else{ var descArr = desc.split(" "); var tempArrMajor = descArr[2].split("."); var verMajor = tempArrMajor[0]; var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r"); var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0; flashVer = parseFloat(verMajor + "." + verMinor); } } else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0; var verArr = reqVerStr.split(","); var reqVer = parseFloat(verArr[0] + "." + verArr[2]); if (flashVer < reqVer){ if (confirm(msg)) window.location = "http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"; } } } }</script></head><body onload="add_handlers('nav_home','nav_news','nav_previews','nav_reviews','nav_images','nav_videos','nav_cheats','nav_forums');;MM_CheckFlashVersion('7,0,0,0','El contenido de la página requiere una nueva versión del reproductor Macromedia Flash. Desea descargarlo ahora?');"><div id="wrapper"><div id="shadow_left"><div id="shadow_right"> <?php include('includes/menu.php'); ?><div id="main"><div class="blue_bar"><img src="images/headers_featured_article.gif" alt="" class="left" /><div id="welcome_box">Bienvenido, Hoy es: <span class="date"><? echo date ( "j/n/Y" );?> </span></div></div><div id="fp_featured_article"><table width="100%" height="209" border="0" cellpadding="0"><tr><td width="465"><?php $media->getFeature(1);?></td><td><div align="left"><p id="player2"><a href="http://www.macromedia.com/go/getflashplayer">Obten el Peproductor Flash</a>para ver el video.</p><script type="text/javascript"> var FO = { movie:"flvplayer.swf",width:"210",height:"168",majorversion:"7",build:"0",bgcolor:"#FFFFFF", flashvars:"file=videos/video.flv&showdigits=false&image=videos/preview.jpg&logo=videos/logo.png&showicons=false&volume=100" }; UFO.create( FO, "player2");</script></div></td></tr></table></div>