HEX
Server: Apache/2.4.25
System: Linux ion14 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64
User: (10087)
PHP: 7.4.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,system, exec, shell_exec, passthru, popen, proc_open
Upload Files
File: /home/www/web115/wordpress/wp-content/themes/nt-landium/footer.php
<?php
/**
* The template for displaying the footer
*
*
* @package WordPress
* @subpackage nt_landium
* @since nt_landium 1.0
*/

$nt_landium_allowed_tags = array(
    'a' => array(
        'class'=> array (),
        'target'=> array (),
        'href' 	=> array (),
        'title' => array ()
    ),
    'div' => array(
        'class'=> array ()
    ),
    'img' => array(
        'class'=> array (),
        'src'=> array (),
        'width'=> array (),
        'height'=> array (),
        'alt'=> array (),
    ),
    'p' => array(),
    'i' => array (),
    'br' => array(),
    'em' => array(),
    'strong' => array(),
);

$nt_landium_news_h 		= ot_get_option('nt_landium_news_h');
$nt_landium_news_d 		= ot_get_option('nt_landium_news_d');
$nt_landium_adress 		= ot_get_option('nt_landium_adress');
$nt_landium_phone		= ot_get_option('nt_landium_phone');
$nt_landium_mail		= ot_get_option('nt_landium_mail');
$nt_landium_copyright 	= ot_get_option('nt_landium_copyright');
$nt_landium_social_c 	= ot_get_option('nt_landium_social' );
$nt_landium_longitude 	= ot_get_option('nt_landium_longitude' );
$nt_landium_latitude	= ot_get_option('nt_landium_latitude' );

