41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php if ( !defined('PATHTOINCLUDES') ) define('PATHTOINCLUDES', $_SERVER["DOCUMENT_ROOT"] . '/include/analytics/');
|
|
include(PATHTOINCLUDES."base.php");
|
|
/* $Id: rod to hand - bateworld 2015-12-09 06:02:53Z phil $ */
|
|
$page = "cockology";
|
|
include "header.php";
|
|
$msize=ini_get('upload_max_filesize');
|
|
|
|
@require_once(PATHTOINCLUDES."Mobile_Detect.php");
|
|
$detect = new Mobile_Detect;
|
|
$devicetype="";
|
|
$ostype="";
|
|
if ( $detect->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";
|
|
?>
|