<!--#include file="../prohead.asp"-->
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<%
if Chkrequest(request("id")) then
id=request("id")
else
response.Redirect("../../login/chklogin.asp?login=4")
response.end
end if
sql="select * from bizre where id="&id&""
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,1
if rs.eof then 
response.Redirect("index.asp")
response.end
else

set rs1=conn.execute("select * from bizre_class where id="&rs("typeid")&"")
%>
<TABLE cellSpacing=0 cellPadding=0 width=778 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top align=middle width=150>
      <SCRIPT LANGUAGE='JavaScript' SRC='../images/left.js' TYPE='text/javascript'></script>

      <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top align=middle width=150 
          background=../images/leftmanu_bg.gif>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD width=150 
                  background=../images/leftmanu_topbg.gif><IMG height=30 
                  src="../images/leftmanu_top.gif" 
              width=150></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="location.href='../index.asp'"><IMG 
                  height=18 src="../images/leftmanu_home.gif" width=16 
                  align=absMiddle> 商务助手首页</TD></TR><TR>
                <TD class=leftmenu1 
                onclick=javascript:menu_display(table1,img1);><IMG id=img1 
                  height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 发布商业信息</TD></TR>
              <TBODY id=table1><!-- 正常情况下  -->
              <TR>
                   <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/add_info.asp">发布供求信息</A> </TD>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../tradeinfo/edit.asp">管理供求信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../productshow/add_product.asp">发布产品信息</A> </TD>
                    </TR><!-- 正常情况下  -->
			   <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> 

					  <A 

                  class=linkstyle2 

                  href="../productshow/edit.asp">管理产品信息</A></TD>

                    </TR><!-- 正常情况下  --><TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_mine.asp">展会信息管理</A> </TD>
                    </TR>



              



              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/company_edit.asp">公司介绍</A></TD>
                    </TR><!-- 正常情况下  -->
					<TR>
                      <TD class=leftmenu3 height=29><IMG src="../images/minus.gif"> <A 
                  class=linkstyle3 
                  href="index.asp"><STRONG>商贸通档案</STRONG></A> <IMG src="../images/now.gif"></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 onclick=menu_display(table2,img2)><IMG 
                  id=img2 height=16 src="../images/fold_2.gif" width=16 
                  align=absMiddle> 查看商业往来</TD></TR>
              <TBODY id=table2><!-- 正常情况下  -->
               <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/receivemessagelist.asp">我收到的留言</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendmessagelist.asp">我发出的留言</A> </TD>
                    </TR>
					              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../getprice/sendnewmessage.asp">发新留言</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../myemail/index.asp">我订阅的信息</A></TD>
                    </TR><!-- 正常情况下  -->
              <TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../myfriend/index.asp">我的商业伙伴</A> </TD>

                    </TR><TR>

                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 

                  class=linkstyle2 

                  href="../trust/index.asp">会员评价</A> </TD>

                    </TR></TBODY>
              
              <TR>
                    <TD class=leftmenu1 onclick=menu_display(table3,img3)><IMG 
                  id=img3 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的会员资料</TD>
                  </TR>
              <TBODY id=table3 style="DISPLAY: none"><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_info.asp">修改注册信息</A> </TD>
                    </TR><!-- 正常情况下  -->
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../modify/modify_pass.asp">修改密码</A> </TD>
                    </TR><!-- 正常情况下  -->
                    <TD class=leftmenu1 onclick=menu_display(table4,img4)><IMG 
                  id=img4 height=16 src="../images/fold_1.gif" width=14 
                  align=absMiddle> 我的自助网站</TD>
                  </TR>
              <TBODY id=table4 style="DISPLAY: none">
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/webmod.asp">网站模板选择</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../corporation/cimg_add.asp?id=<%=session("id")%>">上传公司图片</A> </TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../feedback/contact_edit.asp?id=<%=session("id")%>">客户反馈管理</A></TD>
                    
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/work.asp">发布招聘信息</A></TD>
                    </TR>
			  <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../work/edit.asp">管理招聘信息</A></TD>
                    </TR>
              <TR>
                      <TD class=leftmenu2><IMG src="../images/plus.gif"> <A 
                  class=linkstyle2 
                  href="../../companyweb.asp" 
                  target=_blank>浏览我的网站</A></TD>
                    </TR></TBODY>
              <TBODY>
              <TR>
                <TD class=leftmenu1 
                onclick="javascript:window.open('../../help/index.asp')"><IMG 
                  id=img5 src="../images/leftmenu_help.gif" 
                  align=absMiddle> 帮助</TD></TR></TBODY></TABLE>
            <IMG height=6 
            src="../images/leftmanu_bottom.gif" width=150><BR><BR>
            <!--#include file="../guestsubmit.asp"-->
            
            <BR><BR></TD></TR>
        </TABLE><BR><BR><BR></TD>
    <TD 
    style="BACKGROUND-POSITION: right 50%; BACKGROUND-IMAGE: url(../images/bg1.gif); BACKGROUND-REPEAT: repeat-y; BACKGROUND-COLOR: #ffffff" 
    vAlign=top align=middle width=628>
      <TABLE cellSpacing=0 cellPadding=0 width=628 border=0>
        <TBODY>
        <TR>
          <TD width=459><IMG height=30 
            src="../images/leftmanu_top1.gif" width=459></TD>
          <TD vAlign=top width=141 
          background=../images/top_nav_bg2.gif></TD>
          <TD width=28><IMG height=30 src="../images/top_nav_5.gif" 
            width=28></TD></TR></TBODY></TABLE><BR>
      <TABLE cellSpacing=0 cellPadding=0 width=578 border=0>
        <TBODY>
        <TR>
              <TD><IMG height=32 src="../images/bizer_manage.gif" width=578 
            border=0></TD>
            </TR>
		  </TBODY></TABLE>
	  <table width="578" border="0" cellpadding="3" cellspacing="0" bgcolor="#E4F0FC">
  <tr>
    <td width="20%" height="35" align="center" class=m><span style="color: #ff0000">修改公司证书:</span></td>
    <td width="455" height="35"><div align="center"></div></td>
  </tr>
