Parašė bruzgis· 2009 Lap. 19 02:11:31
#145
ne cia problema.
Atsidarai news.php ir pries pirmaji rende_news pamatysi info stulpeli
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
"news_ext" => $data['news_extended'] ? "y" : "n",
"news_reads" => $data['news_reads'],
"news_comments" =>
"news_allow_comments" => $data['news_allow_comments'] );
ikisk tokia eilute:
"naujiena" => "<a href='".FUSION_SELF."?readmore=".$data['news_id']."' title='Visa naujiena'>".nl2br(stripslashes($data['news_news']))."</a>"
Tai atrodys taip:
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
"news_ext" => $data['news_extended'] ? "y" : "n",
"news_reads" => $data['news_reads'],
"news_comments" =>
"news_allow_comments" => $data['news_allow_comments'],
"naujiena" => "<a href='".FUSION_SELF."?readmore=".$data['news_id']."' title='Visa naujiena'>".nl2br(stripslashes($data['news_news']))."</a>"
);
Tada atsidaryk theme.php faila ir render_news dalyje lentelej susirask
$news ir pakeisk i
".$info['naujiena']."