<?php
//	$title = "Products | Exacq";

$landingPageNew = true;

include($_SERVER['DOCUMENT_ROOT'] . "/PHPwebsite/olde_header.php");
?>

<div class='page-header'>
	
	<div class='page-header-text'><h1 class='jci-grey'><?php echo _("Webinars"); ?></h1></div>
</div>

<?php
$dates_vs = array(
    'Aug 12, 2021' => 'https://register.gotowebinar.com/register/1419341285112055308_VS_1',
    'Aug 26, 2021' => 'https://register.gotowebinar.com/register/948607371912996108_VS_2',
    'Sep 9, 2021' => 'https://register.gotowebinar.com/register/397649791816157452_VS_3',
    'Sep 23, 2021' => 'https://register.gotowebinar.com/register/7753173674428558092_VS_4',
    'Oct 14, 2021' => 'https://register.gotowebinar.com/register/6611554049843805708_VS_5',
    'Oct 28, 2021' => 'https://register.gotowebinar.com/register/549241658961588748_VS_6',
    'Nov 11, 2021' => 'https://register.gotowebinar.com/register/2353171903745393420_VS_1',
    'Nov 18, 2021' => 'https://register.gotowebinar.com/register/5251761631493515020_VS_2',
    'Dec 2, 2021' => 'https://register.gotowebinar.com/register/4879330654887003404_VS_3',
    'Dec 16, 2021' => 'https://register.gotowebinar.com/register/6557604312803606284_VS_4',
    'Jan 6, 2022' => 'https://register.gotowebinar.com/register/5753401717039102220_VS_5',
    'Jan 20, 2022' => 'https://register.gotowebinar.com/register/7754938390591681804_VS_6',
    'Feb 3, 2022' => 'https://register.gotowebinar.com/register/6620578841283616524_VS_1',
    'Feb 17, 2022' => 'https://register.gotowebinar.com/register/8016771691582813196_VS_2',
    'Mar 3, 2022' => 'https://register.gotowebinar.com/register/6607832202983453964_VS_3',
    'Mar 17, 2022' => 'https://register.gotowebinar.com/register/1123216415474271244_VS_4',
    'Apr 7, 2022' => 'https://register.gotowebinar.com/register/4224666038546932748_VS_5',
    'Apr 21, 2022' => 'https://register.gotowebinar.com/register/7174741497777095436_VS_6',
    'May 5, 2022' => 'https://register.gotowebinar.com/register/5398510149917589004_VS_1',
    'May 19, 2022' => 'https://register.gotowebinar.com/register/507195234802978572_VS_2',
    'Jun 2, 2022' => 'https://register.gotowebinar.com/register/6590144359427441932_VS_3',
    'Jun 16, 2022' => 'https://register.gotowebinar.com/register/143456997125887244_VS_4',
    'July 7, 2022' => 'https://attendee.gotowebinar.com/register/4099994614096719628_VS_5',
    'July 21, 2022' => 'https://register.gotowebinar.com/register/7450270315604766988_VS_6',
    'Aug 4, 2022' => '_VS_1',
    'Aug 18, 2022' => '_VS_2',
    'Sep 1, 2022' => '_VS_3',
    'Sep 15, 2022' => '_VS_4',
    'Oct 6, 2022' => '_VS_5',
    'Oct 20, 2022' => '_VS_6',
    'Nov 3, 2022' => '_VS_1',
    'Nov 17, 2022' => '_VS_2',
    'Dec 1, 2022' => '_VS_3',
    'Dec 15, 2022' => '_VS_4'
);