</table>
	  <SCRIPT language=JavaScript>
function setSubjectText(){
    if(trim(document.form.name.value) == "") {
		    alert("请先填写证书名称！");
			document.form.name.focus();
		    return false;
	}
		
	if(trim(document.form.bh.value) == "") {
		    alert("证书编号不能为空！");
			document.form.bh.focus();
		    return false;
	}
	
	if(trim(document.form.counter.value) == "") {
		    alert("证书说明不能为空！");
			document.form.counter.focus();
		    return false;
	} 
	if(trim(document.form.fzjg.value) == "") {
		    alert("请填写发证机构！");
			document.form.fzjg.focus();
		    return false;
	} 
	if(trim(document.form.fzrq.value) == "") {
		    alert("请填写发证日期！");
			document.form.fzrq.focus();
		    return false;
	} 
	if(trim(document.form.gqrq.value) == "") {
		    alert("请填写证书结束时间！");
			document.form.gqrq.focus();
		    return false;
	} 
  //  return true;
	document.form.submit()
    }
function trim(inputString) {
	   
              if (typeof inputString != "string") { return inputString; }
              var retValue = inputString;
              var ch = retValue.substring(0, 1);
              while (ch == " ") { 
	          //检查字符串开始部分的空格
                  retValue = retValue.substring(1, retValue.length);
                  ch = retValue.substring(0, 1);
              }
              ch = retValue.substring(retValue.length-1, retValue.length);
              while (ch == " ") {
                 //检查字符串结束部分的空格
                 retValue = retValue.substring(0, retValue.length-1);
                 ch = retValue.substring(retValue.length-1, retValue.length);
              }
              while (retValue.indexOf("  ") != -1) { 
	         //将文字中间多个相连的空格变为一个空格
                 retValue = retValue.substring(0, retValue.indexOf("  ")) + retValue.substring(retValue.indexOf("  ")+1, retValue.length); 
              }
              return retValue;
           } 	



