diff --git a/Group8/approve.php b/Group8/approve.php new file mode 100644 index 0000000..9f017df --- /dev/null +++ b/Group8/approve.php @@ -0,0 +1,32 @@ + window.alert('Approve Success');"; + echo ""; + }else{ + echo ""; + echo ""; + } +?> \ No newline at end of file diff --git a/Group8/approveBonus.php b/Group8/approveBonus.php new file mode 100644 index 0000000..8705b32 --- /dev/null +++ b/Group8/approveBonus.php @@ -0,0 +1,32 @@ + window.alert('Approve Success');"; + echo ""; + }else{ + echo ""; + echo ""; + } +?> \ No newline at end of file diff --git a/Group8/approvePension.php b/Group8/approvePension.php new file mode 100644 index 0000000..f2a23e7 --- /dev/null +++ b/Group8/approvePension.php @@ -0,0 +1,32 @@ + window.alert('Approve Success');"; + echo ""; + }else{ + echo ""; + echo ""; + } +?> \ No newline at end of file diff --git a/Group8/check_login.php b/Group8/check_login.php new file mode 100644 index 0000000..732da59 --- /dev/null +++ b/Group8/check_login.php @@ -0,0 +1,42 @@ +"; + } + else + { + if($objResult["LoginStatus"] == "1") + { + echo "'".$strUsername."' Exists login!"; + exit(); + echo ""; + } + else + { + //*** Update Status Login + $sql = "UPDATE memberAdmin SET LoginStatus = '1' , LastUpdate = NOW() WHERE UserID = '".$objResult["UserID"]."' "; + $query = mysqli_query($con,$sql); + + //*** Session + $_SESSION["UserID"] = $objResult["UserID"]; + session_write_close(); + + //*** Go to Main page + header("location:main.php"); + } + + } + mysqli_close($con); +?> \ No newline at end of file diff --git a/Group8/connect.php b/Group8/connect.php new file mode 100644 index 0000000..7bf29dd --- /dev/null +++ b/Group8/connect.php @@ -0,0 +1,24 @@ + \ No newline at end of file diff --git a/Group8/image/logo01.png b/Group8/image/logo01.png new file mode 100644 index 0000000..019447e Binary files /dev/null and b/Group8/image/logo01.png differ diff --git a/Group8/image/logo1.png b/Group8/image/logo1.png new file mode 100644 index 0000000..51f3e67 Binary files /dev/null and b/Group8/image/logo1.png differ diff --git a/Group8/image/logout.ico b/Group8/image/logout.ico new file mode 100644 index 0000000..783dd4c Binary files /dev/null and b/Group8/image/logout.ico differ diff --git a/Group8/image/wall.png b/Group8/image/wall.png new file mode 100644 index 0000000..e2a84b5 Binary files /dev/null and b/Group8/image/wall.png differ diff --git a/Group8/index.html b/Group8/index.html new file mode 100644 index 0000000..e5e5c28 --- /dev/null +++ b/Group8/index.html @@ -0,0 +1,10 @@ + + + + + + + +

Redirect

+ + \ No newline at end of file diff --git a/Group8/logInAdmin.php b/Group8/logInAdmin.php new file mode 100644 index 0000000..24dda59 --- /dev/null +++ b/Group8/logInAdmin.php @@ -0,0 +1,20 @@ + + + + + + + + +
+

Log-in


+
+ + + +
+ +
+ + + \ No newline at end of file diff --git a/Group8/logInAdmincss.css b/Group8/logInAdmincss.css new file mode 100644 index 0000000..7f88f2e --- /dev/null +++ b/Group8/logInAdmincss.css @@ -0,0 +1,105 @@ +@import url(https://fonts.googleapis.com/css?family=Roboto:400,100); + +body { + background: url(https://dl.dropboxusercontent.com/u/23299152/Wallpapers/wallpaper-22705.jpg) no-repeat center center fixed; + -webkit-background-size: cover; + -moz-background-size: cover; + -o-background-size: cover; + background-size: cover; + font-family: 'Roboto', sans-serif; +} + +.login-card { + padding: 40px; + width: 274px; + background-color: #FA8072; + margin: 10% auto 10px auto; + border-radius: 2px; + box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3); + overflow: hidden; +} + +.login-card h1 { + font-weight: 100; + text-align: center; + font-size: 2.3em; +} + +.login-card input[type=submit] { + width: 100%; + display: block; + margin-bottom: 10px; + position: relative; +} + +.login-card input[type=text], input[type=password] { + height: 44px; + font-size: 16px; + width: 100%; + margin-bottom: 10px; + -webkit-appearance: none; + background: #fff; + border: 1px solid #d9d9d9; + border-top: 1px solid #c0c0c0; + /* border-radius: 2px; */ + padding: 0 8px; + box-sizing: border-box; + -moz-box-sizing: border-box; +} + +.login-card input[type=text]:hover, input[type=password]:hover { + border: 1px solid #b9b9b9; + border-top: 1px solid #a0a0a0; + -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); + -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); + box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); +} + +.login { + text-align: center; + font-size: 14px; + font-family: 'Arial', sans-serif; + font-weight: 700; + height: 36px; + padding: 0 8px; + /* border-radius: 3px; */ +/* -webkit-user-select: none; +user-select: none; */ +} + +.login-submit { + /* border: 1px solid #3079ed; */ + border: 0px; + color: #fff; + text-shadow: 0 1px rgba(0,0,0,0.1); + background-color: #4d90fe; + /* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#4787ed)); */ +} + +.login-submit:hover { + /* border: 1px solid #2f5bb7; */ + border: 0px; + text-shadow: 0 1px rgba(0,0,0,0.3); + background-color: #357ae8; + /* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d90fe), to(#357ae8)); */ +} + +.login-card a { + text-decoration: none; + color: #666; + font-weight: 400; + text-align: center; + display: inline-block; + opacity: 0.6; + transition: opacity ease 0.5s; +} + +.login-card a:hover { + opacity: 1; +} + +.login-help { + width: 100%; + text-align: center; + font-size: 12px; +} \ No newline at end of file diff --git a/Group8/logout.php b/Group8/logout.php new file mode 100644 index 0000000..0e95495 --- /dev/null +++ b/Group8/logout.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/Group8/main.css b/Group8/main.css new file mode 100644 index 0000000..16143ae --- /dev/null +++ b/Group8/main.css @@ -0,0 +1,254 @@ + +/* manu bar */ +body +{ + font-family: 'Roboto', Arial, Sans-serif; + background-image: url("image/wall.png"); + background-repeat: no-repeat; + background-size: cover; +} +.tavi +{ + width: 100%; + height: 140px; + background:white; +} +.logo +{ + background-size: 100% 100%; + margin-left: 30px; +} +.logout +{ + float: right; + background-size: 100% 100%; + margin-left: 10px; + margin-right: 20px; +} +h6 +{ + float: left; + margin-left: 110px; + margin-top: -78px; + font-size: 30px; +} +.ma +{ + float: left; + margin-left: 110px; + margin-top: -40px; + font-size: 15px; + color:#B22222; +} +a:hover +{ + color:#B22222; + text-shadow:0px 0px 20px; + text-decoration: none; +} + +.related +{ + float: right; + margin-left: 13px; + margin-right: 50px; + font-size: 12px; + color: black; + text-decoration: none; + border-bottom: 3px Gold solid; + padding-bottom: 3px; +} + +.selected +{ + float: right; + margin-left: 13px; + margin-right: 50px; + font-size: 12px; + color: black; + text-decoration: none; + border-bottom: 3px Gold solid; + padding-bottom: 3px; +} +.nav +{ + float: right; + margin-left: 13px; + margin-right: 3px; + font-size: 12px; + color: black; + text-decoration: none; + border-bottom: 3px Gold solid; + padding-bottom: 3px; +} +.navi +{ + float: right; + margin-left: 13px; + margin-right: 3px; + color:#B22222; + text-decoration: none; + font-size: 12px; + border-bottom: 3px Gold solid; + padding-bottom: 2px; +} + +li a, .dropbtn { + display: inline-block; + color:black; +} + +li a:hover, .dropdown:hover .dropbtn { + background-color: white; +} + +li.dropdown { + display: inline-block; + float: right; +} + +.dropdown-content { + display: none; + position: absolute; + background-color: white; + margin-top: 20px; + z-index: 1; + +} + +.dropdown-content a { + color: red; + padding: 12px; + font-size: 12px; + text-decoration: none; + display: block; + color:black; +} + +.dropdown-content a:hover {background-color: white;} + +.dropdown:hover .dropdown-content { + display: block; +} +/* End manu bar */ + +/* Start General */ +* { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + -o-box-sizing: border-box; + margin: 0; + padding: 0 +} +ul, ol { + list-style: none +} +.parent { + + width: 75%; + margin: auto; + overflow: hidden; + color: #fff +} +/* End General */ + + +/* Text box */ +body .ui1 { + width: 90%; + float: center; + margin: 0 auto; + margin-top: 30px; + font-family: 'Source Sans Pro', sans-serif; + color: white; +} +body .ui1 ul { + margin: 0px 30px 10px 0px; + padding: 0; + list-style-type: none; + font-size: 11px; + font-weight: 100%; + line-height: 100%; +} +body .ui1 .drop { + z-index: -3; + opacity: 0; + width: 60%; + height: auto; + background: #3e8368; + position: absolute; + color: white; + bottom: 0; + padding: 12px 30px 21px 30px; + -webkit-transition-property: bottom,opacity; + transition-property: bottom,opacity; + -webkit-transition-duration: .3s; + transition-duration: .3s; +} +body .ui1 .drop p { + color: #f8fbfa; +} +body .ui1_box { + width: 100%; + height: auto; + position: relative; + background: #3d3d3d; + float: left; + box-shadow: -3px 0px rgba(255, 255, 255, 0.07); + cursor: pointer; + -webkit-transform: scale(1); + transform: scale(1); + -webkit-transition-property: background,-webkit-transform; + transition-property: background,-webkit-transform; + transition-property: transform,background; + transition-property: transform,background,-webkit-transform; + -webkit-transition-duration: .3s; + transition-duration: .3s; +} +body .ui1_box__inner { + padding: 40px; +} +body .ui1_box__inner span { + font-size: 36px; + font-weight: 700; +} + +body .ui1_box h2 { + text-align: center; + font-size: 30px; + margin: 0px 0px 0px 0px; +} +body .ui1_box p { + font-size: 15px; + color: #b6b6b6; + text-align: center; + font-weight: 230px; + width: 100%; + margin: 0px 0px 10px 0px; +} +body .ui1_box:hover { + background: #3d3d3d; + -webkit-transform: scale(1.1); + transform: scale(1.1); + -webkit-transition-property: background,-webkit-transform; + transition-property: background,-webkit-transform; + transition-property: transform,background; + transition-property: transform,background,-webkit-transform; + -webkit-transition-duration: .3s; + transition-duration: .3s; + position: relative; + z-index: 1; +} + +.ui1_box:hover > .ui1_box__inner p { + color: #b6b6b6; +} + +.stat_left1 { + float: left; +} +.galleryBox1 { + width: 100%; + height: auto; +} +/* End Text box */ diff --git a/Group8/main.php b/Group8/main.php new file mode 100644 index 0000000..53cc381 --- /dev/null +++ b/Group8/main.php @@ -0,0 +1,125 @@ +"; +} + +//*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + +//*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register WHERE Status != 'อนุมัติ'"); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทสถานะหมายเหตุ
+
+
+
+
+ + + \ No newline at end of file diff --git a/Group8/mainBonus.php b/Group8/mainBonus.php new file mode 100644 index 0000000..647bc16 --- /dev/null +++ b/Group8/mainBonus.php @@ -0,0 +1,127 @@ +"; +} + + //*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + + //*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register WHERE Type = 'บำนาญ'"); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทสถานะหมายเหตุ
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Group8/mainPension.php b/Group8/mainPension.php new file mode 100644 index 0000000..2c039ec --- /dev/null +++ b/Group8/mainPension.php @@ -0,0 +1,127 @@ +"; +} + + //*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + + //*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register WHERE Type='บำเหน็จ'"); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทสถานะหมายเหตุ
+
+
+
+
+ + + + \ No newline at end of file diff --git a/Group8/payBonus.php b/Group8/payBonus.php new file mode 100644 index 0000000..cb44171 --- /dev/null +++ b/Group8/payBonus.php @@ -0,0 +1,158 @@ +"; +} + +//*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + +//*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +if (empty($_POST["Month"]) || empty($_POST["Year"])) { + $month = "1"; + $year = "2559"; +}else{ + $month = $_POST["Month"]; + $year = $_POST["Year"]; +} + +$result = mysqli_query($con, "SELECT register.*, bonus.Status FROM register LEFT JOIN bonus ON register.IDcard = bonus.IDcard WHERE register.Career = 'ครู' AND register.Type = 'บำนาญ' AND bonus.Month = $month AND bonus.Year = $year "); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + +
+

+
+ + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทจำนวนเงินสถานะ
+
+
+
+
+ + + \ No newline at end of file diff --git a/Group8/payBonusGeneral.php b/Group8/payBonusGeneral.php new file mode 100644 index 0000000..82a5f39 --- /dev/null +++ b/Group8/payBonusGeneral.php @@ -0,0 +1,158 @@ +"; +} + +//*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + +//*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +if (empty($_POST["Month"]) || empty($_POST["Year"])) { + $month = "1"; + $year = "2559"; +}else{ + $month = $_POST["Month"]; + $year = $_POST["Year"]; +} + +$result = mysqli_query($con, "SELECT register.*, bonus.Status FROM register LEFT JOIN bonus ON register.IDcard = bonus.IDcard WHERE register.Career != 'ครู' AND register.Type = 'บำนาญ' AND bonus.Month = $month AND bonus.Year = $year "); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + +
+

+
+ + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทจำนวนเงินสถานะ
+
+
+
+
+ + + \ No newline at end of file diff --git a/Group8/payPension.php b/Group8/payPension.php new file mode 100644 index 0000000..53cc4f2 --- /dev/null +++ b/Group8/payPension.php @@ -0,0 +1,158 @@ +"; +} + +//*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + +//*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +if (empty($_POST["Month"]) || empty($_POST["Year"])) { + $month = "1"; + $year = "2559"; +}else{ + $month = $_POST["Month"]; + $year = $_POST["Year"]; +} + +$result = mysqli_query($con, "SELECT register.*, bonus.Status FROM register LEFT JOIN bonus ON register.IDcard = bonus.IDcard WHERE register.Career = 'ครู' AND register.Type = 'บำเหน็จ' AND bonus.Month = $month AND bonus.Year = $year "); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + +
+

+
+ + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทจำนวนเงินสถานะ
+
+
+
+
+ + + \ No newline at end of file diff --git a/Group8/payPensionGeneral.php b/Group8/payPensionGeneral.php new file mode 100644 index 0000000..0ec7275 --- /dev/null +++ b/Group8/payPensionGeneral.php @@ -0,0 +1,158 @@ +"; +} + +//*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + +//*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +if (empty($_POST["Month"]) || empty($_POST["Year"])) { + $month = "1"; + $year = "2559"; +}else{ + $month = $_POST["Month"]; + $year = $_POST["Year"]; +} + +$result = mysqli_query($con, "SELECT register.*, bonus.Status FROM register LEFT JOIN bonus ON register.IDcard = bonus.IDcard WHERE register.Career != 'ครู' AND register.Type = 'บำเหน็จ' AND bonus.Month = $month AND bonus.Year = $year "); +?> + + + + + + + ระบบสารสนเทสและฐานข้อมูล + + + + + + +
+ +
ระบบสนเทศและฐานข้อมูล
+

+ เพื่อสนับสนุนการปฏิบัติงานของสำนักงาน
+ กองทุนบําเหน็จบํานาญข้าราชการส่วนท้องถิ่น +

+ + รายงาน + + + + + + + + คำขอ +
+ + + +
+

+
+ + + +
+
+ + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
ชื่อนามสกุลตำแหน่งประเถทจำนวนเงินสถานะ
+
+
+
+
+ + + \ No newline at end of file diff --git a/Group8/request.php b/Group8/request.php new file mode 100644 index 0000000..06ec7c9 --- /dev/null +++ b/Group8/request.php @@ -0,0 +1,111 @@ +"; +} + + //*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + + //*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register"); +?> + + + + + + + + + +