$dates_ac = array(
    'July 29, 2021' => 'https://register.gotowebinar.com/register/730520340064565519_AC_1',
    'Aug 5, 2021' => 'https://register.gotowebinar.com/register/1953573094338432782_AC_2',
    'Aug 19, 2021' => 'https://register.gotowebinar.com/register/5991858301322668814_AC_3',
    'Sep 2, 2021' => 'https://register.gotowebinar.com/register/6787793669158264078_AC_4',
    'Sep 16, 2021' => 'https://register.gotowebinar.com/register/9117195914019082511_AC_1',
    'Oct 7, 2021' => 'https://register.gotowebinar.com/register/4827780052228660238_AC_2',
    'Oct 21, 2021' => 'https://register.gotowebinar.com/register/4458575042737935118_AC_3',
    'Nov 4, 2021' => 'https://register.gotowebinar.com/register/6324314333678645262_AC_4',
    'Nov 17, 2021' => 'https://register.gotowebinar.com/register/8670201556374689039_AC_1',
    'Dec 9, 2021' => 'https://register.gotowebinar.com/register/7409866561828082190_AC_2',
    'Dec 17, 2021' => 'https://register.gotowebinar.com/register/3147169932103489550_AC_3',
    'Jan 13, 2022' => 'https://register.gotowebinar.com/register/1055861432678350862_AC_4',
    'Jan 27, 2022' => 'https://register.gotowebinar.com/register/5680007116870480143_AC_1',
    'Feb 10, 2022' => 'https://register.gotowebinar.com/register/53670877611378190_AC_2',
    'Feb 24, 2022' => 'https://register.gotowebinar.com/register/8032533190777364238_AC_3',
    'Mar 10, 2022' => 'https://register.gotowebinar.com/register/4971812776932817166_AC_4',
    'Mar 24, 2022' => 'https://register.gotowebinar.com/register/7145647320602887951_AC_1',
    'Apr 14, 2022' => 'https://register.gotowebinar.com/register/8036506825799994638_AC_2',
    'Apr 28, 2022' => 'https://register.gotowebinar.com/register/2269429799649944078_AC_3',
    'May 12, 2022' => 'https://register.gotowebinar.com/register/1597737046730107918_AC_4',
    'May 26, 2022' => 'https://register.gotowebinar.com/register/8017634808220665358_AC_1',
    'Jun 9, 2022' => 'https://register.gotowebinar.com/register/2086387501904155150_AC_2',
    'Jun 23, 2022' => 'https://register.gotowebinar.com/register/1519632138739280910_AC_3',
    'Jul 14, 2022' => 'https://register.gotowebinar.com/register/8256594968820636686_AC_4',
    'Jul 28, 2022' => 'https://register.gotowebinar.com/register/2461014203231445518_AC_1',
    'Aug 11, 2022' => '_AC_2',
    'Aug 25, 2022' => '_AC_3',
    'Sep 8, 2022' => '_AC_4',
    'Sep 22, 2022' => '_AC_1',
    'Nov 10, 2022' => '_AC_2',
    'Nov 16, 2022' => '_AC_3',
    'Dec 8, 2022' => '_AC_4',
    'Dec 22, 2022' => '_AC_1'
);
$result = array_merge($dates_ac, $dates_vs);
$dates = array();
foreach ($result as $key => $val) {
    $dates[strtotime($key)] = $val;
}

ksort($dates);


$test = array();
$x = 0;
foreach ($dates as $key => $val) {
    if($x == 15){
        break;
    }
    $values = explode('_', $val);
    $link = $values[0];
    $type = $values[1];
    $guide = $values[2];
    $date = date('M j, Y', $key);
    if ($key >= strtotime('today')) {
        if ($type == 'VS') {
            $title = getTitleVS($guide);
            $intro = getIntroDescriptionVS($guide);
            $reg = getRegistrationDescVS($guide);
        } else {
            $title = getTitleAC($guide);
            $intro = getIntroDescAC($guide);
            $reg = getRegistrationDescAC($guide);
        }
        $test[$title . "_" . $key] = array(
            "abbr" => $key,
            "description" => $intro,
            "icon" => "images/" . strtolower($type) . "/$date.png",
            "link" => "/webinar_new/#load=$key",
            "subpages" => array(
                $title => array(
                    "description" => $reg,
                    "icon" => "images/" . strtolower($type) . "/$date.png",
                    "link" => $link,
                )
            )
        );
        $x++;
    }
}

//get titles of video suveillance webinar
function getTitleVS($number) {
    if ($number == 1) {
        return'Webinar: Exacq Video Surveillance';
    }
    if ($number == 2) {
        return'Webinar: Meet Any Video Surveillance Challenge';
    }
    if ($number == 3) {
        return'Webinar: Video Surveillance Overview';
    }
    if ($number == 4) {
        return'Webinar: A Quick Overview of exacqVision Video Surveillance';
    }
    if ($number == 5) {
        return'Webinar: Streamline Surveillance and Security with Exacq';
    }
    if ($number == 6) {
        return'Webinar: Leveraging Exacq Technology for Better Video Surveillance';
    }
}

