<commit_before><?php
session_start();
if(isset($_SESSION['LOGIN_STATUS']) && !empty($_SESSION['LOGIN_STATUS'])){
  header('location:main_page.php');
}
?>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>B2B Center | Login </title>
  <link rel="shortcut icon" href="resourse/favicon.png">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="css/960_12_col.css">
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <link rel="stylesheet" type="text/css" href="css/font-awesome.css">
  <link rel="stylesheet" type="text/css" href="css/font-awesome-ie7.min.css">
  <script type="text/javascript" src="js/jquery-1.4.1.min.js"></script>
</head>
<body>
  <div class="footer_login">
    <span class="copyright">
      &copy; <?php echo date('Y'); ?> Home ® 
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href="" title="About">About</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href=""  title="Support">Support</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href="http://ro.wikipedia.org/wiki/Sistem_de_management_al_documentelor" target="_blank" title="Legal">Legal</a>
    </span>
    <span class="warning">AVERTISMENT: Accesul neautorizat la acest sistem este interzis si va fi urmarit penal de lege.<br> 
      Prin accesarea acestui sistem, sunteti de acord ca actiunile dvs. pot fi monitorizate in cazul in care se suspecteaza utilizarea neautorizata
    </span> 
  </div> 
  <script type="text/javascript">
  function validLogin(){
    var username=$('#username').val();
    var password=$('#password').val();
    var dataString = 'username='+ username + '&password='+ password;
    $.ajax({
      type: "POST",
      url: "process.php",
      data: dataString,
      cache: false,
      success: function(result){
       var result=trim(result);
       if(result=='correct'){
         window.location='main_page.php';
       }else{
         $("#message_text").html(result);
         $("#message_text").removeClass();
         $("#message_text").addClass("alert alert-error");
       }
     }
   });
  }
  function trim(str){
   var str=str.replace(/^\s+|\s+$/,'');
   return str;
 }
 </script>  
 <script>
 $(function(){
  $('.btn_signup').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("inreg.php");
  });
  $('.authentic').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("login.php");
  });
  $('.recuperare').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("recuperare_parola.php");
  });
})
 </script>
 <script type="text/javascript"> 
 $(document).ready(function(){
  if (navigator.appName == "Microsoft Internet Explorer") {
                //Set IE as true
                ie = true;
                //Create a user agent var
                var ua = navigator.userAgent;
                //Write a new regEx to find the version number
                var re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
                //If the regEx through the userAgent is not null
                if (re.exec(ua) != null) {
                    //Set the IE version
                    var ieVersion = parseInt(RegExp.$1);
                  }
                }
                else {
                  ie = false;
                }
                if(ieVersion < 11){
                  $('#autentifica').hide();
                  $('#box_login').html('Va rugam upgradati Internet Explorer la versiunea 11');
                  $("#box_login").html("Va rugam upgradati Internet Explorer la versiunea 11<br/>Please upgrade Internet Explorer to version 11<br/> <a href = 'http://windows.microsoft.com/en-us/internet-explorer/download-ie)'>Download</a> ");<commit_msg>update file login.html<commit_after><?php
session_start();
if(isset($_SESSION['LOGIN_STATUS']) && !empty($_SESSION['LOGIN_STATUS'])){
  header('location:main_page.php');
}
?>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <title>B2B Center | Login </title>
  <link rel="shortcut icon" href="resourse/favicon.png">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="css/960_12_col.css">
  <link rel="stylesheet" type="text/css" href="css/style.css">
  <link rel="stylesheet" type="text/css" href="css/font-awesome.css">
  <link rel="stylesheet" type="text/css" href="css/font-awesome-ie7.min.css">
  <script type="text/javascript" src="js/jquery-1.4.1.min.js"></script>
</head>
<body>
  <div class="footer_login">
    <span class="copyright">
      &copy; <p href="javascript:void(0)" id="demo"></p> Home ® 
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href="" title="About">About</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href=""  title="Support">Support</a>
      &nbsp;&nbsp;|&nbsp;&nbsp;
      <a href="http://ro.wikipedia.org/wiki/Sistem_de_management_al_documentelor" target="_blank" title="Legal">Legal</a>
    </span>
    <span class="warning">AVERTISMENT: Accesul neautorizat la acest sistem este interzis si va fi urmarit penal de lege.<br> 
      Prin accesarea acestui sistem, sunteti de acord ca actiunile dvs. pot fi monitorizate in cazul in care se suspecteaza utilizarea neautorizata
    </span> 
  </div> 
  <script type="text/javascript">
  function validLogin(){
    var username=$('#username').val();
    var password=$('#password').val();
    var dataString = 'username='+ username + '&password='+ password;
    $.ajax({
      type: "POST",
      url: "process.php",
      data: dataString,
      cache: false,
      success: function(result){
       var result=trim(result);
       if(result=='correct'){
         window.location='main_page.php';
       }else{
         $("#message_text").html(result);
         $("#message_text").removeClass();
         $("#message_text").addClass("alert alert-error");
       }
     }
   });
  }
  function trim(str){
   var str=str.replace(/^\s+|\s+$/,'');
   return str;
 }
 </script>  
 <script>
 $(function(){
  $('.btn_signup').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("inreg.php");
  });
  $('.authentic').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("login.php");
  });
  $('.recuperare').click(function(){
    $('.bodySection').hide(200);
    window.location.replace("recuperare_parola.php");
  });  
});
 $(function(){
    var d = new Date();
    var n = d.getFullYear();
    document.getElementById("demo").innerHTML = n;
  });
 </script>
 <script type="text/javascript"> 
 $(document).ready(function(){
  if (navigator.appName == "Microsoft Internet Explorer") {
                //Set IE as true
                ie = true;
                //Create a user agent var
                var ua = navigator.userAgent;
                //Write a new regEx to find the version number
                var re = new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");
                //If the regEx through the userAgent is not null
                if (re.exec(ua) != null) {
                    //Set the IE version
                    var ieVersion = parseInt(RegExp.$1);
                  }
                }
                else {
                  ie = false;
                }
                if(ieVersion < 11){
                  $('#autentifica').hide();
                  $('#box_login').html('Va rugam upgradati Internet Explorer la versiunea 11');
                  $("#box_login").html("Va rugam upgradati Internet Explorer la versiunea 11<br/>Please upgrade Internet Explorer to version 11<br/> <a href = 'http://windows.microsoft.com/en-us/internet-explorer/download-ie)'>Download</a> ");
{'fraction_non_alphanumeric': 0.1810344827586207, 'fraction_numerical': 0.010015212981744423, 'mean_word_length': 2.829611650485437, 'pattern_counts': {'":': 0, '<': 86, '<?xml version=': 0, '>': 84, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4683235', 'n_tokens_mistral': 2568, 'n_tokens_neox': 2465, 'n_words': 508}