<#include "/jeebbs_sys/head.html"/>
<#include "/common/image_upload.html"/> <#include "flash_upload.html"/>
<@s.m "global.position"/>: <@s.m "cmsAdvertising.function"/> > <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';" class="return-button"/>
<#assign usernameNotExist><@s.m "error.usernameNotExist"/> <@p.form id="jvForm" action="o_save.do" labelWidth="12" class="formDefStyle"> <@p.text colspan="2" width="100" label="cmsAdvertising.name" name="name" required="true" class="required" maxlength="100"/> <@p.tr/> <@p.text colspan="2" width="100" label="广告主" name="username" id="username" vld="{username:true,remote:'../user/v_find_username.do',messages:{remote:'${usernameNotExist}'}}" maxlength="100"/> <@p.tr/> <@p.select colspan="2" width="100" label="cmsAdvertising.adspace" name="adspaceId" list=adspaceList listKey="id" listValue="name" required="true"/><@p.tr/> <@p.radio colspan="2" label="cmsAdvertising.category" name="category" value="image" list={"image":"cmsAdvertising.category.image","flash":"cmsAdvertising.category.flash","text":"cmsAdvertising.category.text","code":"cmsAdvertising.category.code"} onclick="attrChange(this.value)" required="true"/><@p.tr/> <@p.td colspan="2" label="cmsAdvertising.attr" required="true">

<@s.m "cmsAdvertising.image.url"/>:

<@s.m "cmsAdvertising.image.upload"/>: " onclick="upload(1);"/>

<@s.m "cmsAdvertising.image.size"/>: * <@s.m "cmsAdvertising.image.size.help"/>

<@s.m "cmsAdvertising.image.link"/>:

<@s.m "cmsAdvertising.image.title"/>:

<@s.m "cmsAdvertising.image.target"/>: <@p.radio name="attr_image_target" value="_blank" list={"_blank":"cmsAdvertising.image.target._blank","_self":"cmsAdvertising.image.target._self"}/>

<@s.m "cmsAdvertising.flash.url"/>:

<@s.m "cmsAdvertising.flash.upload"/>: " onclick="uploadFlash(1);"/>

<@s.m "cmsAdvertising.flash.size"/>: * <@s.m "cmsAdvertising.flash.size.help"/>

<@s.m "cmsAdvertising.text.title"/>:

<@s.m "cmsAdvertising.text.link"/>:

<@s.m "cmsAdvertising.text.color"/>:

<@s.m "cmsAdvertising.text.font"/>: <@s.m "cmsAdvertising.text.font.help"/>

<@s.m "cmsAdvertising.text.target"/>: <@p.radio name="attr_text_target" value="_blank" list={"_blank":"cmsAdvertising.text.target._blank","_self":"cmsAdvertising.text.target._self"}/>

<@p.tr/> <@p.radio colspan="2" width="100" label="计费方式" name="chargeMode" value="0" list={"0":"cmsAdvertising.chargeMode.0","1":"cmsAdvertising.chargeMode.1","2":"cmsAdvertising.chargeMode.2"} onclick="chargeModeChange(this.value)" required="true"/> <@p.tr/> <@p.td colspan="2" label="收费" required="true">
广告天数 <@s.m "cmsAdvertising.startTime"/> 费用
<@p.tr/> <@p.td colspan="2"><@p.submit code="global.submit" class="submit"/><@p.reset code="global.reset" class="cancel"/>