{template 'phpcms','header'}
{template "member","left"}
{if $action=='add'}

發佈信息

{$fields} {if $MOD['check_code']} {/if}
類別 {$category_select}
地區 {ajax_area_select('areaid', $channelid)}
標題* {$type_select}
截至日期 {$date_select('endtime')} 格式:yyyy-mm-dd 留空表示不限
標題圖片
內容* {$editor("content",$MOD['editor_mode'],$MOD['editor_width'],$MOD['editor_height'])}
聯繫人*
電話*
地址
E-mail
MSN
Q Q
驗證碼 驗證碼,看不清楚?請點擊刷新驗證碼
{elseif $action=='edit'}

編輯信息

{$fields} {if $MOD['check_code']} {/if}
所屬欄目 {$category_select} *
地區 {$AREA[$areaid]['areaname']} 點擊重選
標題 {$type_select} *
截至日期 {$date_select('endtime', $endtime)} 格式:yyyy-mm-dd 留空或填0表示不限
標題圖片
內容 {$editor("content",$MOD['editor_mode'],$MOD['editor_width'],$MOD['editor_height'])}
聯繫人*
電話*
地址
E-mail
MSN
Q Q
驗證碼 驗證碼,看不清楚?請點擊刷新驗證碼
{elseif $action=='preview'}

{$title}

{loop $fields $f} {/loop}
欄目 {$catname}
標題 {$title}
地區 {$AREA[$areaid]['areaname']}
發佈日期 {$adddate}
截至日期 {$enddate}
標題圖片 {$thumb}
內容 {$content}
聯繫人 {$author}
電話* {$telephone}
地址 {$address}
E-mail {$email}
MSN {$msn}
Q Q {$qq}
{$f[title]} {$f[value]}
返回 編輯 刪除
{elseif $action=='manage'}

信息管理 [ {if $status==3}已通過{elseif $status==1}待審核{elseif $status==0}草稿{elseif $status==2}退稿{/if} ]

{loop $infos $info} {/loop}
ID 標題 欄目 發表時間 點擊 管理操作
{$info[infoid]}  {if $info[type]}{$info[type]} {/if}{if $info['status']==3}{else}{/if}{$info['title']} {$info['catname']} {$info['adddate']} {$info['hits']} {if $status==3}刷新 | {/if}編輯 | 刪除
{$pages}
    {$category_select} 
{/if}
{template 'phpcms','footer'}