<!--{include file="<!--{$oetplpath}-->widget_header.tpl"}-->
<link rel="stylesheet" href="<!--{$urlpath}-->tpl/static/color/css/jquery.bigcolorpicker.css" />
<script src="<!--{$urlpath}-->tpl/static/color/js/jquery.bigcolorpicker.js"></script>
<div class="oe_content_layout">
  <!--{include file="<!--{$oetplpath}-->widget_menu.tpl"}-->

  <div class="oe_cont_rt">
    
	<div class="oe_content_widget">
	
	  
	  <!--{if $a != "run"}-->
	  <div class="oe_tab_list">
        <ul>
          <li<!--{if $a == "banner"}--> class="current"<!--{/if}-->><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=banner">店招设置</a></li>
		  <li<!--{if $a == "nav"}--> class="current"<!--{/if}-->><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=nav">导航设置</a></li>
          <li<!--{if $a == "page"}--> class="current"<!--{/if}-->><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=page">店铺背景</a></li>
		  <li<!--{if $a == "diyhtml"}--> class="current"<!--{/if}-->><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=diyhtml">自定义内容</a></li>
		  <li><a href="<!--{$oefile}-->&c=slide">广告幻灯片</a></li>
        </ul>
      </div>
	  <!--{/if}-->
	  
	  <!--{if $a == "run"}-->
	  <h3 class="oe_f_title _bottom_border">
	    <i></i>设置店铺风格模板
		<span>（选择并启用店铺风格模板，装修店铺需要权限，如果您还没权限，请先升级店铺）</span>
	  </h3>
	  <!--{assign var="skinlist" value=vo_list("mod={shopskin}")}-->
      <div class="oe_shop_skin">
	    <!--{foreach $skinlist as $volist}-->
        <dl<!--{if $volist.skinid == $login.shop.skinid}--> class="current"<!--{/if}-->>
          <dt><img src="<!--{$volist.skinimg}-->" /></dt>
          <dd>
            <h4><!--{$volist.skinname}--></h4>
            <p>
			<!--{if $volist.skinid == $login.shop.skinid}-->
			<span><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=banner">装修店铺</a></span>
			<!--{else}-->
			<span><a href="<!--{$oefile}-->&c=<!--{$c}-->&a=use&skinid=<!--{$volist.skinid}-->">启用模板</a></span>
			<!--{/if}-->
			</p>
          </dd>
        </dl>
		<!--{/foreach}-->
        <div class="clear"></div>
      </div>
	  <!--{/if}-->
	  
	  <!--{if $a == "banner"}-->
	  <h3 class="oe_f_title _bottom_border">
	    设置店铺的店招和通栏
		<span>（通栏背景颜色和通栏背景图设置任意一项即可，如两项都设置了，会以背景图优先）</span>
	  </h3>
	  <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post" />
	  <input type="hidden" name="a" id="a" value="savebanner" />
	  <table class="oe_table_info">
		<tr>
		  <td colspan="2" height="10px"> </td>
		</tr>
	    <tr>
		  <th align="right" width="15%">店招图片：<font color="red"></font></th>
		  <td width="85%">
			<table class="oe_table_wrap">
			  <tr>
				<td width="60px">
				  <!--{if empty($login.shop.banner)}-->
				  <img f="view" style="cursor:pointer;" src="tpl/static/images/waitimg_s.jpg" width="60px" height="60px" class="_img_border" id="bannerimg_preview" />
				  <!--{else}-->
				  <img f="view" style="cursor:pointer;" src="<!--{$login.shop.banner}-->" width="60px" height="60px" class="_img_border" id="bannerimg_preview" />
				  <!--{/if}-->
				</td>
			    <td width="90px">
				  <div class="oe_img_upload">
					<label class="_uploadbtn">点击上传<input type="file" name="bannerimg" id="bannerimg" value="" /></label>
					<label class="_uploading" id="bannerimg_loading">
					  <img src="<!--{$urlpath}-->tpl/static/images/loading.gif" />
					</label>
					<input type="hidden" id="bannerimg_thumb" name="bannerimg_thumb" value="" />
					<input type="hidden" id="bannerimg_url" name="banner" value="<!--{$login.shop.banner}-->" />
				  </div>
				  <script type="text/javascript">
				  $(function(){
					  $("#bannerimg").live("change", function(){
						oemarryUploadImg("bannerimg", "<!--{$oefile}-->&c=index&a=uploadimg&module=shop&forbidcom=1&forbidwater=1");
					  });
				  });
				  </script>
				</td>
				<td>
				  <a href="javascript:;" f='delzximg' data-target="bannerimg" data-type="banner" style="color:#ff6600;">删除图片</a>
				  （尺寸：1000*120px(像素)）
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
		<tr>
		  <th align="right">通栏背景颜色：<font color="red"></font></th>
		  <td>
		    <input type="text" name="bannercolor" id="bannercolor" class="input-100" maxlength="10" value="<!--{$login.shop.bannercolor}-->" />
			<!--{if !empty($login.shop.bannercolor)}-->
			<i f="color" class="_i_color" data-target="bannercolor" id="btn_bannercolor" title="选择颜色" style="background:<!--{$login.shop.bannercolor}-->;">&nbsp;</i>
			<!--{else}-->
			<i f="color" class="_i_color" data-target="bannercolor"  id="btn_bannercolor" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="bannercolor" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_bannercolor").bigColorpicker(function(el, color){ //颜色选择器
					$("#bannercolor").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>
		<tr>
		  <th align="right">通栏背景图片：<font color="red"></font></th>
		  <td>
			<table class="oe_table_wrap">
			  <tr>
				<td width="60px">
				  <!--{if empty($login.shop.bannerbg)}-->
				  <img f="view" style="cursor:pointer;" src="tpl/static/images/waitimg_s.jpg" width="60px" height="60px" class="_img_border" id="bannerbgimg_preview" />
				  <!--{else}-->
				  <img f="view" style="cursor:pointer;" src="<!--{$login.shop.bannerbg}-->" width="60px" height="60px" class="_img_border" id="bannerbgimg_preview" />
				  <!--{/if}-->
				</td>
			    <td width="90px">
				  <div class="oe_img_upload">
					<label class="_uploadbtn">点击上传<input type="file" name="bannerbgimg" id="bannerbgimg" value="" /></label>
					<label class="_uploading" id="bannerbgimg_loading">
					  <img src="<!--{$urlpath}-->tpl/static/images/loading.gif" />
					</label>
					<input type="hidden" id="bannerbgimg_thumb" name="bannerbgimg_thumb" value="" />
					<input type="hidden" id="bannerbgimg_url" name="bannerbg" value="<!--{$login.shop.bannerbg}-->" />
				  </div>
				  <script type="text/javascript">
				  $(function(){
					  $("#bannerbgimg").live("change", function(){
						oemarryUploadImg("bannerbgimg", "<!--{$oefile}-->&c=index&a=uploadimg&module=shop&forbidcom=1&forbidwater=1");
					  });
				  });
				  </script>
				</td>
				<td width="250px">
				  <input type="hidden" name="bannerbgpos" id="bannerbgpos" value="<!--{intval($login.shop.bannerbgpos)}-->" />
				  <label class="label_pos _td_label<!--{if $login.shop.bannerbgpos == '1'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_pos" data-target="bannerbgpos" data-value="1">水平重复平铺</label>
				  <label class="label_pos _td_label<!--{if $login.shop.bannerbgpos == '2'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_pos" data-target="bannerbgpos" data-value="2">水平居中</label>
				  <label class="label_pos _td_label<!--{if $login.shop.bannerbgpos == '3'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_pos" data-target="bannerbgpos" data-value="3">重复</label>
				</td>
				<td>
				  <a href="javascript:;" f='delzximg' data-target="bannerbgimg" data-type="bannerbg" style="color:#ff6600;">删除图片</a>
				  （尺寸：宽度自定，高度120像素）
				</td>
			  </tr>
			</table>
		  </td>
		</tr>

		<tr>
		  <th align="right">隐藏店铺名称：<font color="red"></font></th>
		  <td>
		    <input type="radio" name="hidename" id="hidename" value="1"<!--{if $login.shop.hidename == '1'}--> checked<!--{/if}--> />是，
			<input type="radio" name="hidename" id="hidename" value="0"<!--{if $login.shop.hidename == '0'}--> checked<!--{/if}--> />否
		  </td>
		</tr>

		<tr>
		  <th></th>
		  <td>
			<input type="button" id="btn_post" class="submit_btn1" value="保存设置" /> 
		  </td>
		</tr>
	  </table>
	  </form>
	  <script type="text/javascript">
	  $(function(){
		$("#btn_post").bind("click", function(){
			$("form").submit();
		});
	  });
	  </script>
	  <!--{/if}-->


	  <!--{if $a == "nav"}-->
	  <h3 class="oe_f_title _bottom_border">
	    设置店铺的导航
		<span>（导航背景颜色和导航背景图设置任意一项即可，如两项都设置了，会以背景图优先）</span>
	  </h3>
	  <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post" />
	  <input type="hidden" name="a" id="a" value="savenav" />
	  <table class="oe_table_info">
		<tr>
		  <td colspan="2" height="10px"> </td>
		</tr>
		<tr>
		  <th align="right" width="15%">导航颜色：<font color="red"></font></th>
		  <td width="85%">
		    <input type="text" name="navcolor" id="navcolor" class="input-100" value="<!--{$login.shop.navcolor}-->" />
			<!--{if !empty($login.shop.navcolor)}-->
			<i class="_i_color" id="btn_navcolor" title="选择颜色" style="background:<!--{$login.shop.navcolor}-->;">&nbsp;</i>
			<!--{else}-->
			<i class="_i_color" id="btn_navcolor" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="navcolor" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_navcolor").bigColorpicker(function(el, color){ //颜色选择器
					$("#navcolor").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>

		<tr>
		  <th align="right">当选颜色：<font color="red"></font></th>
		  <td>
		    <input type="text" name="navcurcolor" id="navcurcolor" class="input-100" value="<!--{$login.shop.navcurcolor}-->" />
			<!--{if !empty($login.shop.navcurcolor)}-->
			<i class="_i_color" id="btn_navcurcolor" title="选择颜色" style="background:<!--{$login.shop.navcurcolor}-->;">&nbsp;</i>
			<!--{else}-->
			<i class="_i_color" id="btn_navcurcolor" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="navcurcolor" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_navcurcolor").bigColorpicker(function(el, color){ //颜色选择器
					$("#navcurcolor").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>

	    <tr>
		  <th align="right">导航背景图：<font color="red"></font></th>
		  <td>
			<table class="oe_table_wrap">
			  <tr>
				<td width="60px">
				  <!--{if empty($login.shop.navbg)}-->
				  <img f="view" style="cursor:pointer;" src="tpl/static/images/waitimg_s.jpg" width="60px" height="60px" class="_img_border" id="navbgimg_preview" />
				  <!--{else}-->
				  <img f="view" style="cursor:pointer;" src="<!--{$login.shop.navbg}-->" width="60px" height="60px" class="_img_border" id="navbgimg_preview" />
				  <!--{/if}-->
				</td>
			    <td width="90px">
				  <div class="oe_img_upload">
					<label class="_uploadbtn">点击上传<input type="file" name="navbgimg" id="navbgimg" value="" /></label>
					<label class="_uploading" id="navbgimg_loading">
					  <img src="<!--{$urlpath}-->tpl/static/images/loading.gif" />
					</label>
					<input type="hidden" id="navbgimg_thumb" name="navbgimg_thumb" value="" />
					<input type="hidden" id="navbgimg_url" name="navbg" value="<!--{$login.shop.navbg}-->" />
				  </div>
				  <script type="text/javascript">
				  $(function(){
					  $("#navbgimg").live("change", function(){
						oemarryUploadImg("navbgimg", "<!--{$oefile}-->&c=index&a=uploadimg&module=shop&forbidcom=1&forbidwater=1");
					  });
				  });
				  </script>
				</td>
				<td width="180px">
				  <input type="hidden" name="navbgpos" id="navbgpos" value="<!--{intval($login.shop.navbgpos)}-->" />
				  <label class="label_bgpos _td_label<!--{if $login.shop.navbgpos == '1'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="navbgpos" data-value="1">水平重复平铺</label>
				  <label class="label_bgpos _td_label<!--{if $login.shop.navbgpos == '2'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="navbgpos" data-value="2">水平居中</label>
				</td>
				<td>
				  <a href="javascript:;" f='delzximg' data-target="navbgimg" data-type="navbg" style="color:#ff6600;">删除图片</a>
				  （尺寸：宽度自定，高度40像素）
				</td>
			  </tr>
			</table>
		  </td>
		</tr>

		<tr>
		  <th align="right">当选导航背景图：<font color="red"></font></th>
		  <td>
			<table class="oe_table_wrap">
			  <tr>
				<td width="60px">
				  <!--{if empty($login.shop.navcurbg)}-->
				  <img f="view" style="cursor:pointer;" src="tpl/static/images/waitimg_s.jpg" width="60px" height="60px" class="_img_border" id="navcurbgimg_preview" />
				  <!--{else}-->
				  <img f="view" style="cursor:pointer;" src="<!--{$login.shop.navcurbg}-->" width="60px" height="60px" class="_img_border" id="navcurbgimg_preview" />
				  <!--{/if}-->
				</td>
			    <td width="90px">
				  <div class="oe_img_upload">
					<label class="_uploadbtn">点击上传<input type="file" name="navcurbgimg" id="navcurbgimg" value="" /></label>
					<label class="_uploading" id="navcurbgimg_loading">
					  <img src="<!--{$urlpath}-->tpl/static/images/loading.gif" />
					</label>
					<input type="hidden" id="navcurbgimg_thumb" name="navcurbgimg_thumb" value="" />
					<input type="hidden" id="navcurbgimg_url" name="navcurbg" value="<!--{$login.shop.navcurbg}-->" />
				  </div>
				  <script type="text/javascript">
				  $(function(){
					  $("#navcurbgimg").live("change", function(){
						oemarryUploadImg("navcurbgimg", "<!--{$oefile}-->&c=index&a=uploadimg&module=shop&forbidcom=1&forbidwater=1");
					  });
				  });
				  </script>
				</td>
				<td width="180px">
				  <input type="hidden" name="navcurbgpos" id="navcurbgpos" value="<!--{intval($login.shop.navcurbgpos)}-->" />
				  <label class="label_curpos _td_label<!--{if $login.shop.navcurbgpos == '1'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_curpos" data-target="navcurbgpos" data-value="1">水平重复平铺</label>
				  <label class="label_curpos _td_label<!--{if $login.shop.navcurbgpos == '2'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_curpos" data-target="navcurbgpos" data-value="2">水平居中</label>
				</td>
				<td>
				  <a href="javascript:;" f='delzximg' data-target="navcurbgimg" data-type="navcurbg" style="color:#ff6600;">删除图片</a>
				  （尺寸：宽度自定，高度40像素）
				</td>
			  </tr>
			</table>
		  </td>
		</tr>
		<tr>
		  <th></th>
		  <td>
			<input type="button" id="btn_post" class="submit_btn1" value="保存设置" /> 
		  </td>
		</tr>
	  </table>
	  </form>
	  <script type="text/javascript">
	  $(function(){
		$("#btn_post").bind("click", function(){
			$("form").submit();
		});
	  });
	  </script>
	  <!--{/if}-->


	  <!--{if $a == "page"}-->
	  <h3 class="oe_f_title _bottom_border">
	    设置店铺页面背景
		<span>（页面背景颜色和页面背景图设置任意一项即可，如两项都设置了，会以背景图优先）</span>
	  </h3>
	  <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post" />
	  <input type="hidden" name="a" id="a" value="savepage" />
	  <table class="oe_table_info">
		<tr>
		  <td colspan="2" height="10px"> </td>
		</tr>
		<tr>
		  <th align="right" width="15%">页面背景颜色：<font color="red"></font></th>
		  <td width="85%">
		    <input type="text" name="pagecolor" id="pagecolor" class="input-100" value="<!--{$login.shop.pagecolor}-->" />
			<!--{if !empty($login.shop.pagecolor)}-->
			<i class="_i_color" id="btn_pagecolor" title="选择颜色" style="background:<!--{$login.shop.pagecolor}-->;">&nbsp;</i>
			<!--{else}-->
			<i class="_i_color" id="btn_pagecolor" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="pagecolor" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_pagecolor").bigColorpicker(function(el, color){ //颜色选择器
					$("#pagecolor").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>

	    <tr>
		  <th align="right">页面背景图片：<font color="red"></font></th>
		  <td>
			<table class="oe_table_wrap">
			  <tr>
				<td width="60px">
				  <!--{if empty($login.shop.pagebg)}-->
				  <img f="view" style="cursor:pointer;" src="tpl/static/images/waitimg_s.jpg" width="60px" height="60px" class="_img_border" id="pagebgimg_preview" />
				  <!--{else}-->
				  <img f="view" style="cursor:pointer;" src="<!--{$login.shop.pagebg}-->" width="60px" height="60px" class="_img_border" id="pagebgimg_preview" />
				  <!--{/if}-->
				</td>
			    <td width="90px">
				  <div class="oe_img_upload">
					<label class="_uploadbtn">点击上传<input type="file" name="pagebgimg" id="pagebgimg" value="" /></label>
					<label class="_uploading" id="pagebgimg_loading">
					  <img src="<!--{$urlpath}-->tpl/static/images/loading.gif" />
					</label>
					<input type="hidden" id="pagebgimg_thumb" name="pagebgimg_thumb" value="" />
					<input type="hidden" id="pagebgimg_url" name="pagebg" value="<!--{$login.shop.pagebg}-->" />
				  </div>
				  <script type="text/javascript">
				  $(function(){
					  $("#pagebgimg").live("change", function(){
						oemarryUploadImg("pagebgimg", "<!--{$oefile}-->&c=index&a=uploadimg&module=shop&forbidcom=1&forbidwater=1");
					  });
				  });
				  </script>
				</td>
				<td width="300px">
				  <input type="hidden" name="pagebgpos" id="pagebgpos" value="<!--{intval($login.shop.pagebgpos)}-->" />
				  <label class="label_bgpos _td_label<!--{if $login.shop.pagebgpos == '1'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="pagebgpos" data-value="1">水平重复平铺</label>
				  <label class="label_bgpos _td_label<!--{if $login.shop.pagebgpos == '2'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="pagebgpos" data-value="2">水平居中</label>
				  <label class="label_bgpos _td_label<!--{if $login.shop.pagebgpos == '3'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="pagebgpos" data-value="3">固定背景</label>
				  <label class="label_bgpos _td_label<!--{if $login.shop.pagebgpos == '4'}--> _td_label_curr<!--{/if}-->" f="pos" data-css="label_bgpos" data-target="pagebgpos" data-value="4">重复</label>
				</td>
				<td>
				  <a href="javascript:;" f='delzximg' data-target="pagebgimg" data-type="pagebg" style="color:#ff6600;">删除图片</a>
				</td>
			  </tr>
			</table>
		  </td>
		</tr>

		<tr>
		  <th align="right">按钮背景颜色：<font color="red"></font></th>
		  <td>
		    <input type="text" name="buttoncolor" id="buttoncolor" class="input-100" maxlength="10" value="<!--{$login.shop.buttoncolor}-->" />
			<!--{if !empty($login.shop.buttoncolor)}-->
			<i f="color" class="_i_color" data-target="buttoncolor" id="btn_buttoncolor" title="选择颜色" style="background:<!--{$login.shop.buttoncolor}-->;">&nbsp;</i>
			<!--{else}-->
			<i f="color" class="_i_color" data-target="buttoncolor"  id="btn_buttoncolor" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="buttoncolor" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_buttoncolor").bigColorpicker(function(el, color){ //颜色选择器
					$("#buttoncolor").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>

		<tr>
		  <th align="right">按钮按下颜色：<font color="red"></font></th>
		  <td>
		    <input type="text" name="buttonhover" id="buttonhover" class="input-100" maxlength="10" value="<!--{$login.shop.buttonhover}-->" />
			<!--{if !empty($login.shop.buttonhover)}-->
			<i f="color" class="_i_color" data-target="buttonhover" id="btn_buttonhover" title="选择颜色" style="background:<!--{$login.shop.buttonhover}-->;">&nbsp;</i>
			<!--{else}-->
			<i f="color" class="_i_color" data-target="buttonhover"  id="btn_buttonhover" title="选择颜色">&nbsp;</i>
			<!--{/if}-->
			<a href="javascript:;" f='delzxcolor' data-target="buttonhover" style="color:#ff6600;">清除颜色</a>
			<script type="text/javascript">
			$(function(){
				$("#btn_buttonhover").bigColorpicker(function(el, color){ //颜色选择器
					$("#buttonhover").val(color);
					$(el).css("backgroundColor",color);
				});
			});
			</script>
		  </td>
		</tr>

		<tr>
		  <th></th>
		  <td>
			<input type="button" id="btn_post" class="submit_btn1" value="保存设置" /> 
		  </td>
		</tr>
	  </table>
	  </form>
	  <script type="text/javascript">
	  $(function(){
		$("#btn_post").bind("click", function(){
			$("form").submit();
		});
	  });
	  </script>
	  <!--{/if}-->

	  <!--{if $a == "diyhtml"}-->
	  <!--{include file="<!--{$oetplpath}-->widget_editor.tpl"}-->
	  <h3 class="oe_f_title _bottom_border">
	    自定义内容<span>（自定义店铺首页的内容）</span>
	  </h3>
	  <form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post" />
	  <input type="hidden" name="a" id="a" value="savediyhtml" />
	  <table class="oe_table_info">
	   <tr>
		  <td>
			<textarea name="content" id="content" style="width:98%;height:400px;"><!--{$login.shop.diyhtml}--></textarea>
		  </td>
		</tr>
		<tr>
		  <td align="center">
			<input type="button" id="btn_post" class="submit_btn1" value="编辑保存" /> 
		  </td>
		</tr>
	  </table>
	  </form>
	  <script type="text/javascript">
	  $(function(){
		$("#btn_post").bind("click", function(){
			$("#content").text(OEeditor.html());
			$("form").submit();
		});
	  });
	  </script>
	  <!--{/if}-->


	</div>
	<!--//oe_content_widget End-->

  </div>
  <div class="clear"></div>
  <!--//oe_cont_rt Enc-->
</div>
<!--{include file="<!--{$oetplpath}-->widget_footer.tpl"}-->
</body>
</html>