<script language="javascript" type="text/javascript">
function MM_swapImgRestore() {
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() {
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>

<?
include("config.php");
$id = $_GET["id"];
$sql = mysql_query("SELECT * FROM fisiere WHERE id = '$id' ");
while($row = mysql_fetch_array($sql))
{
$filename = $row['file'];
$user = $row['user'];
$pass = $row['pass'];
$desc = $row['description'];
$sz = $row['size'];
$ftype = $row['ftype'];
$banned = $row['banned'];
$dload = $row['download'];
$views = $row['view']+1;
$abuse = $row['abuse']+1;
$cat = $row['categorie'];
$cat = $row['categorie'];
$Browser = $row['browse'];
$ip = $row['ip'];
$numefisier = $filename;
$numefisier=str_replace("by_[wWw.ExtremShare.Net]","",$numefisier);
$numefisier=str_replace("_"," ",$numefisier);
$numefisier=str_replace("."," ",$numefisier);
/**
 * echo "<center>
 * <script language='JavaScript' src='/player/audio-player.js'></script>
 * <object type='application/x-shockwave-flash' data='/player/player.swf' id='audioplayer1' height='30' width='290'>
 *                                   <param name='movie' value='/player/player.swf'/>
 *                                   <param name='FlashVars' value='playerID=1&amp;autostart=no&amp;soundFile=http://extremshare.net/uploads/mp3/$filename'/>
 *                                   <param name='quality' value='high'/>
 *                                   <param name='menu' value='false'/>
 *                                   <param name='wmode' value='transparent'/>
 *                                </object></center>";
 */


echo "<table width='380' height='80'  border='0' cellpadding='0' cellspacing='0' background=\"player/bg_player.gif\">

<tr><td><table width='100%' height='80'  border='0' cellpadding='0' cellspacing='0'>

<tr><td height='20' align='center' valign='bottom'><span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #ffffff; text-decoration: none;'>

<a style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight:bold; color: #ffffff; text-decoration: none;' href=\"http://extremshare.net/file.php?id=$id\">$numefisier</a></span></td></tr>

<tr><td height='5'><img src=\"player/5x5_tr.gif\" width='5' height='5'></td></tr>

<tr><td><table width='100%' height='30'  border='0' cellpadding='0' cellspacing='0'><tr><td width='18'> </td><td align='left' valign='middle'>

<span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #ffffff; text-decoration: none;'><embed class='beeplayer' wmode='transparent' style='height:24px;width:260px;' src='player/player.swf' quality='high' bgcolor='#ffffff' width='260' height='24' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars='playerID=1&bg=0xCDDFF3&leftbg=0x357DCE&lefticon=0xF2F2F2&rightbg=0x64F051&rightbghover=0x1BAD07&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0x357DCE&slider=0x357DCE&track=0xFFFFFF&border=0xFFFFFF&loader=0xAF2910&soundFile=http://extremshare.net/uploads/mp3/$filename''></embed></span></td>

<td width='70' align='center' valign='middle'><img src=\"http://extremshare.net/interfata/logo_small.gif\" width='68' height='24'></td><td width='8'></td></tr></table></td></tr><tr><td height='5'>

<img src=\"player/5x5_tr.gif\" width='5' height='5'></td></tr><tr>

<td height='20' align='center' valign='top'>

<span style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #ffffff; text-decoration: none;'>Powered By <a style='font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #ffffff; text-decoration: underline;' href=\"http://extremshare.net\">wWw.ExtremShare.Net</a>

</span></td></tr></table></td></tr></table>";

}
?>