'.$titlu.'
 
'; $result = mysql_query("SELECT * FROM ecomitems WHERE idsubcat = " . $_GET["idcat"]); $i = 0; if($result && mysql_num_rows($result)){ while($row = mysql_fetch_array($result,MYSQL_ASSOC)){ $path = 'images/ecommerce/item_'.$row['iditem'].'.jpg'; if(!file_exists($path)) $path ='images/ecommerce/nopicture.jpg'; if(($i%4 == 0) && ($i != 0)){ echo ' '; } echo ' '; $i++; }//while }else echo' '; echo '
 
'.$row['name'].'

'.(strlen($row['description'])<100?$row['description']:substr($row['description'], 0, 100).'...').'
   Engar nıjar vörur til stağar
 
'; ?>