/** * The sub template below the content. */ function template_fronthtml_below() { global $context, $scripturl, $txt, $modSettings; echo ' <div id="footer_section"> <div class="frame">'; // There is now a global "Go to top" link at the right. echo ' <ul class="floatright"> <li><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', !empty($modSettings['requireAgreement']) ? '| <a href="' . $scripturl . '?action=help;sa=rules">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li> </ul> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } echo ' </div> </div> </div> </div>'; // load in any javascipt that could be defered to the end of the page template_javascript(true); echo ' </body> </html>'; }
function template_body_below() { global $context; echo ' </div>'; // Page index is going here. We need to strip out some characters too. if (isset($context['page_index'])) { echo ' <div class="ui-bar-c pageindex"> <div class="pagenav"> ', str_replace(array('[', ']'), '', !empty($context['page_index']) ? $context['page_index'] : ''), ' </div> </div>'; } // Show the copyright. echo ' <div data-role="footer" data-theme="b" data-position="fixed" id="footer"> <a data-iconpos="notext" data-mini="true" data-role="button" data-rel="back" data-icon="back" href="">Back</a> <p>', theme_copyright(), '</p> </div> </div>'; }
function template_main_below() { global $context, $settings, $options, $scripturl, $txt; echo '</td> </tr></table>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '"> <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[ function smfFooterHighlight(element, value) { element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif"; } // ]]></script> <table cellspacing="0" cellpadding="3" border="0" width="100%"> <tr> <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '"> <a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> <a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> </td> <td valign="middle" align="center" style="white-space: nowrap;"> ', theme_copyright(), ' </td> <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '"> <a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> </td> </tr> </table>'; // Show the load time? if ($context['show_load_time']) { echo ' <span class="smalltext">', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], '</span>'; } echo ' </div>'; // This is an interesting bug in Internet Explorer AND Safari. Rather annoying, it makes overflows just not tall enough. if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_safari'] || $context['browser']['is_firefox']) { // The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself. echo ' <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA['; // Unfortunately, Safari does not have a "getComputedStyle" implementation yet, so we have to just do it to code... if ($context['browser']['is_safari']) { echo ' window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = 0; i < codeFix.length; i++) { if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20) codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px"; } }'; } elseif ($context['browser']['is_firefox']) { echo ' window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = 0; i < codeFix.length; i++) { if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) codeFix[i].style.overflow = "scroll"; } }'; } else { echo ' var window_oldOnload = window.onload; window.onload = smf_codeFix; function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = codeFix.length - 1; i > 0; i--) { if (codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code")) codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px"; } if (window_oldOnload) { window_oldOnload(); window_oldOnload = null; } }'; } echo ' // ]]></script>'; } // The following will be used to let the user know that some AJAX process is running echo ' <div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div> </body> </html>'; }
function template_print_below() { global $context, $settings, $options; echo ' <div class="copyright">', theme_copyright(), '</div> </body> </html>'; }
function template_body_below() { global $context, $txt, $scripturl, $modSettings; echo ' </div> <script> jQuery(document).ready(function(){ jQuery(\'.scrollbar-light\').scrollbar(); });</script> </div>'; echo '<div class="konusalalt"><div class="floatleft">'; boardnewslide(); echo '</div><div >'; echo '</div></div>'; // Show the XHTML, RSS and WAP2 links, as well as the copyright. // Footer is now full-width by default. Frame inside it will match theme wrapper width automatically. echo '</div> <div id="footer_section"> <div class="frame">'; // There is now a global "Go to top" link at the right. echo ' <ul class="floatright"> <li><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', !empty($modSettings['requireAgreement']) ? '| <a href="' . $scripturl . '?action=help;sa=rules">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#top_section">', $txt['go_up'], ' ▲</a></li> </ul> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } echo ' </div> </div>'; }
function template_body_below() { global $context, $settings, $scripturl, $txt, $modSettings; echo ' </div> </div> </div>'; // Show the XHTML and RSS links, as well as the copyright. // Footer is now full-width by default. Frame inside it will match theme wrapper width automatically. echo ' <div id="footer_section"> <div class="frame">'; // There is now a global "Go to top" link at the right. echo ' <a href="#top" id="bot"><img src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['go_up'], '" /></a> <ul class="reset"> <li class="copyright">', theme_copyright(), ' </li> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li> ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss;limit=' . (!empty($modSettings['xmlnews_limit']) ? $modSettings['xmlnews_limit'] : 5) . '" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', !empty($modSettings['badbehavior_enabled']) && !empty($modSettings['badbehavior_display_stats']) ? '<li class="copyright">' . bb2_insert_stats() . '</li>' : '', ' </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } echo ' </div> </div>'; }
/** * Interface for the bit down the print page. */ function template_print_below() { global $txt, $context; echo ' </div> <div class="print_options">'; // Show the text / image links if (!empty($context['viewing_attach'])) { echo ' <a href="', $context['view_attach_mode']['text'], '">', $txt['print_page_text'], '</a> | <strong><a href="', $context['view_attach_mode']['images'], '">', $txt['print_page_images'], '</a></strong>'; } else { echo ' <strong><a href="', $context['view_attach_mode']['text'], '">', $txt['print_page_text'], '</a></strong> | <a href="', $context['view_attach_mode']['images'], '">', $txt['print_page_images'], '</a>'; } echo ' </div> <div id="footer" class="smalltext"> ', theme_copyright(), ' </div> </body> </html>'; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div>'; // xxx bottom ads echo '<div id="bottom_ads" class="headerpadding topmargin clearfix"><center> <script type="text/javascript"><!-- google_ad_client = "ca-pub-3055920918910714"; google_ad_slot = "6430061462"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center></div>'; // xxx end bottom ads // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footerarea" class="headerpadding topmargin clearfix"> <ul class="reset smalltext"> <li class="copyright">', theme_copyright(), '</li> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li> ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', ' <li class="last"><a id="button_wap2" href="', $scripturl, '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p class="smalltext" id="show_loadtime">', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div> </div>'; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div> </div> </div>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <footer> <div class="container"> <div class="row"> <div class="social_icons col-lg-12">'; if (!empty($settings['facebook_check'])) { echo ' <a href="', !empty($settings['facebook_text']) ? $settings['facebook_text'] : 'http://www.facebook.com ', '"><img src="', $settings['images_url'], '/social_icons/facebook.png" alt="', $txt['rs_facebook'], '" /></a>'; } if (!empty($settings['twitter_check'])) { echo ' <a href="', !empty($settings['twitter_text']) ? $settings['twitter_text'] : 'http://www.twitter.com', '"><img src="', $settings['images_url'], '/social_icons/twitter.png" alt="', $txt['rs_twitter'], '" /></a>'; } if (!empty($settings['youtube_check'])) { echo ' <a href="', !empty($settings['youtube_text']) ? $settings['youtube_text'] : 'http://www.youtube.com', '"><img src="', $settings['images_url'], '/social_icons/youtube.png" alt="', $txt['rs_youtube'], '" /></a>'; } if (!empty($settings['rss_check'])) { echo ' <a href="', !empty($settings['rss_text']) ? $settings['rss_text'] : $scripturl . '?action=.xml;type=rss', '"><img src="', $settings['images_url'], '/social_icons/rss.png" alt="', $txt['rs_rss'], '" /></a>'; } echo ' </div> <div class="col-lg-12"> ', theme_copyright(), ' </div> <div class="col-lg-12"> Reseller by <a href="http://smftricks.com">Daniiel</a>. Designed by <a href="http://briancasillas.url.ph">Brian</a> </div> <div class="col-lg-12"> ', !empty($settings['reseller_copyright']) ? $settings['reseller_copyright'] : $context['forum_name'] . ' ©', ' </div>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div> </div> </footer>'; }
function template_kb_print_below() { global $context; echo ' <br /><br /> <div style="text-align: center;" class="smalltext">', theme_copyright(), ' <p>', $context['kbprint'], '</p> </div> </body> </html>'; }
function template_print_below() { global $context, $settings, $options; echo ' <br /><br /> <div align="center" class="smalltext">', theme_copyright(), '</div> </td> </tr> </table> </body> </html>'; }
/** * Footer of the print page. */ function template_print_below() { echo ' <div class="copyright">', theme_copyright(), '</div> </body> </html>'; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div> </div> </div>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! // Footer is now full-width by default. Frame inside it will match theme wrapper width automatically. echo ' <div id="footer_section"> <div class="frame">'; // Thee is now a global "Go to top" link above the copyright. echo ' <a href="#top" id="bot"><img src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['go_up'], '" /></a> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li> ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', ' <li class="last"><a id="button_wap2" href="', $scripturl, '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div> </div>'; }
function template_print_below() { global $context, $settings, $options; echo ' </dl> <div id="footer" class="smalltext"> ', theme_copyright(), ' </div> </body> </html>'; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footerarea"> <div id="footer_section"> <div class="frame"> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> <li class="copyright"><strong>Insidious II by <a href="http://www.skin-box.com/" target="_blank" class="new_win" title=""><span>Skin-Box</span></a> | <a href="http://www.ravershost.com/" target="_blank" class="new_win" title=""><span>Free Hosting</span></a></strong></li> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li> ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', ' <li class="last"><a id="button_wap2" href="', $scripturl, '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div> </div> </div>'; }
function template_main_below() { global $context, $settings, $options, $scripturl, $txt; echo ' </td></tr> </table>'; // Show a vB style login for quick login? if ($context['show_quick_login']) { echo ' <table cellspacing="0" cellpadding="0" border="0" align="center" width="95%"> <tr><td nowrap="nowrap" align="right"> <script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script> <form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '><br /> <input type="text" name="user" size="7" /> <input type="password" name="passwrd" size="7" /> <select name="cookielength"> <option value="60">', $txt['smf53'], '</option> <option value="1440">', $txt['smf47'], '</option> <option value="10080">', $txt['smf48'], '</option> <option value="43200">', $txt['smf49'], '</option> <option value="-1" selected="selected">', $txt['smf50'], '</option> </select> <input type="submit" value="', $txt[34], '" /><br /> ', $txt['smf52'], ' <input type="hidden" name="hash_passwrd" value="" /> </form> </td></tr> </table>'; } else { echo ' <br />'; } // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <br /> <table cellspacing="0" cellpadding="3" border="0" align="center" width="95%" class="tborder"> <tr style="background-color: #ffffff;"> <td width="28%" valign="middle" align="right"> <a href="http://www.mysql.com/" target="_blank"><img src="', $settings['images_url'], '/mysql.gif" alt="', $txt['powered_by_mysql'], '" width="88" height="31" border="0" /></a> <a href="http://www.php.net/" target="_blank"><img src="', $settings['images_url'], '/php.gif" alt="', $txt['powered_by_php'], '" width="88" height="31" border="0" /></a> </td> <td width="44%" valign="middle" align="center"> ', theme_copyright(), ' </td> <td width="28%" valign="middle" align="left"> <a href="http://validator.w3.org/check/referer" target="_blank"><img src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="88" height="31" border="0" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="88" height="31" border="0" /></a> </td> </tr> </table>'; // Show the load time? if ($context['show_load_time']) { echo ' <div align="center" class="smalltext"> ', $txt['smf301'], $context['load_time'], $txt['smf302'], $context['load_queries'], $txt['smf302b'], ' </div>'; } // The following will be used to let the user know that some AJAX process is running echo ' <div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>'; // And then we're done! echo ' </body> </html>'; }
function template_body_below() { global $context, $txt, $scripturl, $modSettings; echo ' </div>'; // Show the XHTML, RSS and WAP2 links, as well as the copyright. // Footer is now full-width by default. Frame inside it will match theme wrapper width automatically. echo ' <div id="footer_section"> <div class="frame">'; // There is now a global "Go to top" link at the right. echo ' <ul class="floatright"> <li><a href="', $scripturl, '?action=help">', $txt['help'], '</a> ', !empty($modSettings['requireAgreement']) ? '| <a href="' . $scripturl . '?action=help;sa=rules">' . $txt['terms_and_rules'] . '</a>' : '', ' | <a href="#ust">', $txt['go_up'], ' ▲</a></li> </ul> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> <li><a href="http://smf.konusal.com/"><span>Smf</span></a> <a href="', $scripturl, '?action=sitemap"><span>', $txt['sitemap'], '</span></a></li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } echo ' </div> </div>'; }
function template_tp_print_below() { global $context; echo ' <br /><br /> <div align="center" class="smalltext">', theme_copyright(), ' <p>', $context['TPortal']['print'], '</p> </div> </body> </html>'; }
function template_nolayer_below() { echo '<small id="nolayer_copyright">', theme_copyright(), '</small> </div></body></html>'; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div> <!-- ends main row --> </div> <!-- ends container inside --> </div> <!-- ends main container -->'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footer_section" class="row"><div class="frame"> <ul class="reset"> <li class="copyright">', theme_copyright(), '</li> <li><a id="button_xhtml" href="http://validator.w3.org/check?uri=referer" target="_blank" class="new_win" title="', $txt['valid_xhtml'], '"><span>', $txt['xhtml'], '</span></a></li> ', !empty($modSettings['xmlnews_enable']) && (!empty($modSettings['allow_guestAccess']) || $context['user']['is_logged']) ? '<li><a id="button_rss" href="' . $scripturl . '?action=.xml;type=rss" class="new_win"><span>' . $txt['rss'] . '</span></a></li>' : '', ' <li class="last"><a id="button_wap2" href="', $scripturl, '?wap2" class="new_win"><span>', $txt['wap2'], '</span></a></li> </ul>'; echo $context['current_time']; // Show the load time? if ($context['show_load_time']) { echo ' <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div></div>', !empty($settings['forum_width']) ? ' </div>' : ''; }
/** * Section down the page, before closing body */ function template_body_below() { global $context, $txt, $settings; echo ' </div> </div>'; // Show RSS link, as well as the copyright. // Footer is full-width. Wrapper inside automatically matches admin width setting. echo ' <div id="footer_section"><a id="bot"></a> <div class="wrapper"> <ul> <li class="copyright"><div>'; if (!empty($settings['facebook_id'])) { echo ' <a href="', $settings['facebook_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/facebook.png" alt="', $txt['facebook'], '" title="', $txt['facebook'], '" /></a>'; } if (!empty($settings['twitter_id'])) { echo ' <a href="', $settings['twitter_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/twitter.png" alt="', $txt['twitter'], '" title="', $txt['twitter'], '" /></a>'; } if (!empty($settings['github_id'])) { echo ' <a href="', $settings['github_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/github.png" alt="', $txt['github'], '" title="', $txt['github'], '" /></a>'; } if (!empty($settings['steam_id'])) { echo ' <a href="', $settings['steam_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/steam.png" alt="', $txt['steam'], '" title="', $txt['steam'], '" /></a>'; } if (!empty($settings['googleplus_id'])) { echo ' <a href="', $settings['googleplus_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/googleplus.png" alt="', $txt['googleplus'], '" title="', $txt['googleplus'], '" /></a>'; } if (!empty($settings['pinterest_id'])) { echo ' <a href="', $settings['pinterest_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/pinterest.png" alt="', $txt['pinterest'], '" title="', $txt['pinterest'], '" /></a>'; } if (!empty($settings['youtube_id'])) { echo ' <a href="', $settings['youtube_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/youtube.png" alt="', $txt['youtube'], '" title="', $txt['youtube'], '" /></a>'; } if (!empty($settings['linkedin_id'])) { echo ' <a href="', $settings['linkedin_id'], '" target="_blank"><img src="' . $settings['images_url'] . '/social/linkedin.png" alt="', $txt['linkedin'], '" title="', $txt['linkedin'], '" /></a>'; } echo ' <a id="button_rss" href="' . $context['newsfeed_urls']['rss'] . '" class="rssfeeds new_win"><img src="' . $settings['images_url'] . '/social/rss.png" border="0" alt="', $txt['rss'], '" title="', $txt['rss'], '" /></a>'; echo '</div>'; if (!empty($settings['custom_copyright'])) { echo ' ' . $settings['custom_copyright'] . '</br />'; } echo ' ', theme_copyright(), ' <br />Blue Elk Theme by: <a href="http://www.burkeknight.com/" target="_blank">BurkeKnight Enterprises</a></li></ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } }
function template_footer() { global $context, $settings, $modSettings, $time_start, $db_count; // Show the load time? (only makes sense for the footer.) $context['show_load_time'] = !empty($modSettings['timeLoadPageEnable']); $context['load_time'] = round(array_sum(explode(' ', microtime())) - array_sum(explode(' ', $time_start)), 3); $context['load_queries'] = $db_count; if (isset($settings['use_default_images']) && $settings['use_default_images'] == 'defaults' && isset($settings['default_template'])) { $settings['theme_url'] = $settings['actual_theme_url']; $settings['images_url'] = $settings['actual_images_url']; $settings['theme_dir'] = $settings['actual_theme_dir']; } foreach (array_reverse($context['template_layers']) as $layer) { loadSubTemplate($layer . '_below', true); } // Do not remove hard-coded text - it's in here so users cannot change the text easily. (as if it were in language file) if (!theme_copyright(true) && !empty($context['template_layers']) && SMF !== 'SSI' && !WIRELESS) { // DO NOT MODIFY THIS SECTION. DO NOT REMOVE YOUR COPYRIGHT. // DOING SO VOIDS YOUR LICENSE AND IS ILLEGAL. echo ' <div style="text-align: center !important; display: block !important; visibility: visible !important; font-size: large !important; font-weight: bold; color: black !important; background-color: white !important;"> Sorry, the copyright must be in the template.<br /> Please notify this forum\'s administrator that this site is missing the copyright message for <a href="http://www.simplemachines.org/" style="color: black !important; font-size: large !important;">SMF</a> so they can rectify the situation. Display of copyright is a <a href="http://www.simplemachines.org/about/license.php" style="color: red;">legal requirement</a>. For more information on this please visit the <a href="http://www.simplemachines.org">Simple Machines</a> website.', empty($context['user']['is_admin']) ? '' : '<br /> Not sure why this message is appearing? <a href="http://www.simplemachines.org/redirect/index.php?copyright_error">Take a look at some common causes.</a>', ' </div>'; log_error('Copyright removed!!'); } }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt, $modSettings; echo ' </div> <br /></div></div>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footer_section"><div class="frame"> <ul class="reset"> ', base64_decode('PGxpIGNsYXNzPSJjb3B5cmlnaHQiPjxhIGhyZWY9Imh0dHA6Ly93d3cuc21mc2ltcGxlLmNvbSIgdGl0bGU9IlRvZG8gcGFyYSB0dSBmb3JvIFNNRiI+RGVzaWduIEJ5IFNNRlNpbXBsZS5jb208L2E+PC9saT4='), ' <li class="copyright">', theme_copyright(), '</li> </ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>'; } echo ' </div></div> ', !empty($settings['forum_width']) ? ' </div>' : ''; }
function template_body_below() { global $context, $settings, $options, $scripturl, $txt; echo '</td> </tr></table>'; // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! echo ' <div id="footerarea" style="text-align: center; padding-bottom: 1ex;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '"> <table cellspacing="0" cellpadding="3" border="0" width="100%"> <tr> <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '"> <a href="http://www.mysql.com/" target="_blank" class="new_win"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> <a href="http://www.php.net/" target="_blank" class="new_win"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> </td> <td valign="middle" align="center" style="white-space: nowrap;"> ', theme_copyright(), ' </td> <td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '"> <a href="http://validator.w3.org/check/referer" target="_blank" class="new_win"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" class="new_win"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" border="0" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a> </td> </tr> </table>'; // Show the load time? if ($context['show_load_time']) { echo ' <span class="smalltext">', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</span>'; } echo ' </div>'; // This is an interesting bug in Internet Explorer AND Safari/Webkit. Rather annoying, it makes overflows just not tall enough. if ($context['browser']['is_ie'] && !$context['browser']['is_ie4'] || $context['browser']['is_mac_ie'] || $context['browser']['is_webkit'] || $context['browser']['is_firefox']) { // The purpose of this code is to fix the height of overflow: auto div blocks, because IE can't figure it out for itself. echo ' <script type="text/javascript"><!-- // --><![CDATA['; // Unfortunately, Safari/Webkit didn't support "getComputedStyle" implementation until Safari 3 and its buggy, so we have to just do it to code... if ($context['browser']['is_webkit']) { echo ' window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = 0; i < codeFix.length; i++) { if ((codeFix[i].className == "code" || codeFix[i].className == "post" || codeFix[i].className == "signature") && codeFix[i].offsetHeight < 20) codeFix[i].style.height = (codeFix[i].offsetHeight + 20) + "px"; } }'; } elseif ($context['browser']['is_firefox']) { echo ' window.addEventListener("load", smf_codeFix, false); function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = 0; i < codeFix.length; i++) { if (codeFix[i].className == "code" && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0)) codeFix[i].style.overflow = "scroll"; } }'; } else { echo ' function smf_codeFix() { var codeFix = document.getElementsByTagName ? document.getElementsByTagName("div") : document.all.tags("div"); for (var i = codeFix.length - 1; i > 0; i--) { if (\'currentStyle\' in codeFix[i] && codeFix[i].currentStyle.overflow == "auto" && (codeFix[i].currentStyle.height == "" || codeFix[i].currentStyle.height == "auto") && (codeFix[i].scrollWidth > codeFix[i].clientWidth || codeFix[i].clientWidth == 0) && (codeFix[i].offsetHeight != 0 || codeFix[i].className == "code")) codeFix[i].style.height = (codeFix[i].offsetHeight + 36) + "px"; } } addLoadEvent(smf_codeFix);'; } echo ' // ]]></script>'; } }
/** * Section down the page, before closing body */ function template_body_below() { global $context, $txt; echo ' </div> </div>'; // Show RSS link, as well as the copyright. // Footer is full-width. Wrapper inside automatically matches admin width setting. echo ' <div id="footer_section"><a id="bot"></a> <div class="wrapper"> <ul> <li class="copyright">', theme_copyright(), ' </li>', !empty($context['newsfeed_urls']['rss']) ? '<li> <a id="button_rss" href="' . $context['newsfeed_urls']['rss'] . '" class="rssfeeds new_win"><i class="largetext fa fa-rss"></i></a> </li>' : '', '</ul>'; // Show the load time? if ($context['show_load_time']) { echo ' <p>', sprintf($txt['page_created_full'], $context['load_time'], $context['load_queries']), '</p>'; } }
* Contains footer content and the closing of the * #main and #page div elements. * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve 1.0 */ ?> </div><!-- #main .wrapper --> <footer id="colophon"> <div class="site-info"> <?php do_action('twentytwelve_credits'); ?> <p>©<?php theme_copyright('2009'); ?> <a href="https://www.steffanick.com/adam/" title="Adam Steffanick">Adam Steffanick</a> <a href="https://validator.w3.org/nu/?doc=https://<?php echo $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; ?> " aria-label="Validate HTML5" target="_blank" rel="nofollow" title="Validate as HTML5"> <span class="fa fa-html5" aria-hidden="true"></span> </a> </p> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer();
function template_print_below() { global $context, $settings, $options; echo ' <div align="center" style="margin-top: 2ex;" class="smalltext">', theme_copyright(), '</div> </body> </html>'; }