Parašė fLap· 2009 Rugs. 15 21:09:21
#10
Va pilna naujienų:
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='511'>
<tr>
<td align='center' class='capmain-top' valign='bottom'>$subject</td>
</tr>
<tr>
<td align='right' class='capmain-bottom' valign='top'>".showdate("shortdate", $info['news_date'])."</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='right' class='news-footer'>\n";
if (!isset($_GET['readmore'])) { echo "<a href='".BASEDIR."albumas-".$info['news_id']."-".$data['news_subject']."' style='text-decoration: none'>Siųstis/Plačiau</a>";
} else {
echo "<a href='".BASEDIR."/naujienos' style='text-decoration: none'>Sugrįžti atgal</a>";
}
echo "</td>
</tr>
</table>\n";