<commit_before>
<?php 
include ('../model/student.php');

?>
<!DOCTYPE html>
<html>

<head>
	<title>Student Dashboard</title>

	<link href="./dist/css/bootstrap.css" rel="stylesheet">
	<link href="./dist/css/slider.css" rel="stylesheet">
	<link href="./dist/css/custom.css" rel="stylesheet" type='text/css'>
	

	<style>
	@font-face{
      font-family:'KGSecondChancesSketch'; 
      src:url('fonts/KGSecondChancesSketch.ttf');

     /* font-family: 'CabinSketch';
      src: url('fonts/CabinSketch-Regular.otf');*/
         }
		#bg{
    	background:url('./images/chalkboard2.jpg');
    	border: 3 solid /*#33cc33*/#6E8B3D;
		color: #FFFFe0;
		text-align: center;
		}
		body{
		
	
		padding-top: 80px;

		}
		.sponsor_data{
		font-family:'Cabin Sketch' cursive;
		font-size: 27px;
		}
	</style>
</head>

<body>

	

	

<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
    
      <div class="navbar-header" style="height: 50px;">
    

        <a class="navbar-brand" href="index.php">
        <h1 style="font-family:'KGSecondChancesSketch' cursive; margin-top: -9px;">LearnEm<h1></a>
      </div>


      <div class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
              <li><a href="listofstudents.php">Sponsor</a></li>
              <li><a href= "#hiw">How it Works</a></li>
        </ul>

        <div class="navbar-collapse collapse">
          <div class="navbar-form navbar-right">
                <button type="button" class="btn btn-danger">Sign Up</button>
                <button class="btn btn-success" data-toggle="modal" data-target="#appEdit">Sign in</button> 
          </div>              
        </div>
      </div>
    </div>
</div>

<div class="container" >

		<div class="row">
			<div class="col-lg-3" align="left"  >
			

					<img src="./images/facebook-icon.png" width="25px"/>
					<img src="./images/Twitter_logo.png" width="25px"/>
					<img src="./images/linked-in.jpg" width="25px"/>
					&nbsp

	
			</div>
<?php 

$S_id=$_GET['id'];

$student= getStudent($S_id);
$Donors=getDonors($S_id);
$total=count($Donors);
$totalAmount=getFundedAmount($S_id); //try to omit if page is not working. gets total funded amount
//$totalDonors=0;
//foreach($Donors as $totalDonors){ 
//$totalDonors=count($listdonors);
//	$total = count($totalDonors);}
 ?>

			<div class="col-lg-6">

			<h1 align="center" style="font-family:'Cabin Sketch' cursive; font-size: 60px; margin-top: -30px " >
			<?php echo $student['fname']; ?>
			</h1>
			</div>
    		

			<div class="col-lg-3" align="right" >
   					
       			<form action="application.php">

       			<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#appEdit">
  Edit Application
</button><!-- button for pop up to edit the contents of the page -->
    				
    			</form>
    		</div>	
    	</div>

    	<br>
    

    <commit_msg>progress bar in testing.php -- to be implemented<commit_after>
<?php 
include ('../model/student.php');

?>
<!DOCTYPE html>
<html>

<head>
	<title>Student Dashboard</title>

	<link href="./dist/css/bootstrap.css" rel="stylesheet">
	<link href="./dist/css/slider.css" rel="stylesheet">
	<link href="./dist/css/custom.css" rel="stylesheet" type='text/css'>
	

	<style>
	@font-face{
      font-family:'KGSecondChancesSketch'; 
      src:url('fonts/KGSecondChancesSketch.ttf');

     /* font-family: 'CabinSketch';
      src: url('fonts/CabinSketch-Regular.otf');*/
         }
		#bg{
    	background:url('./images/chalkboard2.jpg');
    	border: 3 solid /*#33cc33*/#6E8B3D;
		color: #FFFFe0;
		text-align: center;
		}
		body{
		
	
		padding-top: 80px;

		}
		.sponsor_data{
		font-family:'Cabin Sketch' cursive;
		font-size: 27px;
		}
	</style>
</head>

<body>

	

	

<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
    
      <div class="navbar-header" style="height: 50px;">
    

        <a class="navbar-brand" href="index.php">
        <h1 style="font-family:'KGSecondChancesSketch' cursive; margin-top: -9px;">LearnEm<h1></a>
      </div>


      <div class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
              <li><a href="listofstudents.php">Sponsor</a></li>
              <li><a href= "#hiw">How it Works</a></li>
        </ul>

        <div class="navbar-collapse collapse">
          <div class="navbar-form navbar-right">
                <button type="button" class="btn btn-danger">Sign Up</button>
                <button class="btn btn-success" data-toggle="modal" data-target="#appEdit">Sign in</button> 
          </div>              
        </div>
      </div>
    </div>
</div>

<div class="container" >

		<div class="row">
			<div class="col-lg-3" align="left"  >
			

					<img src="./images/facebook-icon.png" width="25px"/>
					<img src="./images/Twitter_logo.png" width="25px"/>
					<img src="./images/linked-in.jpg" width="25px"/>
					&nbsp

	
			</div>
<?php $S_id=$_GET['id']; ?>

<?php $student= getStudent($S_id); ?>
<?php //$Donors=getDonors($S_id); ?>
<?php //$total=count($Donors); ?>
//$totalAmount=getFundedAmount($S_id); //try to omit if page is not working. gets total funded amount
//$totalDonors=0;
//foreach($Donors as $totalDonors){ 
//$totalDonors=count($listdonors);
//	$total = count($totalDonors);}
 ?> -->

			<div class="col-lg-6">

			<h1 align="center" style="font-family:'Cabin Sketch' cursive; font-size: 60px; margin-top: -30px " >
			<?php echo $student['fname']; ?>
			</h1>
			</div>
    		

			<div class="col-lg-3" align="right" >
   					
       			<form action="application.php">

       			<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#appEdit">
  Edit Application
</button><!-- button for pop up to edit the contents of the page -->
    				
    			</form>
    		</div>	
    	</div>

    	<br>
    

    
{'fraction_non_alphanumeric': 0.19136960600375236, 'fraction_numerical': 0.011939280231963159, 'mean_word_length': 2.7279084551811823, 'pattern_counts': {'":': 0, '<': 136, '<?xml version=': 0, '>': 138, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6315564', 'n_tokens_mistral': 2347, 'n_tokens_neox': 2075, 'n_words': 399}