<#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.edit"/>
" onclick="this.form.action='v_list.do';" class="return-button"/>
<@p.form id="jvForm" action="o_update.do" labelWidth="12"> <@p.text colspan="1" width="50" label="cmsAdvertising.name" name="name" value=cmsAdvertising.name required="true" class="required" maxlength="100"/> <@p.select colspan="1" width="50" label="cmsAdvertising.adspace" name="adspaceId" value=cmsAdvertising.adspace.id list=adspaceList listKey="id" listValue="name" required="true"/><@p.tr/> <@p.radio colspan="2" label="cmsAdvertising.category" name="category" value=cmsAdvertising.category 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">
style="display:none;">

<@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="${(attr.image_target)!'_blank'?html}" list={"_blank":"cmsAdvertising.image.target._blank","_self":"cmsAdvertising.image.target._self"}/>

style="display:none;">

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

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

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

style="display:none;">

<@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="${(attr.text_target)!'_blank'?html}" list={"_blank":"cmsAdvertising.text.target._blank","_self":"cmsAdvertising.text.target._self"}/>

style="display:none;"> ${cmsAdvertising.code!?html}
<@p.tr/> <@p.text colspan="1" width="50" label="cmsAdvertising.startTime" name="startTime" value=cmsAdvertising.startTime style="width:120px" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"/> <@p.text colspan="1" width="50" label="cmsAdvertising.endTime" name="endTime" value=cmsAdvertising.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=cmsAdvertising.clickCount required="true" class="required digits" style="width:70px"/> <@p.text colspan="1" width="50" label="cmsAdvertising.displayCount" name="displayCount" value=cmsAdvertising.displayCount required="true" class="required digits" style="width:70px"/><@p.tr/> <@p.text colspan="1" width="50" label="cmsAdvertising.weight" name="weight" value=cmsAdvertising.weight required="true" class="required digits" style="width:70px"/> <@p.radio colspan="1" width="50" label="cmsAdvertising.enabled" name="enabled" value=cmsAdvertising.enabled list={"true":"global.true","false":"global.false"} required="true"/><@p.tr/> <@p.td colspan="2"><@p.hidden name="id" value=cmsAdvertising.id/><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>