{php} if (empty($article->Alias)) { $article->Alias = $article->ID; } switch ((string)$article->Status) { case '0': $curStatus = "publish"; break; case '1': $curStatus = "draft"; break; case '2': $curStatus = "audit"; break; case '3': $curStatus = "private"; break; default: $curStatus = "publish"; break; }; {/php} AUTHOR: {$article.Author.StaticName} TITLE: {$article.Title} ID: {$article.ID} STATUS: {$curStatus} ISPAGE: {$article.Type} ISTOP: {if $article.IsTop}{$article.IsTop}{else}0{/if} ALLOW COMMENTS: {if $article.IsLock}0{else}1{/if} CATEGORY: {$article.Category.Name} DATE: {$article.Time('Y-m-d H:i:s')} BASENAME: {$article.Alias} ----- BODY: {$article.Content} ----- EXCERPT: {$article.Intro} ----- KEYWORDS: {$article.TagsName} ----- --------