{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}
{if $categoryarr} {for $categoryarr $category}

## 更多>{echo $category['name']}

{php} $categoryidarr=$this->GetMysqlArray('*'," ".$this->GetTable('category')." WHERE upid='$category[catid]'"); $upidid=$category[catid]; foreach($categoryidarr as $upidarr){ $upidid.=','.$upidarr['catid']; } $helplist=$this->GetMysqlArray('*'," ".$this->GetTable('help')." WHERE catid IN($upidid) ORDER BY dateline DESC LIMIT 0,10"); {/php} {if $helplist} {for $helplist $value}
- {echo $this->str($value['subject'],22)}
{/for} {else}
- 暂时没有数据
{/if}

{/for} {else} {if !empty($list)}

## {echo $categoryname}列表

{if $list} {for $list $value}
- {echo $value['subject']}
{/for} {else}
- 暂时没有数据
{/if}

{if $page->ShowPages()}
{echo $page->ShowPages()}
{/if} {else}
- 暂时没有数据
{/if} {/if}
{ad Help67} {template phpapp:footer}