ok
Direktori : /proc/thread-self/root/proc/self/root/home/shopnoc1/public_html/ |
Current File : //proc/thread-self/root/proc/self/root/home/shopnoc1/public_html/stdview.php |
<?php include('db.php'); include('header.php'); if (isset($_POST['stidsub'])) { // code... $stid=$_POST['stid']; $sqlstd = "SELECT * FROM admittedstudentinfo WHERE stdid like '%".$stid."%'"; $resultstd = $conn->query($sqlstd); if ($resultstd->num_rows > 0) { // output data of each row while($rowstd = $resultstd->fetch_assoc()) { ?> <div class="container"> <div class="row"> <div class="col-sm-12 bg-success py-2 m-2"> <h1 class="text-left text-white">Hello, <?php echo $rowstd['name'];?>! Welcome to Your Profile.</h1> </div> </div> </div> <div class="container"> <div class="row"> <table class="table table-hover"> <tbody> <tr class="py-1"> <td colspan="2"> <img class="img-responsive" src="<?php echo $rowstd['picture'];?>" width="150"> </td> </tr> <tr> <td class="col-sm-3">Admission Date</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['admissiondate'];?></td> </tr> <tr> <td class="col-sm-3">Student's ID</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['stdid'];?></td> </tr> <tr> <td class="col-sm-3">Student's Name</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['name'];?></td> </tr> <tr> <td class="col-sm-3">Student's Father Name</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['fathername'];?></td> </tr> <tr> <td class="col-sm-3">Student's Mother Name</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['mothername'];?></td> </tr> <tr> <td class="col-sm-3">Gender</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['gender'];?></td> </tr> <tr> <td class="col-sm-3">Date of Birth</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['dob'];?></td> </tr> <tr> <td class="col-sm-3">District</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['district'];?></td> </tr> <tr> <td class="col-sm-3">Upazilla</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['upazilla'];?></td> </tr> <tr> <td class="col-sm-3">Email</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['email'];?></td> </tr> <tr> <td class="col-sm-3">Phone Number</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['phone'];?></td> </tr> <tr> <td class="col-sm-3">Course Name</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['course'];?></td> </tr> <tr> <td class="col-sm-3">Class Time</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['classtime'];?></td> </tr> <tr> <td class="col-sm-3">Student's Status</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['stdstatus'];?></td> </tr> <tr> <td class="col-sm-3">Document submission Status</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['docsub'];?></td> </tr> <tr> <td class="col-sm-3">Certificate Status</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['certstatus'];?></td> </tr> <tr> <td class="col-sm-3">Course Fee</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['coursefee']." Taka";?></td> </tr> <tr> <td class="col-sm-3">Advanced Payment</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['totalpayment']." Taka";?></td> </tr> <tr> <td class="col-sm-3">Due Amount</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['due']." Taka";?></td> </tr> <tr> <td class="col-sm-3">Examination's Status</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['examstatus'];?></td> </tr> <tr> <td class="col-sm-3">Result</td> <td class="col-sm-1">:</td> <td class="col-sm-8"><?php echo $rowstd['result'];?></td> </tr> </tbody> </table> </div> </div> <?php }}} include('footer.php'); ?>