<?php global $access; if($access != 1){ exit("Direct Access not allowed"); } ?>

	<div class="footer">
        <div class="row-fluid">
          <span class="span3">
            <div class="footertitle">
              <p>Online Booking</p>
            </div>
            <div class="footerbtext">
              <ul>
                <li>Tel: &nbsp;<?php echo $settings_phone; ?></li>
                <li><?php echo $settings_copyright; ?></li>
              </ul>
            </div>
          </span>
          <span class="span3">
            <div class="footertitle">
              <p>Support &amp; Help</p>
            </div>
            <div class="footerbtext">
              <ul>
                <li><a href="contact.php">Contact Us</a></li>
                <li><a href="faqs.php">FAQ</a></li>
                <li><a href="reservation.php">My Reservation</a></li>
                <li><a href="http://www.20script.ir/">بیست اسکریپت</a></li>
              </ul>
            </div>
          </span>
          <span class="span3">
            <div class="footertitle">
              <p>About</p>
            </div>
            <div class="footerbtext">
              <ul>
                <li><a href="about-us.php">About Us</a></li>
                <li><a href="terms.php">Terms & Conditions</a></li>
                <li><a href="privacy.php">Privacy Statement</a></li>
              </ul>
            </div>
          </span>
          <span class="span3">
            <div class="footertitle">
              <p>Newsletter</p>
            </div>
            <div class="footerbtext" id="mail">
              <p>Type in your e-mail to stay up to date with our promotions:</p>
              <form method="post" action="inc/querys/promotions.php">
                <input type="hidden" name="page_name" value="<?php echo $page_name; ?>" />
					<?php
						if(isset($_GET['message'])) {
							$message = $_GET['message']; ?>
					
						<!--START error notification-->
						<?php if($message == 'error1') { ?>
							<span style="color:#F00;">Enter an email</span><br>
						<?php } elseif($message == 'error2') { ?>
							<span style="color:#F00;">Invalid email</span><br>
						<?php } elseif($message == 'ok') { ?>
							<span style="color:#62BA37;">Thanks for registering..</span><br>
						<?php } ?>
						<!--END /sucess notification-->
                    <?php } ?>
                <input class="textinput" type="text" name="newsletter" style="width:100px; margin-bottom:0;">
                <button class="btn">Send</button>
              </form>
            </div>
          </span>
        </div>
      </div>
      
      <div class="footersocial">
        <div class="footersocialup">
          <div class="footersocialicons">
              <a href="<?php echo $settings_facebook; ?>"><img src="<?php echo PATH; ?>images/facebookbtn.png" class="image"></a>
              <a href="<?php echo $settings_twitter; ?>"><img src="<?php echo PATH; ?>images/twitter.png" class="image"></a>
              <a href="<?php echo $settings_google; ?>"><img src="<?php echo PATH; ?>images/googleplus.png" class="image"></a>
          </div>
        </div>
        <div class="footerlineblue"></div>
      </div>

