<?php
/// PREPARE PPLAYST
 require ('sistite/connexion.php');


if(!$_GET['foufoutre'])exit();


$n=1;$rep = "shit/";
if($_GET['op'])$_SESSION['op']=$_GET['op'];
if($_SESSION['op']==2)	$req2=requete('SELECT * FROM log WHERE bup=2 ORDER BY note;');
if($_SESSION['op']==3 || $_SESSION['op']==0)	$req2=requete('SELECT * FROM log WHERE bup!=2 ORDER BY name;');
if($_SESSION['op']==1)	$req2=requete('SELECT * FROM log WHERE bup=1 ORDER BY note;');

$ple.='<table style="margin:auto;">';
while($req=mysql_fetch_assoc($req2))
{
$troc='';
$trac=$req['track'];
$tracn=explode('.',$trac);

if($req['bup']==1)$color='66FFFF'; 
if($req['bup']==0) $color='ffffff';
if($req['state']=='ok')$color='66FFFF'; 
if($req['bup']==2)$color='66FFFF'; 
$ple.= '<tr><td><a onclick="document.getElementById(\'deck1\').src = \'index_play.php?serche='.$tracn[0].'\';">DECK1</a> 
	</td><td style="letter-spacing:0px; background-color:#'.$color.';"">'.$req['name'].'</td><td><a onclick="document.getElementById(\'deck2\').src = \'index_play.php?serche='.$tracn[0].'\';">DECK2</a></td></tr>';  
$n++;
}
$ple.='</table>';

?><!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>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
		<link rel="stylesheet" type="text/css" href="elyts/fute.css" />
<title>5TFU !</title>
</head>
<body>
<div style="position:fixed;width:100%; left:0px;margin-top:20%;">
<table width="100%"><tr><td>
<iframe id="deck1" name="deck1" src="" style="border:1px solid #66FFFF; border-style:solid;" width="400"></iframe>
</td><td>&nbsp;</td><td>
<iframe id="deck2" src="" style="border:1px solid #66FFFF" width="400"></iframe ></td></tr></table></div>



<img src="nuk/logo.gif" style="margin:auto;" />
<? echo $ple; ?>
</body>
</html>
