Parašė Jaunelis· 2008 Geg. 15 20:05:44
#10
ShadoVw o dbr wa tokia klaida ir butu viskas gerai gal jai istaisysi ir dar reikai kad butu skaityti daugiau ir wsio :)
Redaguota 2008 Gegužės 16:
Tai va susitvarkiau cia viska jaigu kam kils tokiu problemu tai še imkit:
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$subject</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,"<br>").newsopts($info,"·").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
Dėkui visiems kurie bande ir iš dalies padejo ;)
Redagavo Jaunelis· 2008 Geg. 16 13:05:14