<%@  language="VBSCRIPT" codepage="936" %>
<% 
	data_path="../../" 'ACC连接数据库路径，对SQL无效
	numid="11"
	dir="../err.asp" 
%>
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<!--#include file="../rolecheck.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css">
</head>
<%
	fid=Replace_Text(request("rid"))
	if fid="" then
	 response.Write("<script>alert('参数传递错误!');history.back(-1);</script>")
     response.End()
	end if
%>
<body>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class="tableBorder">
        <tr>
            <th width="100%" height="25" class="tableHeaderText">
                会员等级信息修改管理</th>
        </tr>
        <tr>
            <td class="forumRowHighlight">
                <b>注意： </b>
                <br>
                ①.<font color="red">等级ID</font>是会员直属某类等级的直接<font color="red">关联值</font>，关系整个系统的所有会员的一切信息，请不要随意更改，否则将造成严重后果！
                <br />
                ②.等级ID值不能有重复，如有，后果自负！
            </td>
        </tr>
        <tr>
            <td class="forumRowHighlight">
                ★<a href="grademanage.asp">等级列表</a>
            </td>
        </tr>
    </table>
    <table border="1" cellpadding="0" bordercolor="#ADE0FD" cellspacing="0" width="98%"
        align="center">
        <tr>
            <td>
                <%
 if fid<>""  then 
 set rsm=server.CreateObject("adodb.recordset")
sqlm="select *  from Websen_vipgrade where id="&fid
rsm.open sqlm,conn,1,3
if not rsm.eof then 

                %>
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FAFAFA">
                    <tr align="center" bgcolor="#F3F3F3">
                        <td height="30" align="right">
                        </td>
                        <td align="left">
                        
                            <input type="hidden" name="modiid" value="<%=fid%>" />【<b><font color="#FF0000"><%=rsm("gradename")%></font></b>】---注册表单设置
                            &nbsp;&nbsp;<font color="#0099CC">等级ID值</font>：<b><%=rsm("roleid")%></b>
                            <%=successmsg%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="graderole.asp?rid=<%=rsm("id")%>">权限设置</a>&nbsp;&nbsp;<a
                                href="grademodi.asp?gid=<%=rsm("id")%>">基本设置</a>&nbsp;&nbsp; <a href="gradeFile.asp?rid=<%=rsm("id")%>">
                                    上传标志</a></td>
                    </tr>
                    <tr>
                        <td colspan="2" height="1" bgcolor="#CCCCCC">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="5" height="1" bgcolor="#FFFFFF">
                        </td>
                    </tr>
                </table>
                <form name="form" method="post" action="save_file.asp?rid=<%=rsm("id")%>">
                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr bgcolor="#7E9EDF" height="25" style="color: #FFFFFF; font-weight: bold">
                        <td>
                            上传会员标志
                            <%
                            Response.Write rsm("FileFlag")
                             %>
                            </td>
                    </tr>
                    <tr height="25" onMouseOut="this.style.backgroundColor='#ffffff'" onMouseOver="this.style.backgroundColor='#D7E3F3'">
                        <td height="250" bgcolor="#FFFFFF">
                            <table width="700" height="" border="0" align="center" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td height="122" align="center">
                                        <table width="129" height="100" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
                                            <tr>
                                                <td width="129" align="center">
                                            
                                                    <img src="../../UploadFile/vipgrade/<%=rsm("FileFlag")%>" align="middle" width="20" height="20" />                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="55">
                                        <table width="500" height="20" border="0" align="center" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="61">
                                                    上传图片：</td>
                                                <td width="253">
                                                    <iframe id="d_file" frameborder="0" src="../../inc/upload.asp?tMode=11&istwo=0&utype=vipgrade"
                                                        width="300" height="40" scrolling="no"></iframe>
                                                </td>
                                                <td width="186">
                                                    <input type="hidden" id="picture" name="picture" /></td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <input type="submit" id="btnOK" value="确认提交" /></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="1" bgcolor="#7E9EDF">
                        </td>
                    </tr>
                    <tr>
                        <td height="70" align="center">&nbsp;
                            </td>
                    </tr>
                </table>
                </form>
            </td>
        </tr>
    </table>
    <%
    end if
    end if
    %>
</body>
</html>
