PublicInitialize(); $aepublic->RequestVariables(); $aepublic->GetArchive(1,0,0,0,0,$aepublic->articleID); $aepublic->DBGetRow(); $aepublic->GetArticle(); $aepublic->UpdateArticleStats($aepublic->GetArticleID()); // $aepublic->ReplaceImageTags(0); // Set to 1 if you want to replace image tags in text // $aepublic->ReplaceFileTags(0); // Set to 1 if you want to replace file tags in text echo '

'; $aepublic->GetArticleTitle(); echo '

'; $aepublic->GetArticleAuthor(); $aepublic->GetAuthorName(); echo ' | '; $aepublic->GetArticleDate(); echo ' | '; $aepublic->GetArticleTime(); echo ' | Views: '; $aepublic->GetArticleStats($aepublic->GetArticleID()); echo '
'; $aepublic->GetArticleText(); echo '
'; echo '

'; echo 'Published in sections: '; $aepublic->GetArticleSections($aepublic->GetArticleID()); while ($aepublic->DBGetRow()) { $aepublic->GetSectionName(); echo ' :: '; } echo '

'; $aepublic->GetArticleImageSet($aepublic->imagesetID); while ($aepublic->DBGetRow()) { echo '',$aepublic->GetImageDescription(),'
'; } $aepublic->GetArticleFileSet($aepublic->filesetID); while ($aepublic->DBGetRow()) { echo '',$aepublic->GetFileName(),'
'; } $aepublic->GetRelatedArchive($aepublic->GetArticleID()); $i=0; while ($aepublic->DBGetRow()) { //$syndicated=$aepublic->TestSyndication(); //if ($aepublic->topsectionID AND !$syndicated) continue; $i++; if ($i==1) echo '
Related articles:
'; $aepublic->GetArticle(); if ($aepublic->cleanurls) { if ($aepublic->filename) echo ''; else echo ''; } else echo ''; $aepublic->GetArticleTitle(); echo '
'; } ?>