Remove tracking codes for now since they are breaking the pages they're made for
authorLaury GvR <laury@gaslightmedia.com>
Tue, 14 May 2019 14:57:16 +0000 (10:57 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 14 May 2019 14:57:16 +0000 (10:57 -0400)
sections/interior-page.php

index b2b3b48..b96748e 100644 (file)
 </script>
 
 <?php 
-    switch ($post->ID) {
-        case 163:
-            // Home page
-        ?>
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Homepage~IP145082, Activity ID: 1565386 -->
-            <!-- Expected URL: http://www.uptravel.com -->
-            
-            <!--
-            Activity ID: 1565386
-            Activity Name: UPTRA Homepage~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-            
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA Homepage~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/23/2014
-            -->
-            
-            <IMG SRC="https://ad.doubleclick.net/activity;src=4353659;type=ip145139;cat=uptra530;ord='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0 style="border:0;padding:0;margin:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;">
-            <img height="1" width="1" alt="" src="https://insight.adsrvr.org/track/evnt/?adv=8aevpsz&ct=0:yephkaln&fmt=3" style="border:0;border-style:none;padding:0;margin:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;" />
-            
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
-        
-        case 236:
-            // Trip planner
-            ?>
-
-            <link rel="stylesheet" type="text/css" href="<?php echo BASE_URL;?>contactform.css">
-            <script type="text/javascript" src="<?php echo GLM_APP_BASE_URL;?>libjs/contactform-1.1.js"></script>
-            <?php
-            if ($_REQUEST['cPage']) {
-                echo '
-            <style type="text/css">
-            #category {display:none;
-            .listing {display:none;
-            }
-            </style>';
-            }
-            $sController = new Toolkit_Members_TripPlannerList(
-                $this->pageGateway,
-                $GLOBALS['dbh']
-            );
-            $sController->show();
-            ?>
-
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Plan Your Trip~IP145082, Activity ID: 1565389 -->
-            <!-- Expected URL: http://www.uptravel.com/plan-your-trip-19/ -->
-
-            <!--
-            Activity ID: 1565389
-            Activity Name: UPTRA Plan Your Trip~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA Plan Your Trip~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/plan-your-trip-19/
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/21/2014
-            -->
-            <script type="text/javascript">
-            var axel = Math.random() + "";
-            var a = axel * 10000000000000;
-            //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
-            var iframe = document.createElement("iframe");
-            iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=' + a + '?');
-            iframe.setAttribute("width", "1");
-            iframe.setAttribute("height", "1");
-            iframe.setAttribute("frameborder", "0");
-            iframe.setAttribute("style", "display:none;");
-            document.body.appendChild(iframe);
-            </script>
-            <!--<noscript>
-            <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
-            </noscript>-->
-
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
-
-        case 191:
-            // Deals & promotions
-        ?>
-
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Featured Deals & Promotions~IP145082, Activity ID: 1565399 -->
-            <!-- Expected URL: http://www.uptravel.com/deals--promotions-26/ -->
-
-            <!--
-            Activity ID: 1565399
-            Activity Name: UPTRA Featured Deals & Promotions~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA Featured Deals & Promotions~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/deals--promotions-26/
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/21/2014
-            -->
-            <script type="text/javascript">
-            var axel = Math.random() + "";
-            var a = axel * 10000000000000;
-            //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
-            var iframe = document.createElement("iframe");
-            iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=' + a + '?');
-            iframe.setAttribute("width", "1");
-            iframe.setAttribute("height", "1");
-            iframe.setAttribute("frameborder", "0");
-            iframe.setAttribute("style", "display:none;");
-            document.body.appendChild(iframe);
-            </script>
-            <!--<noscript>
-            <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
-            </noscript>-->
-
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
 
-        case 242:
-            // Enews signup
-            $enews = new Toolkit_Contacts_EnewsSignup($GLOBALS['dbh'], 'Enews-Signup');
-            $enews->configureForm();
-            $enews->show();
-            ?>
-
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA eNews~IP145082, Activity ID: 1565387 -->
-            <!-- Expected URL: https://www.uptravel.com/sign-up-for-enews-11/ -->
-
-            <!--
-            Activity ID: 1565387
-            Activity Name: UPTRA eNews~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA eNews~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/sign-up-for-enews-11/
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/21/2014
-            -->
-            <script type="text/javascript">
-            var axel = Math.random() + "";
-            var a = axel * 10000000000000;
-            //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
-            var iframe = document.createElement("iframe");
-            iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=' + a + '?');
-            iframe.setAttribute("width", "1");
-            iframe.setAttribute("height", "1");
-            iframe.setAttribute("frameborder", "0");
-            iframe.setAttribute("style", "display:none;");
-            document.body.appendChild(iframe);
-            </script>
-            <!--<noscript>
-            <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
-            </noscript>-->
-
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
-
-        case 167:
-            // Shopping and dining
-            ?>
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Shopping & Dining~IP145082, Activity ID: 1565385 -->
-            <!-- Expected URL: http://www.uptravel.com/shopping---dining-5/ -->
-
-            <!--
-            Activity ID: 1565385
-            Activity Name: UPTRA Shopping & Dining~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA Shopping & Dining~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/shopping---dining-5/
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/21/2014
-            -->
-            <script type="text/javascript">
-            var axel = Math.random() + "";
-            var a = axel * 10000000000000;
-            //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
-            var iframe = document.createElement("iframe");
-            iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=' + a + '?');
-            iframe.setAttribute("width", "1");
-            iframe.setAttribute("height", "1");
-            iframe.setAttribute("frameborder", "0");
-            iframe.setAttribute("style", "display:none;");
-            document.body.appendChild(iframe);
-            </script>
-            <!--<noscript>
-            <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
-            </noscript>-->
-
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
-
-        case 235:
-            // Travel planner
-            if (!array_key_exists('_qf__how_did_you_hear_about_us', $_POST)) {
-                $planner = new Toolkit_Contacts_TravelPlanner($GLOBALS['dbh'],
-                                                            'TravelPlanner',
-                                                            'post',
-                                                            BASE_URL . 'index.php?catid=10',
-                                                            '',
-                                                            null,
-                                                            true);
-                $planner->configureForm();
-                $planner->show();
-            }
-
-            if (array_key_exists('hau_rmv', $_POST)) {
-                //  Hear About Us Form
-                $hau = new Toolkit_Contacts_HowDidYouHear($GLOBALS['dbh'],
-                                                        'how_did_you_hear_about_us',
-                                                        'post',
-                                                        BASE_URL . 'index.php?catid=10',
-                                                        '',
-                                                        null,
-                                                        true);
-                $hau->configureForm();
-                echo $hau->toHtml();
-            }
-            ?>
-
-            <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Travel Planner~IP145082, Activity ID: 1565388 -->
-            <!-- Expected URL: http://www.uptravel.com/request-travel-planner-10/ -->
-
-            <!--
-            Activity ID: 1565388
-            Activity Name: UPTRA Travel Planner~IP145082
-            Activity Group Name: IP145082: UPTRA
-            -->
-
-            <!--
-            Start of DoubleClick Floodlight Tag: Please do not remove
-            Activity name of this tag: UPTRA Travel Planner~IP145082
-            URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/request-travel-planner-10/
-            This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
-            Creation Date: 01/21/2014
-            -->
-            <script type="text/javascript">
-            var axel = Math.random() + "";
-            var a = axel * 10000000000000;
-            //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
-            var iframe = document.createElement("iframe");
-            iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=' + a + '?');
-            iframe.setAttribute("width", "1");
-            iframe.setAttribute("height", "1");
-            iframe.setAttribute("frameborder", "0");
-            iframe.setAttribute("style", "display:none;");
-            document.body.appendChild(iframe);
-            </script>
-            <!--<noscript>
-            <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
-            </noscript>-->
-
-            <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
-        <?php
-            break;
-        
-    }
 
 
 ?>
\ No newline at end of file