<?php if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
<div id="powered-by" class="footer">Powered by <a href="http://antiref.com/?http://chevereto.com">Chevereto image upload script</a></div>

<?php G\Render\include_theme_file('snippets/embed_tpl'); ?>

<?php
if(is_upload_allowed()) {
	G\Render\include_theme_file('snippets/anywhere_upload');
}
?>

<?php
if(!CHV\Login::isLoggedUser()) {
	G\Render\include_theme_file('snippets/modal_login');
}
?>

<?php G\Render\include_theme_file('custom_hooks/footer'); ?>

<?php CHV\Render\include_peafowl_foot(); ?>

<?php CHV\Render\show_theme_inline_code('snippets/footer.js'); ?>

<?php CHV\Render\show_queue_img(); ?>

<?php echo CHV\getSetting('analytics_code'); ?>

</body>
</html>