ข้อมูลส่วนตัว

+
+
+

ชื่อ

+ " class="form-control">
+

นามสกุล

+ ">
+

รหัสบัตรประชาชน

+ ">
+

วันเกิด

+ ">
+

ที่อยู่

+ " style="height: 60px; width: 300px;">
+

เบอร์โทรศัพท์

+ ">
+

อีเมล์

+ ">
+

ธนาคาร

+ ">
+

เลขบัญชี

+ ">
+

อาชีพ

+ ">
+

เงินเดือนเดือนสุดท้าย

+ " id="salary">
+

วันที่เข้ารับราชการ

+ ">
+

วันที่เกษียณ

+ ">
+

อายุราชการ

+ " id="bureauerucy">
+

ประเภทการของบำเน็จบำนาญ

+ " id="type">
+

เงินที่ควรได้

+

+ + +
+
+ +
+
+

คำนวณเงิน

+

+
+
+ + + + + \ No newline at end of file diff --git a/Group8/requestBonus.php b/Group8/requestBonus.php new file mode 100644 index 0000000..c119f2f --- /dev/null +++ b/Group8/requestBonus.php @@ -0,0 +1,111 @@ +"; +} + + //*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + + //*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register"); +?> + + + + + + + + +

ข้อมูลส่วนตัว

