<?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; }

global $CORE, $userdata, $post, $CORE_UI;

?>

<div class="container py-md-5">
  <div class="row d-flex flex-row-reverse">
    <div class="col-lg-5 col-xl-4 mb-4">
      <?php  _ppt_template( 'single/single-title' );  ?>
      <?php  _ppt_template( 'single/single-subtitle' );  ?>
      <?php  _ppt_template( 'single/single-content-data-button-block' );  ?>
      <?php  _ppt_template( 'single/single-fields' );  ?> 
<?php /*      
      <div class="row mt-4">
        <div class="col-xl-6">
          <?php
$GLOBALS['single-data-button-new-css'] = "btn-system btn-block btn-lg list mb-3";
$GLOBALS['single-data-button'] = "gift"; 
echo _ppt_template( 'single/single-content-data-buttons' ); 
unset($GLOBALS['single-data-button']); 
?>
        </div>
        <div class="col-xl-6">
          <?php
$GLOBALS['single-data-button-new-css'] = "btn-system btn-block btn-lg list mb-3";
$GLOBALS['single-data-button'] = "favs"; 
echo _ppt_template( 'single/single-content-data-buttons' ); 
unset($GLOBALS['single-data-button']); 
?>
        </div>
      </div>
*/ ?>
      <?php  _ppt_template( 'single/single-videos' );  ?>
      <?php  if(in_array(_ppt(array('design', 'display_openinghours')), array("","1")) ){ _ppt_template( 'single/single-hours' ); }  ?>
      <?php  if(in_array(THEME_KEY,array("es")) && in_array(_ppt(array('design', 'display_rates')), array("","1")) ){  _ppt_template( 'single/single-rates' );  }   ?>
      
      <?php  if(defined('WEBSTORIES_VERSION')){ _ppt_template( 'single/single-webstories' ); } ?>

      <?php  if(in_array(_ppt(array('gifts', 'enable')), array("","1")) ){   _ppt_template( 'single/single-gifts' ); }  ?>
      <?php  if(in_array(_ppt(array('design', 'socialshare' )), array("1",""))){ _ppt_template( 'single/single-share' ); } ?>
    </div>
    <div class="col-lg-7 col-xl-8 maincontent pr-lg-5">
      <?php  _ppt_template( 'single/single-gallery' );	 ?>
      <?php  _ppt_template( 'single/single-content' );  ?>
      <?php  _ppt_template( 'single/single-author' );  ?>
      <?php  if(_ppt(array('user','comments')) != "0"){  _ppt_template( 'single/single-reviews' ); }  ?>
    </div>
  </div>
</div>
<?php _ppt_template( 'single/single-related' );  ?>