</SCRIPT>
<script language="JavaScript">
function pre_pic()
{
var pic_view;
if (document.form.file.value=="")
{
		alert("请先选择证书图片");
		document.form.file.focus();
	 	return false;
	 }

pic_view="<img src='" + document.form.file.value +"' onload='javascript:if(this.width>500){this.width=500;}'>";
pic.innerHTML=pic_view;
return true;
}
</script>
<script language=javascript>
<!--
document.writeln('<div id=meizzDateLayer style="position: absolute; width: 142; height: 166; z-index: 9998; display: none">');
document.writeln('<span id=tmpSelectYearLayer  style="z-index: 9999;position: absolute;top: 2; left: 18;display: none"></span>');
document.writeln('<span id=tmpSelectMonthLayer style="z-index: 9999;position: absolute;top: 2; left: 75;display: none"></span>');
document.writeln('<table border=0 cellspacing=1 cellpadding=0 width=142 height=160 bgcolor=#808080 onselectstart="return false">');
document.writeln('  <tr><td width=142 height=23 bgcolor=#FFFFFF><table border=0 cellspacing=1 cellpadding=0 width=140 height=23>');
document.writeln('      <tr align=center><td width=20 align=center bgcolor=#808080 style="font-size:12px;cursor: hand;color: #FFD700" ');
document.writeln('        onclick="meizzPrevM()" title="向前翻　月" Author=meizz><b Author=meizz>&lt;&lt;</b>');
document.writeln('        </td><td width=100 align=center style="font-size:12px;cursor:default" Author=meizz>');
document.writeln('        <span Author=meizz id=meizzYearHead onclick="tmpSelectYearInnerHTML(this.innerText)"></span>&nbsp;年&nbsp;<span');
document.writeln('         id=meizzMonthHead Author=meizz onclick="tmpSelectMonthInnerHTML(this.innerText)"></span>&nbsp;月</td>');
document.writeln('        <td width=20 bgcolor=#808080 align=center style="font-size:12px;cursor: hand;color: #FFD700" ');
document.writeln('         onclick="meizzNextM()" title="往后翻　月" Author=meizz><b Author=meizz>&gt;&gt;</b></td></tr>');
document.writeln('    </table></td></tr>');
document.writeln('  <tr><td width=142 height=18 bgcolor=#808080>');
document.writeln('<table border=0 cellspacing=0 cellpadding=0 width=140 height=1 style="cursor:default">');
document.writeln('<tr align=center><td style="font-size:12px;color:#FFFFFF" Author=meizz>日</td>');
document.writeln('<td style="font-size:12px;color:#FFFFFF" Author=meizz>一</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>二</td>');
document.writeln('<td style="font-size:12px;color:#FFFFFF" Author=meizz>三</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>四</td>');
document.writeln('<td style="font-size:12px;color:#FFFFFF" Author=meizz>五</td><td style="font-size:12px;color:#FFFFFF" Author=meizz>六</td></tr>');
document.writeln('</table></td></tr><!-- Author:F.R.Huang(meizz) http://www.meizz.com/ mail: meizz@hzcnc.com 2002-10-8 -->');
document.writeln('  <tr><td width=142 height=120>');
document.writeln('    <table border=0 cellspacing=1 cellpadding=0 width=140 height=120 bgcolor=#FFFFFF>');
var n=0; for (j=0;j<5;j++){ document.writeln (' <tr align=center>'); for (i=0;i<7;i++){
document.writeln('<td width=20 height=20 id=meizzDay'+n+' style="font-size:12px" Author=meizz onclick=meizzDayClick(this.innerText)></td>');n++;}
document.writeln('</tr>');}
document.writeln('      <tr align=center><td width=20 height=20 style="font-size:12px" id=meizzDay35 Author=meizz ');
document.writeln('         onclick=meizzDayClick(this.innerText)></td>');
document.writeln('        <td width=20 height=20 style="font-size:12px" id=meizzDay36 Author=meizz onclick=meizzDayClick(this.innerText)></td></tr>');
document.writeln('    </table></td></tr><tr><td>');
document.writeln('        <table border=0 cellspacing=1 cellpadding=0 width=100% bgcolor=#FFFFFF>');
document.writeln('          <tr><td Author=meizz align=left><input Author=meizz type=button value="<<" title="向前翻　年" onclick="meizzPrevY()" ');
document.writeln('             onfocus="this.blur()" style="font-size: 12px; height: 20px"><input Author=meizz title="向前翻　月" type=button ');
document.writeln('             value="<" onclick="meizzPrevM()" onfocus="this.blur()" style="font-size: 12px; height: 20px"></td><td ');
document.writeln('             Author=meizz align=center><input Author=meizz type=button value=今天 onclick="meizzToday()" ');
document.writeln('             onfocus="this.blur()" title="转到今天的日期" style="font-size: 12px; height: 20px"></td><td ');
document.writeln('             Author=meizz align=right><input Author=meizz type=button value=">" onclick="meizzNextM()" ');
document.writeln('             onfocus="this.blur()" title="往后翻　月" style="font-size: 12px; height: 20px"><input ');
document.writeln('             Author=meizz type=button value=">>" title="往后翻　年" onclick="meizzNextY()"');
document.writeln('             onfocus="this.blur()" style="font-size: 12px; height: 20px"></td>');
document.writeln('</tr></table></td></tr></table></div>');　

