<?php
/* 
* Theme: PREMIUMPRESS CORE FRAMEWORK FILE
* Url: www.premiumpress.com
* Author: Mark Fail
*
* THIS FILE WILL BE UPDATED WITH EVERY UPDATE
* IF YOU WANT TO MODIFY THIS FILE, CREATE A CHILD THEME
*
* http://codex.wordpress.org/Child_Themes
*/
if (!defined('THEME_VERSION')) {	header('HTTP/1.0 403 Forbidden'); exit; }

?>

<div class="modal-dialog" role="document">
   <div class="modal-content">
      <div class="loginform ajax_modal" id="loginform">
         <button type="button" class="close modalclose" data-dismiss="modal" aria-label="Close" onclick="jQuery('.modal-backdrop').hide();" style="cursor:pointer;">
         <span aria-hidden="true">&times;</span>
         </button>
         <div class="text-center">
            <h4 class="title"><?php echo __("Claim this business","premiumpress") ?></h4>
            <p class="small"><?php echo __("When you claim this listing you will take over full control of the current description and contents. You will be able to edit and modify the entire listing as normal but maybe contacted by our team at anytime to verify your details.","premiumpress") ?></p>
         </div>
         <div class="line bg-primary">&nbsp;</div>
         <div class="modal-body p-0 mt-2 pt-4">


<div class="container">
<div class="row">
<div class="col-md-4">
<?php echo do_shortcode('[IMAGE limit=1 pid='.$_GET['pid'].']'); ?>
</div>
<div class="col-md-8">
<div class="mb-3 font-weight-bold"><?php echo get_the_title($_GET['pid']); ?></div>

<div id="checkclaim" class="small"><input type="checkbox" value="1" onclick="jQuery('#clambbtn').prop('disabled', false); jQuery('#checkclaim').hide();"/> <?php echo __("I confirm I work here or own this property.","premiumpress") ?></div>
<form method="post">
<input type="hidden" name="processclaim" value="1" />
<input type="hidden" name="post_id" value="<?php echo $_GET['pid']; ?>" />
<button class="btn btn-primary rounded-0 mt-1" type="submit" disabled id="clambbtn"><?php echo __("Claim This Listing.","premiumpress") ?></button>
</form>
</div>
</div>
</div>

     
           
         </div>
    </div>
   </div>
</div>