Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: theme.php news funkcija kazkas neto gal padesite ?

Parašė tm· 2008 Spa. 5 12:10:07
#1

function render_news($subject, $news, $info, $kategorija) {
   
global $locale;
   
   echo "<table bgcolor='#ABA8A0' class='border2' cellspacing='0' width='100%' cellpadding='3'></tr><tr>";
   echo "<td class='panel'><b>Pavadinimas:</b> $subject | <b>Kategorija:</b> $kategorija</td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
   echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='main-body'>$news</td></tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
   echo "<td class='news-footer'>&nbsp;".newsposter($info)."</td>";
   echo "<td height='24' align='right' class='news-footer'>";
   echo "<form name='editnews".$info['news_id']."' method='post' action='".ADMIN."news.php".$aidlink."&amp;news_id=".$info['news_id']."'>
<tr>
<td align='left' class='news-footer'>
Parašė: <a href='".BASEDIR."profile.php?lookup=".$info['user_id']."' class='news'>".$info['user_name']."</a>&nbsp; Data: <span style='color:#27AECC;font-weight:bold;'>".showdate("%d.%m.%Y", $info['news_date'])."</span>&nbsp; Komentarų: <a href='news.php?readmore=".$info['news_id']."' class='news'>".$info['news_comments']."</a>";
if (iADMIN && checkrights("N")) {
echo "&nbsp; [<input type='hidden' name='edit' value='edit'><a href='javascript:document.editnews".$info['news_id'].".submit();'>redaguoti</a>]";


echo "
</td>
</tr>
</form> ";
   echo "</td></tr></table></td></tr></table>\n";
}






erora meta

Parse error: syntax error, unexpected $end in /home/taadass/url.lt.lt.lt/themes/blueness/theme.php on line 163

Redagavo tm· 2008 Spa. 5 12:10:18