if(!mobile_device_detect())
{
echo 'You can access this page only with your mobile phone!';
require_once ($rootpath.'incfiles/end.php');
exit;
} if(!mobile_device_detect())
{
echo 'You can access this page only with your mobile phone!';
require_once ($rootpath.'incfiles/end.php');
exit;
}