Lokasi:
/
home
/
u109751622
/
domains
/
simtedu.in
/
public_html
/
sadmin
/
Ubah: listunivcrs.php
<?php include "../config.php"; include "layout.php"; ?> <?php session_start();?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">University Course Dashboard</h1> </div><!-- /.col --> <div class="col-sm-6"> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <!-- Info boxes --> <div class="row"> <div class="col-md-12"> <div class="card card-primary"> <div class="card-header"> <!-- <h3 class="card-title">NOTICE</h3> --> </div> <!-- /.card-header --> <table class="table table-border"> <thead> <tr> <th scope="col">ID</th> <th scope="col">Download</th> <th scope="col" >Action</th> </tr> </thead> <?php $results = mysqli_query($conn, "SELECT * FROM tblUnivCrs"); while ($row = mysqli_fetch_array($results)) { ?> <tr> <td><?php echo $row['Id']; ?></td> <td><a href="../sadmin/univcrs/<?php echo $row['FileName']; ?>">Download</a></td> <!-- <td> <a href="editunivcrs.php?edit=<?php echo $row['Id']; ?>" class="btn btn-info" >Edit</a> </td> --> <td> <a href="deleteunivcrs.php?del=<?php echo $row['Id']; ?>" class="btn btn-danger" onclick="return confirm('Are you sure?')">Delete</a> </td> </tr> <?php } ?> </table> </div> </div> </div> <!-- /.row --> </div><!--/. container-fluid --> </section> <!-- /.content --> </div> <?php include ('footer.php');?>
Batal