-
Notifications
You must be signed in to change notification settings - Fork 0
/
insaat-kasa-duzenle.php
78 lines (63 loc) · 2.09 KB
/
insaat-kasa-duzenle.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
session_start();
if(!isset($_SESSION["login"])){
?>
<meta http-equiv="refresh" content="0;URL=giris.php">
<?php
} else
{
?>
<!-- GİRİŞ KONTROL -->
<?php include("kafa.php") ?>
<?php include("menu.php") ?>
<?php include("kontrol/veritabani.php") ?>
<nav id="secondary">
<ul>
<li><a href="kasa.php">Kasa</a></li>
<li class="current"><a href="insaat-kasa.php">İnşaat Kasa</a></li>
</ul>
</nav>
<?php
$id=$_GET['id'];
$vericek=$connection->query("select * from insaat_kasa where id='$id'")->fetchAll(PDO::FETCH_ASSOC);
foreach ($vericek as $vcek)
{
?>
<section id="content">
<h2><?=$vcek['aciklama'];?> Açıklamalı İnşaat Kasa Verisi Düzenleniyor.</h2>
<form class="wymupdate" action="insaat-kasa-duzenle-kontrol.php" enctype="multipart/form-data" method="post" >
<table class="datatable">
<thead>
<tr>
<th>Tarih</th>
<th>Açıklama</th>
<th>Gelir Nakit</th>
<th>Gelir Çek</th>
<th>Gider Nakit</th>
<th>Gider Çek</th>
<th>İşlemler</th>
</tr>
</thead>
<tbody>
<tr>
<td><input id="tarih" name="tarih" type="text" value="<?=$vcek['tarih'];?>"/></td>
<input hidden="hidden" id="id" name="id" type="text" value="<?=$vcek['id'];?>"/>
<td><input id="aciklama" name="aciklama" type="text" value="<?=$vcek['aciklama'];?>" /></td>
<td><input id="gelir_nakit" name="gelir_nakit" type="text" value="<?=$vcek['gelir_nakit'];?>" /></td>
<td><input id="gelir_cek" name="gelir_cek" type="text" value="<?=$vcek['gelir_cek'];?>" /></td>
<td><input id="gider_nakit" name="gider_nakit" type="text" value="<?=$vcek['gider_nakit'];?>" /></td>
<td><input id="gider_cek" name="gider_cek" type="text" value="<?=$vcek['gider_cek'];?>" /></td>
<td><p><input type="submit" class="button primary submit" value="İnşaat Kasa Bilgisini Güncelle" /></p></td>
</tr>
</tbody>
</table>
</form>
<div class="clear">
</div>
<h2> </h2>
<br />
<?php } ?>
</section>
<!-- GİRİŞ KONTROL -->
<?php include("ayak.php"); ?>
<?php } ?>