<?php
    include('loginsession.php');
    error_reporting(E_ALL);
    $filename = __FILE__;  //---Nama file saat ini
    if (strlen(__FILE__) > 48) {$filename = substr(__FILE__, 48);}
    $save = mysqli_query($conn, "INSERT INTO novia_abc_user_logs (userid,filename) VALUES ('$userini_id','$filename')");
//-------------
?>
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
   <title>RESET KELURAHAN</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" href="css/style.css">
	<link href="images/balance.ico" rel="icon" type="image/icon" />
</head>
<body>
<table width="100%" max-width="600px"" cellpadding="5" align="center">
	<tbody>
		<tr>
			<td><a href="index.php" title="KEMBALI"><button style="padding : 10px; width:100%">CANCEL</button></a></td>
		</tr>
	</tbody>
</table>

<form  method="post"  action="_kelurahan_update.php">
	<table width="100%" max-width="600px" cellpadding="5" align="center">
    <tbody>
    <tr class="satu"><td colspan="3"><h1>RESET ALAMAT</h1><?php echo $error;?></td></tr>
    <tr class="head" align="left">
		<th width="150">Parameter</th>
        <th>Input Data Kelurahan</th>
    </tr>
    
    <tr class="dua">
    <td>TERTULIS</td>
    <td><input type="text" name="tertulis" placeholder="tertulis" size="20" maxlength="50" value=""/></td>
    </tr>
    <tr class="dua">
        <td>KELURAHAN</td>
        <td><input type="text" name="kelurahan" placeholder="Kelurahan" size="20" maxlength="50" value=""/></td>
    </tr>
    <tr class="satu">
        <td>KECAMATAN</td>
        <td><input type="text" name="kecamatan" placeholder="Kecamatan" size="20" maxlength="50" value=""/></td>
    </tr>
    <tr class="dua">
        <td>KOTA</td>
        <td><input type="text" name="city" placeholder="Kota" size="20" maxlength="50" value=""/></td>
    </tr>
    <tr class="satu">
        <td>PROVINSI</td>
        <td><input type="text" name="state" placeholder="Provinsi" size="20" maxlength="50" value=""/></td>
    </tr>
    <tr class="dua">
        <td>KODE POS</td>
        <td><input type="text" name="kode_pos" placeholder="Kode Pos" size="20" maxlength="50" value=""/></td>
    </tr>
    
    <tr class="satu">
		<td><input type="text" name="password" placeholder="Masukkan Password" size="15" maxlength="30" value=""/></td>
        <td colspan="1"><button type="submit" name="simpan" style="padding: 10px; width: 100%">SIMPAN DATA</button</td>
    </tr>
</tbody>
</table>
</form>
</body>
</html>