Parašė Pakartoti slaptažodį· 2009 Lap. 10 19:11:14
#2
<...>
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='494'>
<tr>
<td class='capmain-left'>\n";
if (!isset($_GET['readmore']) && $info['news_ext'] == "y") {
echo "<a href='news.php?readmore=".$info['news_id']."' style='text-decoration: none'>$subject</a>\n";
} else {
echo $subject;
}
echo "</td>
<td class='capmain-right' align='center'>".$info['news_comments']."</td>
</tr>
<tr>
<td class='main-body' colspan='2'>$news</td>
</tr>
<tr>
<td class='news-footer' colspan='2'><a href='news.php?readmore=".$info['news_id']."' style='text-decoration: none'>Skaityti toliau...</a></td>
</tr>
</table>\n";
}
<...>