<?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
 */
?>
<!--  <a class="w-btn us-btn-style_1 thickbox" value="View Obituary" href="#TB_inline?type=extended&height=<?php echo $modheight; ?>&width=<?php echo $modwidth; ?>&inlineId=Obit<?php echo $no; ?>"><i class="far fa-newspaper"></i> <span class="w-btn-label">View Obituary <?php echo $no; ?></span></a>
-->
<div class="popup-button-mobile">
	<a value="View Obituary" href="<?php echo plugin_dir_url( __DIR__ ).'cempics/obit/'.$rsObit['PicFile']; ?>" target="_blank"><i class="far fa-newspaper"></i> View Obituary <?php echo $no; ?></a>
</div>
<div class="popup-button-desktop">
	<a class="thickbox" value="View Obituary" href="#TB_inline?type=extended&height=<?php echo $modheight; ?>&width=<?php echo $modwidth; ?>&inlineId=Obit-<?php echo $no; ?>"><i class="far fa-newspaper"></i> View Obituary <?php echo $no; ?></a>
</div>
<div id="Obit-<?php echo $no; ?>" style="display:none">
	<img class="thickbox-center" src="<?php echo plugin_dir_url( __DIR__ ).'cempics/obit/'.$rsObit['PicFile']; ?>" alt="Obituary">
</div>