本文整理汇总了PHP中theme_copyright函数的典型用法代码示例。如果您正苦于以下问题:PHP theme_copyright函数的具体用法?PHP theme_copyright怎么用?PHP theme_copyright使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了theme_copyright函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: template_fronthtml_below
/**
* 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>';
}
示例2: template_body_below
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>';
}
示例3: template_main_below
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>';
//.........这里部分代码省略.........
示例4: template_print_below
function template_print_below()
{
global $context, $settings, $options;
echo '
<div class="copyright">', theme_copyright(), '</div>
</body>
</html>';
}
示例5: template_body_below
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>';
}
示例6: template_print_below
/**
* 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>';
}
示例7: template_body_below
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>';
}
示例8: template_body_below
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>';
}
示例9: template_kb_print_below
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>';
}
示例10: template_print_below
function template_print_below()
{
global $context, $settings, $options;
echo '
<br /><br />
<div align="center" class="smalltext">', theme_copyright(), '</div>
</td>
</tr>
</table>
</body>
</html>';
}
示例11: template_print_below
/**
* Footer of the print page.
*/
function template_print_below()
{
echo '
<div class="copyright">', theme_copyright(), '</div>
</body>
</html>';
}
示例12: template_body_below
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>';
}
示例13: template_print_below
function template_print_below()
{
global $context, $settings, $options;
echo '
</dl>
<div id="footer" class="smalltext">
', theme_copyright(), '
</div>
</body>
</html>';
}
示例14: template_body_below
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>';
}
示例15: template_main_below
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>';
}