//get intro description of video suveillance webinar
function getIntroDescriptionVS($number) {
    //1. Webinar: Exacq Video Surveillance 
    if ($number == 1) {
        return "In this 20-minute webinar, you will learn how to streamline surveillance and security operations, scale coverage, and speed up response times with intelligent alerts, video sharing tools, and intuitive dashboards. You will also learn how Exacq can be used to increase operational efficiency beyond security.";
    }
    //2. Webinar: Meet Any Video Surveillance Challenge 
    if ($number == 2) {
        return "Monitoring, searching and sharing surveillance data while responding to events can be time consuming without the right solutions in place. Slow response times can affect the ability to protect property, recover valuable assets, and keep staff, customers, and employees safe. In this 20-minute webinar, you will learn how industry-leading technology can help you overcome these video surveillance challenges.";
    }
    //3. Webinar: Video Surveillance Overview  
    if ($number == 3) {
        return "Discover why thousands of the world's leading business are leveraging Exacq to streamline surveillance and security operations. In this 20-minute webinar, you learn how organizations across the globe are managing their security operations more efficiently.";
    }
    //4. Webinar: A Quick Overview of exacqVision Video Surveillance
    if ($number == 4) {
        return 'In this 20-minute webinar, learn how Exacq streamlines surveillance and security operations, scales coverage, and speeds up response times with intelligent alerts, video sharing tools, and intuitive dashboards.';
    }
    //5. Webinar: Streamline Surveillance and Security with Exacq  
    if ($number == 5) {
        return 'Managing security operations can be challenging. Having the wrong solutions can affect the ability to protect property, recover valuable assets, and keep staff, customers, and employees safe. In this 20-minute webinar, learn how Exacq technology can streamline your surveillance and security operations.';
    }
    //6. Webinar: Leveraging Exacq Technology for Better Video Surveillance  
    if ($number == 6) {
        return "Better video surveillance is an option when you leverage Exacq solutions. The right system could save you time and increase your ability to protect property, recover valuable assets, and keep staff, customers, and employees safe. In this 20-minute webinar, you will learn how Exacq's video surveillance solutions can help you overcome these challenges.";
    }
}

