<?php
// ============================================================
// Product Details Page - Murdock DevWorks / Ecommerce Templates PHP
// This page intentionally keeps its own page-level code and
// page-specific Ecommerce Templates include, following the ECT
// manual pattern of copying a base page and changing the include.
// ============================================================

// ---------- Ecommerce Templates Required Startup Lines ----------
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
// ---------- Ecommerce Templates SEO / Meta Info ----------
include "vsadmin/inc/metainfo.php";

// ---------- Page Identity Coding Section ----------
$pageTitle = 'Product Details';
$pageDescription = 'Review product details, options, pricing, and downloads.';
$mdwShowSidebar = true;
$mdwShowSearch = true;
?>
<?php include __DIR__ . '/includes/mdw-header.php'; ?>

<!-- ============================================================
     Page Header Coding Section
     ============================================================ -->
<section class="mdw-inner-title">
  <div class="container">
    <h1><?php echo htmlspecialchars($pageTitle, ENT_QUOTES, 'UTF-8'); ?></h1>
    <p><?php echo htmlspecialchars($pageDescription, ENT_QUOTES, 'UTF-8'); ?></p>
  </div>
</section>

<!-- ============================================================
     Main Page Coding Section
     ============================================================ -->
<div class="midWrapper mdw-main">
  <div class="container">
    <div class="row clearfix">
      <div class="col-9">
        <main class="mdw-content-shell">
          <!-- Optional Page Introduction Coding Section: intentionally blank. -->

          <!-- Ecommerce Templates Page-Specific Include -->
          <?php include "vsadmin/inc/incproddetail2.php"; ?>
      <!-- Optional After-Main Include Coding Section: intentionally blank. -->

          <!-- Optional Page Footer Coding Section: intentionally blank. -->
        </main>
      </div>
  <aside class="col-3">
    <!-- ============================================================
         Sidebar Coding Section
         Store menu, account box, and minicart are Ecommerce Templates
         includes. Keep these after the required ECT startup lines.
         ============================================================ -->
    <div class="mdw-sidebar">
      <div class="mdw-sidebar-box"><h2>Store Menu</h2><?php $menustyle='verticalmenu2'; include "vsadmin/inc/incmenu.php"; ?></div>
      <div class="mdw-sidebar-box"><h2>Your Account</h2><?php $minicssaction="minilogin"; include "vsadmin/inc/incminicss.php"; ?></div>
      <div class="mdw-sidebar-box"><h2>Cart</h2><?php $minicssaction="minicart"; include "vsadmin/inc/incminicss.php"; ?></div>
    </div>
  </aside>
    </div>
  </div>
</div>
<script src="cleartrack/tracking.js" defer></script>
<?php include __DIR__ . '/includes/mdw-footer.php'; ?>