+
+
+

ชื่อ

+ " class="form-control">
+

นามสกุล

+ ">
+

รหัสบัตรประชาชน

+ ">
+

วันเกิด

+ ">
+

ที่อยู่

+ " style="height: 60px; width: 300px;">
+

เบอร์โทรศัพท์

+ ">
+

อีเมล์

+ ">
+

ธนาคาร

+ ">
+

เลขบัญชี

+ ">
+

อาชีพ

+ ">
+

เงินเดือนเดือนสุดท้าย

+ " id="salary">
+

วันที่เข้ารับราชการ

+ ">
+

วันที่เกษียณ

+ ">
+

อายุราชการ

+ " id="bureauerucy">
+

ประเภทการของบำเน็จบำนาญ

+ " id="type">
+

เงินที่ควรได้

+

+ + +
+
+ +
+
+

คำนวณเงิน

+

+
+
+ + + + + \ No newline at end of file diff --git a/Group8/requestPension.php b/Group8/requestPension.php new file mode 100644 index 0000000..cea2418 --- /dev/null +++ b/Group8/requestPension.php @@ -0,0 +1,110 @@ +"; +} + + //*** Update Last Stay in Login System +$sql = "UPDATE memberAdmin SET LastUpdate = NOW() WHERE UserID = '".$_SESSION["UserID"]."' "; +$query = mysqli_query($con,$sql); + + //*** Get User Login +$strSQL = "SELECT * FROM memberAdmin WHERE UserID = '".$_SESSION['UserID']."' "; +$objQuery = mysqli_query($con,$strSQL); +$objResult = mysqli_fetch_array($objQuery,MYSQLI_ASSOC); + +$result = mysqli_query($con, "SELECT * FROM register"); +?> + + + + + + + + +

ข้อมูลส่วนตัว

+
+
+

ชื่อ

+ " class="form-control">
+

นามสกุล

+ ">
+

รหัสบัตรประชาชน

+ ">
+

วันเกิด

+ ">
+

ที่อยู่

+ " style="height: 60px; width: 300px;">
+

เบอร์โทรศัพท์

+ ">
+

อีเมล์

+ ">
+

ธนาคาร

+ ">
+

เลขบัญชี

+ ">
+

อาชีพ

+ ">
+

เงินเดือนเดือนสุดท้าย

+ " id="salary">
+

วันที่เข้ารับราชการ

+ ">
+

วันที่เกษียณ

+ ">
+

อายุราชการ

+ " id="bureauerucy">
+

ประเภทการของบำเน็จบำนาญ

+ " id="type">
+

เงินที่ควรได้

+

+ + +
+
+ +
+
+

คำนวณเงิน

+

+
+
+ + + + + \ No newline at end of file