<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/web_top.asp"-->
      <%
chk_log_usr()

   query="select * from v_memlst where u_nme='"&session("usrname")&"'"
   rs.open query,conn,1,1
   if rs.recordcount<=0 then
       session.abandon
    call errorpage(-2,"对不起，您还没有登录！")
   end if
   
   levelname=rs("c_nme")
%>
      <script language=javascript>
function checkit()
{
if (confirm("是否确认申请该发票开具？"))
return true;
else
return false;
}
</script>
      <table cellspacing=0 cellpadding=0 width="100%" border=0>
        <tbody> 
        <tr> 
          <td colspan=2><img height=3 
            src="/imgs/spacer.gif" width=3></td>
        </tr>
        <tr> 
          <td width=438 
          background=/imgs/bg_inside_pages_link.jpg 
          height=30><img height=11 
            src="/imgs/aword_square.gif" width=11 
            align=absMiddle> <a href="/">首 页</a> <strong>&gt;</strong> <a href="/control/">管理中心</a> 
            <b>&gt;</b> 联系信息修改</td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td colspan=2><img height=10 
            src="/imgs/shadow_inside_pages.jpg" 
        width=438></td>
        </tr>
        </tbody> 
      </table>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TR> 
          <TD vAlign=top width=180 bgColor=#f3f3f3> 
            <!--#include virtual="/incs/control_left.asp"-->
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
          </TD>
          <TD vAlign=top width=10 
          background=/imgs/bg_inside_pages_block.jpg><IMG 
            height=1 src="/imgs/bg_inside_pages_block.jpg" 
            width=10></TD>
          <TD vAlign=top> 
            <table cellspacing=2 cellpadding=0 width="100%" border=0>
              <tr> 
                <td  colspan=2 valign="middle"> 
                  <table class=line cellspacing=0 cellpadding=0 width="98%" 
                  border=0 align="center">
                    <tbody> 
                    <tr> 
                      <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>发票申请</strong></span></b></font></td>
                      <td valign=bottom noWrap align=right 
                        width="75%">&nbsp;</td>
                    </tr>
                    <tr> 
                      <td align=middle width="100%" colspan=2 height=5></td>
                    </tr>
                    <tr> 
                      <td align=middle width="100%" colspan=2 height=2 bgcolor="#5F5F5F"></td>
                    </tr>
                    </tbody> 
                  </table>
                  <br>
                </td>
              </tr>
              <tr> 
                <td height="28"  colspan=2 align="center" valign="top"> 
                  <div align="center"> 
                    <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
                      <tr> 
                        <td height=7></td>
                      </tr>
                      <tr> 
                        <td height=7>发票申请</td>
                      </tr>
                    </table>
                    <form action="usr_chg.asp" method="post" name="frm_inv">
                      <table class=datalist cellspacing=1 cellpadding=2 align=center 
                  border=0 width="95%" style="border:#000000 0px double" bgcolor="#666666">
                        <tr> 
                          <td valign=center noWrap width="25%" bgcolor="#E1E1E1" height="25">&nbsp;可开票金额<font 
                        color=red>*</font></td>
                          <td valign=center noWrap bgcolor="#FFFFFF" width=80% colspan="3"> 
                            <b> 
                            <%
						  query="select * from memlst where u_id="&session("usrid")
						  rs1.open query,conn,1,1
						  u_mnyinv=clng(rs1("u_mnyinv"))
						  u_mnyall=clng(rs1("u_mnyall"))
						  rs1.close
						  %>
                            您的已开票金额为<%=mynum(u_mnyinv)%>元，未开票金额为<%=mynum(u_mnyall-u_mnyinv)%>元</b></td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap width="25%" bgcolor="#E1E1E1">&nbsp;发票抬头<font 
                        color=red>*</font></td>
                          <td valign=center noWrap bgcolor="#FFFFFF" width=80% colspan="3"> 
                            <input   
                         maxlength=60 size=40 
                        name=i_copnme_cn value="<%=trim(rs("u_copnme_cn"))%>">
                          </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1" width="18%">&nbsp;发票金额<font 
                        color=red>*</font></td>
                          <td valign=center bgcolor="#FFFFFF" colspan="3"> 
                            <input  
                         maxlength=60 size=18 
                        name=i_mny>
                            元 </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1" width="18%">&nbsp;发票内容<font 
                        color=red>*</font></td>
                          <td valign=center bgcolor="#FFFFFF" colspan="3"> 
                            <textarea cols="50" name="i_cnt" rows="6"></textarea>
                          </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1" width="18%">&nbsp;邮寄地址<font 
                        color=red>*</font></td>
                          <td valign=center bgcolor="#FFFFFF" colspan="3"> 
                            <input  
                         maxlength=60 size=50 
                        name=i_adr_cn value="<%=trim(rs("u_adr_cn"))%>">
                          </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1">&nbsp;邮政编码<font 
                        color=red>*</font></td>
                          <td valign=center colspan="3" bgcolor="#FFFFFF"> 
                            <input  
                         maxlength=6 size=6 
                        name=i_cde value="<%=trim(rs("u_cde"))%>">
                          </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1">&nbsp;收 件 
                            人<font 
                        color=red>*</font></td>
                          <td valign=center colspan="3" bgcolor="#FFFFFF"> 
                            <input   
                         maxlength=80 size=20 
                        name=i_ctt_cn value="<%=trim(rs("u_ctt_cn"))%>">
                          </td>
                        </tr>
                        <tr> 
                          <td valign=center noWrap bgcolor="#E1E1E1">&nbsp;联系电话<font 
                        color=red>*</font></td>
                          <td valign=center colspan="3" bgcolor="#FFFFFF"> 
                            <input   
                         maxlength=80 size=20 
                        name=i_tel value="<%=trim(rs("u_tel"))%>">
                          </td>
                        </tr>
                      </table>
                      <br>
                      <input type=hidden name="module" value="usr_inv">
                      <input type="submit" name="Submit" value=" 提交 " class=dud_button1  onclick="javascript:return checkit();">
                      <input type="reset" name="Submit2" value=" 复原 " class=dud_button1>
                    </form>
                    <br>
                    <br>
                  </div>
                </td>
              </tr>
            </table>
          </TD>
        </TR>
      </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD bgColor=#cccccc><IMG height=1 
            src="/imgs/spacer.gif" 
      width=1></TD>
        </TR>
        </TBODY> 
      </TABLE>
      <!--#include virtual="/incs/web_bottom.asp"-->
