@php
    use Application\Session;
    include 'corporate-details.php';
    $customer = Session::get('customer');
    $firstName = $lastName = $email = $phone = '';
    $shippingAddress = $shippingZip = $shippingCity = $shippingState = $shippingCountry = '';
    if(!empty($customer))
    {
        $firstName = $customer['firstName'];
        $lastName = $customer['lastName'];
        $custemail = $customer['email'];
        $custphone = $customer['phone'];
        $shippingAddress = $customer['shippingAddress1'];
        $shippingZip = $customer['shippingZip'];
        $shippingCity = $customer['shippingCity'];
        $shippingState = $customer['shippingState'];
        $shippingCountry = $customer['shippingCountry'];
    } 
@endphp
<!DOCTYPE html>
<html lang="en">
  <head>
    @php require_once 'app/general/__header__.tpl' @endphp
    <page-builder-block>
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
      <link rel="preconnect" href="https://fonts.googleapis.com">
      <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
      <link href="https://fonts.googleapis.com/css2?family=Abel&display=swap" rel="stylesheet">
      <link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;1,100;1,300&display=swap" rel="stylesheet">
      <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css" rel="stylesheet">
      <!--<link rel="stylesheet" href="@php echo $path['css']; @endphp/owl.carousel.css">-->
      <link href="@php echo $path['css']; @endphp/animation.css" rel="stylesheet" type="text/css" />
      <link href="@php echo $path['css']; @endphp/bootstrap.css" rel="stylesheet" type="text/css" />
      <link href="@php echo $path['css']; @endphp/style.css" rel="stylesheet" type="text/css" />
      <link href="@php echo $path['css']; @endphp/checkout.css" rel="stylesheet" type="text/css" />
            <style>
            a.cvv {
                position: relative;
                top: 13px;
            }

            .checkbox input.bump-checkbox {
    top: 1px;
    position: relative;
}
            </style>
      <span id="builderCssToken">
      </span>
    </page-builder-block>
        <!-- Meta Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '164632293141926'); fbq('track', 'AddToCart');fbq('track', 'InitiateCheckout'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=164632293141926&ev=PageView&noscript=1" /></noscript> <!-- End Meta Pixel Code -->

  <script type="text/javascript">
    (function(c,l,a,r,i,t,y){
        c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
        t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
        y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
    })(window, document, "clarity", "script", "j08z0mg77n");
</script>      
  </head>
  <body>
    @php perform_body_tag_open_actions(); @endphp
    
    <div class="section checkoutbanner">
      <div class="container">
        <div class="row align-items-center">
          <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
            <h3><img src="@php echo $path['images']; @endphp/lock.png" width="30" height="40" alt=""><em>Secure Checkout</em></h3>
          </div>
          <div class="col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12">
            <div class="checkoutcard"><img src="@php echo $path['images']; @endphp/cardicon.png" width="133" height="37" alt=""></div>
          </div>
        </div>
      </div>
    </div>
    <form method="post" action="ajax.php?method=new_order_prospect" name="checkout_form" accept-charset="utf-8" enctype="application/x-www-form-urlencoded;charset=utf-8">
      <input type="hidden" name="campaigns[1][id]" id="campId" value="1">
      <input type="hidden" id="upsellId" name="campaigns[2][id]" value="">
            <input type="hidden" id="expId" name="campaigns[3][id]" value="">
      <div class="checkoutcontent section">
        <div class="container">
          <div class="row">
            <div class="col-xl-8 col-lg-7 col-md-6 col-sm-12 col-12 order-2 order-md-1">
              <div class="packahesec">
                <div class="row align-items-center mob-none1">
                  <div class="col-xl-4 col-lg-12 col-md-12 col-sm-12 col-12">
                    <h4>Select Package</h4>
                  </div>
                  <div class="col-xl-8 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="checkoutcounterouter">
                      <div class="claimtext">Claim this offer before time runs out!</div>
                      <div class="top-countdown">
                        <div class="getting-started"></div>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="row packagerow">
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="package-carousel">
                      <div class="item">
                        <div class="packagebox packageactive" data-cid="1" data-qty="1">
                          <div class="subscribesec">
                            <label class="container-checkbox">
                            <input type="radio" class="checkone" checked name="package">
                            <span class="checkmark"></span> </label>
                          </div>
                          <h6 class="text-uppercase">Buy 1 Flag</h6>
                          <div class="packageimg"> <img src="@php echo $path['images']; @endphp/2024TABFlag.png" width="335"  alt=""> </div>
                          <div class="packageprice">$4.97</div>
                        </div>
                      </div>
                      <!--<div class="item">
                        <div class="packagebox" data-cid="2" data-qty="3">
                        <div class="subscribesec">
                            <label class="container-checkbox">
                            <input type="radio" class="checkone" name="package">
                            <span class="checkmark"></span> </label>
                        </div>
                        <div class="packagetag"><img src="@php echo $path['images']; @endphp/populartag.png" width="100" height="17" alt=""></div>
                        <h6 class="text-uppercase">Buy 2 Get 1 FREE <span>Save 10%!</span> </h6>
                        <div class="packageimg"> <img src="@php echo $path['images']; @endphp/packageitem2.png" width="350" height="155" alt=""> </div>
                        <div class="packageprice"><strong>$9.94</strong> <span>$8.95</span></div>
                        </div>
                        </div>
                        <div class="item">
                        <div class="packagebox" data-cid="3" data-qty="5">
                        <div class="subscribesec">
                            <label class="container-checkbox">
                            <input type="radio" class="checkone" name="package">
                            <span class="checkmark"></span> </label>
                        </div>
                        <div class="packagetag"><img src="@php echo $path['images']; @endphp/besttag.png" width="80" height="17" alt=""></div>
                        <h6 class="text-uppercase">Buy 3 Get 2 FREE<span>Save 25%</span></h6>
                        <div class="packageimg"> <img src="@php echo $path['images']; @endphp/packageitem3.png" width="350" height="155" alt=""> </div>
                        <div class="packageprice"><strong>$14.91</strong> <span>$11.18</span></div>
                        </div>
                        </div>-->
                    </div>
                  </div>
                </div>
              </div>
              <div class="packahesec infobox">
                <h4 class="mt-0">Personal Information</h4>
                <div class="row">
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="First name" value="@php echo $firstName @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="Last name" value="@php echo $lastName @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="Phone number" value="@php echo $custphone @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="Email address" value="@php echo $custemail @endphp" readonly>
                  </div>
                </div>
                <h4>Shipping Information</h4>
                <div class="row">
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="Full Address" value="@php echo $shippingAddress @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="City" value="@php echo $shippingCity @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="State" value="@php echo $shippingState @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="ZIP Code" value="@php echo $shippingZip @endphp" readonly>
                  </div>
                  <div class="col-xl-6 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="text" class="form-control" placeholder="Country" value="@php echo $shippingCountry @endphp" readonly>
                  </div>
                </div>
                <div class="checkboxouter">
                  <div class="subscribesec">
                    <label class="container-checkbox">Use this as the billing address?
                    <input type="checkbox" class="checkone" name="billing" checked>
                    <span class="checkmark"></span> </label>
                  </div>
                  <p style="display:none;">
                    <label>Billing same as Shipping</label>
                    <input type="radio" name="billingSameAsShipping" value="yes" checked="checked" /> YES
                    <input type="radio" name="billingSameAsShipping" value="no" /> NO
                  </p>
                </div>
                <div class="billing-info" style="display:none;">
                  <div class="row">
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!--<label>Billing First Name: </label>-->
                        <input type="text" name="billingFirstName" class="form-control" placeholder="Billing First Name" data-error-message="Please enter your billing first name!" />
                      </p>
                    </div>
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!-- <label>Billing Last Name: </label>-->
                        <input type="text" name="billingLastName" class="form-control" placeholder="Billing Last Name" data-error-message="Please enter your billing last name!" />
                      </p>
                    </div>
                    <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                      <p>
                        <!--<label>Billing Address</label>-->
                        <input type="text" name="billingAddress1" class="form-control" placeholder="Full Billing Address" data-error-message="Please enter your billing address!" />
                      </p>
                    </div>
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!--<label>Billing Country: </label>-->
                        <select name="billingCountry" data-selected="US" class="form-control" data-error-message="Please select your billing country!">
                          <option value="">Select Country</option>
                        </select>
                      </p>
                    </div>
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!--<label>Billing State: </label>-->
                        <input type="text" name="billingState" class="form-control" placeholder="Billing State" data-error-message="Please select your billing state!" />
                      </p>
                    </div>
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!-- <label>Billing City: </label>-->
                        <input type="text" name="billingCity" class="form-control" placeholder="Billing City" data-error-message="Please enter your billing city!" />
                      </p>
                    </div>
                    <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12">
                      <p>
                        <!--<label>Billing Zip Code: </label>-->
                        <input type="tel" name="billingZip" class="form-control" placeholder="Billing Zip Code" maxlength="5" data-min-length="5" data-max-length="5" data-error-message="Please enter a valid billing zip code!" onkeyup="javascript: this.value = this.value.replace(/[^0-9]/g, '');"/>
                      </p>
                    </div>
                  </div>
                </div>
                <!--<div class="checkboxouter">
                  <div class="subscribesec">
                    <label class="container-checkbox">Subscribe to our newsletter?
                    <input type="checkbox" class="checkone" name="newsletter" checked>
                    <span class="checkmark"></span> </label>
                  </div>
                  </div>-->
              </div>
            </div>
             
            <div class="col-xl-4 col-lg-5 col-md-6 col-sm-12 col-12 order-1 order-md-2">
              <div class="order-box">
            <div class="row align-items-center mob-disply1">
                  <div class="col-xl-4 col-lg-12 col-md-12 col-sm-12 col-12">
                    <h4>Select Package</h4>
                  </div>
                  <div class="col-xl-8 col-lg-12 col-md-12 col-sm-12 col-12">
                    <div class="checkoutcounterouter">
                      <div class="claimtext">Claim this offer before time runs out!</div>
                      <div class="top-countdown">
                        <div class="getting-started"></div>
                      </div>
                    </div>
                  </div>
                </div>
                </div>
              <div class="order-box mt-0">
                <h4>Your Order</h4>
                <div class="row align-items-center">
                  <div class="col-xl-4 col-lg-4 col-md-12 col-sm-4 col-12">
                    <div class="cartimg"><img src="@php echo $path['images']; @endphp/2024TABFlag.png" width="163" height="126" alt=""></div>
                  </div>
                  <div class="col-xl-8 col-lg-8 col-md-12 col-sm-8 col-12">
                    <div class="carttext">
                      <p class="m-0"><span class="spn-qty">1<span>x Donald Trump for President <strong>HUGE</strong> 3x5 Feet Printed Flag Take America Back with Grommets</p>
                      <div class="orderprice">$<span class="spn-sub-total">4.97</span></div>
                    </div>
                  </div>
                </div>
                <div class="ordertableouter">
                  <table>
                    <tr>
                      <td>
                        <div class="tablelabel">Subtotal</div>
                      </td>
                      <td>
                        <div class="tableprice">$<span class="spn-sub-total">0.00</span></div>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div class="tablelabel">Shipping</div>
                      </td>
                      <td>
                        <div class="tableprice">$<span class="spn-ship">4.97</span></div>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div class="tablelabel">Savings</div>
                      </td>
                      <td>
                        <div class="tableprice"><span class="spn-save-percent">$<span class="spn-save-price">69.97</span></div>
                      </td>
                    </tr>
                    <tr>
                      <td class="pb-0">
                        <div class="tablelabel">Total Price</div>
                      </td>
                      <td class="pb-0">
                        <div class="tableprice"><strong>$<span class="spn-total-price">4.97</span></strong></div>
                      </td>
                    </tr>
                  </table>
                </div>
              </div>
              <div class="order-box paymentbox">
                <h4 class="text-center">Payment Information</h4>
                <div class="row">
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <!--<p>-->
                    <!--<label>Select Card Type: </label>-->
                    <select name="creditCardType" class="form-control required" data-deselect="false" data-error-message="Please select valid card type!">
                      <option value="">Card Type</option>
                      @php foreach($config['allowed_card_types'] as $key=>$value): @endphp
                      <option value="@php echo $key @endphp">@php echo ucfirst($value) @endphp</option>
                      @php endforeach @endphp
                    </select>
                    <!--</p>-->
                  </div>
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <input type="tel" name="creditCardNumber" placeholder="xxxx-xxxx-xxxx-xxxx" class="form-control required" maxlength="16" data-min-length="16" data-max-length="16" data-error-message="Please enter a valid card number!" onkeyup="javascript: this.value = this.value.replace(/[^0-9]/g, '');"/>
                  </div>
                  <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 form-group">
                    <select name="expmonth" class="form-control required" data-error-message="Please select a valid expiry month!">
                    @php get_months(); @endphp
                    </select>
                  </div>
                  <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 form-group">
                    <select name="expyear" class="form-control required" data-error-message="Please select a valid expiry year!">
                    @php get_years(); @endphp
                    </select>
                  </div>
                  <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 form-group">
                    <input type="tel" name="CVV" placeholder="CVV" class="form-control required" data-validate="cvv" maxlength="3" data-min-length="3" data-max-length="3" data-error-message="Please enter a valid CVV code!" onkeyup="javascript: this.value = this.value.replace(/[^0-9]/g, '');"/>
                  </div>
                  <div class="col-xl-6 col-lg-6 col-md-12 col-sm-12 col-12 form-group">
                    <a class="cvv" href="javascript:void(0)" onclick="javascript:openNewWindow('cvv.php','modal')" style="margin: 9px 0px 0px 2px;"> What is CVV?</a>
                  </div>
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <div class="table-responsive">
                      <table class="table">
                        <thead>
                          <tr>
                            <th class="text-left" scope="col">Item</th>
                            <th class="text-right" scope="col">Amount</th>
                          </tr>
                        </thead>
                        <tbody>
                          <tr>
                            <td class="text-left">
                              <label>Trump 2024 Flag</label>
                            </td>
                            <td class="text-right">
                              <div class="radio">
                                <label>$4.97</label>
                              </div>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                    </div>
                  </div>
                  <div class="clearfix"></div>
                  <div class="uspos">
                    <div class="uspos-img">
                      <img src="@php echo $path['images']; @endphp/USPostaService.png" alt="uspos">
                    </div>
                    <div class="uspos-test">
                      <h3 class="uspos-heading">Express Shipping:</h3>
                      <ul>
                        <li>- Free Trump 2024 Flag. Just Cover S&amp;H</li>
                        <li>- $125 Store Credit for Patriots</li>
                        <li>- Shipped From The USA!</li>
                      </ul>
                    </div>
                  </div>
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <!--<div class="checkboxouter">
                      <div class="subscribesec">
                          <label class="container-checkbox">Take America Back!
                          <input type="checkbox" class="checkone" id="protection-check" name="protection-check">
                          <span class="checkmark"></span> </label>
                      </div>
                      </div>-->
                    <div class="massage-box">
                      <div class="checkbox">
                        <span>
                        <img class="blinking" src="@php echo $path['images']; @endphp/arrow-flash-small.png">
                        <input id="checkbox1" type="checkbox" class="bump-checkbox" name="protection-check" name="protection-check">
                        <label for="checkbox1">
                        Take America Back!
                        </label>
                        </span>
                      </div>
                    </div>
                  </div>
                  <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <div class="massege">
                      <p>
                        <span>ONE TIME OFFER :</span> For ONLY $7.97 get YOUR FREE Trump 2024 Flag PROTECTION PLAN &amp; <!-- a FREE Trump 2024 Sticker to -->support the President! If your Flag gets damaged, just send us a picture via email at
                        <a href="mailto:@php echo $corp_email @endphp">@php echo $corp_email @endphp</a> and we will send you a new one for S&amp;H only! Let's Keep America Great!
                      </p>
                    </div>
                  </div>
                  <div class="col-md-12 col-sm-12 col-12">
                    <button type="submit" class="form-group-btn btn-default w-1001" id="complete-order" name="complete-order"><i class="fas fa-arrow-right"></i> YES, I SUPPORT OUR PRESIDENT!!</button>
                  </div>
                </div>
              </div>
              <div class="buttonouter text-center"><img src="@php echo $path['images']; @endphp/cartboticon.jpg" width="300" height="101" alt="" style="padding-bottom:10px";></div>
                            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 form-group">
                    <div class="massege">
                      <p style="line-height:1;"><small>I understand and agree to the following: By clicking the green button below, I will immediately be charged only $4.97 S&amp;H to ship my FREE Trump 2024 Flag, which is a welcoming gift for joining the Rebel Nation Club. I will also be charged $69.97<!--39.97--> for my 1st month membership within the next 48 hours, but with the FREE Trump 2024 Flag and the $125<!--100--> Gift Card to the Best Proud Republicans Club on the web, it is really costing me nothing to become a member and show my support! That by being a member of the Rebel Nation Club, I will receive the $125<!--100--> Gift Card EVERY MONTH within The Rebel Nation Store, have access to Exclusive Member Perks, Merchandise, &amp; Much More! That my credit card will be billed for $<!-- 39.97 --><!--34.97-->69.97  monthly for my membership. I also understand that I am free to cancel my membership at any time by simply contacting Customer Service at <a href="mailto:support@revolution-red.com">support@revolution-red.com</a> and I will not be charged further. See Terms of Service at the bottom of this URL for cancellation and refund policy and more details.</small></p>
                    </div>
                  </div>
                            
            </div>
          </div>
        </div>
      </div>
    </form>
    <!-- The Modal -->
    <div class="modal fade" id="protection-Modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
          <div class="modal-body">
            <div class="massege">
              <p><span>FINAL OFFER 25% OFF:</span> For ONLY $5.97 get YOUR FREE Trump 2024 Flag PROTECTION PLAN & support the President! If your Flag gets damaged, just send us a picture via email at <a href="mailto:@php echo $corp_email @endphp">@php echo $corp_email @endphp</a> and we will send you a new one for S&H only! Let's Take America Back!</p>
            </div>
            <div class="row" >
              <div class="col-md-6 col-sm-6" >
                <button type="button" id="accept-protection" class="btn btn-danger-yes form-group-btn btn-default w-1001">YES, I Want lifetime Protection for my flag</button>
              </div>
              <div class="col-md-6 col-sm-6" >
                <button type="button" id="decline-protection" class="btn btn-danger-no form-group-btn btn-default w-1001">NO, Thank You</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

        <!-- Express Modal -->
    <div class="modal fade modal_style" id="express-Modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
      <div class="modal-dialog modal-dialog-centered" role="document">
        <div class="modal-content">
          <div class="modal-body">
            <div class="massege">
              <p><img src="@php echo $path['images']; @endphp/plan-im1.jpg" alt=""></p>
              <p style="font-weight: 600;color: #000;">Jump to the front of the shipping line and Fly your Huge Trump 2024 Flag with our expedited priority shipping only $7.97 Today!</p>
              <p style="font-weight: 600;color: #000;">Get your Flag quicker than Joe Biden can formulate a sentence!</p>
            </div>
            <div class="row" >
              <div class="col-md-6 col-sm-6" >
                <button type="button" id="accept-express" class="btn btn-danger-yes form-group-btn btn-default w-1001">YES, I'm a Trump Voter</button>
              </div>
              <div class="col-md-6 col-sm-6" >
                <button type="button" id="decline-express" class="btn btn-danger-no form-group-btn btn-default w-1001">NO! I’ll wait 7-10 Days</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>

    <div class="footer">
      <div class="container">
        <div class="row align-items-center">
          <div class="col-xl-6">
            <div class="copyright">Copyright @php echo date('Y') @endphp. All rights reserved.</div>
          </div>
          <div class="col-xl-6">
            <div class="footlink">
              <a href="javascript:void(0);" onClick="javascript:openNewWindow('page-terms.php','modal');">Terms and Conditions</a> <span>|</span> 
              <a href="javascript:void(0);" onClick="javascript:openNewWindow('page-refund.php','modal');">Return Policy</a> <span>|</span>
              <a href="javascript:void(0);" onclick="javascript:openNewWindow('page-privacy.php', 'modal');">Privacy Policy</a> <span>|</span> 
              <a href="javascript:void(0);" onclick="javascript:openNewWindow('page-contact.php', 'modal');">Contact Us</a>
            </div>
          </div>
        </div>
      </div>
    </div>
    <p id="loading-indicator" style="display:none;">Processing...</p>
    @php require_once 'app/general/__scripts__.tpl' @endphp
    @php require_once 'app/general/__analytics__.tpl' @endphp
    @php perform_body_tag_close_actions(); @endphp
    <!--<script src="@php echo $path['js']; @endphp/counter.js"></script>-->
    <script src="@php echo $path['js']; @endphp/bootstrap.js"></script>
    <script src="@php echo $path['js']; @endphp/wow.js"></script>
    <!--<script src="@php echo $path['js']; @endphp/owl.carousel.js"></script>
    <script src="@php echo $path['js']; @endphp/script.js"></script>-->
    <script src="@php echo $path['js']; @endphp/custom.js"></script>
        <script>
      $( document ).ready(function() {       
        var spd = 100;
        var spdVal = 10;
        var cntDown = 600 * spdVal;
        var view = 40;
        setInterval(function() {
            var mn, sc, ms;
            cntDown--;
            if (cntDown < 0) {
                $('.getting-started').html('<span><strong>00</strong> Days</span> <span><strong>00</strong> Hours</span> <span><strong>00</strong> Mins</span> <span><strong>00</strong> Secs</span>');
                return false;
            }
            mn = Math.floor((cntDown / spdVal) / 60);
            mn = (mn < 10 ? '0' + mn : mn);
            sc = Math.floor((cntDown / spdVal) % 60);
            sc = (sc < 10 ? '0' + sc : sc);
            ms = Math.floor(cntDown % spdVal);
            ms = (ms < 10 ? '0' + ms : ms);
            var results = '<span><strong>00</strong> Days</span> <span><strong>00</strong> Hours</span> <span><strong>'+mn+'</strong> Mins</span> <span><strong>'+sc+'</strong> Secs</span>';
            $('.getting-started').html(results);
        }, spd);
      })
      </script>
  </body>
</html>