need to know what is telling to match the user and pass. and if its correct telling it to direct to loggedin page


<!DOCTYPE html>
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cPanel Login</title>
<link rel="shortcut icon" href="/cPanel_magic_revision_1331320140/unprotected/cpanel/favicon.ico" />

<!-- EXTERNAL CSS -->
<link href="/cPanel_magic_revision_1338860535/unprotected/cpanel/style_v2_optimized.css" rel="stylesheet" type="text/css" />

<!--[if IE 6]>
<style type="text/css">
img {
behavior: url(/cPanel_magic_revision_1333591753/unprotected/cp_pngbehavior_login.htc);
}
</style>
<![endif]-->

<script>
window.DOM = { get: function(id) { return document.getElementById(id) } };
</script>
</head>
<body>


<input type="hidden" id="dest_uri" value="/" />

<div id="login-wrapper" class="login-whisp">
<div id="notify">
<noscript>
<div class="error-notice">
<img src="/cPanel_magic_revision_1333591755/unprotected/cpanel/images/notice-error.png" alt="Error" align="left"/>
JavaScript is disabled in your browser.
For cPanel to function properly, you must enable JavaScript.
If you do not enable JavaScript, certain features in cPanel will not function correctly.
</div>
</noscript>

<div id='login-status' class="error-notice" style="visibility: hidden">
<span class='login-status-icon'></span>
<div id="login-status-message">You have logged out.</div>
</div>
</div>

<div style="display:none">
<div id="locale-container" style="visibility:hidden">
<div id="locale-inner-container">
<div id="locale-header">
<div class="locale-head">Please select a locale:</div>
<div class="close"><a href="javascript:void(0)" onclick="toggle_locales(false)">X Close</a></div>
</div>
<div id="locale-map">
<div class="scroller clear">

<div class="locale-cell"><a href="?locale=en">English</a></div>

<div class="locale-cell"><a href="?locale=ar">العربية</a></div>

<div class="locale-cell"><a href="?locale=de">Deutsch</a></div>

<div class="locale-cell"><a href="?locale=es">español</a></div>

<div class="locale-cell"><a href="?locale=es_es">español de España</a></div>

<div class="locale-cell"><a href="?locale=fr">français</a></div>

<div class="locale-cell"><a href="?locale=hi">हिन्दी</a></div>

<div class="locale-cell"><a href="?locale=nl">Nederlands</a></div>

<div class="locale-cell"><a href="?locale=pl">polski</a></div>

<div class="locale-cell"><a href="?locale=pt">português</a></div>

<div class="locale-cell"><a href="?locale=pt_br">português do Brasil</a></div>

<div class="locale-cell"><a href="?locale=ro">română</a></div>

<div class="locale-cell"><a href="?locale=ru">русский</a></div>

<div class="locale-cell"><a href="?locale=zh">中文</a></div>

</div>
</div>
</div>
</div>
</div>

<div id="content-container">
<div id="login-container">
<div id="login-sub-container">
<div id="login-sub-header">
<img src="/cPanel_magic_revision_1333591755/unprotected/cpanel/images/cpanel-logo.png" alt="logo" />
</div>
<div id="login-sub">
<div id="forms">

<form id="reset_form" action="/resetpass" method="post" style="visibility:hidden">
<div class="input-req-login"><label for="reset_pass_username">Username</label></div>
<div class="input-field-login icon reset-pass-container">
<input name="user" id="reset_pass_username" class="std_textbox" type="text" autocomplete="off" tabindex="1" placeholder="Enter your username." required>
</div>
<div style="width: 285px;">
<div class="login-btn"><button name="login" type="submit" id="reset_submit" tabindex="2">Reset password</button></div>
<div class="reset-pw"><a href="javascript:void(0)" onclick="return hide_reset();">Cancel</a></div>
</div>
<div class="clear" id="push"></div>
</form>

<form id="login_form" action="/login/" method="post" target="_top">
<div class="input-req-login"><label for="user">Username</label></div>
<div class="input-field-login icon username-container">
<input name="user" id="user" autofocus="autofocus" value="" placeholder="Enter your username." class="std_textbox" type="text" autocomplete="off" tabindex="1" required>
</div>
<div style="margin-top:30px;" class="input-req-login"><label for="pass">Password</label></div>
<div class="input-field-login icon password-container">
<input name="pass" id="pass" placeholder="Enter your account password." class="std_textbox" type="password" tabindex="2" autocomplete="off" required>
</div>
<div style="width: 285px;">
<div class="login-btn">
<button name="login" type="submit" id="login_submit" tabindex="3">Log in</button>
</div>

