isMobile() ) { //echo "mobile"; $devicetype="mobile"; } // Any tablet device. if( $detect->isTablet() ){ //echo "tablet"; $devicetype="tablet"; } // Exclude tablets. if( $detect->isMobile() && !$detect->isTablet() ){ } // Check for a specific platform with the help of the magic methods: if( $detect->isiOS() ){ $ostype="IOS"; } if( $detect->isAndroidOS() ){ $ostype="Android"; } // ASSIGN VARIABLES AND INCLUDE FOOTER $smarty->assign('thetitle', 'Cockology Cocktober'); $smarty->assign('thedescription',''); $smarty->assign('thekeywords','bateworld, men\'s masturbation'); $smarty->assign('msize', $msize); $smarty->assign('ostype', $ostype); $smarty->assign('devicetype', $devicetype); include "footer.php"; ?>