    <div class="col-md-12">
    <div id="bgjdl">
        DATA BERITA PINANGLIMA NEWS
        </div>
    </div>
<div class="col-md-12" >

    <form action="?page=hapus_artikel" method="post">

          <table  class="table table-striped   table-hover table-bordered" id="example1">
            <thead>
               <th id="th" class="info">Pilih</th>
                <th id="th" class="info">NO</th>
                <th id="th" class="info">Judul Artikel</th>
                <th id="th" class="info" style="width:500px;">Isi Artikel</th>
                <th id="th" class="info">Penulis</th>
                <th id="th" class="info">Gambar</th>
                <th id="th" class="info">OPSI</th>
            </thead>
            <tbody>
            <?php
$sql="select*from artikel where status_admin='adminpinanglima' order by id_artikel desc";	
$result=mysql_query($sql);

while ($data=mysql_fetch_array($result)){
   
    
    ?>
            
                <tr style="text-align:center;"id="tr">
                      <td data-content="Pilih" id="td"><input name="cek[]" type="checkbox" id="cek[]" value="<?php echo $data ['id_artikel'];?>" /></td>  
                    <td data-content="No" id="td"><?php echo ++$no_urut;?></td>       
                    <td data-content="judul" id="td"><?php echo $data ['judul_artikel'];?></td> 
                    <td data-content="isi" id="td" style="text-align:justify;"><div id="fontvimis"><?php echo $data ['isi_artikel'];?></div></td> 
                    <td data-content="Penulis" id="td"><?php echo $data ['penulis'];?></td> 
                    <td data-content="foto" id="td">
                        <a href="fotoartikel/<?php echo $data ['gambar_artikel'];?>" class="perbesar"><img src="fotoartikel/<?php echo $data ['gambar_artikel'];?>" id="fa"></a></td> 
                    <td data-content="OPSI" id="td"><a class="btn" id="op" href="?page=edit_artikel&i=<?php echo $data ['id_artikel'];?>" ><i class="fa fa-edit"> Edit</i></a>
                </tr>
                            <?php

}
          
    ?>
            </tbody>

            
            </table>
    <div class="col-md-12">
    <div id="fonthps">
        HAPUS YANG DI TANDAI ? <button name="but" class="btn btn-danger"><i class="fa fa-times"></i> HAPUS</button>
        </div>
    </div>
    </form>
        </div>
    
</body>
</html>