<#include "/jeecms_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"/>
<@p.form id="jvForm" action="o_save.do" labelWidth="12"> <@p.text colspan="1" width="50" label="cmsAdvertising.name" name="name" required="true" class="required" maxlength="100"/> <@p.select colspan="1" width="50" 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.text colspan="1" width="50" label="cmsAdvertising.startTime" name="startTime" style="width:120px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/> <@p.text colspan="1" width="50" label="cmsAdvertising.endTime" name="endTime" style="width:120px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/><@p.tr/> <@p.text colspan="1" width="50" label="cmsAdvertising.clickCount" name="clickCount" value="0" required="true" class="required digits" style="width:70px"/> <@p.text colspan="1" width="50" label="cmsAdvertising.displayCount" name="displayCount" value="0" required="true" class="required digits" style="width:70px"/><@p.tr/> <@p.text colspan="1" width="50" label="cmsAdvertising.weight" name="weight" value="1" required="true" class="required digits" style="width:70px"/> <@p.radio colspan="1" width="50" label="cmsAdvertising.enabled" name="enabled" value="true" list={"true":"global.true","false":"global.false"} required="true"/><@p.tr/> <@p.td colspan="2"><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>