//==================================================== WEB 页面显示部分 ======================================================
var outObject;
function setday(tt,obj) //主调函数
{
  if (arguments.length >  2){alert("对不起！传入本控件的参数太多！");return;}
  if (arguments.length == 0){alert("对不起！您没有传回本控件任何参数！");return;}
  var dads  = document.all.meizzDateLayer.style;var th = tt;
  var ttop  = tt.offsetTop;     //TT控件的定位点高
  var thei  = tt.clientHeight;  //TT控件本身的高
  var tleft = tt.offsetLeft;    //TT控件的定位点宽
  var ttyp  = tt.type;          //TT控件的类型
  while (tt = tt.offsetParent){ttop+=tt.offsetTop; tleft+=tt.offsetLeft;}
  dads.top  = (ttyp=="image")? ttop+thei : ttop+thei+6;
  dads.left = tleft;
  outObject = (arguments.length == 1) ? th : obj;
  dads.display = '';
  event.returnValue=false;
}　

var MonHead = new Array(12);               //定义阳历中每个月的最大天数
    MonHead[0] = 31; MonHead[1] = 28; MonHead[2] = 31; MonHead[3] = 30; MonHead[4]  = 31; MonHead[5]  = 30;
    MonHead[6] = 31; MonHead[7] = 31; MonHead[8] = 30; MonHead[9] = 31; MonHead[10] = 30; MonHead[11] = 31;　

var meizzTheYear=new Date().getFullYear(); //定义年的变量的初始值
var meizzTheMonth=new Date().getMonth()+1; //定义月的变量的初始值
var meizzWDay=new Array(37);               //定义写日期的数组　

function document.onclick() //任意点击时关闭该控件
{ 
  with(window.event.srcElement)
  { if (tagName != "INPUT" && getAttribute("Author")==null)
    document.all.meizzDateLayer.style.display="none";
  }
}　

function meizzWriteHead(yy,mm)  //往 head 中写入当前的年与月
  { document.all.meizzYearHead.innerText  = yy;
    document.all.meizzMonthHead.innerText = mm;
  }　

function tmpSelectYearInnerHTML(strYear) //年份的下拉框
{
  if (strYear.match(/\D/)!=null){alert("年份输入参数不是数字！");return;}
  var m = (strYear) ? strYear : new Date().getFullYear();
  if (m < 1000 || m > 9999) {alert("年份值不在 1000 到 9999 之间！");return;}
  var n = m - 10;
  if (n < 1000) n = 1000;
  if (n + 26 > 9999) n = 9974;
  var s = "<select Author=meizz name=tmpSelectYear style='font-size: 12px' "
     s += "onblur='document.all.tmpSelectYearLayer.style.display=\"none\"' "
     s += "onchange='document.all.tmpSelectYearLayer.style.display=\"none\";"
     s += "meizzTheYear = this.value; meizzSetDay(meizzTheYear,meizzTheMonth)'>\r\n";
  var selectInnerHTML = s;
  for (var i = n; i < n + 26; i++)
  {
    if (i == m)
       {selectInnerHTML += "<option value='" + i + "' selected>" + i + "年" + "</option>\r\n";}
    else {selectInnerHTML += "<option value='" + i + "'>" + i + "年" + "</option>\r\n";}
  }
  selectInnerHTML += "</select>";
  document.all.tmpSelectYearLayer.style.display="";
  document.all.tmpSelectYearLayer.innerHTML = selectInnerHTML;
  document.all.tmpSelectYear.focus();
}　

function tmpSelectMonthInnerHTML(strMonth) //月份的下拉框
{
  if (strMonth.match(/\D/)!=null){alert("月份输入参数不是数字！");return;}
  var m = (strMonth) ? strMonth : new Date().getMonth() + 1;
  var s = "<select Author=meizz name=tmpSelectMonth style='font-size: 12px' "
     s += "onblur='document.all.tmpSelectMonthLayer.style.display=\"none\"' "
     s += "onchange='document.all.tmpSelectMonthLayer.style.display=\"none\";"
     s += "meizzTheMonth = this.value; meizzSetDay(meizzTheYear,meizzTheMonth)'>\r\n";
  var selectInnerHTML = s;
  for (var i = 1; i < 13; i++)
  {
    if (i == m)
       {selectInnerHTML += "<option value='"+i+"' selected>"+i+"月"+"</option>\r\n";}
    else {selectInnerHTML += "<option value='"+i+"'>"+i+"月"+"</option>\r\n";}
  }
  selectInnerHTML += "</select>";
  document.all.tmpSelectMonthLayer.style.display="";
  document.all.tmpSelectMonthLayer.innerHTML = selectInnerHTML;
  document.all.tmpSelectMonth.focus();
}　

