{include include/head.htm}
{lang article.list}
{php}$_type = $wa->v('_type'); $_text = $wa->v('_text'); $_key = key($_text);{/php} {call FORM()}
{php} if(!$_order) $_order = 'article_id DESC'; if($_text[status] == ''){ $_GET['_text']['status'] = 0; $_GET['_type']['status'] = 2; } {/php} {gets name=article setpage=$wa->env['page'] orderby=$_order number=20 search=true unbuf=true item=rs} {/gets} {if !$rs}{/if}
{call set_order('article_id', ID)} {lang sys.field_title} {call set_order('hits', {lang article.hits})} {call set_order('timeadd', {lang article.timeadd})} {call set_order('status', {lang sys.field_status})} {lang sys.field_action}
{rs.article_id} {if {rs.status} == -1} {rs.title} {else} {rs.title} {/if} {rs.hits} {call get_date({rs.timeadd})} {call arr2htm({lang article.status_value}, {rs.status})} {if {rs.status} == -1} {else} {/if}
{lang sys.no_record}
{call showpage('rs', false, true)}
Copyright © 2012 {call SYS_HOSTNAME}
{call FORM('sys_bat')}