Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: news.php

Parašė Qrmiz· 2007 Rugp. 31 00:08:54
#13

bandyk taip, nors šiaip aš nematau kame dar klaida gali būt...
function render_news($subject, $news, $info) {

echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>Toliau...</a>\n" : "")."</td>";
echo "</tr>
</table>
</td>
</tr>
</table>\n";

}

Redagavo Qrmiz· 2007 Rugp. 31 00:08:02