{echo:JS::import('form');} {echo:JS::import('date');} {echo:JS::import('editor');} {echo:JS::import('dialog?skin=brief');} {echo:JS::import('dialogtools');}

编辑广告

{if:isset($id)}{/if}
* 广告名称:
* 广告尺寸:
宽度: px     高度: px
*开始时间:
*结束时间:
* 是否开启:
描述:
* 广告类型:
{if:isset($type) && ($type==4) && preg_match('/^[Oa]:\d+:/',$content)} {set:$contents = unserialize($content);} {else:} {set:$contents = array(0=>array('position'=>0,'is_close'=>0))} {/if} 广告位置:
是否可关闭:
{if:isset($type) && ($type==1||$type==2||$type==4) && preg_match('/^[Oa]:\d+:/',$content)} {set:$contents = unserialize($content)} {list:items=$contents} {/list} {else:} {/if}
图片地址: 连接地址: 名称:
图片地址: 连接地址: 名称:
{if:isset($type) && $type==3} {set:$content = unserialize($content);extract($content);} {/if}
文字:连接: 颜色:
代码内容:
{token:key=form}