include("gestione/includes/config.inc.php"); include("gestione/includes/auth.lib.php"); include("gestione/includes/content.class.php"); include("gestione/includes/product.class.php"); $topic = new topic(1); $menuSx = $topic->getMenusx(); $cid = $_GET['cid']; $idarticolo = $_GET['idarticolo']; ################################## CONTENT ################################################### if($idarticolo!="") { $newArt = new articoli($idarticolo); $content = $newArt->getDetail(); $cid = $newArt->cid; $cat = new category($cid); $navbar = articoli::getNavbar($cid,''.$cat->titolo.''); } else { $cat = new category($cid); $content = $cat->getArticoli(); $navbar = articoli::getNavbar($cid,$cat->titolo); } ################################ indicizzazione ################################################# $tagtitle = $newArt->tagtitle; $tagkey = $newArt->tagkey; $tagdesc = $newArt->tagdesc; $metatitle = $newArt->metatitle; $metakey = $newArt->metakey; $metadesc = $newArt->metadesc; $hidden = $newArt->hidden; ############################################################################################## if($cat->idfather!=0) { $cid = $cat->idfather; } $menuProd = category::menuSx($cid); ############################################################################################## ?>