<?php 
/*
 * Notification about user must validate his/her email
 *
 * @package DateBook
 * @author Pagick Themes
 * @link https://www.pagickthemes.com
 */

?>

<div class="datebook-custom-card card">
	<div class="alert alert-warning alert-dismissable m-0 datebook-must-upload-photo-notification">

		<h4 class="alert-heading"><?php echo esc_html__( 'Upload photo!', 'datebook' ); ?></h4>

		<p class="mb-0"><?php echo esc_html__( 'You must upload a photo before using this website', 'datebook' ); ?><?php if(get_the_ID() != of_get_option('my_photos_page')){ ?> <a class="btn btn-secondary btn-sm" href="<?php echo get_permalink(of_get_option('my_photos_page')); ?>"><?php echo esc_html__( 'Add photo', 'datebook' ); ?></a><?php } ?></p>

	</div>
</div>
