1. better (according to @beliykrolik) topic headers

2. remove stupid adsence, replace it with ya.direct
3. remove 'Now playing', noone's using it anyway
This commit is contained in:
Aleksei Miheev
2012-07-09 17:56:48 +04:00
parent 19af20e7dc
commit ef9aafe390

View File

@@ -18,10 +18,10 @@ function template_main()
// Show the topic information - icon, subject, etc.
echo '
<h2 style="margin-bottom: 0; margin-top: 0.2em;"><a class="header" href="'.$scripturl . '?topic=' . $context['current_topic'] . '.0">',$context['subject'], '</a></h2>';
<h1 style="margin-bottom: 0; margin-top: 0.2em;">', $context['subject'], '</h1>';
if (! empty ($context['subtitle']))
echo '
<h3 style="margin-top: 0;" class="header">' . $context['subtitle'] . '</h3>';
<h2 style="margin-top: 0;" class="header">' . $context['subtitle'] . '</h2>';
/* echo '
<span class="smalltext">', $context['moderators_list'],'</span>';*/
@@ -582,16 +582,26 @@ function template_main()
echo '<tr><td class="titlebg" style="padding: 3px 0px;">';
?>
<div style="text-align: center;">
<script type="text/javascript"><!--
google_ad_client = "pub-7163001599713810";
/* rock.ru под первым постом форума */
google_ad_slot = "8134706712";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<script type="text/javascript">
yandex_partner_id = 18555;
yandex_site_bg_color = '3A3A3A';
yandex_stat_id = 2;
yandex_site_charset = 'utf-8';
yandex_ad_format = 'direct';
yandex_font_size = 0.9;
yandex_direct_type = 'horizontal';
yandex_direct_border_type = 'ad';
yandex_direct_limit = 4;
yandex_direct_title_font_size = 2;
yandex_direct_header_bg_color = '4D4D4D';
yandex_direct_bg_color = '384658';
yandex_direct_border_color = '313131';
yandex_direct_title_color = 'FFC246';
yandex_direct_url_color = 'FFC246';
yandex_direct_text_color = 'CACACA';
yandex_direct_hover_color = 'FFFFFF';
yandex_direct_favicon = false;
document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/system/context.js"></sc'+'ript>');
</script>
</div>
<?
@@ -713,6 +723,30 @@ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
echo '
<script language="JavaScript1.2" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';
?>
<script type="text/javascript">
yandex_partner_id = 18555;
yandex_site_bg_color = '3A3A3A';
yandex_stat_id = 1;
yandex_site_charset = 'utf-8';
yandex_ad_format = 'direct';
yandex_font_size = 0.9;
yandex_direct_type = 'horizontal';
yandex_direct_border_type = 'ad';
yandex_direct_limit = 4;
yandex_direct_title_font_size = 2;
yandex_direct_header_bg_color = '4D4D4D';
yandex_direct_bg_color = '384658';
yandex_direct_border_color = '313131';
yandex_direct_title_color = 'FFC246';
yandex_direct_url_color = 'FFC246';
yandex_direct_text_color = 'CACACA';
yandex_direct_hover_color = 'FFFFFF';
yandex_direct_favicon = false;
document.write('<sc'+'ript type="text/javascript" src="http://an.yandex.ru/system/context.js"></sc'+'ript>');
</script>
<br />
<?
echo '
<a name="quickreply"></a>
<table border="0" cellspacing="1" cellpadding="3" class="bordercolor" width="100%" style="clear: both;">
@@ -736,7 +770,7 @@ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
<input type="hidden" name="num_replies" value="', $context['num_replies'], '" />
<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1" id="markItUp"></textarea><br />
';
if($modSettings['nowplayingEnabled'])
if(false && $modSettings['nowplayingEnabled'])
{
echo $txt['nowplaying2'] . '<br /><input type="text" style="width:95%" name="nowplaying" tabindex="2" /><br />';
}