Arkadaşlar Alt kategorili incelemelerde resimde de görüldüğü üzere bu başlıkların yerini değiştirmek istiyorum nasıl yaparız . readarticle.php kodları aşağıda
// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."articles/locale/".LOCALESET."articles.php")) {
// Load the locale file matching the current site locale setting.
include INFUSIONS."articles/locale/".LOCALESET."articles.php";
} else {
// Load the infusion's default locale file.
include INFUSIONS."articles/locale/English/articles.php";
}
if (!isset($article_id) || !isNum($article_id)) fallback("index.php");
if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
$result = dbquery(
"SELECT ta.*,tac.*, tu.user_id,user_name FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
LEFT JOIN ".$db_prefix."users tu ON ta.article_name=tu.user_id
WHERE article_id='$article_id'"
);
$res = 0;
if (dbrows($result) != 0) {
$data = dbarray($result);
// show pagination
if (count($article) > 1) {
$rows = $pagecount;
$article_info['navigation'] = "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,$rows,3,FUSION_SELF."?article_id=$article_id&")."\n</div>\n";
}
// show the category navigation for article
if (PRIAM_NAV) {
render_article1($article_subject, $article[$rowstart], $article_info);
} else {
render_article2($article_subject, $article[$rowstart], $article_info);
}
if (count($article) > 1) {
$rows = $pagecount;
echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,$rows,3,FUSION_SELF."?article_id=$article_id&")."\n</div>\n";
}
echo "<a href='".INFUSIONS."report_errors_panel/report_error.php?er_type=A&er_tid=".$info['article_id']."'><div align='left'><img border='0' src='".IMAGES."hatabildir.png' width='100' height='25' alt=''></div></a>";
if ($data['article_allow_comments']) showcomments("A","articles","article_id",$article_id,FUSION_SELF."?article_id=$article_id");
if ($data['article_allow_ratings']) showratings("A",$article_id,FUSION_SELF."?article_id=$article_id");
}
}
if ($res == 0) redirect("index.php");
opentable("En Son Eklenen 10 Konu");
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 83);
echo "<tr><td class='tbl' style='border-top:1px #ccc dotted;'> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."infusions/articles/readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>
// Check if locale file is available matching the current site locale setting.
if (file_exists(INFUSIONS."articles/locale/".LOCALESET."articles.php")) {
// Load the locale file matching the current site locale setting.
include INFUSIONS."articles/locale/".LOCALESET."articles.php";
} else {
// Load the infusion's default locale file.
include INFUSIONS."articles/locale/English/articles.php";
}
if (!isset($article_id) || !isNum($article_id)) fallback("index.php");
if (!isset($rowstart) || !isNum($rowstart)) $rowstart = 0;
$result = dbquery(
"SELECT ta.*,tac.*, tu.user_id,user_name FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
LEFT JOIN ".$db_prefix."users tu ON ta.article_name=tu.user_id
WHERE article_id='$article_id'"
);
$res = 0;
if (dbrows($result) != 0) {
$data = dbarray($result);
// show pagination
if (count($article) > 1) {
$rows = $pagecount;
$article_info['navigation'] = "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,$rows,3,FUSION_SELF."?article_id=$article_id&")."\n</div>\n";
}
// show the category navigation for article
if (PRIAM_NAV) {
render_article1(stripslashes($data['article_cat_name']), $article[$rowstart], $article_info);
} else {
render_article2(stripslashes($data['article_cat_name']), $article[$rowstart], $article_info);
}
if (count($article) > 1) {
$rows = $pagecount;
echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,$rows,3,FUSION_SELF."?article_id=$article_id&")."\n</div>\n";
}
echo "<a href='".INFUSIONS."report_errors_panel/report_error.php?er_type=A&er_tid=".$info['article_id']."'><div align='left'><img border='0' src='".IMAGES."hatabildir.png' width='100' height='25' alt=''></div></a>";
if ($data['article_allow_comments']) showcomments("A","articles","article_id",$article_id,FUSION_SELF."?article_id=$article_id");
if ($data['article_allow_ratings']) showratings("A",$article_id,FUSION_SELF."?article_id=$article_id");
}
}
if ($res == 0) redirect("index.php");
opentable("En Son Eklenen 10 Konu");
$result = dbquery(
"SELECT ta.*,tac.* FROM ".$db_prefix."articles ta
INNER JOIN ".$db_prefix."article_cats tac ON ta.article_cat=tac.article_cat_id
WHERE ".groupaccess('article_cat_access')." ORDER BY article_datestamp DESC LIMIT 0,10"
);
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemsubject = trimlink($data['article_subject'], 83);
echo "<tr><td class='tbl' style='border-top:1px #ccc dotted;'> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."infusions/articles/readarticle.php?article_id=".$data['article_id']."' title='".$data['article_subject']."' class='side'>$itemsubject</a><br>\n";
}
} else {
echo "<center>".$locale['004']."</center>\n";
}
closeside();
require_once BASEDIR."side_right.php";
require_once BASEDIR."footer.php";
?>
soul teşekkürler ama sadece yazılar değişti. yani tamam yer olarak değiştiler fakat kategori linki konu başlığında kaldı ve baştaki ok resmide duruyor
Düzenleyen: mustili Düzenleme Tarihi: 11.05.2008 10:50
Atlanilacak Forum:
¤
Php-Fusion Türkiye Resmi Destek ve Yardım Sitesi
¤