function closeLayer()               //这个层的关闭
  {
    document.all.meizzDateLayer.style.display="none";
  }　

function document.onkeydown()
  {
    if (window.event.keyCode==27)document.all.meizzDateLayer.style.display="none";
  }　

function IsPinYear(year)            //判断是否闰平年
  {
    if (0==year%4&&((year%100!=0)||(year%400==0))) return true;else return false;
  }　

function GetMonthCount(year,month)  //闰年二月为29天
  {
    var c=MonHead[month-1];if((month==2)&&IsPinYear(year)) c++;return c;
  }　

function GetDOW(day,month,year)     //求某天的星期几
  {
    var dt=new Date(year,month-1,day).getDay()/7; return dt;
  }　

function meizzPrevY()  //往前翻 Year
  {
    if(meizzTheYear > 999 && meizzTheYear <10000){meizzTheYear--;}
    else{alert("年份超出范围（1000-9999）！");}
    meizzSetDay(meizzTheYear,meizzTheMonth);
  }
function meizzNextY()  //往后翻 Year
  {
    if(meizzTheYear > 999 && meizzTheYear <10000){meizzTheYear++;}
    else{alert("年份超出范围（1000-9999）！");}
    meizzSetDay(meizzTheYear,meizzTheMonth);
  }
function meizzToday()  //Today Button
  {
    meizzTheYear = new Date().getFullYear();
    meizzTheMonth = new Date().getMonth()+1;
    meizzSetDay(meizzTheYear,meizzTheMonth);
  }
function meizzPrevM()  //往前翻月份
  {
    if(meizzTheMonth>1){meizzTheMonth--}else{meizzTheYear--;meizzTheMonth=12;}
    meizzSetDay(meizzTheYear,meizzTheMonth);
  }
function meizzNextM()  //往后翻月份
  {
    if(meizzTheMonth==12){meizzTheYear++;meizzTheMonth=1}else{meizzTheMonth++}
    meizzSetDay(meizzTheYear,meizzTheMonth);
  }　

function meizzSetDay(yy,mm)   //主要的写程序**********
{
  meizzWriteHead(yy,mm);
  for (var i = 0; i < 37; i++){meizzWDay[i]=""};  //将显示框的内容全部清空
  var day1 = 1,firstday = new Date(yy,mm-1,1).getDay();  //某月第一天的星期几
  for (var i = firstday; day1 < GetMonthCount(yy,mm)+1; i++){meizzWDay[i]=day1;day1++;}
  for (var i = 0; i < 37; i++)
  { var da = eval("document.all.meizzDay"+i)     //书写新的一个月的日期星期排列
    if (meizzWDay[i]!="")
      { da.innerHTML = "<b>" + meizzWDay[i] + "</b>";
        da.style.backgroundColor = (yy == new Date().getFullYear() &&
        mm == new Date().getMonth()+1 && meizzWDay[i] == new Date().getDate()) ? "#FFD700" : "#ADD8E6";
        da.style.cursor="hand"
      }
    else{da.innerHTML="";da.style.backgroundColor="";da.style.cursor="default"}
  }
}
function meizzDayClick(n)  //点击显示框选取日期，主输入函数*************
{
  var yy = meizzTheYear;
  var mm = meizzTheMonth;
  if (mm < 10){mm = "0" + mm;}
  if (outObject)
  {
    if (!n) {outObject.value=""; return;}
    if ( n < 10){n = "0" + n;}
    outObject.value= yy + "-" + mm + "-" + n ; //注：在这里你可以输出改成你想要的格式
    closeLayer(); 
  }
  else {closeLayer(); alert("您所要输出的控件对象并不存在！");}
}
meizzSetDay(meizzTheYear,meizzTheMonth);
// -->
</script>
<form method="POST" action="save_edit.asp" name="form" enctype="multipart/form-data">
<input type="hidden" name="id" value="<%=id%>">
<table width="578"  border="0" cellspacing="2" cellpadding="3">
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>证书名称：</B></td>
    <td width="424" bgcolor="#ffffde"><input name="name" type="text" id="name" value="<%=rs("name")%>" size="45"> 
      <br>
      <SPAN 
                  class=note>[如:消费者最喜爱商品称号]</span></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#eff7ff" class=c><FONT 
                  color=#ff0000>*</FONT> <B>证书编号：</B></td>
    <td width="424" bgcolor="#ffffde"><input name="bh" type="text" id="bh" value="<%=rs("bh")%>" size="25">
      <br>
      <SPAN 
                  class=note>[如:2002Q11683R0S]</span></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>补充说明：</B></td>
    <td bgcolor="#ffffde"><input name="counter" type="text" id="counter" value="<%=rs("counter")%>" size="50">
      <br><SPAN 
                  class=note>[如:消费者协会荣誉证书]</span></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>发怔机构：</B></td>
    <td bgcolor="#ffffde"><input name="fzjg" type="text" id="fzjg" value="<%=rs("fzjg")%>" size="50">
      <br><SPAN 
                  class=note>[如:***省保护消费者权益委员会]</span></td>
  </tr>
    <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>证书类型：</B></td>
    <td bgcolor="#ffffde">	<select name="typeid" size="1" class=f11>
	<option selected value="<%=rs1("typeid")%>"><%=rs1("type")%></option> 
