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
|
<? @session_start();?> <? include("../manage/category/common.php");
$_txtdetail = addslashes($txtdetail);
$reg_date = date("Y-m-d H:i:s",time());
$updatedevel = " update development set comment='$_txtdetail', reg_date = '$reg_date' where userid='$_SESSION[ADMINID]' ";
mysql_query($updatedevel);
?>
<script>
if ("<?=$_SESSION[ADMINID];?>" == 'csh') {
location.href = "development.php";
} else if ("<?=$_SESSION[ADMINID];?>" == 'jkj') {
location.href = "development_01.php";
} else if ("<?=$_SESSION[ADMINID];?>" == 'ksm') {
location.href = "development_02.php";
} else if ("<?=$_SESSION[ADMINID];?>" == 'yys') {
location.href = "development_03.php";
}
</script>
|