discourse-legacysite-perl/site/common/templates/local/include_footer.php

56 lines
2.2 KiB
PHP
Raw Normal View History

2024-06-17 12:42:14 +00:00
<div class="footer">
<?
$fetch_sponsors = mysql_query("SELECT * FROM glinks_Ticker ORDER BY ticker_text ASC");
$sponsors = array();
while ($row = mysql_fetch_array($fetch_sponsors)) {
array_push($sponsors, '<a href="' . $row[ticker_link] .'">' . $row[ticker_text] . '</a>');
}
?>
<? if (count($sponsors) > 0) { ?>
<section class="sponsors">
<hr class="line">
<nav>
<? echo join(" | ", $sponsors); ?>
</nav>
</section>
<? } ?>
<div class="masfoot clearfix">
<div class="navbar menu">
<ul class="nav">
<li><a href="<? echo $main_site_url ?>/aboutus.html" class="aboutus">About Us</a></li>
<li><a href="<? echo $main_site_url ?>/aboutus.html" class="aboutus">Advertise</a></li>
<li><a href="<? echo $main_site_url ?>/privacy.html" class="policy">Privacy Policy</a></li>
<li><a href="<? echo $main_site_url ?>/agreement.html" class="agreement">User Agreement</a></li>
</ul>
</div>
<div class="social clearfix">
<? include($common_path . "/templates/include_social.html"); ?>
</div>
</div>
<div class="masfoot-b clearfix">
<div class="newsletter">
<h2 class="forum">newsletter</h2>
Sign up for the Slowtwitch newsletter
<? include($common_path . "/templates/include_subscribe.html"); ?>
</div>
<div class="contact-us clearfix">
<span class="sprite-logo"></span>
<p class="addr">transition-DOT-area-AT-slowtwitch-DOT-com</p>
</div>
</div>
<div class="bg-1 clearfix">
<div class="col-5">
<div class="adv-withus clearfix">
<span class="sprite-logo-sm"></span>
<a href="<? echo $main_site_url ?>/advertise.html">Advertise with us</a>
</div>
</div>
<div class="col-7">
<div class="copyright">
<p>&copy;1999-<? $year = date("Y"); echo $year; ?> Slowtwitch, Inc., and Slowtwitch.com<br />Reproduction of material from any Slowtwitch.com page<br />without written permission is strictly prohibited.</p>
</div>
</div>
</div>
</div>