0"; $result=mysql_query($query); $totprod = mysql_num_rows($result); $query="SELECT * FROM `carti` WHERE FIND_IN_SET('".$idc."',`categorie`)>0 ORDER BY `ana` DESC,`lunaa` DESC LIMIT {$idx},{$prod_per_page}"; $result=mysql_query($query); } $rsstitlu=$pt; $tablecod=makeprodtable($result,"",true); if ($tablecod == ''){ $pags=""; $tablecod="{$picerr} Nu exista titluri in aceasta categorie !"; } else{ $tags=maketag($query); $tags.=maketag($query,4,'autor'); if ($tags != ''){$tags="
Etichete
{$tags}
";} $url="categorie-{$dummy}-".$idc."-#.htm"; $pags=makepags($totprod,$idx,$url,$dom); } $rssfeed=""; $rsslink=""; $page=new ModulePage; $page->page_location("$path"."templates/browse.html"); $page->parse_variable(array(PTITLU=>"{$pt}",TABLE=>$tablecod,PAGELIST=>$pags,NP=>$np,CATEGORIE=>$pt,RSSFEED=>$rssfeed,RSSLINK=>$rsslink,TAGS=>$tags) ); echo $page->send_page; exit; ?>