isMobile() ? ($detect->isTablet() ? 'Tablet' : 'Phone') : 'Computer'); if ($deviceType == 'Computer'){ header("Location: index1.php"); exit(); } elseif ($deviceType == 'Tablet'){ header("Location: index2.php"); exit(); } elseif ($deviceType == 'Phone'){ header("Location: index-cel.php"); exit(); } else{ header("Location: index2.php"); exit(); } ?>