0 Members and 1 Guest are viewing this topic.
global $context;global $settings;global $scripturl;global $txt;$what=ssi_recentTopics('50', NULL, 'array');echo '<table border="0" width="100%" cellspacing="1" cellpadding="2" class="bordercolor">';echo '<tr class="catbg3"><td align="center">Subject</td><td align="center">Board</td><td align="center">Member</td><td align="center">Date & Time</td></tr>';$bg=0;foreach ($what as $topic) { echo '<tr>'; if ($bg == 0) { echo '<td class="windowbg" valign="middle">'; $bg = 1; } else { echo '<td class="windowbg2" valign="middle">'; $bg = 0; } echo $topic['link']; // Is this topic new? (assuming they are logged in!) if (!$topic['new'] && $context['user']['is_logged']) echo '<a href="', $scripturl, '?topic=', $topic['topic'], '.from', $topic['time'], '#new"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="New', $txt['new'], '" border="0" align="right", valign="absmiddle"/></a>'; echo '</td><td class="windowbg2" valign="middle" >', $topic['board']['link'], '</td>'; echo '</td><td class="windowbg2" valign="middle" >', $topic['poster']['link'], '</td><td class="windowbg2" valign="middle" >'; if ($settings['images_url'] != $settings['theme_url'] . '/images' || file_exists($settings['theme_dir'] . '/images/icons/last_post.gif')) echo '<a href="', $topic['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt['last_post'], '" title="', $txt['last_post'], '" border="0" style="float: right;" /></a>'; echo '<span class="smalltext">', $topic['time'], '</span></td></tr>'; }echo '</table>';
0004353: cacheLanguage() don't have a write checkOn cacheLanguage (Rev 10002) the write check is missing, so a full directory is not detected. See this Topic: http://www.simplemachines.org/community/index.php?topic=390913.0Additional we have to check/fix slash/backslash in the path