<?php
// 5tfu !
session_start();

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
 $buffer  = '<?xml version="1.0"?>';
   $buffer .= "<reponse><message>Bonjour de PHP &amp; d'XML</message></reponse>";

   header('Content-Type: text/xml');


require ('sistite/connexion.php');

$passing=$_SESSION['passing'];
 
 $total=mysql_fetch_assoc(requete('SELECT count(id) FROM log;'));
 $total=$total['count(id)'];

$pol=mysql_fetch_assoc(requete('SELECT note FROM log WHERE track="'.$passing.'";'));
$note=$pol['note'];

requete('UPDATE log SET stfued=stfued+1 WHERE track="'.$passing.'";');



$notenew=$note+1;
requete('UPDATE log SET note='.$notenew.' WHERE track="'.$passing.'";');



// echo "stfued: ".$passing.", ranked: ".$uped."<br/>";
?>

<? 

$rep = "shit/";
$dir = opendir($rep); 
$dir2=opendir($rep); 
$n=0;

include('deralgo.php');

//echo $tune.'<br/';
echo '<br><span class="rouge">'.$passing.' was 5tfu`ed ! </span><br>';

$dl=$rep.$dl2;
?>

<form name="form1" onSubmit="doPassVar(sendText);" action="#" >
  <input type="hidden" name="sendText" maxlength="45" value="<? echo $dl; ?>" onClick="doPassVar(this);" >
</form>
<? $_SESSION['passing']=$dl2; ?>

<? include('stcomon.php'); ?>
