<?php
error_reporting(0);
include_once('scripts/Mobile_Detect.php');
$detect = new Mobile_Detect;
$deviceType = ($detect->isMobile() ? ($detect->isTablet() ? 'tablet' : 'phone') : 'computer');
$videoAutoplay = ($deviceType == 'computer' ? ' autoplay ' : '');
$isChrome = (strpos($_SERVER['HTTP_USER_AGENT'],'Chrome') !== false);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Absolute Results Productions</title>
<style>
body,html {margin:0px;width:100%;background-color:black;background-image:url('<?= $lang['imgFdr'] ?>/blackBG.jpg');background-repeat:no-repeat;}
td {vertical-align:top;font-family:arial;font-size:10pt}
.mainTbl {width:100%;}
.contentTbl {width:1040px;background-color:white;border:1px solid #dcdcdc;padding:0px 38px 30px 38px}
.footerTbl td {color:#bbb}
.menuTbl td {vertical-align:middle;text-align:center;color:#ddd;font-size:9pt}
.CoulisseDemo
{
width: 700px;
height: 334px;
position: relative;
overflow: hidden;
background-color: Black;
}
.SliderDemo
{
width: 100%;
margin: 10px 10%;
position: relative;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js"></script>
<!-- <script type="text/javascript" src="http://coulisse.luvdasun.com/assets/jquery.ui.coulisse.min.js"></script> -->
<script type="text/javascript" src="scripts/jquery.mousewheel.min.js"></script>
<script type="text/JavaScript" src="scripts/jquery.mousewheel.js"></script>
<script type="text/javascript" src="scripts/easel.js"></script>
<script type="text/javascript" src="scripts/easeljs/filters/Filter.js"></script>
<script type="text/javascript" src="scripts/easeljs/filters/ColorFilter.js"></script>
<script type="text/javascript" src="scripts/tween.js"></script>
<script type="text/javascript" src="scripts/CanvasCoverflow.js"></script>
<script type="text/javascript">
function menuoverBG(menuItem,orig, isLeft, isRight)
{
document.getElementById('menu_' + menuItem).style.cursor = "pointer";
document.getElementById('menu_' + menuItem).style.backgroundImage = "url('<?= $lang['imgFdr'] ?>/button_bgSel.jpg')";
if(isLeft) document.getElementById('menu_left').src = "<?= $lang['imgFdr'] ?>/button_leftSel.jpg";
if(isRight) document.getElementById('menu_right').src = "<?= $lang['imgFdr'] ?>/button_rightSel.jpg";
}
function menuoutBG(menuItem,orig, isLeft, isRight)
{
document.getElementById('menu_' + menuItem).style.backgroundImage = "url('<?= $lang['imgFdr'] ?>/button_bg" + orig + ".jpg')";
if(isLeft) document.getElementById('menu_left').src = "<?= $lang['imgFdr'] ?>/button_left" + orig + ".jpg";
if(isRight) document.getElementById('menu_right').src = "<?= $lang['imgFdr'] ?>/button_right" + orig + ".jpg";
}
</script>
<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">
<style>.vjs-loading-spinner div {display:none;}</style>
<script src="http://vjs.zencdn.net/c/video.js"></script>
<link rel="stylesheet" href="css/accordion.core.css" type="text/css" charset="utf-8">
<style>
.videoTable td {text-align:left;padding:5px 3px;width:270px;vertical-align:middle;font-size:9pt}
.accordion h3 a {}
</style>
<script type="text/javascript" src="scripts/jquery.accordion.2.0.js" charset="utf-8"></script>
<script>
var currentVid;
var overColor = '#B5EAAA';
var overColor = '#cdcdcd';
var vidArray = new Array();
<?php
$i = 0;
foreach($videoArray as $category => $videoList) {
foreach($videoList as $desc => $vid) {
?>
vidArray[<?= $i ?>] = "<?= $vid ?>";
<?php
$i++;
}
}
?>
function viewVideo(vidSrc)
{
if(vidSrc == "")
{
myPlayer.pause();
if(typeof currentVid !== 'undefined') currentVid.style.backgroundColor = '#fff';
currentVid = undefined;
return;
}
myPlayer.src([
{ type: "video/mp4", src: "http://www.absoluteresults.com/videos/" + vidSrc + ".mp4" },
{ type: "video/webm", src: "http://www.absoluteresults.com/videos/" + vidSrc + ".webm" }
]);
if(typeof currentVid !== 'undefined') currentVid.style.backgroundColor = '#fff';
document.getElementById(vidSrc).style.backgroundColor = overColor;
currentVid = document.getElementById(vidSrc);
}
function videoEnd()
{
var y=vidArray.indexOf(currentVid.id);
if(vidArray[y+1] != undefined) viewVideo(vidArray[y+1]);
else viewVideo(vidArray[0]);
}
function videoMouseOver(vidObj)
{
vidObj.style.cursor='pointer';
if(currentVid != vidObj) vidObj.style.backgroundColor = '#efefef';
}
function videoMouseOut(vidObj)
{
if(currentVid != vidObj) vidObj.style.backgroundColor = '#fff';
else vidObj.style.backgroundColor = overColor;
}
</script>
</head>
<body style="margin:0px">
<center>
<table cellspacing="0" cellpadding="0" class="mainTbl">
<!--
<tr>
<td style="height:3px;background-color:#403941">
</td>
</tr>
<tr>
<td style="height:6px;background-color:#b00100">
</td>
</tr>
-->
<tr>
<td style="height:50px"></td>
</tr>
<tr>
<td>
<center>
<table cellspacing="0" cellpadding="0">
<tr>
<td>
<table cellspacing="0" cellpadding="0" class="contentTbl">
<tr>
<td style="height:35px;text-align:right;vertical-align:middle;padding-right:10px">
<b>
<?= ($_SESSION['langSet'] == 'en' ? 'EN' : '<a href="?lang=en" style="text-decoration:none;color:blue">EN</a>') ?>
|
<?= ($_SESSION['langSet'] == 'fr' ? 'FR' : '<a href="?lang=fr" style="text-decoration:none;color:blue">FR</a>') ?>
</b>
</td>
</tr>
<tr>
<td>
<center>
<table cellspacing="0" cellpadding="0" style="width:100%">
<tr>
<td style="text-align:left;float:left;vertical-align:middle">
<a href="index.php"><img src="<?= $lang['imgFdr'] ?>/arlogo.jpg" border="0"></a>
</td>
<td style="text-align:right;float:right;padding-right:10px;vertical-align:middle">
<?php
if(isset($pageTitle))
{
?>
<table cellspacing="0" cellpadding="0" style="height:90px">
<tr>
<td style="text-align:right;float:right" onMouseOver="this.style.cursor='pointer'">
<table cellspacing="0" cellpadding="0" class="topMenu">
<tr>
<td><img src="<?= $lang['imgFdr'] ?>/topMenuLeft.jpg"></td>
<td onClick="topMenuClick('index')" style="background-image:url('<?= $lang['imgFdr'] ?>/topMenuBG.jpg');font-size:10pt;height:30px;width:100px;vertical-align:middle;text-align:center;color:#999">
<center>
<table cellspacing="0" cellpadding="0">
<tr>
<td style="padding:0px"><a href="index.php"><img src="<?= $lang['imgFdr'] ?>/home.png" border="0"></td>
<td style="padding:0px;padding-left:5px;font-size:7pt;text-align:left;vertical-align:middle;color:#777;"><?= $lang['go home']?></td>
</tr>
</table>
</center>
</td>
<style>
.topMenu td {font-size:9pt;vertical-align:middle;text-align:center;font-family:verdana;color:#777}
.topSubMenu {width:200px;background-color:#f8f8f8;border-collapse:collapse}
.topSubMenu td {border:1px solid #cecece;padding:5px;text-align:left;}
</style>
<script>
function topMenuClick(topMenuItem)
{
location.href=topMenuItem + '.php';
}
function topMenuMouseOver(topMenuItem)
{
document.getElementById('topMenu' + topMenuItem).style.display = 'block';
}
function topMenuMouseOut(topMenuItem)
{
document.getElementById('topMenu' + topMenuItem).style.display = 'none';
}
</script>
<?php
$topMenuItems['whatwedo'] = mb_strtoupper($lang['What We Do']);
$topMenuItems['success'] = mb_strtoupper($lang['Our Success']);
$topMenuItems['team'] = mb_strtoupper($lang['Our Team']);
$topMenuItems['contactus'] = mb_strtoupper($lang['Contact Us']);
$topMenuSubItems['whatwedo']['whatwedo'] = $lang['Absolute Results Private Sale'];
$topMenuSubItems['whatwedo']['invitations'] = $lang['Invitations'];
$topMenuSubItems['whatwedo']['conquest'] = $lang['Conquest Marketing'];
$topMenuSubItems['whatwedo']['training'] = $lang['Training'];
$topMenuSubItems['whatwedo']['techPackage'] = $lang['Tech Package'];
$topMenuSubItems['success']['success'] = $lang['Success Videos'];
$topMenuSubItems['success']['challenges'] = $lang['Private Sale Challenges'];
$topMenuSubItems['success']['successGallery'] = $lang['Photo Gallery'];
$topMenuSubItems['success']['successTestimonials'] = $lang['Testimonials'];
$topMenuSubItems['team']['team'] = $lang['Meet our Trainers'];
$topMenuSubItems['team']['staff'] = $lang['Meet our Staff'];
$topMenuSubItems['contactus']['contactus'] = $lang['Book Your Private Sale'];
$topMenuSubItems['contactus']['joinus'] = $lang['Join Our Team'];
foreach($topMenuItems as $page => $desc)
{
?>
<td>
<div id="topMenu<?= $page ?>" onMouseOver="topMenuMouseOver('<?= $page ?>')" onMouseOut="topMenuMouseOut('<?= $page ?>')" style="z-index:100;position:absolute;padding-top:29px;margin-left:1px;display:none;">
<table cellspacing="0" cellpadding="0" class="topSubMenu">
<?php
foreach($topMenuSubItems[$page] as $subpage => $subdesc)
{
?> <tr>
<td onClick="topMenuClick('<?= $subpage ?>')"><?= $subdesc ?></td>
</tr>
<?php
}
?>
</table>
</div><img src="<?= $lang['imgFdr'] ?>/topMenuRight.jpg">
</td>
<td onClick="topMenuClick('<?= $page ?>')" onMouseOver="topMenuMouseOver('<?= $page ?>')" onMouseOut="topMenuMouseOut('<?= $page ?>')" style="background-image:url('<?= $lang['imgFdr'] ?>/topMenuBG.jpg');height:30px;width:120px;color:#333">
<?= $desc ?>
</td>
<?php
$i++;
}
?>
<td><img src="<?= $lang['imgFdr'] ?>/topMenuRight.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="padding:0px;vertical-align:bottom"><img src="<?= $lang['imgFdr'] ?>/<?= $pageTitle ?>"></td>
</tr>
</table>
<?php
}
else
{
$menuItems['invitations'] = mb_strtoupper($lang['Invitations']);
$menuItems['conquest'] = mb_strtoupper($lang['Conquest Marketing']);
$menuItems['training'] = mb_strtoupper($lang['Training']);
$menuItems['techPackage'] = mb_strtoupper(str_replace(array('Tech'),array('Tech<br>'),$lang['Tech Package']));
$menuItems['challenges'] = mb_strtoupper(str_replace(array('Regional'),array('Regional<br>'),$lang['Regional Challenges']));
$menuItems['joinus'] = mb_strtoupper(str_replace(array('Join'),array('Join<br>'),$lang['Join Our Team']));
?>
<div style="width:100%;font-size:16pt;font-family:arial;font-weight:bold;color:yellow;background-color:#d82126;text-align:center;cursor:pointer;padding:10px" onClick="location.href='contactus.php'"><?= $lang['CLICK HERE TO BOOK A PRIVATE SALE TODAY!'] ?></div>
<!-- <table cellspacing="0" cellpadding="0" class="menuTbl" style="padding-top:10px">
<tr>
<?php
$i = 1;
foreach($menuItems as $page => $desc)
{
$isSel = (basename($_SERVER['SCRIPT_FILENAME']) == ($page . '.php') ? 'Sel' : '');
if($i == 1) echo '<td><img id="menu_left" src="' . $lang['imgFdr'] . '/button_left' . $isSel . '.jpg"></td>';
else echo '<td><img src="' . $lang['imgFdr'] . '/button_divider.jpg"></td>';
?>
<td id="menu_<?= $page ?>" style="height:49px;width:96px;background-image:url('<?= $lang['imgFdr'] ?>/button_bg<?= $isSel ?>.jpg')" onClick="location.href='<?= $page ?>.php'" onMouseOver="menuoverBG('<?= $page ?>','<?= $isSel ?>',<?= ($i == 1 ? 'true' : 'false') ?>,<?= ($i == count($menuItems) ? 'true' : 'false') ?>)" onMouseOut="menuoutBG('<?= $page ?>','<?= $isSel ?>',<?= ($i == 1 ? 'true' : 'false') ?>,<?= ($i == count($menuItems) ? 'true' : 'false') ?>)"><?= $desc ?></td>
<?php
if($i == count($menuItems)) echo '<td><img id="menu_right" src="' . $lang['imgFdr'] . '/button_right' . $isSel . '.jpg"></td>';
$i++;
}
?>
</tr>
</table> -->
<?php
}
?>
</td>
</tr>
</table>
</center>
</td>
</tr>
<tr>
<td style="height:10px;border-bottom:1px solid #dcdcdc">
</td>
</tr>
<tr>
<td style="padding-top:15px;">
<center>