<!--{template @admin/header}-->
{eval $urlBase = ini('settings.site_url').'/';}
{~ui('loader')->css('#admin/cdp.res/ops')}
{~ui('loader')->js('#admin/cdp.res/flash.ops')}
<div class="export_link"> <a class="button  back1 back2 fr" href="{~ihelper('tg.help.cdp')}" target="_blank">使用帮助</a> </div> <form action="?mod=express&code=corp&op=cdpSave" method="post" enctype="multipart/form-data" name="theForm" id="theForm"> <input type="hidden" name="act" value="" /> <input type="hidden" name="config_lable" value="" /> <input type="hidden" name="corp_id" value="{$corp['id']}" /> <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> <tr class="header"> <td>[{$corp['name']}] - 快递单打印模板编辑 / <a href="?mod=express&code=corp&op=list">[ 返回 ]</a></td> </tr> <tr> <td> <select name="lable" id="lable" class="select_box" onchange="javascript:call_flash('lable_add', this);"> <option value="" selected="selected">--选择插入标签--</option>
{loop $lables $value $name}
<option value="{$value}">{$name}</option>
{/loop}
</select> <input type="button" onclick="javascript:call_flash('lable_del', this);" value="删除标签" /> <span id="pic_control_upload"{if $cdp['bgid']} class="display_no"{/if} style="margin: auto 20px;"> <input type="file" name="bg" id="bg" > <input type="button" name="upload" id="upload" value="上传打印单图片" onclick="javascript:bg_upload();" {echo $cdp['bgid'] ? 'disabled="disabled"' : ''}/> <iframe id="bg_upload_hidden" name="bg_upload_hidden" frameborder="0" scrolling="no" class="display_no"></iframe> </span> <span id="pic_control_del"{if !$cdp['bgid']} class="display_no"{/if} style="margin: auto 20px;"> <input type="button" name="upload_del" id="upload_del" onclick="javascript:bg_del();" value="删除打印单图片" {echo $cdp['bgid'] ? '' : 'disabled="disabled"'}/> </span> <input type="button" value="保存设置" onclick="javascript:save();"> </td> </tr> <tr> <td id="xEditingArea" style="background: #fff;"> <div style="border: 1px solid #ccc;width:1024px;height:598px;"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="1024" height="600" id="swfPrint"> <param name="movie" value="{$urlBase}templates/admin/cdp.res/pint.swf"> <param name="quality" value="high"> <param name="menu" value="false"> <param name="wmode" value="transparent"> <param name="FlashVars" value="{$flashVars}"> <param name="allowScriptAccess" value="sameDomain"/> <embed src="{$urlBase}templates/admin/cdp.res/pint.swf" wmode="transparent" FlashVars="{$flashVars}" menu="false" quality="high" width="1024" height="600" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="sameDomain" name="swfPrint" swLiveConnect="true"/> </object> </div> </td> </tr> </table> </form> <!--{template @admin/footer}-->