<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Netclues PowerPanel</title>
        <link rel="shortcut icon" href="html/images/favicon.ico" type="image/x-icon" /> 
        <link rel="stylesheet" type="text/css" href="<?= GLOBAL_ADMIN_CSS_PATH ?>style.css" />

        <script language="JavaScript">
            function checkemail(str)
            {
                var testresults;
               
                
                var filter=/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$/i;

                if (filter.test(str))
                    testresults=true
                else
                    testresults=false

                return (testresults)
            }


            function ChkValid()
            {
                if(document.getElementById('ss_username').value=="")
                {
                    alert("Please enter Email ID.");
                    document.getElementById('ss_username').focus();
                    return false;
                }
                else if(!checkemail(document.getElementById('ss_username').value))
                {
                    alert("Please enter valid Email ID.");
                    document.getElementById('ss_username').focus();
                    return false;
                }
                document.getElementById('h_save').value = 'T';
                return true;
            }	

            function setHeight()
            {
	
                var height = document.documentElement.clientHeight;
	
                document.getElementById('container').setAttribute('height', height);
            }

        </script>
        <script type="text/javascript"> </script>

        <style>
            .display-message{background:#F1B1B4; border:1px solid #CC0000; font:bold 12px Arial,Helvetica,sans-serif; text-align:center; color:#000000; padding:10px 0; display:none;}
        </style>
    </head>
    <body>
        <div id="page-container">
            <div id="logo">
                <div class="logo"><a href="index.php"><img src="<?php echo GLOBAL_ADMIN_IMAGES_PATH; ?>logo.jpg"  alt="PowerPanel" /></a></div>
                <div class="links" > <br />
                    <br />
                    <div class="welcome-main" style="width:265px;">
                        <div class="welcome-text">
                            <?= date("d-F-Y"); ?>
                        </div>

                    </div>
                </div>
            </div>
            <div class="clear"></div>
            <div class="middle-main">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>

                        <td width="5%" align="left" valign="top">&nbsp;</td>
                        <td width="1%" align="left" valign="top">&nbsp;</td>
                        <td align="left" valign="top" width="93%">

                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="40" align="left" valign="top">&nbsp;</td>
                                </tr>
                                <tr>
                                    <td align="left" valign="top" class="login-heading-text">Welcome To Netclues PowerPanel</td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>

                                                <td width="48%"><p class="new-login-detail-text"> Netclues PowerPanel is a complete Content Management System, with phenomenal customizability.
                                                        After all, PowerPanel has:</p>
                                                    <p>&nbsp;</p>
                                                    <p class="new-login-detail-text-heading">Log Manager</p>
                                                    <p class="new-login-detail-text">The module manager manages the log in history, every log in and logout time is noted so you know how long you access the PowerPanel and which of your agents are accessing what areas.</p>
                                                    <p>&nbsp;</p>
                                                    <p class="new-login-detail-text-heading">Rich Text Editor</p>
                                                    <p class="new-login-detail-text">PowerPanel has a rich text box area with a WYSIWYG editor. Where changing or updating your site is just 3 clicks.</p>
                                                    <p>&nbsp;</p>
                                                    <p class="new-login-detail-text-heading">Trash Manager</p>
                                                    <p class="new-login-detail-text">Any content, property, specials deleted? Dont worry we have trash manager and logs showing how they were deleted. Now undoing is never impossible.</p>
                                                    <p>&nbsp;</p>
                                                    <p class="new-login-detail-text-heading">Latest Updates from the Netclues can be found at: <a href="http://www.netclues.ky" target="_blank">www.netclues.ky</a></p></td>
                                                <td width="13%">&nbsp;</td>
                                                <td width="27%">

                                                    <form method="post" name="logform" id="logform" onSubmit="return ChkValid();">
                                                        <table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="login-border">
                                                            <tr>
                                                                <td height="35" colspan="2" align="left" valign="middle" class="login-top">Forgot Password</td>
                                                            </tr>
                                                            <?php if ($_REQUEST['msg'] == 1) { ?>
                                                                <tr>
                                                                    <td colspan="2" height="25" align="center" valign="middle" class="form_titles" style="color:#000; background-color:#F1B1B4; border:1px solid #C00; text-align:center;"><strong>Email Id does not exist!</strong></td>
                                                                </tr>
                                                            <?php } else if ($_REQUEST['msg'] == 2) { ?>
                                                                <tr>
                                                                    <td colspan="2" height="25" align="center" valign="middle" class="form_titles" style="color:#000; background-color:#C9E8C8; border:1px solid #060;"><strong>Password has been sent to your email account.</strong></td>
                                                                </tr>
                                                            <?php } else if ($_REQUEST['msg'] == 3) { ?>
                                                                <tr>
                                                                    <td colspan="2" height="25" align="center" valign="middle" class="form_titles" style="color:#000; background-color:#F1B1B4; border:1px solid #C00; text-align:center;"><strong>Sorry! Mail could not be sent.</strong></td>
                                                                </tr>
                                                            <?php } ?>
                                                            <tr>
                                                                <td width="128" align="left" valign="middle" class="add-new-user-text"><br />
                                                                    Email ID :</td>
                                                                <td width="220" align="left" valign="middle"><br />
                                                                    <input name="ss_username" type="text" class="login-textbox" id="ss_username" />
                                                                    <input name="h_save" type="hidden" class="login-textbox" id="h_save" value="F" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" valign="middle">&nbsp;</td>
                                                                <td align="left" valign="middle" style="padding-top:10px;">
                                                                    <input name="login" type="image" id="login" src="<?php echo GLOBAL_ADMIN_IMAGES_PATH; ?>submitforgot.jpg" border="0" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="left" valign="middle">&nbsp;</td>
                                                                <td align="left" valign="middle" class="login-text1"><a href="index.php">Click here to Login</a></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="2" align="left" valign="middle">&nbsp;</td>
                                                            </tr>
                                                        </table>
                                                    </form>
                                                </td>
                                                <td width="12%"></td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="213" align="center" valign="top">&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            </tr>
            </table>
        </div>
        </div>
        <div id="footer-container" style="position:fixed; bottom:0; width:100%;">

            <div class="footer">
                <div class="footer-version">Version 4.0</div>
                <div class="footer-copyright">Copyright &copy; <?= date('Y'); ?> &nbsp;&nbsp;<a href="http://www.netclues.com/" target="_blank"><img src="<?php echo GLOBAL_ADMIN_IMAGES_PATH; ?>netclues.png" width="64" height="16" alt="Cac" /></a></div>
            </div>
        </div>
    </body>
</html>
