HEX
Server: nginx/1.27.1
System: Linux in-3 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User: ivenus-clone (3297)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
Upload Files
File: /storage/v4513/ivenusin/public_html/wp-content/themes/ivenus/page-proddetail.php
<?php 
/* Template Name: Product Detail CMS */ 

get_header(); 

global $post;
$page_title = $post->post_title;
$post_slug = $post->post_name;
if(isset($_GET['op'])) {
	$original_product_slug = $_GET['op'];	
	$buy_product_slug = $original_product_slug;
} else {
	$buy_product_slug = $post_slug;
}
$prebook_link = get_field('prebook__buy_link', $post->ID);
$prebook__button_text = get_field('prebook__button_text', $post->ID);
?>
<div class="ac-localnav">
	<div class="ac-ln-wrapper hero-content-framed">
		<div class="container-fluid">
			<div class="row m-0 p-0">
				<div class="col-12">
					<!--<div class="ac-ln-title">
						<a href="#" class="text-white"><?php echo $page_title; ?></a>
					</div>-->
					<div class="ac-ln-menu">
						<!--<div class="ac-ln-menu-tray">
							<ul class="ac-ln-menu-items">
								<li class="ac-ln-menu-item">
									<a href="#" class="ac-ln-menu-link  text-white">Overview</a>
								</li>
							</ul>
						</div>-->
						<div class="ac-ln-actions ac-ln-actions-center">
							<div class="ac-ln-action ac-ln-action-button">
								<a href="<?php echo $prebook_link; ?>" class="ac-ln-button"><?php echo $prebook__button_text; ?> <span class="ac-ln-action-product"></span></a>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<main class="main">	
	<section style="padding: 0px;">
		<div class="">
			<div class="col-sm-12">
				<h3 class="title text-capitalize"><?php echo $post_title; ?></h3>
			</div>
			<div class="clearfix"></div>
			<div class="">	
				<?php if ( have_posts() ) : while ( have_posts() ) : the_post();
				the_content();
				endwhile; else: ?>
				<p>Sorry, no posts matched your criteria.</p>
				<?php endif; ?>
			</div>
		</div>  
	</section> 
</main> 
<?php 
get_footer();
?>