forked from tbagriyanik/eOgr
/
userSettings.php
554 lines (526 loc) · 25.7 KB
/
userSettings.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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
<?php
/*
eOgr - elearning project
Developer Site: http://yunus.sourceforge.net
Demo Site: http://yunus.sourceforge.net/eogr
Source Track: http://eogr.googlecode.com
Support: http://www.ohloh.net/p/eogr
This project is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or any later version. See the GNU
Lesser General Public License for more details.
*/
ob_start (); // Buffer output
session_start ();
$_SESSION ['ready'] = TRUE;
require("conf.php");
$time = getmicrotime();
checkLoginLang(true,true,"userSettings.php");
$seciliTema=temaBilgisi();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
<link rel="alternate" type="application/rss+xml" title="eOgr RSS" href="rss.php" />
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>eOgr -<?php echo $metin[63]?></title>
<link href="theme/feedback.css" rel="stylesheet" type="text/css" />
<link href="theme/stilGenel.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="lib/script.js"></script>
<link rel="stylesheet" href="theme/<?php echo $seciliTema?>/style.css" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="theme/<?php echo $seciliTema?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<link rel="stylesheet" href="lib/as/css/autosuggest_inquisitor.css" type="text/css" media="screen" charset="utf-8" />
<link rel="shortcut icon" href="img/favicon.ico"/>
<script src="lib/jquery-1.9.1.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript" src="lib/fade.js"></script>
<script type="text/javascript" src="lib/facebox/facebox.js"></script>
<link href="lib/facebox/facebox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
jQuery(document).ready(function($) {
$('a[rel*=facebox]').facebox({
})
})
</script>
</head>
<body>
<div class="PageBackgroundGradient"></div>
<div class="Main">
<div class="Sheet">
<div class="Sheet-tl"></div>
<div class="Sheet-tr">
<div> </div>
</div>
<div class="Sheet-bl">
<div> </div>
</div>
<div class="Sheet-br">
<div> </div>
</div>
<div class="Sheet-tc">
<div> </div>
</div>
<div class="Sheet-bc">
<div> </div>
</div>
<div class="Sheet-cl">
<div> </div>
</div>
<div class="Sheet-cr">
<div> </div>
</div>
<div class="Sheet-cc"></div>
<div class="Sheet-body">
<div class="Header">
<div class="Header-png"></div>
<div class="Header-jpeg"></div>
<div class="logo">
<h1 id="name-text" class="logo-name"><a href="index.php"><?php echo ayarGetir("okulGenelAdi")?></a></h1>
<div id="slogan-text" class="logo-text"> <?php echo $metin[286]?> </div>
</div>
</div>
<div class="nav">
<?php
require("menu.php");
?>
<div class="l"> </div>
<div class="r">
<div> </div>
</div>
</div>
<div class="contentLayout">
<div class="content">
<div class="Post">
<div class="Post-tl"></div>
<div class="Post-tr">
<div> </div>
</div>
<div class="Post-bl">
<div> </div>
</div>
<div class="Post-br">
<div> </div>
</div>
<div class="Post-tc">
<div> </div>
</div>
<div class="Post-bc">
<div> </div>
</div>
<div class="Post-cl">
<div> </div>
</div>
<div class="Post-cr">
<div> </div>
</div>
<div class="Post-cc"></div>
<div class="Post-body">
<div class="Post-inner">
<h2 class="PostHeaderIcon-wrapper"> <span class="PostHeader"><img src="img/logo1.png" border="0" style="vertical-align: middle;" alt="main" title="<?php echo $metin[286]?>"/> - <?php echo $metin[63]?> </span> </h2>
<div class="PostContent">
<?php
if($protect -> check_request(getenv('REMOTE_ADDR'))) { // check the user
die('<br/><img src="img/warning.png" border="0" style="vertical-align: middle;"/> '. $metin[401]."<br/>".$metin[402]); // die there flooding
}
if(isset($_GET["istek"]) and
($_GET["istek"]==1 or $_GET["istek"]==2 or $_GET["istek"]==3)){
echo "<font id='uyari'>$metin[536]</font>";
if($_GET["istek"]==1)
trackUser($currentFile,"request,student",$adi);
if($_GET["istek"]==2)
trackUser($currentFile,"request,teacher",$adi);
if($_GET["istek"]==3)
trackUser($currentFile,"request,administrator",$adi);
}
$editFormAction = $_SERVER['PHP_SELF'];
if ((isset($_POST["MM_settings"])) && ($_POST["MM_settings"] == "form5")) {
if(empty($_POST['ayarlar1'])) $_POST['ayarlar1']="0"; else $_POST['ayarlar1']="1";
if(empty($_POST['ayarlar2'])) $_POST['ayarlar2']="0"; else $_POST['ayarlar2']="1";
if(empty($_POST['ayarlar3'])) $_POST['ayarlar3']="0"; else $_POST['ayarlar3']="1";
if(empty($_POST['ayarlar4'])) $_POST['ayarlar4']="0"; else $_POST['ayarlar4']="1";
if(empty($_POST['ayarlar5'])) $_POST['ayarlar5']="0"; else $_POST['ayarlar5']="1";
if(empty($_POST['ayarlar6'])) $_POST['ayarlar6']="0"; else $_POST['ayarlar6']="1";
if(empty($_POST['ayarlar7'])) $_POST['ayarlar7']="0"; else $_POST['ayarlar7']="1";
if(empty($_POST['ayarlar8'])) $_POST['ayarlar8']="0"; else $_POST['ayarlar8']="1";
if(empty($_POST['ayarlar9'])) $_POST['ayarlar9']="0"; else $_POST['ayarlar9']="1";
if(empty($_POST['ayarlar10'])) $_POST['ayarlar10']="0"; else $_POST['ayarlar10']="1";
if(empty($_POST['ayarlar11'])) $_POST['ayarlar11']="0"; else $_POST['ayarlar11']="1";
if(empty($_POST['ayarlar12'])) $_POST['ayarlar12']="0"; else $_POST['ayarlar12']="1";
if(empty($_POST['ayarlar13'])) $_POST['ayarlar13']="0"; else $_POST['ayarlar13']="1";
if(empty($_POST['ayarlar14'])) $_POST['ayarlar14']="0"; else $_POST['ayarlar14']="1";
if(empty($_POST['ayarlar15'])) $_POST['ayarlar15']="0"; else $_POST['ayarlar15']="1";
if(empty($_POST['ayarlar16'])) $_POST['ayarlar16']="0";
$ayarlar = temizle($_POST['ayarlar1']."-".$_POST['ayarlar2']."-".$_POST['ayarlar3']."-".
$_POST['ayarlar4']."-".$_POST['ayarlar5']."-".$_POST['ayarlar6']."-".
$_POST['ayarlar7']."-".$_POST['ayarlar8']."-".$_POST['ayarlar9']."-".
$_POST['ayarlar10']."-".$_POST['ayarlar11']."-".$_POST['ayarlar12']."-".
$_POST['ayarlar13']."-".$_POST['ayarlar14']."-".$_POST['ayarlar15']."-".
$_POST['ayarlar16']);
$updateSQL = sprintf("UPDATE eo_users SET ayarlar='%s' WHERE userName='$adi'",
$ayarlar
);
mysql_select_db($_db, $yol);
$Result1 = mysql_query($updateSQL, $yol);
if($Result1) {
$temaBilgisi = numToTheme(temizle($_POST['ayarlar16']));
setcookie("theme",$temaBilgisi,time()+60*60*24*30);
trackUser($currentFile,"success,S-$temaBilgisi",$adi);
echo ("<font id='tamam'> $metin[536]</font>");
}
else {
trackUser($currentFile,"fail,userSiteSet",$adi);
echo ("<font id='hata'> Site ayarlarýnýzda hata olduðundan güncelleme iþleminiz tamamlanamadý!</font>");
}
}
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form3")) {
if (
GetSQLValueString($_POST['realName'], "text")=='NULL' ||
GetSQLValueString($_POST['userEmail'], "text")=='NULL' ||
GetSQLValueString($_POST['userBirthDate'], "text")=='NULL'
)
echo "<font id='hata'>Üye bilgilerinizde eksik alanlar vardýr.</font>";
else{
if(!isset($_POST['prldeg']))
$_POST['prldeg']="";
if ( $_POST['prldeg']!="secili"
&& (GetSQLValueString($_POST['userPassword'], "text")=='NULL'
|| GetSQLValueString($_POST['userPassword2'], "text")=='NULL'
|| $_POST["userPassword"]!=$_POST["userPassword2"]
|| strlen($_POST["userPassword"])<5
|| $adi==$_POST["userPassword"]
|| substr_count($_POST["userPassword"], substr($_POST["userPassword"],0,1))==strlen($_POST["userPassword"])
|| $_POST["userPassword"]=="12345678"
) )
echo "<font id='hata'>Yeni parolanýzý yazmadýnýz, tekrarý boþ geçtiniz, parola ile kullanýcý adý ayný, tekrarlý deðer girdiniz, 12345678 girdiniz veya çok kýsa bir parola girdiniz!</font>";
else {
if ($_POST['prldeg']=="secili")
$updateSQL = sprintf("UPDATE eo_users SET realName=%s, userEmail=%s, userBirthDate='%s' WHERE id=%s",
temizle(RemoveXSS(GetSQLValueString($_POST['realName'], "text"))),
temizle(RemoveXSS(GetSQLValueString($_POST['userEmail'], "text"))),
tarihYap($_POST['userBirthDate']),
temizle(RemoveXSS(GetSQLValueString($_POST['id'], "int")))
);
else
$updateSQL = sprintf("UPDATE eo_users SET userPassword=sha1(%s), realName=%s, userEmail=%s, userBirthDate='%s' WHERE id=%s",
temizle(RemoveXSS(GetSQLValueString($_POST['userPassword'], "text"))),
temizle(RemoveXSS(GetSQLValueString($_POST['realName'], "text"))),
temizle(RemoveXSS(GetSQLValueString($_POST['userEmail'], "text"))),
tarihYap($_POST['userBirthDate']),
temizle(RemoveXSS(GetSQLValueString($_POST['id'], "int")))
);
mysql_select_db($_db, $yol);
$Result1 = mysql_query($updateSQL, $yol);
if($Result1){
echo "<font id='tamam'> $metin[536]</font>";
trackUser($currentFile,"success,UserInf",$adi);
if ($_POST['prldeg']!="secili") {
trackUser($currentFile,"success,PasswdC",$adi);
die("<font id='hata'> Parolanýzý deðiþtirdiðiniz için tekrar oturum açmanýz gerekmektedir!</font>");
}
}
else {
trackUser($currentFile,"fail,UserInf",$adi);
echo "<font id='hata'> Üye bilgilerinizde hata olduðunda güncelleme iþleminiz tamamlanamadý! Örneðin kullanýlan bir eposta adresi girdiniz.</font>";
}
}
}
}
$upID = getUserID($adi, $par);
mysql_select_db($_db, $yol);
if($upID=="") die("<font id='hata'>Kimlik hatasý</font>");
$query_eoUsers ="select * from eo_users where id='$upID'";
$eoUsers = mysql_query($query_eoUsers, $yol);
// if(mysql_query($query_limit_eoUsers, $yol)) die(mysql_error());
$row_eoUsers = mysql_fetch_row($eoUsers);
?>
<script type="text/javascript" src="lib/jquery.validate.min.js"></script>
<script type="text/javascript">
$().ready(function() {
$("#form1").validate({
rules: {
realName: {
required: true,
minlength: 5,
maxlength: 30
},
userBirthDate: {
required: true,
maxlength: 10,
dateDE: true
},
userEmail: {
minlength: 5,
maxlength: 50,
required: true,
email: true
}
},
messages: {
realName: "<?php echo $metin[606]?>",
userBirthDate: {
required: "<?php echo $metin[612]?>",
dateDE: "<?php echo $metin[614]?>"
},
userEmail: "<?php echo $metin[613]?>"
}
});
});
</script>
<div id="contact-wrapper">
<form action="<?php echo $editFormAction; ?>" method="post" id="form1">
<fieldset>
<?php echo $metin[17]?> : <?php echo GetSQLValueStringNo($row_eoUsers[1], "text"); ?> (<?php echo $row_eoUsers[0]; ?>) <a href='profil.php?kim=<?php echo $upID;?>&set=1' rel="facebox"><?php echo $metin[311]?></a> <br />
<?php echo $metin[22]?> :
<?php if (!(strcmp("", GetSQLValueStringNo($row_eoUsers[6], "text")))) {echo $metin[92];} ?>
<?php if (!(strcmp(-1, GetSQLValueStringNo($row_eoUsers[6], "text")))) {echo "<img src=\"img/pasif_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"pasif\"/> ".$metin[93];} ?>
<?php if (!(strcmp(0, GetSQLValueStringNo($row_eoUsers[6], "text")))) {echo "<img src=\"img/ogr_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"ogrenci\"/> ".$metin[94];} ?>
<?php if (!(strcmp(1, GetSQLValueStringNo($row_eoUsers[6], "text")))) {echo "<img src=\"img/ogrt_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"ogretmen\"/> ".$metin[95];} ?>
<?php if (!(strcmp(2, GetSQLValueStringNo($row_eoUsers[6], "text")))) {echo "<img src=\"img/admin_user.png\" border=\"0\" style=\"vertical-align: middle;\" alt=\"admin\"/> ".$metin[96];} ?>
<br />
<?php echo $metin[23]?> : <?php echo tarihOku(GetSQLValueStringNo($row_eoUsers[7], "text")); ?><br />
<br />
<label for="realName"> <?php echo $metin[38]?> :</label>
<div style="width:500px;">
<input name="realName" id="realName" type="text" value="<?php echo GetSQLValueStringNo($row_eoUsers[3], "text"); ?>" size="32" maxlength="50" style="width:150px" class="required" />
</div>
<label for="userEmail"> <?php echo $metin[20]?> :</label>
<div style="width:550px;">
<input name="userEmail" id="userEmail" type="text" size="32" maxlength="50" class="required email" value="<?php echo GetSQLValueStringNo($row_eoUsers[4], "text"); ?>" style="width:250px" />
</div>
<label for="userBirthDate"> <?php echo $metin[21]?> :</label>
<div style="width:500px;">
<input name="userBirthDate" id="userBirthDate" type="text" value="<?php echo tarihOku3(GetSQLValueStringNo($row_eoUsers[5], "text")); ?>" size="32" maxlength="50" class="required" style="width:150px" />
</div>
<fieldset style="width:300px;border-color:red;">
<label for="userPassword"> <?php echo $metin[18]?> :</label>
<div style="width:500px;">
<input name="userPassword" id="userPassword" type="password" value="" size="32" maxlength="40" style="width:150px" />
<font color="red"> <strong> <?php echo $metin[90]?> </strong></font> </div>
<label for="userPassword2"> <?php echo $metin[152]?> :</label>
<div style="width:500px;">
<input name="userPassword2" id="userPassword2" type="password" value="" size="32" maxlength="40" style="width:150px" />
</div>
<label>
<input name="prldeg" type="checkbox" id="prldeg" checked="checked" value="secili"/>
<?php echo $metin[24]?> </label><br/>
<tt><?php echo $metin[91]?></tt>
<input type="hidden" name="MM_update" value="form3" />
<input type="hidden" name="id" value="<?php echo $row_eoUsers[0]; ?>" />
</fieldset>
<p>
<label>
<input type="submit" value="<?php echo $metin[25]?>" />
</label>
</p>
</fieldset>
<p style="padding-top:15px;">
<?php echo $metin[661]?> :
<?php if($tur!=0){ ?><button onclick="location.href='userSettings.php?istek=1';return false;" value="<?php echo $metin[658]?>"><?php echo $metin[658]?></button> <?php }?>
<?php if($tur!=1){ ?><button onclick="location.href='userSettings.php?istek=2';return false;" value="<?php echo $metin[659]?>"><?php echo $metin[659]?></button> <?php }?>
<?php if($tur!=2){ ?><button onclick="location.href='userSettings.php?istek=3';return false;" value="<?php echo $metin[660]?>"><?php echo $metin[660]?></button><?php }?>
<?php
$istekler = istekListesi();
if(strlen($istekler)>0)
echo "<br/><br/>".$metin[662]. " : <br/>".$istekler;
?>
</p>
</form>
</div>
</div>
<div class="cleared"></div>
</div>
<div class="Post">
<div class="Post-tl"></div>
<div class="Post-tr">
<div> </div>
</div>
<div class="Post-bl">
<div> </div>
</div>
<div class="Post-br">
<div> </div>
</div>
<div class="Post-tc">
<div> </div>
</div>
<div class="Post-bc">
<div> </div>
</div>
<div class="Post-cl">
<div> </div>
</div>
<div class="Post-cr">
<div> </div>
</div>
<div class="Post-cc"></div>
<div class="Post-body">
<div class="Post-inner">
<div class="PostContent"><a name="ozel" id="ozel"></a>
<form name="form5" action="userSettings.php" method="post">
<table width="90%" border="0" cellspacing="0" cellpadding="3">
<tr>
<th colspan="2"><?php echo $metin[113]?></th>
</tr>
<tr>
<td width="400" align="right"><?php echo $metin[216]?> :</td>
<?php
$secenekler = explode("-",ayarGetir3($adi));
?>
<td><label>
<input type="checkbox" name="ayarlar1"
id="ayarlar1" value="1" <?php if($secenekler[0]=="1")
echo " checked='checked'"; else echo ""; ?> />
<?php echo $metin[535]?></label>
<br />
<label>
<input type="checkbox" name="ayarlar2"
id="ayarlar2" value="1" <?php if($secenekler[1]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[154];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar3"
id="ayarlar3" value="1" <?php if($secenekler[2]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[139];?></label>
<br/>
<label>
<input type="checkbox" name="ayarlar4"
id="ayarlar4" value="1" <?php if($secenekler[3]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[155];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar5"
id="ayarlar5" value="1" <?php if($secenekler[4]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[217];?></label>
<br /></td>
</tr>
<tr>
<td align="right"><?php echo $metin[255]?> :</td>
<td><label>
<input type="checkbox" name="ayarlar7"
id="ayarlar7" value="1" <?php if($secenekler[6]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[257];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar8"
id="ayarlar8" value="1" <?php if($secenekler[7]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[258];?></label>
<br/>
<label>
<input type="checkbox" name="ayarlar9"
id="ayarlar9" value="1" <?php if($secenekler[8]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[259];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar10"
id="ayarlar10" value="1" <?php if($secenekler[9]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[260];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar14"
id="ayarlar14" value="1" <?php if($secenekler[13]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[307];?></label>
<br/>
<label>
<input type="checkbox" name="ayarlar15"
id="ayarlar15" value="1" <?php if($secenekler[14]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[308];?></label></td>
</tr>
<tr>
<td align="right"><?php echo $metin[303]?> :</td>
<td><label>
<input type="checkbox" name="ayarlar6"
id="ayarlar6" value="1" <?php if($secenekler[5]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[256];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar11"
id="ayarlar11" value="1" <?php if($secenekler[10]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[304];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar12"
id="ayarlar12" value="1" <?php if($secenekler[11]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[305];?></label>
<br />
<label>
<input type="checkbox" name="ayarlar13"
id="ayarlar13" value="1" <?php if($secenekler[12]=="1")
echo " checked='checked'"; else echo ""; ?>/>
<?php echo $metin[306];?></label></td>
</tr>
<tr>
<td align="right"><?php echo $metin[154]?> :</td>
<td><select name="ayarlar16" id="ayarlar16">
<?php
$themeArray=glob('theme/*', GLOB_ONLYDIR);
$i=0;
foreach($themeArray as $thme){
$temaGel = explode("/",$thme);
?>
<option value="<?php echo $i;?>"
<?php
if(isset($secenekler[15]))
if ($secenekler[15]==$i)
echo "selected=\"selected\"";
?>>
<?php
echo $temaGel[1];
?>
</option>
<?php
$i++;
}
?>
</select></td>
</tr>
<tr>
<td colspan="2" align="center" class="tabloAlt"><input type="hidden" name="MM_settings" value="form5" />
<input type="submit" value="<?php echo $metin[121]?>" /></td>
</tr>
</table>
</form>
<?php echo $metin[577]?>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
</div>
</div>
<div class="cleared"></div>
<div class="Footer">
<div class="Footer-inner">
<?php
require "footer.php";
?>
</div>
<div class="Footer-background"></div>
</div>
</div>
</div>
<div class="cleared"></div>
</div>
</div>
</div>
<?php
require "feedback.php";
?>
</body>
</html>