{template phpapp:header} {template search_top}
{ad Help68}

## 帮助导航

{php} $category=$this->GetMysqlArray('*'," ".$this->GetTable('category')." WHERE type='$this->app' AND upid=0 ORDER BY displayorder ASC"); {/php} {if $category} {for $category $value}

### {echo $value['name']}

{php} $categorysubarr=$this->GetMysqlArray('*'," ".$this->GetTable('category')." WHERE type='$this->app' AND upid='$value[catid]' ORDER BY displayorder ASC"); {/php} {if $categorysubarr} {for $categorysubarr $categorysub}
- {echo $categorysub['name']}
{/for} {/if} {/for} {/if}

{ad Help69}

### {echo $this->GetSelectCategory('category',intval($showhelp['catid']),'PathCatid','','',1)}

## {echo $showhelp['subject']}

{if $fieldarray=$this->GetTableFieldArray('help')}
{for $fieldarray $field}

{echo $field['name_phpapp']}： {echo $this->str($showhelp[$field['field_phpapp']],99999,0,1,0,0,1)}

{/for}
{/if}
{echo $this->str($showhelp['content'],9999999,0,1,0,0,1)}
{php} $files=$this->FileList($showhelp['hid'],1); {/php} {if $files} {template phpapp:file} {/if}
{php} $uptask=$this->GetMysqlOne('hid,subject'," ".$this->GetTable('help')." WHERE hid<'$hid' ORDER BY hid DESC LIMIT 0,1"); {/php} {php} $nexttask=$this->GetMysqlOne('hid,subject'," ".$this->GetTable('help')." WHERE hid>'$hid' LIMIT 0,1"); {/php}

- 上一个帮助{if $uptask}{echo $uptask['subject']}{else}暂无数据{/if}
- 下一个帮助{if $nexttask}{echo $nexttask['subject']}{else}暂无数据{/if}

{ad Help81} {template phpapp:footer}