File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
/home/pharmacy/www/wp-content/plugins/expand-maker/expand-maker/views/readMorePagesView.php
<?php
$results = ReadMoreData::getAllData();
?>
<div class="ycf-bootstrap-wrapper">
<div class="wrap">
	<h2 class="add-new-buttons">Read Mores <a href="<?php echo admin_url();?>admin.php?page=addNew" class="add-new-h2">Add New</a></h2>
</div>
<div class="expm-wrapper">
	<?php if(YRM_PKG == YRM_FREE_PKG): ?>
		<div class="main-view-upgrade">
			<input type="button" class="expm-update-to-pro" value="Upgrade to PRO version" onclick="window.open('<?php echo YRM_PRO_URL; ?>');">
		</div>
	<?php endif;?>
	<table class="table table-bordered expm-table">
		<tr>
			<td>Id</td>
			<td>Title</td> 
			<td>Type</td>
			<td>Options</td>
		</tr>

		<?php if(empty($results)) { ?>
			<tr>
				<td colspan="4">No popups</td>
			</tr>
		<?php }
		else {
			foreach ($results as $result) { ?>
				<tr>
					<td><?php echo $result['id']; ?></td>
					<td><?php echo $result['expm-title']; ?></td>
					<td><?php echo $result['type']; ?></td>
					<td>
						<a href="<?php echo admin_url()."admin.php?page=button&type=".$result['type']."&readMoreId=".$result['id'].""?>">Edit</a>
						<a class="yrm-delete-link" data-id="<?php echo $result['id'];?>" href="<?php echo admin_url()."admin-post.php?action=delete_readmore&readMoreId=".$result['id'].""?>">Delete</a>
					</td>
				</tr>
		<?php } ?>

		<?php } ?>

		<tr>
			<td>Id</td>
			<td>Title</td> 
			<td>Type</td>
			<td>Options</td>
		</tr>
	</table>
</div>
</div>