Parašė Dandžu· 2008 Rugp. 4 22:08:22
#12
Tu daug apie mane nežinai kaip aš sau prieštarauju ir ne. ;) Atsidarai news.php susirandi:
$news_news = $data['news_breaks'] == "y" ? nl2br(stripslashes($data['news_news'])) : stripslashes($data['news_news']);
if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
Po juo dedi:
"news_subject" => $data['news_subject'],
Susirandi:
}
}
$news_news = stripslashes($data['news_extended'] ? $data['news_extended'] : $data['news_news']);
if ($data['news_breaks'] == "y") { $news_news = nl2br($news_news); }
if ($news_cat_image != "") $news_news = $news_cat_image.$news_news;
$news_info = array(
"news_id" => $data['news_id'],
"user_id" => $data['user_id'],
"user_name" => $data['user_name'],
"news_date" => $data['news_datestamp'],
Po juo dedi:
"news_subject" => $data['news_subject'],
Tada theme.php vietoj $subject dedi:
<a href='news.php?readmore=".$info['news_id']."'>".$info['news_subject']."</a>
Redagavo Dandžu· 2008 Rugp. 4 22:08:13