EVOLUTION-NINJA
Edit File: institutions_details.php
<?php echo view('includes/admin_header.php') ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Institution Details</title> <style> .details-container { border: 2px solid #468662; border-radius: 5px; padding: 10px; margin: 5% auto; max-width: 800px; background-color: #fff; } .details-container h3 { border-bottom: 1px dashed #468662; margin-bottom: 10px; font-weight: bold; font-size: 20px; /* Smaller font size */ } .details-container table { width: 100%; border-collapse: collapse; margin-top: 20px; } .details-container th, .details-container td { padding: 8px; border-bottom: 1px solid #ddd; } .details-container th { background-color: #f2f2f2; } .btn-back { float: right; margin-top: 30px; margin-right: 15px; } * { background-image: url(public/assets/website_assets/images/banner.png); background-size: cover; href="https://jayblues.in/amcad/admin_dashboard" } </style> </head> <body> <div class="skin-blue"> <a href="javascript:history.back()" class="btn btn-primary" style="float:right;margin-top:80px; margin-right:15px;">Back</a> <section class="content-header"> <h1 style="padding-bottom:20px;border-bottom:2px dashed #468662;margin-bottom:20px; font-weight: bold;margin-left:250px;font-size: 30px;"> INSTITUTION DETAILS </h1> </section> <div class="details-container"> <a href="<?= base_url('edit/' . $id) ?>"class="btn btn-primary">Edit</a> <?php if ($success): ?> <table> <tr> <th>Field</th> <th>Value</th> </tr> <!--<tr>--> <!-- <td><strong>Institution ID:</strong></td>--> <!-- <td><?= $id ?></td>--> <!--</tr>--> <tr> <td><strong>Institution Name:</strong></td> <td><?= $details['institution_name'] ?></td> </tr> <tr> <td><strong>Address:</strong></td> <td><?= $details['address'] ?></td> </tr> <tr> <td><strong>Email:</strong></td> <td><?= $details['email'] ?></td> </tr> <tr> <td><strong>Phone:</strong></td> <td><?= $details['inst_phone'] ?></td> </tr> <tr> <td><strong>Contact Person Details:</strong></td> <td><?= $details['contact_person_details'] ?></td> </tr> </table> <?php else: ?> <p>Registration failed. <?= $message ?></p> <?php endif; ?> </div> </div> </body> </html>