if ( 'page' == ot_get_option( 'landium_footer_template_type' ) && function_exists( 'landium_vc_inject_shortcode_css' ) ) {

    if ( '' != ot_get_option( 'landium_footer_custom_template' ) ) {

        landium_vc_inject_shortcode_css( ot_get_option( 'landium_footer_custom_template' ) );

        $content = get_post_field( 'post_content', ot_get_option( 'landium_footer_custom_template' ) );

        echo '<footer class="footer-template-'.ot_get_option( 'landium_footer_custom_template' ).'">'.do_shortcode( $content ).'</footer>';
    }

} elseif ( 'custom' == ot_get_option( 'landium_footer_template_type' ) ) {

    if ( '' != ot_get_option( 'landium_footer_custom_html' ) ) {

        echo do_shortcode( ot_get_option( 'landium_footer_custom_html' ) );

    }

} else {
	?>

	<!-- footer widgetize -->
	<?php if ( ot_get_option('nt_landium_widgetize') == 'on' && is_active_sidebar( 'nt-landium-footer-widgetize' )) : ?>
		<footer class="footer-top footer-widgetize">
			<div class="container">
				<div class="row">
					<?php dynamic_sidebar( 'nt-landium-footer-widgetize' ); ?>
				</div>
			</div>
		</footer>
	<?php endif; ?>


    <?php if ( ot_get_option('nt_landium_footer_style') == false ) : ?>
        <footer id="footer" class="footer--style-1">
            <div class="footer__bottom-text">
                <div class="container">
                    <div class="footer-copyright text-center"><p><?php esc_html_e( 'Launch beautiful, responsive websites faster with themes','nt-landium' ); ?></p></div>
                </div>
            </div>
        </footer>
    <?php endif; ?>

    <?php if ( ot_get_option('nt_landium_footer_style') == '1' ) : ?>
    	<footer id="footer" class="footer--style-1">

    		<?php if ( ot_get_option('nt_landium_news') != 'off') : ?>
    			<div class="s-form">
    				<div class="container">

    					<div class="section-heading section-heading--center section-heading--white">

    						<?php  if ( ot_get_option('nt_landium_news_h') != '') : ?>
    							<h2 class="title h1"><?php  echo esc_html( $nt_landium_news_h ); ?></h2>
    						<?php endif; ?>

    						<?php  if ( ot_get_option('nt_landium_news_d') != '') : ?>
    							<p><?php  echo esc_html( $nt_landium_news_d ); ?></p>
    						<?php endif; ?>

    					</div>

    					<?php
    						if ( is_active_sidebar( 'nt-landium-footer-news' ) ) {
    							dynamic_sidebar( 'nt-landium-footer-news' );
    						}
    					?>
    				</div>
    			</div>
    		<?php endif; ?>

    		<?php if ( ot_get_option('nt_landium_contact') != 'off') : ?>
    			<div class="footer__contact">
    				<div class="container">
    					<div class="row">

    						<?php if ( ot_get_option('nt_landium_adress') != '') : ?>
    							<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
    								<div class="contact__item clearfix footer-contact1">
    									<i class="fontello-location"></i>

    									<?php echo wp_kses( $nt_landium_adress, $nt_landium_allowed_tags ); ?>

    								</div>
    							</div>
    						<?php endif; ?>

    						<?php if ( ot_get_option('nt_landium_phone') != '') : ?>
    							<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 col-lg-offset-1">
    								<div class="contact__item clearfix footer-contact2">
    									<i class="fontello-phone-call"></i>

    									<?php echo wp_kses( $nt_landium_phone, $nt_landium_allowed_tags ); ?>

    								</div>
    							</div>
    						<?php endif; ?>

    						<?php if ( ot_get_option('nt_landium_mail') != '') : ?>
    							<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 col-lg-offset-1">
    								<div class="contact__item clearfix footer-contact3">
    									<i class="fontello-mail"></i>

    									<?php echo wp_kses( $nt_landium_mail, $nt_landium_allowed_tags ); ?>

    								</div>
    							</div>
    						<?php endif; ?>

    					</div>
    				</div>
    			</div>
    		<?php endif; ?>


    		<?php if ( ot_get_option('nt_landium_social_section') != 'off' || ot_get_option('nt_landium_footer_default') != 'off' ) : ?>
    			<?php if ( !empty($nt_landium_social_c ) || (ot_get_option('nt_landium_copyright') != '' ) ) : ?>
    				<div class="footer__bottom-text">
    					<div class="container">

    						<?php if ( ot_get_option('nt_landium_social_section') != 'off') : ?>
    							<div class="social-btns footer-social">
    								<?php
    									if ( $nt_landium_social_c ) {
    										foreach($nt_landium_social_c as $key => $value) {
    											$target = ot_get_option('nt_landium_social_target');
    											echo '<a href="' .esc_url($value['nt_landium_social_link']). '" target="' .esc_attr($target). '" class="' .esc_attr($value['nt_landium_social_text']). '" title="' .esc_html($value['nt_landium_social_text']). '"></a>';
    										}
    									}
    								?>
    							</div>
    						<?php endif; ?>

                            <?php if ( ot_get_option('nt_landium_footer_default') != 'off') : ?>
        						<div class="footer-copyright">
        							<?php
        								if ( ot_get_option('nt_landium_copyright') != '' ) {
        									echo wp_kses( $nt_landium_copyright, nt_landium_allowed_html() );
        								}
        							?>
        						</div>
                            <?php endif; ?>

    					</div>
    				</div>
    			<?php endif; ?>
    		<?php endif; ?>

    	</footer>
	<?php endif; ?>

	<?php if ( ot_get_option('nt_landium_footer_style') == '2' ) : ?>
		<footer id="footer" class="footer--style-2">
			<div class="container">
				<div class="row">

					<?php if ( ot_get_option('nt_landium_news') != 'off') : ?>
						<?php if ( ot_get_option('nt_landium_contact') != 'off') : ?>
						<div class="col-xs-12 col-sm-6 col-sm-push-6">
						<?php else : ?>
						<div class="col-xs-12 col-sm-12 disable-contact">
						<?php endif; ?>

							<div class="s-form">
								<div class="row">
									<?php if ( ot_get_option('nt_landium_contact') != 'off') : ?>
									<div class="col-xs-12 col-sm-11 col-sm-offset-1">
									<?php else : ?>
									<div class="col-xs-12 col-sm-8 col-sm-offset-2">
									<?php endif; ?>

										<div class="section-heading section-heading--center section-heading--white">
											<?php  if ( ot_get_option('nt_landium_news_h') != '') : ?>
												<h2 class="title h1"><?php echo esc_html( $nt_landium_news_h ); ?></h2>
											<?php endif; ?>

											<?php  if ( ot_get_option('nt_landium_news_d') != '') : ?>
												<p><?php echo esc_html( $nt_landium_news_d ); ?></p>
											<?php endif; ?>
										</div>

										<?php
											if ( is_active_sidebar( 'nt-landium-footer-news' ) ) {
												dynamic_sidebar( 'nt-landium-footer-news' );
											}
										?>
									</div>
								</div>
							</div>
						</div>
					<?php endif; ?>

					<?php if ( ot_get_option('nt_landium_contact') != 'off') : ?>
						<?php if ( ot_get_option('nt_landium_news') != 'off') : ?>
						<div class="col-xs-12 col-sm-6 col-sm-pull-6">
						<?php else : ?>
						<div class="col-xs-12 col-sm-12 disable-news">
						<?php endif; ?>

							<div class="footer__contact footer-style-2">
								<div class="row">
									<?php if ( ot_get_option('nt_landium_news') != 'off') : ?>
									<div class="col-xs-12 col-sm-11 col-md-8">
									<?php else : ?>
									<div class="col-xs-12 col-sm-12 col-md-12">
									<?php endif; ?>


										<?php  if ( ot_get_option('nt_landium_adress') != '') : ?>
											<div class="contact__item clearfix footer-contact1">
												<i class="fontello-location"></i>

												<?php echo wp_kses( $nt_landium_adress, $nt_landium_allowed_tags ); ?>

											</div>
										<?php endif; ?>

										<?php  if ( ot_get_option('nt_landium_phone') != '') : ?>
											<div class="contact__item clearfix footer-contact2">
												<i class="fontello-phone-call"></i>

												<?php echo wp_kses( $nt_landium_phone, $nt_landium_allowed_tags ); ?>

											</div>
										<?php endif; ?>

										<?php  if ( ot_get_option('nt_landium_mail') != '') : ?>
											<div class="contact__item clearfix footer-contact3">
												<i class="fontello-mail"></i>

												<?php echo wp_kses( $nt_landium_mail, $nt_landium_allowed_tags ); ?>

											</div>
										<?php endif; ?>

										<?php if ( ot_get_option('nt_landium_social_section') != 'off' ) :?>
											<div class="contact__item clearfix footer-social">
												<div class="social-btns">
													<?php
														if ($nt_landium_social_c) {
															foreach($nt_landium_social_c as $key => $value) {
																$target = ot_get_option('nt_landium_social_target');
																echo '<a href="' .esc_url($value['nt_landium_social_link']). '" target="' .esc_attr($target). '" class="' .esc_attr($value['nt_landium_social_text']). '" title="' .esc_html($value['nt_landium_social_text']). '"></a>';
															}
														}
													?>
												</div>
											</div>
										<?php endif; ?>

										<div class="footer-copyright">
											<?php
												if ( ot_get_option('nt_landium_footer_default') != 'off' ) :
													if ( ot_get_option('nt_landium_copyright') != '') :
														echo wp_kses( $nt_landium_copyright, $nt_landium_allowed_tags );
													endif;
												endif;
											?>
										</div>
									</div>
								</div>
							</div>
						</div>
					<?php endif; ?>

				</div>
			</div>
		</footer>
	<?php endif; ?>

	<?php if ( ot_get_option('nt_landium_footer_style') == '3' ) : ?>
		<footer id="footer" class="footer--style-3">

			<?php if ( ot_get_option('nt_landium_news') != 'off') : ?>
				<div class="s-form">
					<div class="container">
						<div class="section-heading section-heading--center section-heading--white">
							<?php  if ( ot_get_option('nt_landium_news_h') != '') : ?>
								<h2 class="title h1"><?php echo esc_html( $nt_landium_news_h ); ?></h2>
							<?php endif; ?>

							<?php  if ( ot_get_option('nt_landium_news_d') != '') : ?>
								<p><?php echo esc_html( $nt_landium_news_d ); ?></p>
							<?php endif; ?>
						</div>

						<div class="footer__form center-block">
							<?php
								if ( is_active_sidebar( 'nt-landium-footer-news' ) ) {
									dynamic_sidebar( 'nt-landium-footer-news' );
								}
							?>
						</div>

					</div>
				</div>
			<?php endif; ?>

			<div class="container-fluid">
				<div class="row matchHeight-container">
					<?php if ( ot_get_option('nt_landium_map_display') != 'off') : ?>
						<div class="map-container matchHeight-item">
							<div class="g_map" data-longitude="<?php echo esc_attr( $nt_landium_longitude ); ?>" data-latitude="<?php echo esc_attr( $nt_landium_latitude ); ?>" data-marker="<?php echo get_template_directory_uri(); ?>/images/marker.png"></div>
							<?php  wp_enqueue_script( 'google-map-api'); ?>
							<?php  wp_enqueue_script( 'nt-landium-google-map'); ?>
						</div>
					<?php endif; ?>

					<?php if ( ot_get_option('nt_landium_contact') != 'off' || ot_get_option('nt_landium_social_section') != 'off' || ot_get_option('nt_landium_footer_default') != 'off' ) : ?>
					<div class="container">
						<div class="row">
							<?php if ( ot_get_option('nt_landium_map_display') != 'off') : ?>
							<div class="col-xs-12 col-sm-6">
							<?php else : ?>
							<div class="col-xs-12 col-sm-12">
							<?php endif; ?>
								<div class="footer__contact matchHeight-item footer-style-3">
									<div class="row">
										<?php if ( ot_get_option('nt_landium_map_display') != 'off') : ?>
										<div class="col-xs-12 col-sm-11 col-md-8">
										<?php else : ?>
										<div class="col-xs-12 col-sm-12 col-md-12">
										<?php endif; ?>


											<?php if ( ot_get_option('nt_landium_contact') != 'off') : ?>
												<?php  if ( ot_get_option('nt_landium_adress') != '') : ?>
													<div class="contact__item clearfix footer-contact1">
														<i class="fontello-location"></i>

														<?php echo wp_kses( $nt_landium_adress, $nt_landium_allowed_tags ); ?>

													</div>
												<?php endif; ?>

												<?php  if ( ot_get_option('nt_landium_phone') != '') : ?>
													<div class="contact__item clearfix footer-contact2">
														<i class="fontello-phone-call"></i>

														<?php echo wp_kses( $nt_landium_phone, $nt_landium_allowed_tags ); ?>

													</div>
												<?php endif; ?>

												<?php  if ( ot_get_option('nt_landium_mail') != '') : ?>
													<div class="contact__item clearfix footer-contact3">
														<i class="fontello-mail"></i>

														<?php echo wp_kses( $nt_landium_mail, $nt_landium_allowed_tags ); ?>

													</div>
												<?php endif; ?>
											<?php endif; ?>

											<?php if ( ot_get_option('nt_landium_social_section') != 'off' ) :?>

												<div class="contact__item clearfix footer-social">
													<div class="social-btns">
														<?php
															if ($nt_landium_social_c) {
																foreach($nt_landium_social_c as $key => $value) {
																	$target = ot_get_option('nt_landium_social_target');
																	echo '<a href="' .esc_url($value['nt_landium_social_link']). '" target="' .esc_attr($target). '" class="' .esc_attr($value['nt_landium_social_text']). '" title="' .esc_html($value['nt_landium_social_text']). '"></a>';
																}
															}
														?>
													</div>
												</div>

											<?php endif; ?>
											<div class="footer-copyright">
												<?php
													if ( ot_get_option('nt_landium_footer_default') != 'off' ) :
														if ( ot_get_option('nt_landium_copyright') != '') :
															echo wp_kses( $nt_landium_copyright, $nt_landium_allowed_tags );
														endif;
													endif;
												?>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<?php endif; ?>

				</div>
			</div>
		</footer>
	<?php endif; ?>
<?php } ?>

	<?php if ( ot_get_option('nt_landium_btn_to_top') != 'off' ) : ?>
		<div id="btn-to-top-wrap">
			<a id="btn-to-top" class="circled" href="javascript:void(0);" data-visible-offset="1000"></a>
		</div>
	<?php endif; ?>

	<?php wp_footer(); ?>
	</body>
</html>