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=''; ?> fields['cat_id']) { ?> MoveNext(); } } ?>
   
  ΚΑΤΗΓΟΡΙΕΣ CATEGORIES
 
 
  fields['cat_id'], 'cat_id', $sca_id, null, 'class=subcategory', 'category.php', ' where cat_id=' . $rs->fields['cat_id']); ?>
 


execute($q); if (strtoupper($lang)=='GR') { $msgNews = 'Δεν υπάρχουν ανακοινώσεις'; } else { $msgNews = 'There are no news'; } if ($rs->RecordCount()>0) { for ($i=0;$i<$rs->RecordCount();$i++) { if (strtoupper($lang)=='GR') { $title = $rs->fields['nws_title']; $descr = str_replace('filemanager', 'admin/filemanager', $rs->fields['nws_text']); } else { $title = $rs->fields['nws_title_en']; $descr = str_replace('filemanager', 'admin/filemanager', $rs->fields['nws_text_en']); } print '
' . $rs->fields['nws_date'] . ' ' . $title . '

'; print '
' . $descr . '

'; $rs->MoveNext(); } } else print '
'.$msgNews.'

'; ?>

© 2008 Προϊόντα ΚΩΣΤΗΣ
Design by NetChoice