Parašė Plutas· 2014 Sau. 1 19:01:04
#1
Galite padėti turių ši koda ir šitoje vietoje meta error šitą: Notice: Undefined variable: link_class in /home/fenex/domains/fenex.us.lt/public_html/themes/Naturex/theme.php on line 91
Ir yra šone užrašo tokia nesamone,
function render_news($subject, $news, $info) {
global $locale, $data;
if ($info['cat_id']) {
$cat = "<a href='news_cats.php?cat_id=".$info['cat_id']."'$link_class>".$info['cat_name']."</a>";
} else {
$cat = "<a href='news_cats.php?cat_id=0'>".$locale['global_080']."</a>";
}
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr><td class='nmainab'>";
echo"<table cellpadding='0' cellspacing='0' width='100%'><tr><td>".$info['cat_name']."</td><td>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<td class='news'><div class='text'>".$subject."</div><div class='te'>Kategorija: ".$cat." Parašė: ".$info['user_name']." Data: ".showdate("%Y/%m/%d", $info['news_date'])."</div></td>\n";
echo "</tr>\n</table>\n";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
echo "<td class='main-body middle-border'>".$news."</td>\n";
echo "</tr>\n<tr>\n";
echo "<td style='height:5px;'></td>\n";
echo "</tr>\n</table>\n";
echo"</td></tr></table>";
echo"</td>
<td class='skaityti'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'><img src='".THEME."images/skaityti_txt.png' style='padding-left:13px;' /></a></td></tr></table>
<div style='height:5px;'></div>";
}
//