session_start();
include "../affconfig.php";
include "./lang/$language";
if(!aff_check_security())
{
aff_redirect('index.php');
exit;
}
include "header.php";
mysql_connect($server, $db_user, $db_pass)
or die ("Database CONNECT Error (line 20)");
$result = mysql_db_query($database, "select * from clickthroughs where refid = '".$_SESSION['aff_valid_user']."' ORDER BY date and time")
or die ("Database INSERT Error");
echo "
|
";
while ($qry = mysql_fetch_array($result))
{
print "