rendered paste body<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admincack.aspx.cs" Inherits="Default2" %>
<!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 id="Head1">
<style type="text/css"><!--
body {
font-family: Arial; font-size: 12px;
}
a { color: #0000CC; text-decoration: none;}
a.b:link {color: #0000CC; text-decoration: none;}
a.b:visited {color: #0000CC;}
a.b:hover {color: #0000CC; text-decoration: underline;}
.c {color: #0000CC; text-decoration: none;}
.video_date { color: #CC0000; }
.style5
{
width: 432px;
height: 208px;
}
.style10
{
width: 523px;
height: 168px;
}
.style11
{
height: 127px;
width: 523px;
text-align: left;
}
.style19
{
width: 100%;
}
.style20
{
width: 112px;
}
.style22
{
width: 112px;
height: 19px;
}
.style23
{
height: 19px;
}
.style24
{
width: 112px;
height: 44px;
}
.style25
{
height: 44px;
}
--></style>
</head>
<body bgcolor="#66CCFF" text="#0000CC">
<form id="form1" runat="server">
<center>
<table border="0" bgcolor="#FFFFFF" bordercolorlight="#FFFFFF" cellpadding="1" cellspacing="2" align="center" width="60%">
<tr>
<td bgcolor="White" class="style10"><center>
<img alt="SurvuM" class="style5" src="images/SurvumB.jpg" /><br />
<table class="style19">
<tr>
<td>
<asp:Login ID="Login1" runat="server"
VisibleWhenLoggedIn="False" onauthenticate="Login1_Authenticate">
<LayoutTemplate>
<table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse">
<tr>
<td class="style86">
<table border="0" cellpadding="0">
<tr>
<td align="center" colspan="2">
Log In</td>
</tr>
<tr>
<td align="right">
<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></td>
<td>
<asp:TextBox ID="UserName" runat="server" ontextchanged="UserName_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td align="right">
<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td>
<td>
<asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2">
<asp:CheckBox ID="RememberMe" runat="server" Text="Remember me next time." />
</td>
</tr>
<tr>
<td align="center" colspan="2" style="color: red">
<asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
</td>
</tr>
<tr>
<td align="left" colspan="2">
<asp:Button ID="LoginButton" runat="server" CommandName="Login" OnClick="LoginButton_Click"
Text="Log In" ValidationGroup="Login1" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</LayoutTemplate>
</asp:Login>
</td>
<td>
</td>
</tr>
</table>
</center></td>
</tr>
<tr></center></
<center>
<td bgcolor="White" class="style11">
<div id="AdminBox" runat="server">
<table class="style19">
<td class="style23">
<asp:Button ID="LogOffButton" runat="server" style="text-align: right; margin-left: 177px;"
Text="Log Off" onclick="LogOffButton_Click" />
</td>
</tr>
<tr>
<td class="style22">
</td>
<td class="style23">
</td>
</tr>
<tr>
<td class="style20">
Title:
</td>
<td>
<asp:TextBox ID="TitleBox" runat="server" ontextchanged="TitleBox_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="TitleValidator" runat="server"
ControlToValidate="TitleBox" ErrorMessage="*Required Title"
ForeColor="Red" ValidationGroup="OKValidate"></asp:RequiredFieldValidator>
</td>
<tr>
</tr>
</tr>
<tr>
<td class="style24">
Link:
</td>
<td class="style25">
<asp:TextBox ID="Pathbox" runat="server" ontextchanged="Pathbox_TextChanged"></asp:TextBox>
<asp:RegularExpressionValidator ID="PathboxValidator" runat="server"
ErrorMessage="URL contains invalid characters." ForeColor="Red" EnableTheming="True" ValidationGroup="OKValidate"
ControlToValidate="Pathbox" ValidationExpression="[\w\d:\.\/\-_\?&=\$\+\!\*'\(\),]+" />
</td>
</tr>
<%-- <tr>
<td>
Image Link:
</td>
<td>
<asp:TextBox ID="ImageBox" runat="server" ontextchanged="ImageBox_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="ImageValidator" runat="server"
ControlToValidate="ImageBox" ErrorMessage="*Required Title"
ForeColor="Red" ValidationGroup="OKValidate"></asp:RequiredFieldValidator>
</td>
</tr>--%>
<%-- <tr>
<td>
Reference Link:
</td>
<td>
<asp:TextBox ID="RefBox" runat="server" ontextchanged="RefBox_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="RefValidator" runat="server"
ControlToValidate="RefBox" ErrorMessage="*Required Title"
ForeColor="Red" ValidationGroup="OKValidate"></asp:RequiredFieldValidator>
</td>
</tr>--%>
<%--<tr>
<td class="style20">
Upload:</td>
<td>
<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="upload" />
</td>
</tr>--%>
<tr>
<td class="style22">
<asp:Button ID="ResetButton" runat="server" Text="Reset" onclick="ResetButton_Click" />
<asp:Button ID="OKButton" runat="server" Text="OK" onclick="OKButton_Click"
ValidationGroup="OKValidate" />
</td>
<td class="style23">
<asp:Label ID="successLabel" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td class="style22">
</td>
<td class="style23">
</td>
</tr>
<tr>
<td class="style22">
Delete entry:</td>
<td class="style23">
<asp:DropDownList ID="DeleteEntry" runat="server"
onselectedindexchanged="DeleteEntry_SelectedIndexChanged">
<asp:ListItem>Select One...</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style22">
<asp:Button ID="Delete" runat="server" onclick="DeleteButton_Click" Text="Delete" />
</td>
<td class="style23">
<asp:Label ID="DeleteTag" runat="server"></asp:Label>
</td>
</tr>
</table>
</div>
</td></center>
</tr>
</table>
<br>
</form>
</body>
</html>