Disi
Starting Member
9 Posts |
Posted - 21 May 2002 : 08:27:24
|
hi there
i just wanted to edit the snitz forum a little bit (to fit to our clanpage) but unfortunatly nothing works a it schuld
i make a DB entry at FORUM_MEMBERS just behind M_LEVEL , i put M_MEMBER in
now i've change the following code ind the inc_profile (about line 592)
<%if Request.Form("Method_Type") = "Modify" then %> <tr> <td bgColor="<% =strPopUpTableColor %>" align=right valign=top nowrap><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Member Level: </font></b></td> <td bgColor="<% =strPopUpTableColor %>" valign=top> <%if rs("M_NAME") = "Admin" then %> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">Administrator</font> <input type="hidden" value="3" name="Level"> <%else %> <SELECT value="1" name="Level"> <OPTION VALUE="1"<% if rs("M_LEVEL") = 1 then Response.Write(" selected") %>>Normal User <OPTION VALUE="2"<% if rs("M_LEVEL") = 2 then Response.Write(" selected") %>>Moderator <OPTION VALUE="3"<% if rs("M_LEVEL") = 3 then Response.Write(" selected") %>>Administrator </SELECT> <%end if %> </td> </tr> <tr> <td bgColor="<% =strPopUpTableColor %>" align=right valign=top nowrap height="23"><b><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> Member : </font></b></td> <td bgcolor="<% =strCategoryCellColor %>" height="23"> <input type="checkbox" name="m_member" value="m_member" <% if rs("M_MEMBER") = 1 then Response.Write("Checked") end if %> > </td> </tr> <%end if %> <!--</table> </td> --> <%
[/code]
the checkbox schuld do the following things, set the m_member field at the DB on true or false so that i can show on my clanpage a list of members well the problem is that all members are checked (not only the ones with the true in the DB) or NONE
i dont know why (im quite new at asp)
thx 4 helping
regards Disi
|
|