Parašė Jupiter· 2008 Sau. 11 16:01:49
#18
function render_news($subject, $news, $info) {
global $aidlink,$item_type;
$res = "";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='capmain'>$subject</td>
<td class='capmain'></td>
</tr>
<tr>
<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&news_id=".$info['news_id']."'>
<td class='main-body' width='92%'>$news</td>
<td class='main-body-2' width='8%'>";
if (iADMIN){
echo "<input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$info['news_id'].".submit();'><img src='".THEME."images/redaguoti.png' align='center' border='0'></a> ";
}
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/spausdinti.png' align='center' border='0'></a> <a href='news.php?readmore=".$info['news_id']."'><img src='".THEME."images/placiau.png' align='center' border='0'></a>";
echo "</td>
</form>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
Pats nemokejau :/
Redagavo Jupiter· 2008 Sau. 11 16:01:05