<noscript><style type="text/css">
.reset-pw { display:none }
</style></noscript>
<div class="reset-pw"><a href="javascript:void(0)" onclick="show_reset()">Reset password</a></div>
</div>
<div class="clear" id="push"></div>
</form>

<!--CLOSE forms -->
</div>

<!--CLOSE login-sub -->
</div>
<!--CLOSE login-sub-container -->
</div>
<!--CLOSE login-container -->
</div>

<div id="locale-footer">
<div class="locale-container">
<noscript>
<form method="get" action=".">
<select name="locale">
<option value="">Change locale</option>
<option value='en'>English</option><option value='ar'>العربية</option><option value='de'>Deutsch</option><option value='es'>español</option><option value='es_es'>español de España</option><option value='fr'>français</option><option value='hi'>हिन्दी</option><option value='nl'>Nederlands</option><option value='pl'>polski</option><option value='pt'>português</option><option value='pt_br'>português do Brasil</option><option value='ro'>română</option><option value='ru'>русский</option><option value='zh'>中文</option> </select>
<button style="margin-left: 10px" type="submit">Change</button>
</form>
<style type="text/css">#locales_list {display:none}</style>
</noscript>
<ul id="locales_list">


<li><a href="/?locale=en">English</a></li>


<li><a href="/?locale=ar">العربية</a></li>


<li><a href="/?locale=de">Deutsch</a></li>


<li><a href="/?locale=es">español</a></li>


<li><a href="/?locale=es_es">español&nbsp;de&nbsp;España</a></li>


<li><a href="/?locale=fr">français</a></li>


<li><a href="/?locale=hi">हिन्दी</a></li>


<li><a href="/?locale=nl">Nederlands</a></li>


<li><a href="javascript:void(0)" id="morelocale" onclick="toggle_locales(true)" title="More locales">…</a></li>
</ul>
</div>
</div>
</div>
<!--Close login-wrapper -->
</div>
<script>
// Homerolled. We're not logged in and don't have access to cjt and yui.

var MESSAGES = {
"ajax_timeout" : "The connection timed out. Please try again.",
"authenticating" : "Authenticating …",
"changed_ip" : "Your IP address has changed. Please log in again.",
"expired_session" : "Your session has expired. Please log in again.",
"invalid_login" : "The login is invalid.",
"invalid_session" : "Your session cookie is invalid. Please log in again.",
"invalid_username" : "The submitted username is invalid.",
"network_error" : "A network error occurred while sending your login request. Please try again. If this condition persists, contact your network service provider.",
"no_username" : "You must specify a username to login.",
"prevented_xfer" : "The session could not be transferred because you were not accessing this service over a secure connection. Please login now to continue.",
"session_locale" : "The locale selected here will be in effect for the current browser session, regardless of your account’s saved locale preference.",
"success" : "Login successful. Redirecting …",
"token_incorrect" : "The security token in your request is invalid.",
"token_missing" : "The security token is missing from your request.",
"": 0
};
delete MESSAGES[""];

window.IS_LOGOUT = false;

