<?php
/**
 * MJ Marketplace v3.0.4 detail page enquiry integration snippet.
 * Put this where the detail page sidebar/contact box should appear.
 */
$mjSourceType   = 'listing'; // listing | company | deal
$mjSourceId     = (int)($listing['id'] ?? 0);
$mjSourceTitle  = (string)($listing['title'] ?? '');
$mjSellerUserId = (int)($listing['user_id'] ?? $listing['seller_user_id'] ?? 0);
$mjCountry      = (string)($listing['country'] ?? '');
include __DIR__ . '/../includes/mj_v304_enquiry_box.php';
