{template 'header', $module}
{if $action == 'add'}

Advertising name： | {$p[name]}
Advertising type： | {$TYPE[$typeid]}
{if $p[introduce]}
introduce： | {$p[introduce]}
{/if} {if $p[width] && $p[height]}
Advertising size： | {$p[width]}px X {$p[height]}px
{/if} {if $typeid == 1}
* AD code： |
{elseif $typeid == 2}
* Link text： |
* link： |
Title tip： |
{elseif $typeid == 3 || $typeid == 5}
* Pictures address： | [upload] [preview] [删除]
link： |
title： |
{elseif $typeid == 4}
* Flash address： |
Loop： | Yes NO
link： |
{elseif $typeid == 6}
Module： | {$MODULE[$p[moduleid]][name]}
Class： | {ajax_category_select('post[catid]', 'Please choose', 0, $p[moduleid])}
keyword： |
{if $p[moduleid] == 4} {else}
*informationID： | choose..
{/if} {elseif $typeid == 7}
module： | {$MODULE[$p[moduleid]][name]}
Class： | {ajax_category_select('post[catid]', 'Please choose', 0, $p[moduleid])}
keyword： |
* AD code： |
{/if}
* Start date： | {dcalendar('post[fromtime]', $fromdate)}
* Buy duration： | (note: according to the 30 day/month calculation)
{if $price}
Advertising prices： | {$p[price]} {$unit}/month
Deal with price： | {$p[price]}{$unit}
{if $currency == 'money'}
{$DT[money_name]}balance： | {$_money}{$unit} [recharge]
* PayPassword： | {template 'password', 'chip'}
{else}
{$DT[credit_name]}balance： | {$_credit}{$unit} [buy]
{/if} {/if}
Note matters： |

{load('clear.js')}
{else}

Advertising types | Advertising name | offer price | unit | Start date | End date | Surplus (days) | On the state | Application | preview
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
{loop $lists $k $v}
{$TYPE[$v[typeid]]} | {$v[title]} | {$v[amount]} | {if $v[currency] == 'money'}{$DT[money_unit]}{else}{$DT[credit_unit]}{/if} | {timetodate($v[fromtime], 3)} | {timetodate($v[totime], 3)} {$v[days]} | {$v[process]} | {timetodate($v[addtime], 5)} | preview
{/loop}

{$pages}
{/if} {template 'footer', $module}