// The main content should go here. A table is used because IE 6 just can't handle a div.
echo '
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td style="padding: 1ex 1px 2ex 1px;" width="100%" valign="top">
<div class="tborder">
<table border="0" width="100%" cellspacing="1" cellpadding="5" height="72">
<tr>
<td colspan="4" class="catbg" height="18"><img src="/Themes/smfaqua/images/post_old.gif" class="midimage" alt="No New Posts" title="No New Posts" border="0" />
<font size="1">Sponsored Links</font>
</td>
</tr>
<tr class="topicbg1">
<td class="topicbg1" align="center" valign="middle"><img src="/Themes/smfaqua/images/on.gif" border="0" /></td>
<td class="topicbg1" align="left" width="70%">
<div style="float:right;text-align:right;">
<a href="index.php?action=post;board=1.0"><img src="/Themes/smfaqua/images/n.gif" alt="n" border="0" title="Start new topic" /></a>
<a href="index.php?action=markasread;sa=board;board=1.0"><img src="/Themes/smfaqua/images/m.gif" alt="m" border="0" title="Mark Topics as Read for this Forum" /></a>
<a href="index.php?action=notifyboard;sa=on;board=1.0;sesc=233047cc065c2e23891b5ce3e234432f"><img src="/Themes/smfaqua/images/z.gif" alt="z" border="0" title="Notify of replies" /></a>
</div>
<script type="text/javascript"><!--
google_ad_client = "pub-youradsenseID";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_alternate_color = "F1F4F9"
google_ad_type = "text";
google_ad_channel ="youadsenseCHANNEL";
google_color_border = "F1F4F9";
google_color_bg = "F1F4F9";
google_color_link = "094899";
google_color_url = "787878";
google_color_text = "333333";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td class="topicbg1" valign="middle" align="center" style="width: 10%;" nowrap="nowrap">
<span class="smalltext">1 Post in<br/>1 Topic</span></td>
<td class="topicbg1" valign="middle" width="30%" nowrap="nowrap">
<span class="smalltext"><img border="0" src="/Themes/smfaqua/images/f.gif" align="middle" title="" alt="" />Posted <b>Today</b>,at 12:00:00 AM<br>by <u>Google</u></span></td>
</tr>
<tbody class="sep_display"><tr style="height:5px;"><td style="height:5px;padding:0;" colspan="4" class="catbg"></td></tr><tr style="padding:0;"><td style="padding:0;" colspan="4"><div class="catsep"></div></td></tr></tbody>
</table>
</div>';// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']))
echo '
<hr width="100%" size="1" class="hrcolor" />
<div style="overflow: auto; width: 100%; padding-bottom: 3px;" class="signature">', $message['member']['signature'], '</div>';
echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
if ($message['id'] == $context['first_message'])
echo '
<div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-youradsenseID";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="yourCHANNEL";
google_color_border = "577494";
google_color_bg = "577494";
google_color_link = "FFFFFF";
google_color_url = "999999";
google_color_text = "EFEFEF";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
'; // What are you gonna display if these are empty?!
if (empty($topic))
fatal_lang_error('no_board', false); // What are you gonna display if these are empty?!
if (empty($topic))
fatal_lang_error('no_board', false);
if(!empty($_REQUEST['sa']) && $_REQUEST['sa'] == 'log') {
DisplayLog();
}?>[/color]function DisplayLog()
{
global $context, $scripturl, $topic, $smcFunc;
$request = $smcFunc['db_query']('', "
SELECT
lt.ID_MEMBER, lt.id_topic, mem.real_name
FROM {db_prefix}log_topics AS lt
LEFT JOIN {db_prefix}members AS mem ON (mem.id_member = lt.id_member)
WHERE id_topic = {int:topic}",
array(
'topic' => $topic,
)
);
while ($row = $smcFunc['db_fetch_assoc']($request))
{
// Build the array.
$context['logs'][] = array(
'member' => array(
'id' => $row['id_member'],
'name' => $row['real_name'],
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row['id_member'] . '">' . $row['real_name'] . '</a>',
'href' => $scripturl . '?action=profile;u=' . $row['id_member'],
),
);
}
$smcFunc['db_free_result']($request);
$context['sub_template'] = 'displaylog';
}
?>
?>function template_displaylog()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;
echo '
<table border="0" cellpadding="0" cellspacing="0" style="padding-top: 1ex;" align="center">
<tr class="titlebg">
<td>Quem leu o tópico</td>
</tr>';
foreach($context['logs'] as $log) {
echo '
<tr class="windowbg">
<td>', $log['member']['link'], '</td>
</tr>';
}
echo '
</table>';
}
?><h3 class="catbg">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
<span id="author">', $txt['author'], '</span>
', $txt['topic'], ': ', $context['subject'], ' (', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')
</h3><h3 class="catbg">
<img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
<span id="author">', $txt['author'], '</span>
', $txt['topic'], ': ', $context['subject'], ' (', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')<a style="float: right;" href="' . $scripturl . '?topic='. $context['current_topic'] . '.0;sa=log">Konuyu Okumuş Olanlar</a>
</h3>


[id^='newicon'] > img{float:left;margin:10px;}.subject.stickybg2 span {display: inline;width: calc(100% - 50px);}Página criada em 0.099 segundos com 18 solicitações.