<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Admin Login</title>
    <link rel="stylesheet" type="text/css" href="style.css"> <!-- Replace with your actual stylesheet -->
</head>
<body>

<table width="100%" border="0">
    <tr>
        <td>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td align="right" width="4">
                        <img src="images/topbar-left.jpg" width="4" height="22" alt="top-left" />
                    </td>
                    <td class="top-bar-tile">&nbsp;</td>
                    <td align="left" width="4">
                        <img src="images/topbar-right.jpg" width="4" height="22" alt="top-right" />
                    </td>
                </tr>
            </table>
        </td>
    </tr>

    <tr>
        <td width="100%" align="center" height="57">
            <?php if (!empty($Err)) : ?>
                <font color="#ff0000" size="2"><?php echo htmlspecialchars($$Err); ?></font>
            <?php endif; ?>
        </td>
    </tr>

    <!-- Login Form -->
    <tr>
        <td colspan="3">
            <form method="post" action="admin_login_validate.php">
                <table width="100%" class="tablewbdr" border="0">
                    <tr>
                        <td width="24%" align="right" height="36">
                            <span class="style1"><font size="2">UserName&nbsp;&nbsp;</font></span>
                        </td>
                        <td width="1%">&nbsp;</td>
                        <td width="21%" align="left">
                            <input type="text" name="login" size="20" />
                        </td>
                    </tr>
                    <tr>
                        <td width="24%" align="right" height="42">
                            <span class="style1"><font size="2">Password&nbsp;&nbsp;&nbsp;&nbsp;</font></span>
                        </td>
                        <td>&nbsp;</td>
                        <td align="left">
                            <input type="password" name="passwd" size="20" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">&nbsp;</td>
                        <td align="left">
                            <input type="submit" value="Login" name="B1" />
                        </td>
                    </tr>
                </table>
            </form>
        </td>
    </tr>

    <tr>
        <td height="180" colspan="3">&nbsp;</td>
    </tr>

    <tr>
        <td align="center" class="footer-bg">
            <div>Copyright 2009 &copy; Affiliate Network Pro</div>
        </td>
    </tr>
</table>

</body>
</html>
