|
|
|
|
if (strtoupper($lang)=='GR') { ?>
ΚΑΤΗΓΟΡΙΕΣ
} else { ?>
CATEGORIES
} ?>
|
|
if (strtoupper($lang)=='GR')
printDataset($lang,'categories', 'subcategories', '*', 'cat_order', 'cat_name', 'cat_id', $cat_id, 'sca_id', $sca_id, 'sca_name', 'class=subcategory', 'category.php', ' where cat_visible=0 ');
else
printDataset($lang,'categories', 'subcategories', '*', 'cat_order', 'cat_name_en', 'cat_id', $cat_id, 'sca_id', $sca_id, 'sca_name_en', 'class=subcategory', 'category.php', ' where cat_visible=0 ');
?>
|
$q="select * from categories where cat_visible=1";
$rs = $DB->execute("$q");
$n=$rs->RecordCount();
//echo '->' . $n . '';
if ($n>0) {
for ($i=0;$i<$n;$i++) {
if ($cat_id==$rs->fields['cat_id'])
$sel='_sel';
else $sel='';
?>
|
|
if ($cat_id==$rs->fields['cat_id']) {
?>
|
printDataset($lang,'subcategories', null, '*', 'sca_order', 'sca_name', 'sca_id', $rs->fields['cat_id'], 'cat_id', $sca_id, null, 'class=subcategory', 'category.php', ' where cat_id=' . $rs->fields['cat_id']);
?>
|
}
$rs->MoveNext();
}
}
?>
|
if (strtoupper($lang)=='GR')
searchModule('ΑΝΑΖΗΤΗΣΗ ΚΩΔΙΚΟΥ','Αποδοχή');
else
searchModule('SEARCH BY CODE','Submit');
?>
|
|
|
|
$query = "SELECT * FROM texts WHERE txt_id=1";
$rs = $DB->execute("$query");
$numFilas = $rs->RecordCount();
if (strtoupper($lang)=='GR')
print str_replace('filemanager', 'admin/filemanager', $rs->fields['txt_filosophy']);
else
print str_replace('filemanager', 'admin/filemanager', $rs->fields['txt_filosophy_en']);
?>
|
|