//get registration description of video suveillance webinar
function getRegistrationDescVS($number) {
    //1. Webinar: Exacq Video Surveillance 
    if ($number == 1) {
        $line = '<p>Managing security operations is challenging. Searching and sharing surveillance data while responding to events can be time consuming without the right solutions in place. Slow response times can affect the ability to protect property, recover valuable assets, and keep staff, customers, and employees safe.</p>';
        $line .= '<p>In this 20-minute webinar, you will learn how Exacq streamlines surveillance and security operations, scales coverage, and speeds up response times with intelligent alerts, video sharing tools, and intuitive dashboards.</p>';
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //2. Webinar: Meet Any Video Surveillance Challenge 
    if ($number == 2) {
        $line = '<p>Managing security operations can be challenging. Monitoring, searching and sharing surveillance data while responding to events can be time consuming without the right solutions in place. Slow response times can affect the ability to protect property, recover valuable assets, and keep staff, customers, and employees safe.</p>';
        $line .= '<p>In this 20-minute webinar, you will learn how industry-leading technology can help you overcome these video surveillance challenges.</p>';
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //3. Webinar: Video Surveillance Overview  
    if ($number == 3) {
        $line = "<p>Discover why thousands of the world's leading business are leveraging Exacq to streamline surveillance and security operations.</p>";
        $line .= '<p>In this 20-minute webinar, you learn how organizations across the globe are managing their security operations more efficiently and video surveillance technology is being used to increase operational efficiency beyond security.</p>';
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //4. Webinar: A Quick Overview of exacqVision Video Surveillance
    if ($number == 4) {
        $line = '<p>In this 20-minute webinar, learn how Exacq streamlines surveillance and security operations, scales coverage, and speeds up response times with intelligent alerts, video sharing tools, and intuitive dashboards. Additionally, learn how cloud video surveillance technology is being used to increase operational efficiency beyond security.</p>';
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //5. Webinar: Streamline Surveillance and Security with Exacq  
    if ($number == 5) {
        $line = "<p>Discover why thousands of the world's leading business are leveraging cloud technology to streamline surveillance and security operations. </p>";
        $line .= '<p>In this 20-minute webinar, see how organizations across the globe are streamlining surveillance coverage and managing security operations more efficiently. You will also learn how video surveillance technology is being used to increase operational efficiency beyond security.</p>';
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //6. Webinar: Leveraging Exacq Technology for Better Video Surveillance  
    if ($number == 6) {
        $line = '<p>Better video surveillance is an option when you leverage Exacq solutions. The right system could save you time and increase your ability to protect property, recover valuable assets, and keep staff, customers, and employees safe.</p>';
        $line .= "<p>In this 20-minute webinar, you will learn how Exacq's video surveillance solutions can help you overcome these challenges.</p>";
        $line .= '<dl><dt>Agenda:</dt><dd>- Video Surveillance Technology Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
}

//get titles of access control webinar
function getTitleAC($number) {
    if ($number == 1) {
        return'Webinar: The Benefits of an Integrated Access Control Solution ';
    }
    if ($number == 2) {
        return'Webinar: Integrated Access Control with Exacq';
    }
    if ($number == 3) {
        return'Webinar: Leveraging Video Surveillance for Better Access Control ';
    }
    if ($number == 4) {
        return'Webinar: Streamlining Access Control';
    }
}

//get intro description of access control webinar
function getIntroDescAC($number) {
    //1) Webinar: The Benefits of an Integrated Access Control Solution 
    if ($number == 1) {
        return "Learn why thousands of the world's leading business are taking an integrated approach to access control and video surveillance. In this 15-minute webinar, you'll discover how organizations are integrating access control with video surveillance for a more powerful security solution and a more efficient way to collect data.";
    }
    //2) Webinar: Integrated Access Control with Exacq
    if ($number == 2) {
        return"The next trend in access control you need to know about is integration. In this 15-minute webinar, learn how integrating access control and video surveillance can make access control more affordable, more secure, and more powerful.";
    }
    //3) Webinar: Leveraging Video Surveillance for Better Access Control 
    if ($number == 3) {
        return"What if you could centralize security operations, streamline data collection, maintain a dependable workflow, and see all this information in once place? Now you can. In this 15-minute webinar, you will learn how other organizations are leveraging integrated access control and video surveillance to take advantage of these benefits and more.";
    }
    //4) Webinar: Streamlining Access Control
    if ($number == 4) {
        return"Discover how to streamline access control without the need to issue keys, fobs or cards and eliminate the security risk that those lost items could impose. Imagine being able to remotely grant access to all your doors directly from your video surveillance platform. In this 15-minute webinar, you will learn how Exacq integrates with access control to increase safety, streamline operations, and accurately manage access credentials.";
    }
}

//get registration description of access control webinar
function getRegistrationDescAC($number) {
    //1) Webinar: The Benefits of an Integrated Access Control Solution 
    if ($number == 1) {
        $line = "<p>From a management perspective, access control can be a hassle. Traditionally involving the management of physical keys and frequent lock changes. When access control involves IT, it typically includes dedicated access control software, and manual software updates. There is a better way...</p>";
        $line .= "<p>In this 15-minute webinar, you'll learn how organizations are integrating access control with video surveillance for a more powerful security solution and a more efficient way to collect data. Join us as we demonstrate a solution that doesn't involve the hassle of issuing keys, cards or fobs and you'll have a digital record of people who access your properties all linked to your surveillance footage.</p>";
        $line .= '<dl><dt>Agenda:</dt><dd>- Integrated Access Control & Surveillance Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //2) Webinar: Integrated Access Control with Exacq
    if ($number == 2) {
        $line = "<p>Access control guarantees that a user's identity is confirmed and authorizes entry. These two methods have traditionally worked well to secure a building and its occupants, but a recent trend in security technology has taken over...</p>";
        $line .= "<p>In this 15-minute webinar, learn how integrating access control and video surveillance can make access control more affordable, more secure, and more powerful. </p>";
        $line .= '<dl><dt>Agenda:</dt><dd>- Integrated Access Control & Surveillance Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //3) Webinar: Leveraging Video Surveillance for Better Access Control 
    if ($number == 3) {
        $line = "<p>Did you know you can centralize security operations, streamline data collection, maintain a dependable workflow, and see all this information in one window? When video surveillance and access control are integrated, security issues can be addressed immediately increasing safety for buildings and occupants while deterring future incidents.</p>";
        $line .= "<p>In this 15-minute webinar, you will learn how other organizations are leveraging integrated access control and video surveillance to take advantage of these benefits and more.</p>";
        $line .= '<dl><dt>Agenda:</dt><dd>- Integrated Access Control & Surveillance Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
    //4) Webinar: Streamlining Access Control
    if ($number == 4) {
        $line = "<p>Imagine eliminating the need for issuing keys, fobs or cards and the security risk that those lost items could impose. Imagine also being able to remotely grant access to all your doors, closets, gates, lock boxes or anything else you need to keep secure- all from your video surveillance platform. </p>";
        $line .= "<p>In this 15-minute webinar, you will learn how Exacq integrates with access control to increase safety, streamline operations, and remotely control access to your buildings and properties.</p>";
        $line .= '<dl><dt>Agenda:</dt><dd>- Integrated Access Control & Surveillance Overview</dd><dd>- Solution Walk-through and Demonstration </dd><dd>- Open Question and Answer</dd></dl>';
        $line .= '<p>Register today, space is limited! All registrants will receive a link to a recording of the webinar to watch later or share with colleagues.</p>';
        return $line;
    }
}

// output the landing page array
require_once($_SERVER['DOCUMENT_ROOT'] . "/resources/php/landing-page-new.php");

outputLP($test, 0, "products-menu");

include($_SERVER['DOCUMENT_ROOT'] . "/PHPwebsite/footer.php");
?>
<script type='text/javascript' src='/resources/jquery/jquery.smart-highlight.js'></script>
<script>
    $(document).ready(function () {

        $("#products-menu").landingpage();


    });
</script>