<?php

/**
 * Provide a public-facing view for the plugin
 *
 * This file is used to markup the public-facing aspects of the plugin.
 *
 * @link       https://orbicular.media
 * @since      1.0.1
 *
 * @package    Cemetery_Sexton
 * @subpackage Cemetery_Sexton/public/partials
 */
?>
<div class="popup-button-mobile">
    <a href="<?php echo plugin_dir_url( __DIR__ ).'cempics/fammon/'.strtolower($rsFammon['PicFile']); ?>" target="_blank">
    <img src="<?php echo plugin_dir_url( __DIR__ ).'cempics/fammon/t_'.strtolower($rsFammon['PicFile']);?>" alt="Family Monument Photo" width="350" height="263">
    </a>
</div>

<div class="fammon-photos-column popup-button-desktop">
    <a class="thickbox" href="#TB_inline?type=extended&height=500&width=700&inlineId=modal-fammon-photo-<?php echo $no; ?>">
    <img src="<?php echo plugin_dir_url( __DIR__ ).'cempics/fammon/t_'.strtolower($rsFammon['PicFile']);?>" alt="Family Monument Photo" width="350" height="263">
    </a>
</div>
<div id="modal-fammon-photo-<?php echo $no; ?>" style="display:none">
	<a href="<?php echo plugin_dir_url( __DIR__ ).'cempics/fammon/'.strtolower($rsFammon['PicFile']); ?>" target="_blank">
    <img class="thickbox-center" src="<?php echo plugin_dir_url( __DIR__ ).'cempics/fammon/m_'.strtolower($rsFammon['PicFile']); ?>" alt="Family Monument Photo">
    </a>
</div>