<table width="100%" cellpadding="0" cellspacing="1" align="center" bgcolor="#fcc9a8" style="margin-top:5px;">
<tr>
<td class="td_dsp">大&nbsp;图&nbsp;名&nbsp;称&nbsp;:<b style="font-size: 12px"></b></td>
    <td class="td_value" colspan="3">
<s:textfield id="name" name="ads.name" />
</td>
</tr>
<tr>
<td class="td_dsp"> 
选&nbsp;择&nbsp;产&nbsp;品&nbsp;:
<b style="font-size: 12px"></b>
</td>
<td class="td_value" colspan="3">
<input type="hidden" id="productIds" name="productIds"
value="<s:property value="#request.productIds"/>" /> <input id="productNames" name="productNames"
value="<s:property value="#request.productNames"/>"
readonly="readonly" style="width: 150px;"
onfocus="showProduct('id');" /> <a href="javascript:showProduct('id');" class="search"
onfocus="this.blur();"> <img src="images/search.png" /> </a>
</td>
</tr>
<tr>
<td class="td_dsp">
页面图片一:
</td>
<td class="td_value" colspan="3">
<input type="file"  class="file" name="file" id="file"/><button onclick="doUpload()">上传</button>
<br />
<span id="upload_error1" style="color: red;"></span>
<span class="form-info">图片格式支持:png/jpeg/jpg;自动截取690*280</span>
<br />
<s:if test="tmpFileName != '' and tmpFileName != null">
<img src="${TMP_URL}/<s:property value="tmpFileName"/>"/>
</s:if>
<s:elseif test="ads.ldpiPic != null and ads.ldpiPic != ''">
<img src="${WEB_HOME_FLASH_URL}/<s:property value="ads.ldpiPic"/>"/>
</s:elseif>
<s:else>
<img src="<%=path%>/images/no_pic.png"/>
</s:else>
</td>
</tr>
<tr>
<td class="td_dsp">
页面图片二:
</td>
<td class="td_value" colspan="3">
<input type="file"  class="file" name="files" id="files"/><button onclick="doUpload()">上传</button>
<br />
<span id="upload_error1" style="color: red;"></span>
<span class="form-info">图片格式支持:png/jpeg/jpg;自动截取690*280</span>
<br />
<s:if test="tmpFileNames != '' and tmpFileNames != null">
<img src="${TMP_URL}/<s:property value="tmpFileNames"/>"/>
</s:if>
<s:elseif test="ads.mdpiPic != null and ads.mdpiPic != ''">
<img src="${WEB_HOME_FLASH_URL}/<s:property value="ads.mdpiPic"/>"/>
</s:elseif>
<s:else>
<img src="<%=path%>/images/no_pic.png"/>
</s:else>
</td>
</tr>
<tr>
<td class="td_dsp">
页面图片三:
</td>
<td class="td_value" colspan="3">
<input type="file"  class="file" name="filess" id="filess"/><button onclick="doUploads()">上传</button>
<br />
<span id="upload_error1" style="color: red;"></span>
<span class="form-info">图片格式支持:png/jpeg/jpg;自动截取690*280</span>
<br />
<s:if test="tmpFileNamess != '' and tmpFileNamess != null">
<img src="${TMP_URL}/<s:property value="tmpFileNamess"/>"/>
</s:if>
<s:elseif test="ads.hdpiPic != null and ads.hdpiPic != ''">
<img src="${WEB_HOME_FLASH_URL}/<s:property value="ads.hdpiPic"/>"/>
</s:elseif>
<s:else>
<img src="<%=path%>/images/no_pic.png"/>
</s:else>
</td>
</tr>
</table>
<table  align="center">
<tr>

<td>
<button  class="btn" type="submit" id="add_btn">
提交
</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button class="btn" onclick="reList()" >
取消
</button>
<br />
</td>
</tr>
</table>
</s:form>

</div>
<div id="loadDivBg"
style="display: none; overflow: hidden; position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 1; background-color: #ffebd7; text-align: center;"></div>
<%-- 选择产品 --%>
<div id="searchProduct"
style="background-color: #ffffff; border: 1px solid #ffb07b; display: none; position: absolute; left: 50%; top: 50%; margin-left: -400px; margin-top: -200px; width: 800px; height: 400px; z-index: 2;">
<div class="table_th">
<div style="float: left; width: 80px;">
请选择产品
</div>
<div
style="float: right; width: 40px; height: 25px; line-height: 25px;">
<a href="javascript:hideProduct();" title="关闭"><img
src="images/delete.png" /> </a>
</div>
</div>
<iframe id="productFrame" frameborder="0"
style="width: 800px; height: 374px;"></iframe>
</div>

  </body>
</html>Web