!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.24.0. PHP/7.3.32 

uname -a: Linux ip-172-31-28-255.ec2.internal 6.1.159-181.297.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC
Mon Dec 22 22:31:59 UTC 2025 x86_64
 

 

Safe-mode: OFF (not secure)

/www/wwwroot/itce.co.in/branch2/   drwxr-xr-x
Free 30.73 GB of 49.93 GB (61.56%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     generate_certificate.php (10.37 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
?>
<?php
include('session.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://www.w3schools.com/lib/w3.css">
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<title> All Admission Details </title>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<script type='text/javascript'>
$(document).ready(function(){
$("img.a").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});

});
</script>
 <style type="text/css">
table {
    border: 0px solid green;
    border-collapse: collapse;
    width:100%;
}

table td {
    border: 0px solid green;
}

table td.shrink {
    white-space:nowrap
}
table td.expand {
    width: 99%
}
</style>

<style>

.table
{

table-layout:fixed;
width:500px;

border-collapse:collapse;

}
.stable
{


width:50px;
border:2;


}

.header th
{

font-family:Calibri;
font-size:small;
font-weight:lighter;

border-left:1px solid #000;
background:#d0d0d0;

}
td {
  word-break: break-word;
}
.hoverTable tr{
        background: #b8d1f3;
.body_panel
{

display:inline-block;
width:520px;
height:300px;
overflow-y:scroll;

}

.body tr
{

border-bottom:1px solid #d0d0d0;

}

.body td
{

border-left:1px solid #d0d0d0;
padding-left:3px;

font-family:Calibri;
font-size:small;

overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;

}
</style>
</head>
<center>
<body class="w3-container">
<table >
  
  <tr>
    <td colspan="2">
    <table width="945" border="0">
     <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('header.php'); ?></td>
      </tr>
      <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('menubar.php'); ?></td>
      </tr>
      <tr>
        <td colspan="3" bgcolor="#CCCCCC"> <?php include('sessionbar.php'); ?></td>
      </tr>
      <tr>
        
      </tr>
    </table></td>
  </tr>
  <tr>
    <td colspan="2" align="center">


  <?php
  $keywords 
$_GET['ID'];
include 
'connect.php';
 
// Attempt select query execution
$sql "SELECT * FROM admission where ID='$keywords'";
if(
$result mysqli_query($link$sql)){
    if(
mysqli_num_rows($result) > 0){

        while(
$row mysqli_fetch_array($result))
        {
$branch_id='INFYSYS TECHNOLOGIES COMPUTER EDUCATION (SARAIMIR, AZAMGARH, UP India)';
$student_roll_no=$row['enrollment'];
$student_id=$row['ID'];
$name=$row['name'];
$courses=$row['course'];
$photo=$row['photo'];
$regDate=$row['regDate'];
            
        }
      
        
// Free result set
        
mysqli_free_result($result);
    } else{
        
    }
} else{
    echo 
"ERROR: Could not able to execute $sql. " mysqli_error($link);
}
 
$newrollnumbers=date('y').date('m').($serial+1);

// Close connection
mysqli_close($link);
?>


<form action="gen_certi_data.php " method="post" enctype="multipart/form-data" enctype="multipart/form-data" name="form1" id="form1">
  <table width="100%" border="0" cellspacing="7" cellpadding="7" bgcolor="#FFCC66" align='left'>

     <tr align='left'>
      <td width="197" height="40" bgcolor="#FFCC66" class="auto-style1">Roll_No/Registration No</td>
      <td width="4" height="40" class="auto-style1">&nbsp;</td>
      <td width="480" height="40" bgcolor="#FFCC66" class="auto-style1"><input name="roll_no" type="text" id="roll_no" size="80" maxlength="80"  required="required" value='<?php echo $student_roll_no ?>' readonly /></td>
      <td width="4" height="40">&nbsp;</td>
    </tr>
    <tr align='left'>
      <td width="197" height="40" bgcolor="#FFCC66" class="auto-style1">NAME</td>
      <td width="4" height="40" class="auto-style1">&nbsp;</td>
      <td width="480" height="40" bgcolor="#FFCC66" class="auto-style1"><input name="name" type="text" id="name" size="80" maxlength="80"  value='<?php echo $name ?>' readonly /></td>
      <td width="4" height="40">&nbsp;</td>
    </tr>
    <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Banch ID</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="branchid" type="text" id="branchid" size="70" maxlength="70" value='<?php echo $branch_id ?>' readonly /></td>
      <td height="40">&nbsp;</td>
    </tr>
    
    <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Course Name </td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="course" type="text" id="course" size="60" maxlength="60"   value='<?php echo $courses ?>' readonly  /></td>
      <td height="40">&nbsp;</td>
    </tr>
         <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Photo</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="photo" type="text" id="photo" size="60" maxlength="60" value='<?php echo $photo ?>' /></td>
      <td height="40">&nbsp;</td>
    </tr>
     <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Issue Date </td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="issue_date" type="text" id="issue_date" data-date="" data-date-format="DD MMMM YYYY" size="60" maxlength="60"   required /></td>
      <td height="40">&nbsp;</td>
    </tr>
     <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Certificate No</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="cno" type="text" id="cno" size="60" maxlength="60"   required  /></td>
      <td height="40">&nbsp;</td>
    </tr>
     <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Start Date</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="start_date" type="text" id="start_date" size="60" maxlength="60"  value='<?php echo $regDate ?>' required /></td>
      <td height="40">&nbsp;</td>
    </tr>
     <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">End Date</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="end_date" type="text" id="end_date" size="60" maxlength="60"   required /></td>
      <td height="40">&nbsp;</td>
    </tr>
     <tr>
      <td height="40" bgcolor="#FFCC66" class="auto-style1">Grade</td>
      <td height="40" class="auto-style1">&nbsp;</td>
      <td height="40" bgcolor="#FFCC66" class="auto-style1"><input name="grade" type="text" id="grade" size="60" maxlength="60"   required /></td>
      <td height="40">&nbsp;</td>
    </tr>
    
<table align='right' widht='50%' class='.stable' border='2'>
<tr>
<td>Sr.No</td>
<td>Paper Name</td>
<td>Maximum Marks</td>
<td>Obtained Marks</td>
</tr>
<tr>
<td>1</td>
<td><input name="pn1" type="text" id="pn1" size="60" maxlength="60"  /></td>
<td><input name="pn1_total_marks" type="text" id="pn1_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn1_obtained_marks" type="text" id="pn1_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>2</td>
<td><input name="pn2" type="text" id="pn2" size="60" maxlength="60"  /></td>
<td><input name="pn2_total_marks" type="text" id="pn2_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn2_obtained_marks" type="text" id="pn2_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>3</td>
<td><input name="pn3" type="text" id="pn3" size="60" maxlength="60"  /></td>
<td><input name="pn3_total_marks" type="text" id="pn3_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn3_obtained_marks" type="text" id="pn3_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>4</td>
<td><input name="pn4" type="text" id="pn4" size="60" maxlength="60"  /></td>
<td><input name="pn4_total_marks" type="text" id="pn4_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn4_obtained_marks" type="text" id="pn4_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>5</td>
<td><input name="pn5" type="text" id="pn5" size="60" maxlength="60"  /></td>
<td><input name="pn5_total_marks" type="text" id="pn5_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn5_obtained_marks" type="text" id="pn5_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>6</td>
<td><input name="pn6" type="text" id="pn6" size="60" maxlength="60"  /></td>
<td><input name="pn6_total_marks" type="text" id="pn6_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn6_obtained_marks" type="text" id="pn6_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>7</td>
<td><input name="pn7" type="text" id="pn7" size="60" maxlength="60"  /></td>
<td><input name="pn7_total_marks" type="text" id="pn7_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn7_obtained_marks" type="text" id="pn7_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>8</td>
<td><input name="pn8" type="text" id="pn8" size="60" maxlength="60"  /></td>
<td><input name="pn8_total_marks" type="text" id="pn8_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn8_obtained_marks" type="text" id="pn8_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>9</td>
<td><input name="pn9" type="text" id="pn9" size="60" maxlength="60"  /></td>
<td><input name="pn9_total_marks" type="text" id="pn9_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn9_obtained_marks" type="text" id="pn9_obtained_marks" size="10" maxlength="60"  /></td>
</tr>
<tr>
<td>10</td>
<td><input name="pn10" type="text" id="pn10" size="60" maxlength="60"  /></td>
<td><input name="pn10_total_marks" type="text" id="pn10_total_marks" size="10" maxlength="60"  /></td>
<td><input name="pn10_obtained_marks" type="text" id="pn10_obtained_marks" size="10" maxlength="60"  /></td>
</tr>

</table>
<br><br><br>

    <br><br><br>
      

    </tr>
      <td height="40" colspan="4" align="center" bgcolor="#339933"><input type="submit" name="button" id="button" value="Submit" /></td>
    </tr>
  </table>
</form>

</h3>

</center>

    
  <br><br><br>
    </td>
  </tr>
  <tr>
    <td colspan="2" bgcolor="#CCCCCC"><?php include('footer.php'); ?></td>
  </tr>
</table>

</body></center>
</html>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.002 ]--