Just tried adding banners to the bottom of my forum and I think i've gone and screwed it up.
Is this what Beginning on line 285 should be:
^ I've just put it back to that and now I am getting Template Parse Error!
There was a problem loading the /Themes/firebrick205/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
By the way I'm new to SMF admin side, I don't actually know what the hell I am doing.<br /><br />-- Sat Aug 20, 2011 12:58 pm --<br /><br />Nevermind, I have sorted it now.
Is this what Beginning on line 285 should be:
Code:
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="footer_section">
<ul class="reset">
<li class="copyright">', theme_copyright(), '</li>
<li><a id="button_xhtml" href="http://validator.w3.org/check/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>
<li class="copyright"><b>Firebrick</b> by <a href="http://www.jpr62.com/theme/" target="_blank" class="new_win" title=""><span><strong>Crip</strong></span></a></li>
<center><a href="http://www.dmca.com/Protection/Status.aspx?id=428c51cb-eba7-4d3e-af7a-64e8ef633b3f" title="DMCA"> <img src ="http://images.dmca.com/Badges/dmca_protected_sml_120n.png?id=428c51cb-eba7-4d3e-af7a-64e8ef633b3f" alt="DMCA.com" /></a></center>
</ul>';
if ($modSettings['badbehavior_display_stats']) {
if (!function_exists('bb2_insert_stats')) {
global $sourcedir;
require_once($sourcedir . '/bad-behavior/BadBehavior-SMF.php'); }
bb2_insert_stats();
}
// Show the load time?
if ($context['show_load_time'])
echo '
<p class="smalltext">', $txt['page_created'], $context['load_time'], $txt['seconds_with'], $context['load_queries'], $txt['queries'], '</p>';
echo '
</div>', !empty($settings['forum_width']) ? '
</div>' : '';
}
^ I've just put it back to that and now I am getting Template Parse Error!
There was a problem loading the /Themes/firebrick205/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
By the way I'm new to SMF admin side, I don't actually know what the hell I am doing.<br /><br />-- Sat Aug 20, 2011 12:58 pm --<br /><br />Nevermind, I have sorted it now.







