Form Penambahan Berita
class="namemissing">Please enter your name
Pendahuluan
name="pendahuluan" id="" value="" class="requiredField email-input">
<span class="emailmissing">Please enter a valid e-mail
Kantor Cabang Upload Gambar <select name="kacab">
<span class="emailmissing">Please enter a valid e-mail Lanjutan
Save
<span class="emailmissing">Please enter a valid e-mail
--Pilih- Jakarta< /option> Bandu ng Cab. Pembantu Sudirman Cab. Pembantu Kebayoran Sema rang Bandu ng Cab. Pembantu Bandung Surab aya
Cab. Tugu Pahlawan Makas ar Padang< /option>
echo "<script>window.location ='http://localhost/koperasi /admin_home'"; }else{ echo "<script>alert('Ada kesalahan input')" ; echo "<script>window.location ='http://localhost/koperasi /admin_home'"; }
<span class="emailmissing">Please enter a valid e-mail
}else{
$l_member_detail = mysql_query("SELECT t_tarik.tanggal as tanggal ,simpanan.`no_simpanan` AS nomor, membership.`nama` AS nama,membership.nik AS nik, t_tarik.`jumlah_tarik` as jumlah FROM membership INNER JOIN (simpanan INNER JOIN t_tarik ON simpanan.`no_simpanan` = t_tarik.`no_simp`) ON membership.`nik` = simpanan.nik where simpanan.nik = '$nik_member'") ; $r_l_m = mysql_fetch_array($l_me mber_detail);
header("location:.. /../pending_member") ;
?>
}
if (isset ($_GET['nik'])) ?> { $nik = $_GET['nik']; $sql = mysql_query("delete from membership where nik='$nik'") ; if($sql){ echo "<script>alert('Member Berhasil Dihapus')" ;
$nama = trim(strip_tags($_POST[' name'])); $email = trim (strip_tags($_POST['emai l'])); $pesan = trim(strip_tags($_POST[' message'])); $date = date ("l, F d Y");
if(empty($nama) || empty($email) || empty($pesan)) { echo "<script>alert('Sorry,Please-fill-all-textbox')" ; echo "<script>window.location ='http://localhost/koperasi /kontak'" ; } else if(!ereg('^.+@.+\\..+$',$e mail))
echo "<script>alert('Thanks,Your-Message-Has-BeenSend')";
else {
echo "<script>alert ('Sorry,and- Error-Occured :(')";
echo "<script>window.location ='http://localhost/koperasi /home'" ;
}
} ?>
if ($sql) {
$q = mysql_query("update tagihan set lama_tunggakan = '".$lama_tunggakan."', tgl_pembayaran = '".$tgl_bayar."',jml_pemb ayaran = '".$jml_bayar."', status = '".$status."' where id_tagihan = '".$_GET['id']."'");
if($q) {
}
echo "<script>window.location ='http://localhost/koperasi /kontak'" ;
else {
$status = $_POST['status'];
echo "<script>window.location ='http://localhost/koperasi /home'" ;}
{ echo "<script>alert('Sorry,Please-fill-emailcorrectly')" ;
$tgl_bayar = $_POST['tanggal'];
echo "<script>alert('Berhasil Menambahkan Berita!')" ; echo "<script>window.location ='http://localhost/koperasi /list_tagihan'" ; }
$lama_tunggakan = trim(strip_tags($_POST['l ama'])); $jml_bayar = trim(strip_tags($_POST['j umlah_pembayaran']));
else { echo "<script>alert('Ada Kesalahan Input !')" ;
echo "<script>window.location ='http://localhost/koperasi /add_tagihan'" ;
<section class="contact-page box clear" id="52">
}
?>
echo "<script>window.location ='http://localhost/koperasi /index.php'" ;
}
Pass word Lama
else{ ?> <section id="content" class="main-column">
<strong>Semu a field harus diisi.
<span class="namemissing">Please enter your name