$xoopsTpl->assign('author_id',$uid); $xoopsTpl->assign('user_avatarurl', XOOPS_URL.'/uploads/'.$thisuser->getVar('user_avatar')); $xoopsTpl->assign('author_name',$authname); $xoopsTpl->assign('lang_date',_MA_NW_DATE); $xoopsTpl->assign('lang_hits',_MA_NW_VIEWS); $xoopsTpl->assign('lang_title',_MA_NW_TITLE); $xoopsTpl->assign('nw_rating',nw_getmoduleoption('ratenews', NW_MODULE_DIR_NAME)); $xoopsTpl->assign('lang_rating',_MA_NW_RATING); $xoopsTpl->assign('author_name_with_link',sprintf("<a href='%s'>%s</a>",XOOPS_URL.'/userinfo.php?uid='.$uid,$authname)); $oldtopic=-1; $oldtopictitle=''; $oldtopiccolor=''; $articlelist=array(); $articlestpl=array(); $articlelist=$articles->getAllPublishedByAuthor($uid,$xoopsModuleConfig['restrictindex'],false); $articlescount=count($articlelist); $xoopsTpl->assign('articles_count',$articlescount); $count_articles = $count_reads = 0; // DNPROSSI SEO $seo_enabled = nw_getmoduleoption('nw_seo_enable', NW_MODULE_DIR_NAME); if($articlescount>0) { foreach ($articlelist as $article) { if($oldtopic!=$article['topicid']) { if(count($articlestpl)>0) { // DNPROSSI SEO if ( $seo_enabled == 1 ) { $cat_path = str_replace('"','', nw_remove_accents($oldtopictitle)); $topic_link=sprintf("<a href='%s'>%s</a>", NW_MODULE_URL . '/articles.cat.' . $oldtopic . '/' . $cat_path , $oldtopictitle);