"use strict";var FADE_DURATION=0.45;var FADE_DELAY=20;var AJAX_TIMEOUT=30000;var LOCALE_FADES=[];var HAS_CSS_OPACITY="opacity" in document.body.style;var login_form=DOM.get("login_form");var login_username_el=DOM.get("user");var login_password_el=DOM.get("pass");var login_submit_el=DOM.get("login_submit");var div_cache={"login-page"OM.get("login-page")||false,"locale-container"OM.get("locale-container")||false,"login-container"OM.get("login-container")||false,"locale-footer"OM.get("locale-footer")||false,"content-cell"OM.get("content-container")||false,invalidOM.get("invalid")||false};var content_cell=div_cache["content-cell"];if(div_cache["locale-footer"]){div_cache["locale-footer"].style.display="block"}var reset_form=DOM.get("reset_form");var reset_username_el=DOM.get("reset_pass_username");var RESET_FADES=[];var show_reset=function(){if(!reset_username_el.value){reset_username_el.value=login_username_el.value}w hile(RESET_FADES.length){clearInterval(RESET_FADES.shift())}RESET_FADES.push(fade_in(reset_form));RE SET_FADES.push(fade_out(login_form));reset_username_el.focus()};var hide_reset=function(){while(RESET_FADES.length){clearInterval(RESET_FADES.shift())}RESET_FADES.push( fade_in(login_form));RESET_FADES.push(fade_out(reset_form));login_username_el.focus()};function toggle_locales(a){while(LOCALE_FADES.length){clearInterval(LOCALE_FADES.shift())}var c=div_cache[a?"locale-container":"login-container"];set_opacity(c,0);if(HAS_CSS_OPACITY){content_cell.replaceChild(c,content_cell.children[0])}else{var b=content_cell.children[0];content_cell.insertBefore(c,b);c.style.display="";b.style.display="none"}LOCALE_FADES.push(fade_in( c));LOCALE_FADES.push((a?fade_out:fade_in)("locale-footer"))}if(HAS_CSS_OPACITY){var set_opacity=function set_opacity(b,a){b.style.opacity=a}}else{var filter_regex=/(DXImageTransform\.Microsoft\.Alpha\()[^)]*\)/;var set_opacity=function set_opacity(c,a){var b=c.currentStyle.filter;if(!b){c.style.filter="progidXImageTransform.Microsoft.Alpha(enabled=true)"}else{if(!filter_regex.test(b)){c.style.filter+=" progidXImageTransform.Microsoft.Alpha(enabled=true)"}else{var f=b.replace(filter_regex,"$1enabled=true)");if(f!==b){c.style.filter=f}}}try{c.filters.item("DXImage Transform.Microsoft.Alpha").opacity=a*100}catch(d){try{c.filters.item("alpha").opacity=a*100}catch(d ){}}}}function fade_in(c,h,i){c=div_cache[c]||DOM.get(c)||c;var k=c.style;var d;var n=window.getComputedStyle?getComputedStyle(c,null):c.currentStyle;var a=n.visibility;var m;if(c.offsetWidth&&a!=="hidden"){if(window.getComputedStyle){m=Number(n.opacity)}else{try{m=c.filte rs.item("DXImageTransform.Microsoft.Alpha").opacity}catch(l){try{m=c.filters("alpha").opacity}catch( l){m=100}}m/=100}if(!m){m=0}}else{m=0;set_opacity(c,0)}if(i&&m<0.01){if(m){set_opacity(c,0)}return}if(!h){h=FADE _DURATION}var f=h*1000;var b=new Date();var g;if(i){g=f+b.getTime()}else{k.visibility="visible"}var j=function(){var o;if(i){o=m*(g-new Date())/f;if(o<=0){o=0;clearInterval(d);k.visibility="hidden"}}else{o=m+(1-m)*(new Date()-b)/f;if(o>=1){o=1;clearInterval(d)}}set_opacity(c,o)};j();d=setInterval(j,FADE_DELAY);return d}function fade_out(a,b){return fade_in(a,b,true)}function ajaxObject(b,a){this._url=b;this._callback=a||function(){}}ajaxObject.prototype.updating=false;ajaxO bject.prototype.abort=function(){if(this.updating){this.AJAX.abort();delete this.AJAX}};ajaxObject.prototype.update=function(h,a){if(this.AJAX){return false}var f=null;if(window.XMLHttpRequest){f=new XMLHttpRequest()}else{if(window.ActiveXObject){f=new ActiveXObject("Microsoft.XMLHTTP")}else{return false}}var d;var c=this;f.onreadystatechange=function(){if(f.readyState==4){clearTimeout(d);c.updating=false;c._callb ack(f);delete c.AJAX}};try{d=setTimeout(function(){c.abort();show_status(MESSAGES.ajax_timeout,"error")},AJAX_TIME OUT);if(/post/i.test(a)){var b=this._url+"?login_only=1";f.open("POST",b,true);f.setRequestHeader("Content-type","application/x-www-form-urlencoded");f.send(h)}else{var b=this._url+"?"+h+"&timestamp="+(new Date).getTime();f.open("GET",b,true);f.send(null)}this.AJAX=f;this.updating=true}catch(g){login_form .submit()}return true};var _text_content=("textContent" in document.body)?"textContent":"innerText";function login_results(j){var k;try{var k=JSON.parse(j&&j.responseText)}catch(h){k=null}var c=j.status;if(c===200){show_status(MESSAGES.success,"success");fade_out("content-container",FADE_DURATION/2);if(k){var d=DOM.get("dest_uri").value;var i;if(d&&!d.match(/^\/login\/?$/)){i=k.security_token+d}else{i=k.redirect}if(/^(?:\/cpsess[^\/]+)\/$/.test(i)){top.location.href=i}else{if(k.security_token&&(top!==window)){for(var g=0;g<top.frames.length;g++){if(top.frames[g]!==window){var a=top.frames[g].location.href.replace(/\/cpsess[.\d]+/,k.security_token);top.frames[g].location.href=a}}}location.href=i}}else{login_form.submit()}return}else{if(parseInt(c/100)===4){var b=k&&k.message;show_status(MESSAGES[b||"invalid_login"]||MESSAGES.invalid_login,"error");set_status_timeout()}else{show_status(MESSAGES.network_error,"erro r")}show_links(document.body);login_button.release();return}}var level_classes={info:"info-notice",error:"error-notice",success:"success-notice",warn:"warn-notice"};var levels_regex="";for(var lv in level_classes){levels_regex+="|"+level_classes[lv]}levels_regex=new RegExp("\\b(?:"+levels_regex.slice(1)+")\\b");function show_status(d,f){DOM.get("login-status-message")[_text_content]=d;var a=DOM.get("login-status");var b=f&&level_classes[f]||level_classes.info;var c=a.className.replace(levels_regex,b);a.className=c;fade_in(a);reset_status_timeout()}var STATUS_TIMEOUT=null;function reset_status_timeout(){clearTimeout(STATUS_TIMEOUT);STATUS_TIMEOUT=null}function set_status_timeout(a){STATUS_TIMEOUT=setTimeout(function(){fade_out("login-status")},a||8000)}var LOGIN_SUBMIT_OK=true;document.body.onkeyup=function(){LOGIN_SUBMIT_OK=true};document.body.onmousedow n=function(){LOGIN_SUBMIT_OK=true};function do_login(){if(LOGIN_SUBMIT_OK){LOGIN_SUBMIT_OK=false;hide_links(document.body);login_button.suppress ();show_status(MESSAGES.authenticating,"info");var a=new ajaxObject(login_form.action,login_results);a.update("user="+encodeURIComponent(login_username_el.va lue)+"&pass="+encodeURIComponent(login_password_el.value),"POST")}return false}function _set_links_style(b,f,d){var a=b.getElementsByTagName("a");for(var c=a.length-1;c>=0;c--){a[c].style[f]=d}}function hide_links(a){_set_links_style(a,"visibility","hidden")}function show_links(a){_set_links_style(a,"visibility","")}var login_button={button:login_submit_el,_suppressed_disabled:null,suppress:function(){if(this._suppress ed_disabled===null){this._suppressed_disabled=this.button.disabled;this.button.disabled=true}},relea se:function(){if(this._suppressed_disabled!==null){this.button.disabled=this._suppressed_disabled;th is._suppressed_disabled=null}},queue_disabled:function(a){if(this._suppressed_disabled===null){this. button.disabled=a}else{this._suppressed_disabled=a}}};if(!window.JSON){login_button.suppress();var new_script=document.createElement("script");new_script.onreadystatechange=function(){if(this.readySt ate==="loaded"||this.readyState==="complete"){this.onreadystatechange=null;window.JSON={parse:window .jsonParse};window.jsonParse=undefined;login_button.release()}};new_script.src="/unprotected/json-minified.js";document.getElementsByTagName("head")[0].appendChild(new_script)}try{login_form.onsubmit=do_login;set_opacity(DOM.get("login-wrapper"),0);LOCALE_FADES.push(fade_in("login-wrapper"));var preload=document.createElement("div");preload.id="preload_images";document.body.insertBefore(preload ,document.body.firstChild);if(window.IS_LOGOUT){set_status_timeout(10000)}else{if(/(?:\?|&)locale=[^&]/.test(location.search)){show_status(MESSAGES.session_locale)}}setTimeout(function(){login_username_e l.focus()},100)}catch(e){if(window.console){console.warn(e)}};</script>
<div class="copyright">Copyright © 2012 cPanel, Inc.</div>

</body>

</html>