<?php

//-- generujemy dane przykładowe
srand((double)microtime() * 1000000);
$sold = rand(0,1000);

$boardsSold = 5*$sold;
$bootsSold = 3*$sold;
$bindingsSold = $sold;

header("content-type: text/xml");
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
?>

<totals>
 <boards-sold><? echo $boardsSold; ?></boards-sold>
 <boots-sold><? echo $bootsSold; ?></boots-sold>
 <bindings-sold><? echo $bindingsSold; ?></bindings-sold>
</totals>

<?
//mysql_close($conn);
?>
