<!-- Start: Footer Sidebar
============================= -->
<?php if ( is_active_sidebar( 'footer-widget-area' ) ) { ?>
	<footer id="footer-widgets" class="footer-sidebar">
		<div class="container">
			<div class="row">
				<?php  dynamic_sidebar( 'footer-widget-area' ); ?>
			</div>
		</div>
	</footer>
<?php } ?>
<!-- End: Footer Sidebar
============================= -->
<?php 
	$hide_show_copyright = get_theme_mod('hide_show_copyright','1');	
	$copyright_content = get_theme_mod('copyright_content');
	$hide_show_scroller = get_theme_mod('hide_show_scroller','1');
?>

<section id="footer-copyright">
	<div class="container">
		<div class="row">
			<div class="col-md-6">
				<div class="text-center">
					<?php 
						if($hide_show_copyright == '1') { 
						 if ( ! empty( $copyright_content ) ){
					?>
						<p><?php echo esc_html($copyright_content); ?></p>
					<?php 
						 }else{
						?>	 
							 <p><?php esc_html_e('© 2019 All Right Reserved | Arowana WordPress Theme','arowana'); ?></p>
						<?php 	 
							 } 
						 } 
						?>
					<?php if($hide_show_scroller == '1') { ?>
						<a href="#" class="scrollup"><i class="fa fa-arrow-up"></i></a>
					<?php } ?>
				</div>
			</div>
			 <div class="col-md-6">
				<?php 
					$hide_show_payment = get_theme_mod('hide_show_payment','1');
					$footer_Payment_icon= get_theme_mod('footer_Payment_icon'); 					
				?>
				
				<?php if($hide_show_payment == '1') { ?>
					<ul class="payment-icon">
						<?php
							$footer_Payment_icon = json_decode($footer_Payment_icon);
							if( $footer_Payment_icon!='' )
							{
							foreach($footer_Payment_icon as $footer_Payment_item){
							$icon = ! empty( $footer_Payment_item->icon_value ) ? apply_filters( 'startkit_translate_single_string', $footer_Payment_item->icon_value, 'footer section' ) : '';	
							$icon_link = ! empty( $footer_Payment_item->link ) ? apply_filters( 'startkit_translate_single_string', $footer_Payment_item->link, 'footer section' ) : '';	
						?>
							<?php if ( ! empty( $icon ) ) :?>
										<li><a href="<?php echo esc_url($icon_link); ?>"><i class="fa <?php echo esc_attr( $icon ); ?>"></i></a></li>
							<?php endif; ?>
						<?php  } } ?>
					</ul>
				<?php } ?>	
            </div>
		</div>
	</div>
</section>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>
