View file clikus/br.php

File size: 584B
<?

$br=strtok(mysql_escape_string($_SERVER['HTTP_USER_AGENT']),'/');

$ha=$_SERVER['HTTP_ACCEPT'];

 if (empty($br))
  {
// print 'What the fuck????';
//  exit;
  }


if (ereg("application\/vnd.wap.xhtml\+xml",$ha))
{
$c_type = "Mobile";
}
 elseif (ereg("application\/xhtml\+xml",$ha))
  {
$c_type = "Mobile";
}
elseif (ereg("text\/html",$ha))
{
$c_type = "Computer";
}
else
{
$c_type = "Mobile";

}


if ($br=="Mozilla")
{
  $c_type = "Computer";
}

if ($br=="Opera")
{
  $c_type = "Opera";
}

//make for clikus.ru
//Admin icq 915317
  ?>