isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer'); if ($deviceType != 'Computer'){ header("Location:/new/\n\n"); exit; } if ( strstr($_SERVER['HTTP_REFERER'],"yourfreeprayerbook")) header("Location:http://www.christianword.org/info.html\n\n"); else header("Location:prayerbook/pb_viewer/index.php\n\n"); ?>