quote:
Originally posted by slapmonkay
Do i need to carry any Include Files over with the mlev to get it to work?
This is what i got so far Im trying to make a custom login/logout include file that will go in the inc_header.asp file as an include file.
<% if (mlev = 0) then%>
<form method="POST" action="login.asp" id="Form1" name="submit1">
<table border="0" width="100%" id="table28" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<img border="0" src="../ForumTopImages/10-2-1.jpg" width="35" height="15"></td>
<td width="94">
<input type="text" name="Name" size="12" style="height: 13; width: 94; font-family: Verdana; font-size: 2mm; font-weight: bold"></td>
<td>
<img border="0" src="../ForumTopImages/10-2-3.jpg" width="10" height="15"></td>
</tr>
<tr>
<td>
<img border="0" src="../ForumTopImages/10-3-1.jpg" width="35" height="16"></td>
<td width="94">
<input type="password" name="Password" size="12" style="height: 14; width: 94; font-family: Verdana; font-size: 10px; font-weight: bold"></td>
<td>
<img border="0" src="../ForumTopImages/10-3-3.jpg" width="10" height="16"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img border="0" src="../ForumTopImages/10-4.jpg" width="139" height="8"></td>
</tr>
<tr>
<td>
<table border="0" width="100%" id="table29" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<img border="0" src="../ForumTopImages/10-5-1.jpg" width="77" height="14"><input class=button input type=image border="0" src="../ForumTopImages/10-5-2.jpg" width="62" height="14" value="Login" id="submit1" name="submit1"><br>
<img border="0" src="../ForumTopImages/10-6.jpg" width="139" height="15"></td>
</tr>
</table>
</td>
</tr>
</table>
<%
else
%>
<form method="POST" action="<% '" & Request.ServerVariables("URL") & "' %>" id="Form2" name="submit2">
<table border="0" width="100%" id="table28" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td background="../ForumTopImages/BlueBack.jpg" height="31" width="100%">
<b><center></center><font face="Verdana" size="1" color="#FFFFFF">You Are Logged On As: <br> <b><%'" & Session(strCookieURL & "username") & " (" & Session(strCookieURL & "userid") & ")"'%></b></font></td>
</font></center></b>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<input type="hidden" name="Method_Type" value="logout">
<img border="0" src="../ForumTopImages/10-4-logout.jpg" width="139" height="8"></td>
</tr>
<tr>
<td>
<table border="0" width="100%" id="table29" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<img border="0" src="../ForumTopImages/10-5-1-logout.jpg" width="77" height="14"><input class=button input type=image border="0" src="../ForumTopImages/10-5-2-logout.jpg" width="62" height="14" value="Login" id="submit1" name="submit1"><br>
<img border="0" src="../ForumTopImages/10-6.jpg" width="139" height="15"></td>
</tr>
</table>
</td>
</tr>
</table>
<%
end if
%>