Parašė Jaunelis· 2009 Spa. 3 16:10:33
#127
tai va ir dar vienas klausimas:
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='capmain1'></td>
<td align='center' class='capmain'>$subject</td>
<td align='right' class='capmain2'></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
gaunas toks gaidys:
O turėtu buti taip:
Čia aš noriu kad tampytusi naujienos tipo pagal dydi :)
dabar pameginau taip
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td><img src='".THEME."images/news.gif' width='15' height='28' alt=''></td>
<td align='center' class='capmain'>$subject</td>
<td><img src='".THEME."images/news1.gif' width='7' height='28' alt=''></td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," ·").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
ir darbar jau rodo taip:
Redagavo Jaunelis· 2009 Spa. 3 16:10:04