Parašė SWIZZ· 2009 Lap. 17 20:11:09
#5
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'></td>
</tr>
</table>\n";
}
Geriau tu man iterpk, ačiū. Tik daryk ne naujienos pavadinime kad butu o po naujiena ž "<td class='main-body' colspan='2'>$news</td>"
Redagavo SWIZZ· 2009 Lap. 17 20:11:50