{tpl "head"} if($rootcat["pic"]) :

# {$rootcat.title}

endif;

- 首页
{yy:breadcumb catid=$catid} {loop} {if $v['id']!=$catid }
- {$v.title}
{else}
- {$v.title}
{/if} {/loop} {/yy}

{form catid="$catid" onsubmit="return check();"} {loop item="vf"} $formctrl=$vf["formctrl"]; if($vf['isrequired']){ $strrequired="*"; } else{ $strrequired=""; } if($this->member){if(array_key_exists($vf['fdname'],$this->member)){ $ishas=true;}} {if $formctrl=='text'}
{$vf.fdtitle}{$strrequired}
{elseif $formctrl=='textarea'}
{$vf.fdtitle}{$strrequired}
{php if(!empty($ishas)) echo $this->member[$vf['fdname']];}
{elseif $formctrl=='editor'}
{$vf.fdtitle}{$strrequired}
{else}
{$vf.fdtitle}{$strrequired}
{/if} {/loop}
{/form}
{tpl 'foot'}