Sindbad~EG File Manager
<?php
/*
* Security : blocking direct access
* Source : http://codex.wordpress.org/Theme_Development#Template_Files
*/
defined('ABSPATH') or die("Access Restricted"); ?>
<?php mwp_footer_ads(); ?>
<div class="clearfix"></div>
</div><!-- END Main -->
<?php
/*
* Footer Skin
*/
if (mwp_option('footer-skin') == 1 && mwp_option('footer-style') == 2) {
$footer_skin = 'footer-box-dark';
} else {
$footer_skin = 'footer-box-light';
} ?>
<!-- Footer -->
<div id="footer" class="<?php echo $footer_skin; ?>">
<?php
/*
* Footer Settings
*
*/
$get_footer_style = mwp_option('footer-style');
if ($get_footer_style == 1 || $get_footer_style == 3) {
$footer_wrap = ' footer-box-fixed';
$footer_type = ' footer-fixed';
$footer_width = ' footer-width-1';
$footer_style = ' footer-style1';
$footer_align_x = ' copyright-center';
$footer_align_y = ' copyright-center-b';
} else {
$footer_wrap = ' footer-box-fixed';
$footer_type = ' footer-fixed';
$footer_width = ' footer-width-1';
$footer_style = ' footer-style2';
$footer_align_x = '';
$footer_align_y = '';
}
/*
* Footer Style 1
*
*/
if ($get_footer_style == 1) {
echo '<div class="menu-nav footer-style1' . $footer_type . '">';
wp_nav_menu( array( 'theme_location' => 'footer','container' => false, 'menu_id' => 'menu-footer', 'menu_class' => 'menu-footer'));
echo '</div>';
}
/*
* Footer Style 2
*
*/
if ($get_footer_style == 2) {
if( is_sidebar_active( 'footer' ) ) {
?>
<div class="footer-box<?php echo $footer_wrap; ?>">
<div class="footer-content">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('footer') ) : ?>
<?php endif; ?>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<?php
}
}
/*
* Footer Copyright
*
*/
?>
<div class="footer-wrapper<?php echo $footer_style; ?><?php echo $footer_type; ?>">
<div class="footer-nav <?php echo $footer_width; ?>">
<div class="copyright<?php echo $footer_align_x; ?>">
<?php
if (mwp_option('footer-copyright') <> "") {
echo stripslashes(stripslashes(mwp_option('footer-copyright')));
} else {
$the_year = date("Y");
echo '<a href="'.esc_url(home_url( '/' )).'" title="'.get_bloginfo( 'name' ).'" rel="home">'.get_bloginfo( 'name' ).'</a> © ' . $the_year . __(' All rights reserved.', MWP_TEXT_DOMAIN );
} ?>
</div>
<div class="copyleft<?php echo $footer_align_x; ?><?php echo $footer_align_y; ?>">
<?php
/*
* اذا كنت تملك النسخة
* Advanced & Extra
* يمكنك ازالة حقوق التصميم من اسفل الصفحة
* اذا كنت تملك النسخة
* Normal
* لا يمكنك ازالة حقوق التصميم
* راجع تفاصيل التراخيص لتعرف السبب
* https://store.mwordpress.net/license-details/
*
*/
if (mwp_option('footer-copyright-designed') <> "") {
echo stripslashes(stripslashes(mwp_option('footer-copyright-designed')));
} else {
if (is_rtl()) { ?>
<a id="link1" href="" title="" rel="noopener"> </a>
<?php } else {?>
Designed by <a id="link1" href="" title="" rel="noopener"></a>
<?php }
} ?>
</div>
<div class="clearfix"></div>
</div>
<?php if ($get_footer_style == 1 || $get_footer_style == 3) { echo '<div class="clearfix"></div>'; } ?>
</div>
<div class="clearfix"></div>
</div><!-- END Footer -->
<!-- Mobile Menu - Overlay -->
<div id="page-overlay"></div>
<div class="clearfix"></div>
</div><!-- END container -->
<!-- Mobile Menu -->
<div id="mmobile" class="mm-remove">
<?php wp_nav_menu( array( 'theme_location' => 'mobile', 'container' => false, 'menu_class' => 'menu-section-list') ); ?>
</div>
<!-- Scroll To TOP -->
<div class="scrolltop <?php echo mwp_csa_background(); ?>" title="<?php _e( 'Top Pages', MWP_TEXT_DOMAIN ); ?>">
<i class="fa fa-angle-up"></i>
</div>
<?php
/*
* Bootstarp Dialog
*/
if ( mwp_option( 'display-login') == 1 ) {
if( ! is_user_logged_in() ){
require_once( get_template_directory() . '/includes/login/login.php' );
require_once( get_template_directory() . '/includes/login/register.php' );
}
global $user_ID, $user_identity, $user_level;
if ( $user_ID ) :
require_once( get_template_directory() . '/includes/login/user.php' );
endif;
} ?>
<?php
/*
* Urgent News
*
*/
if (mwp_option('urgent-news-ajax') == 1) :
echo '<div class="container-urgent"><div class="auto-hide"></div></div>';
endif;
?>
<?php mwp_gdpr_cookie_message(); ?>
<?php mwp_side_ads(); ?>
<?php wp_footer(); ?>
<?php mwp_footer_assets(); ?>
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists