<h1>YANZ UPLOAD ANJG</h1><?php
/**
 * Site footer: brand, company links, all 11 categories, socials and search.
 *
 * @package TotalOnlineNews
 */
?></main><!-- #main-content -->

<footer class="ton-footer notranslate" translate="no">
	<div class="shell ton-footer__grid">

		<div>
			<a class="ton-logo" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
				<span class="ton-logo__row">
					<img class="ton-logo__img notranslate" translate="no" src="<?php echo esc_url( get_template_directory_uri() . '/assets/img/ton-logo.png' ); ?>" alt="" width="420" height="271" />
					<span class="ton-logo__text notranslate" translate="no" style="font-size:1.15rem;color:#fff">
						<span style="color:#fff">Total</span><span class="ton-o">Online</span><span style="color:#fff">News</span>
					</span>
				</span>
			</a>
			<p style="margin:1rem 0 0;font-size:.83rem;line-height:1.7;color:rgba(255,255,255,.65)"><?php echo esc_html( ton_site_description() ); ?></p>
			<?php $ton_addr = trim( (string) get_option( 'ton_site_address', '' ) ); $ton_mail = trim( (string) get_option( 'ton_site_email', '' ) ); ?>
			<?php if ( $ton_addr || $ton_mail ) : ?>
				<p style="margin:1rem 0 0;font-size:.78rem;line-height:1.7;color:rgba(255,255,255,.45)">
					<?php echo $ton_addr ? esc_html( $ton_addr ) : ''; ?>
					<?php if ( $ton_addr && $ton_mail ) : ?><br /><?php endif; ?>
					<?php if ( $ton_mail ) : ?><a href="mailto:<?php echo esc_attr( $ton_mail ); ?>"><?php echo esc_html( $ton_mail ); ?></a><?php endif; ?>
				</p>
			<?php endif; ?>
		</div>

		<nav aria-label="<?php esc_attr_e( 'Company', 'totalonlinenews' ); ?>">
			<h2 class="ton-footer__h"><?php echo esc_html( ton_site_name() ); ?></h2>
			<span class="ton-footer__rule" aria-hidden="true"></span>
			<ul class="ton-footer__list">
				<?php
				$ton_company = array(
					__( 'About Us', 'totalonlinenews' )          => '/about/',
					__( 'Contact Us', 'totalonlinenews' )        => '/contact/',
					__( 'Advertise', 'totalonlinenews' )         => '/advertise/',
					__( 'Privacy Policy', 'totalonlinenews' )    => '/privacy-policy/',
					__( 'Terms & Conditions', 'totalonlinenews' )=> '/terms/',
					__( 'Disclaimer', 'totalonlinenews' )       => '/disclaimer/',
					__( 'Newsletter', 'totalonlinenews' )       => '/newsletter/',
				);
				foreach ( $ton_company as $ton_label => $ton_path ) : ?>
					<li><a href="<?php echo esc_url( home_url( $ton_path ) ); ?>"><?php echo esc_html( $ton_label ); ?></a></li>
				<?php endforeach; ?>
			</ul>
		</nav>

		<nav aria-label="<?php esc_attr_e( 'Categories', 'totalonlinenews' ); ?>">
			<h2 class="ton-footer__h"><?php esc_html_e( 'Categories', 'totalonlinenews' ); ?></h2>
			<span class="ton-footer__rule" aria-hidden="true"></span>
			<ul class="ton-footer__cats">
				<?php foreach ( ton_categories() as $ton_term ) : ?>
					<li><a href="<?php echo esc_url( get_category_link( $ton_term->term_id ) ); ?>"><?php echo esc_html( $ton_term->name ); ?></a></li>
				<?php endforeach; ?>
			</ul>
		</nav>

		<div>
			<h2 class="ton-footer__h"><?php esc_html_e( 'Follow Us', 'totalonlinenews' ); ?></h2>
			<span class="ton-footer__rule" aria-hidden="true"></span>
			<?php ton_social_list( 'ton-socials--footer' ); ?>

			<h2 class="ton-footer__h" style="margin-top:1.5rem"><?php esc_html_e( 'Search The Newsroom', 'totalonlinenews' ); ?></h2>
			<span class="ton-footer__rule" aria-hidden="true"></span>
			<div class="ton-footer__search" style="margin-top:1rem"><?php get_search_form(); ?></div>
		</div>
	</div>

	<div class="ton-footer__bottom">
		<div class="shell ton-footer__bottomin">
			<p style="margin:0">&copy; <?php echo esc_html( date_i18n( 'Y' ) ); ?> <?php echo esc_html( ton_site_name() ); ?>. <?php esc_html_e( 'All Rights Reserved.', 'totalonlinenews' ); ?></p>
			<ul class="ton-footer__legal">
				<li><a href="<?php echo esc_url( home_url( '/privacy-policy/' ) ); ?>"><?php esc_html_e( 'Privacy Policy', 'totalonlinenews' ); ?></a></li>
				<li><a href="<?php echo esc_url( home_url( '/terms/' ) ); ?>"><?php esc_html_e( 'Terms & Conditions', 'totalonlinenews' ); ?></a></li>
				<li><a href="<?php echo esc_url( home_url( '/disclaimer/' ) ); ?>"><?php esc_html_e( 'Disclaimer', 'totalonlinenews' ); ?></a></li>
				<li><a href="<?php echo esc_url( home_url( '/wp-sitemap.xml' ) ); ?>"><?php esc_html_e( 'Sitemap', 'totalonlinenews' ); ?></a></li>
				<li><a href="<?php echo esc_url( get_feed_link() ); ?>"><?php esc_html_e( 'RSS', 'totalonlinenews' ); ?></a></li>
			</ul>
		</div>
	</div>
</footer>

<?php wp_foot