-
Notifications
You must be signed in to change notification settings - Fork 0
/
adres-bilgileri.php
215 lines (145 loc) · 8.24 KB
/
adres-bilgileri.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
<?php
require_once 'header.php';
islemkontrol();
?>
<div class="pagination-area bg-secondary">
<div class="container">
<div class="pagination-wrapper">
</div>
</div>
</div>
<div class="settings-page-area bg-secondary section-space-bottom">
<div class="container">
<div class="row settings-wrapper">
<?php require_once 'hesap-sidebar.php'
?>
<div class="col-lg-9 col-md-9 col-sm-8 col-xs-12">
<form action="nedmin/netting/kullanici.php" method="POST" class="form-horizontal"
id="personal-info-form">
<div class="settings-details tab-content">
<div class="tab-pane fade active in" id="Personal">
<h2 class="title-section">Hesap Bilgilerimi Düzenle</h2>
<div class="personal-info inner-page-padding">
<?php
if (isset($_GET['durum']) and ($_GET['durum'] == "ok")) { ?>
<div class="alert alert-success">
<strong>Bilgi !</strong> İşlem başarılı
</div>
<?php } elseif (isset($_GET['durum']) and ($_GET['durum'] == "hata")) { ?>
<div class="alert alert-danger">
<strong>Hata!</strong> İşlem başarısız
</div>
<?php } ?>
<div class="form-group">
<label class="col-sm-3 control-label">Bireysel/Kurumsal</label>
<div class="col-sm-9">
<div class="custom-select">
<select name="kullanici_tip" id="kullanici_tip" class='select2'>
<option
<?php if ($kullanicicek['kullanici_tip'] == "PERSONAL") {
echo "selected";
} ?>
value="PERSONAL">Bireysel
</option>
<option
<?php if ($kullanicicek['kullanici_tip'] == "PRIVATE_COMPANY") {
echo "selected";
} ?>
value="PRIVATE_COMPANY">Kurumsal
</option>
</select>
</div>
</div>
</div>
<div id="tc">
<div class="form-group">
<label class="col-sm-3 control-label"> T.C </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_tc"
value="<?php echo $kullanicicek['kullanici_tc'] ?>" ">
</div>
</div>
</div>
<div id="kurumsal">
<div class="form-group">
<label class="col-sm-3 control-label"> Firma Ünvanı </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_unvan"
value="<?php echo $kullanicicek['kullanici_unvan'] ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"> Firma V.dairesi </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_vdaire"
value="<?php echo $kullanicicek['kullanici_vdaire'] ?> ">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"> Vergi Numarası </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_vno"
value="<?php echo $kullanicicek['kullanici_vno'] ?>">
</div>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"> Açık Adres </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_adres"
value="<?php echo $kullanicicek['kullanici_adres'] ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"> İl </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text" name="kullanici_il"
value="<?php echo $kullanicicek['kullanici_il'] ?>">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label"> İlçe </label>
<div class="col-sm-9">
<input class="form-control" id="first-name" type="text"
name="kullanici_ilce"
value="<?php echo $kullanicicek['kullanici_ilce'] ?>">
</div>
</div>
<div class=" form-group">
<div align="right" class="col-sm-12">
<button class="update-btn" name="musteriadresguncelle"
id="login-update">
Bilgileri Güncelle
</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<?php
require_once 'footer.php';
?>
<script type="text/javascript">
$(document).ready(function () {
$("#kullanici_tip").change(function () {
var tip = $("#kullanici_tip").val();
if (tip == "PERSONAL") {
$("#kurumsal").hide();
$("#tc").show();
} else if (tip == "PRIVATE_COMPANY") {
$("#kurumsal").show();
$("#tc").hide();
}
}).change();
});
</script>