<?php

	session_start();
	
	ob_start();
	$_SESSION['pass_file'] = true;
	
	require_once('conf/definitions.php');
	require_once('conf/objs.php');
	require_once('conf/functions.php');
	
	$id = fnAdjustID();
	
	$dba = new db;
	
	$row = $dba->GetRow('mobile_melody', $id, 'interpret, nazov, file');
	
	$dba->Increment('mobile_counter', 'status', 13, 1);
	
	$max_id_navstev = $dba->Max_ID('mobile_navstev_dnes');
	$dba->Increment('mobile_navstev_dnes', 'stranok', $max_id_navstev, 1);
	
?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<link rel="stylesheet" href="style.css" />
<title>4mobile.sk</title>
</head>
<body onkeydown="return false;" oncontextmenu="return false;" style='text-align: center;'>
 <div id="melodie_01" style='width: 200px;'>
 <?php
 
 	if($row['interpret'] != '')
 	{
 		echo '<b>'.$row['interpret'].'</b>: ';
 	}
 	echo $row['nazov'];
 	
	?>
 <br/>Prosím čakajte,<br/> prehrávanie hneď začne.
 </div>
	 <div id="melodie_01" style='width: 200px;'>
   <OBJECT id='mediaPlayer' width="180" height="50"
     classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
     codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
     standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
     <param name='fileName' value="sample.php?id=<?php echo $id ?>">
     <param name='animationatStart' value='true'>
     <param name='transparentatStart' value='false'>
     <param name='autoStart' value="true">
     <param name='showControls' value="true">
     <param name='loop' value="false">
     <EMBED type='application/x-mplayer2'
       pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
       id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='1'
       bgcolor='darkblue' showcontrols="false"
       showdisplay='0' width="180" height="50"
       src="sample.php?id=<?php echo $id ?>" autostart="true" loop="false">
     </EMBED>
     </OBJECT>
     
     <div style="width: 100%; text-align: center;">
     <script type="text/javascript"><!--
google_ad_client = "pub-4917301309934013";
//180x150, bola vytvorená 14.1.2008
google_ad_slot = "6874887837";
google_ad_width = 180;
google_ad_height = 150;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
     </div>
      </div>
     <a href="http://www.toplist.cz/"><script language="JavaScript" type="text/javascript">
<!--
document.write ('<img src="http://toplist.cz/dot.asp?id=209538&http='+escape(document.referrer)+'&wi='+escape(window.screen.width)+'&he='+escape(window.screen.height)+'&cd='+escape(window.screen.colorDepth)+'&t='+escape(document.title)+'" width="1" height="1" border=0 alt="TOPlist" />');
//--></script><noscript><img src="http://toplist.cz/dot.asp?id=209538" border="0"
alt="TOPlist" width="1" height="1" /></noscript></a>
     
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1631733-1";
urchinTracker();
</script>
</body>
</html>

<?php

	ob_flush();

?>