Tekrar cok tesekkürler hizli cevabiniz iicn.. Benim sorunum Shop sitesi xtc-commerce üzerine yapilmis bir SHOP kendi templatesini giydirmis ve nodüller eklemis.
ama sayfadaki index.php de bunlar var..
-----------------
include ('includes/application_top.php');
// create smarty elements
$smarty = new Smarty;
// include boxes
require (DIR_FS_CATALOG.'templates/'.CURRENT_TEMPLATE.'/source/boxes.php');
// the following cPath references come from application_top.php
$category_depth = 'top';
if (isset ($cPath) && xtc_not_null($cPath)) {
// BOF GM_MOD
if(GROUP_CHECK == 'false')
{
$categories_products_query = "SELECT COUNT(*) AS total
FROM
".TABLE_PRODUCTS_TO_CATEGORIES." ptc,
" . TABLE_PRODUCTS . " p
WHERE
ptc.categories_id = '".$current_category_id."'
AND ptc.products_id = p.products_id
AND p.products_status = '1'";
}
else
{
$c_gm_customers_status_id = (int)$_SESSION['customers_status']['customers_status_id'];
$categories_products_query = "SELECT COUNT(*) AS total
FROM
".TABLE_PRODUCTS_TO_CATEGORIES." ptc,
" . TABLE_PRODUCTS . " p
WHERE
ptc.categories_id = '".$current_category_id."'
AND ptc.products_id = p.products_id
AND p.products_status = '1'
AND p.group_permission_" . $c_gm_customers_status_id . " = '1'";
}
// EOF GM_MOD
$categories_products_query = xtDBquery($categories_products_query);
$cateqories_products = xtc_db_fetch_array($categories_products_query, true);
if ($cateqories_products['total'] > 0) {
$category_depth = 'products'; // display products
} else {
$category_parent_query = "select count(*) as total from ".TABLE_CATEGORIES." where parent_id = '".$current_category_id."'";
$category_parent_query = xtDBquery($category_parent_query);
$category_parent = xtc_db_fetch_array($category_parent_query, true);
if ($category_parent['total'] > 0) {
$category_depth = 'nested'; // navigate through the categories
} else {
$category_depth = 'products'; // category has no products, but display the 'no products' message
}
}
}
require (DIR_WS_INCLUDES.'header.php');
include (DIR_WS_MODULES.'default.php');
$smarty->assign('language', $_SESSION['language']);
$smarty->caching = 0;
if (!defined(RM))
$smarty->load_filter('output', 'note');
$smarty->display(CURRENT_TEMPLATE.'/index.html');
include ('includes/application_bottom.php');
?>
------------------
SORU: burdami kullanicam o kodlari yoksa baska yeremi? eger vaktiniz olurda bakabilirseniz sevinirim.. Tesekkürler...