<%
set rs1=conn.execute("select * from bizre_class")
do while not rs1.eof
response.write "<option value='"&rs1("id")&"'>"&rs1("type")&"</option>"&chr(13)+chr(10)
rs1.movenext
loop
rs1.close
%> 
</select>
<br><SPAN 
                  class=note>[如:按照您欲上传的证书类型选择]</span></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>发证时间：</B></td>
    <td bgcolor="#ffffde">
      <input name="fzrq" type="text" onfocus="setday(this)" value="<%=rs("fzrq")%>" size="25"> <br>      <SPAN 
                  class=note>[格式如：2000-08-12]</span></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>到期时间：</B></td>
    <td bgcolor="#ffffde"><input name="gqrq" type="text" onfocus="setday(this)" value="<%=rs("gqrq")%>" size="25"> <br>      <SPAN 
                  class=note>[格式如：2005-04-12]</span></td>
  </tr>
  <tr>
    <td width="20%" bgcolor="#eff7ff" class=c align="right"><FONT 
                  color=#ff0000>*</FONT> <B>选取证书：</B></td>
    <td bgcolor="#ffffde">                  <INPUT type="file" name="file" style="FONT-SIZE: 9pt; WIDTH: 250px" maxLength=50 size=30 title=上传产品图片资料不能大于200K。>  <input type="button" name="Submit2" value="预览证书效果" onClick="pre_pic()">
				  <input type="hidden" name="img" value="<%=rs("Picture")%>">
                          <br>
                          使用原有图片 
                          <input type="radio" name="cimg" value="1" checked>
                          | 删除原有图片重新上传 
                          <input type="radio" name="cimg" value="2"></td>
  </tr>
  <tr bgcolor="#EFF7FF">
    <td colspan="2" align="center"><span id="pic"></span></td>
    </tr>
</table>
<BR>
<TABLE cellSpacing=0 cellPadding=4 border=0>
              <TBODY>
              <TR>
                
                <TD vAlign=top noWrap><INPUT class=subbutton style="WIDTH: 160px" onclick=javascript:setSubjectText() type=button value=修改完成，确定提交！ name=Post> 
                </TD></TR></TBODY></TABLE></FORM>            <BR><TABLE class=bdr1 cellSpacing=0 cellPadding=0 width="90%" 
              border=0><TBODY>
              <TR>
                <TD height=103>
                  <TABLE class=bdr2 cellSpacing=0 cellPadding=0 width="100%" 
                  border=0>
                    <TBODY>
                    <TR>
                      <TD class=lh13 height=91><SPAN 
                        class=M>特别提醒：</SPAN><BR><BR>
                                1、为保证信息的真实合法性，您发布的信息并不会立即在网上发布：<BR>
                                <BR>
                                2、证书审核一张，增加<a href="javascript:win=window.open('../../help/trust_score.asp','contact','width=550,height=550,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no');win.focus();">商贸通</a>指数<span style="color: #FF0000; font-size: 14px; font-weight: bold;">1</span>分： <BR>
                                <BR>
                        3、请勿重复提交相同内容的信息，否则将不被审核通过：<BR>
                        <BR></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><BR><BR>
    
            <BR><BR></TD></TR></TBODY></TABLE>
</TABLE>
</tr>
</table>

<IMG 
height=10 src="../images/bottom.gif" width=778><BR>
<!--#include file="../end.asp"-->
<%
end if
rs.close
set rs=nothing
rs1.close
set rs1=nothing
conn.close
set conn=nothing
%>