File tree Expand file tree Collapse file tree 8 files changed +115
-65
lines changed Expand file tree Collapse file tree 8 files changed +115
-65
lines changed Original file line number Diff line number Diff line change 14
14
margin : 0 ;
15
15
left : 50% ;
16
16
position : absolute;
17
- -ms-transform : translate (-50% , 0% );
18
17
transform : translate (-50% , 0% );
19
18
}
20
19
31
30
}
32
31
33
32
h3 {
34
- font-size : 20px ; }
33
+ font-size : 20px ;
34
+ }
35
35
36
36
h4 {
37
- font-size : 16px ; }
37
+ font-size : 16px ;
38
+ }
38
39
39
40
h5 {
40
- font-size : 15px ; }
41
+ font-size : 15px ;
42
+ }
41
43
42
44
h6 {
43
45
color : # 777777 ;
@@ -104,42 +106,77 @@ table {
104
106
}
105
107
106
108
th {
107
- text-align : left;
109
+ text-align : left;
110
+ margin : 0px ;
108
111
}
109
112
110
113
td {
111
114
text-align : left;
112
- }
113
-
114
- tr : first-child th : first-child {
115
- border-radius : 10px 10px 0 0 ;
116
- }
117
- tr : last-child th : first-child {
118
- border-radius : 0 0 10px 10px ;
115
+ margin : 0px ;
119
116
}
120
117
121
118
input [type = radio ] {
122
119
width : 5%
123
120
}
124
121
125
122
.smallp {
123
+ margin : 0px ;
126
124
text-align : left;
127
125
font-size : 12px ;
128
126
color : gray;
129
127
margin-left : 10px ;
130
128
display : inline-block;
131
129
}
132
130
133
- . left {
131
+ li {
134
132
text-align : left;
133
+ margin : 0px ;
135
134
}
136
135
137
- li {
136
+ form {
137
+ padding : 0px ;
138
+ margin : 0px ;
139
+ }
140
+
141
+ .BalanceRecordTable {
142
+ text-align : center;
143
+ font-size : 10px ;
144
+ }
145
+
146
+ .BalanceRecordTable tr : nth-child (even) {background : # eeeeee }
147
+ .BalanceRecordTable tr : nth-child (odd) {background : # ffffff }
148
+
149
+ .BalanceRecordTable th {
150
+ text-align : center;
151
+ background-color : # FBBC56 ;
152
+ border : 0.5px solid black;
153
+ }
154
+ .BalanceRecordTable td {
155
+ text-align : center;
156
+ border : .5px solid black;
157
+ }
158
+
159
+ .dataShowerH2 {
138
160
text-align : left;
161
+ padding : 0px ;
139
162
margin : 0px ;
163
+ margin-bottom : 10px ;
140
164
}
141
165
142
- form {
166
+ .dataShower {
167
+ font-weight : normal;
168
+ text-align : left;
143
169
padding : 0px ;
144
170
margin : 0px ;
171
+ margin-top : 10px ;
145
172
}
173
+
174
+ summary {
175
+ font-size : 20px ;
176
+ font-weight : bold;
177
+ text-align : left;
178
+ }
179
+
180
+ label {
181
+ margin : 0px ;
182
+ }
Original file line number Diff line number Diff line change 43
43
<form action = "add_account_check.php" method="POST">
44
44
<table>
45
45
<tr>
46
- <th><h3>아이디</h3></th>
46
+ <th><h3 class = 'dataShower' >아이디</h3></th>
47
47
</tr>
48
48
<tr>
49
49
<th><input type="number" placeholder="학생은 학번, 선생님은 생년월일 입력" name="id" min="160000" max="999999" required></th>
50
50
</tr>
51
51
<tr>
52
- <th><h3>문화기획부 프리패스</h3></th>
52
+ <th><h3 class = 'dataShower' >문화기획부 프리패스</h3></th>
53
53
</tr>
54
54
<tr>
55
55
<th>
68
68
</th>
69
69
</tr>
70
70
<tr>
71
- <th><h3>가입 유형</h3></th>
71
+ <th><h3 class = 'dataShower' >가입 유형</h3></th>
72
72
</tr>
73
73
<tr>
74
74
<th>
92
92
</th>
93
93
</tr>
94
94
<tr>
95
- <th><h3>RFID 태그</h3></th>
95
+ <th><h3 class = 'dataShower' >RFID 태그</h3></th>
96
96
</tr>
97
97
<tr>
98
98
<th><input type="number" placeholder="RFID를 태그해주세요." name="rfid", required/></th>
99
99
</tr>
100
100
</table>
101
- <button type="submit" class="button1">계좌 개설하기 </button>
101
+ <button type="submit" class="button1">계좌 개설 </button>
102
102
</form>
103
103
<script language="javascript" type="text/javascript" src="include/footer.js"></script>
104
104
</body>
Original file line number Diff line number Diff line change 21
21
}
22
22
$ balance = $ row ['balance ' ];
23
23
$ id = $ row ['idnumber ' ];
24
- echo $ id ," 의 잔액은 " ;
25
- echo "<h4> " , $ balance , "원</h4> " ;
26
- echo "입니다. " ;
27
- if ($ row [freepass])
28
- echo "<br><br>당신은 문기부 FREEPASS 대상자 입니다. " ;
29
- ?>
30
- <br>
31
- <details>
32
- <summary>결제 내역 보기</summary>
33
- <table>
24
+ echo "<table><tr><th><h3 class = 'dataShower'>계좌 번호</h3></th></tr> " ;
25
+ echo "<tr><th><h2 class = 'dataShowerH2'> " , $ id , "</h2></th></tr> " ;
26
+ echo "<tr><th><h3 class = 'dataShower'>잔액</h3></th></tr> " ;
27
+ echo "<tr><th><h2 class = 'dataShowerH2'> " , number_format ($ balance ), "원</h2></th></tr> " ;
28
+ if ($ row ['freepass ' ]) {
29
+ echo "<tr><th><h3 class = 'dataShower'>문화기획부 Freepass</h3></th></tr> " ;
30
+ echo "<tr><th><h2 class = 'dataShowerH2' style = 'color: green'>Active</h2></th></tr> " ;
31
+ }
32
+ echo "</table> " ;
33
+ ?>
34
+ <h3 class = 'dataShower'>계좌 기록</h3>
35
+ <table class = "BalanceRecordTable">
34
36
<thead>
35
37
<tr>
36
38
<th>번호</th>
37
39
<th>시간</th>
38
- <th>부스명 </th>
40
+ <th>부스 이름 </th>
39
41
<th>분류</th>
40
42
<th>잔액</th>
41
43
</tr>
72
74
echo "<td> " .$ time ."</td> " ;
73
75
echo "<td> " .$ booth ."</td> " ;
74
76
echo "<td> " .$ what ."</td> " ;
75
- echo "<td> " .$ balance. " </td> " ;
77
+ echo "<td> " .number_format ( $ balance). " 원 </td> " ;
76
78
echo "</tr> " ;
77
79
}
78
80
echo ("</tbody> " );
79
81
?>
80
82
</table>
81
- </details>
82
83
<script language="javascript" type="text/javascript" src="include/footer.js"></script>
83
84
</body>
84
85
</html>
Original file line number Diff line number Diff line change 39
39
<h3>계좌 충전 · 행정위원회</h3>
40
40
<form action = "charge_check.php" method="POST">
41
41
<div>
42
- <label for="amount"><h3 class="left ">충전할 금액</h3></label>
42
+ <label for="amount"><h3 class="dataShower ">충전할 금액</h3></label>
43
43
<input type="number" placeholder = "충전할 금액을 입력해주세요. (₩)" name="amount" min="0" required>
44
44
</div>
45
45
<div>
46
- <label for="rfid"><h3 class="left ">RFID 태그</h3></label>
46
+ <label for="rfid"><h3 class="dataShower ">RFID 태그</h3></label>
47
47
<input type="number" placeholder = "RFID를 태그해주세요." name="rfid" required>
48
48
</div>
49
49
<div class="button">
50
- <button type="submit" value="충전하기" class = "button1">계좌 충전하기 </button>
50
+ <button type="submit" value="충전하기" class = "button1">계좌 충전 </button>
51
51
</div>
52
52
</form>
53
53
<script language="javascript" type="text/javascript" src="include/footer.js"></script>
Original file line number Diff line number Diff line change 7
7
</head >
8
8
<body >
9
9
<script language = " javascript" type = " text/javascript" src = " include/header.js" ></script >
10
- <form method = " POST" id = " Balance Check Form" action = " balance_check.php" autocomplete= " off" >
11
- <input type = " number" name = " studentid" placeholder = " 아이디 입력 · RFID 태그" value = " Student ID number" > <br >
12
- </form >
13
- <button type = " submit" class = " button1" form = " Balance Check Form" value = " 잔액 확인" >계좌 조회</button >
14
- <button type = " button" class = " button2" onclick = " location.href='main.php' " >운영진 로그인</button >
15
- <script language = " javascript" type = " text/javascript" src = " include/footer.js" ></script >
10
+ <table >
11
+ <tr ><th >
12
+ <h3 class = ' dataShower' >계좌 조회</h3 >
13
+ </th ></tr >
14
+ <tr ><th >
15
+ <form method = " POST" id = " Balance Check Form" action = " balance_check.php" autocomplete= " off" >
16
+ <input type = " number" name = " studentid" placeholder = " 아이디 입력 · RFID 태그" value = " Student ID number" > <br >
17
+ </form >
18
+ </th ></tr ></table >
19
+ <button type = " submit" class = " button1" form = " Balance Check Form" value = " 잔액 확인" >계좌 조회</button >
20
+ <button type = " button" class = " button2" onclick = " location.href='main.php' " >운영진 로그인</button >
21
+ <script language = " javascript" type = " text/javascript" src = " include/footer.js" ></script >
16
22
</body >
17
- </html >
23
+ </html >
Original file line number Diff line number Diff line change 7
7
</ head >
8
8
< body >
9
9
< script language ="javascript " type ="text/javascript " src ="include/header.js "> </ script >
10
- < h3 > 운영진 로그인</ h3 >
11
10
< form method ="POST " action ="/login_check.php ">
12
- < input type ="text " placeholder ="아이디 입력하기 " name ="id "/>
13
- < input type ="password " placeholder ="비밀번호 입력하기 " name ="pw "/>
14
- < button type ="submit " class ="button1 "> 로그인</ button >
11
+ < table >
12
+ < tr > < th >
13
+ < h3 class = 'dataShower '> 운영진 로그인</ h3 >
14
+ </ th > </ tr >
15
+
16
+ < tr > < th >
17
+ < input type ="text " placeholder ="아이디 입력하기 " name ="id "/>
18
+ </ th > </ tr >
19
+
20
+ < tr > < th >
21
+ < input type ="password " placeholder ="비밀번호 입력하기 " name ="pw "/>
22
+ </ th > </ tr >
23
+ </ table >
24
+ < button type ="submit " class ="button1 "> 로그인</ button >
15
25
</ form >
16
- < button onclick ="location.href='signUp.html' " class ="button2 "> 운영진 가입하기 </ button >
26
+ < button onclick ="location.href='signUp.html' " class ="button2 "> 운영진 회원가입 </ button >
17
27
< script language ="javascript " type ="text/javascript " src ="include/footer.js "> </ script >
18
28
</ body >
19
29
</ html >
Original file line number Diff line number Diff line change 19
19
</head>
20
20
<body>
21
21
<script language="javascript" type="text/javascript" src="include/header.js"></script>
22
- <h4>부스 운영진 · 민족제 운영진만 접속할 수 있습니다.</h4>
23
22
<?php
24
23
$ id = $ _SESSION ['userid ' ];
25
24
29
28
$ result =$ mysqli ->query ($ check );
30
29
$ row =$ result ->fetch_array (MYSQLI_ASSOC );
31
30
$ boothname = $ row ['boothname ' ];
32
-
33
- echo "<h4> 현재 로그인 된 부스</h4> " ;
34
- echo "<h3> " ,$ boothname , "</h3> " ;
35
- echo "<br> " ;
31
+ echo "<table><tr><th><h3 class = 'dataShower'>현재 부스</h3></th></tr> " ;
32
+ echo "<tr><th><h2 class = 'dataShowerH2'> " ,$ boothname ,"</h2></th></tr></table> " ;
36
33
$ isAdmin = $ row ['admin ' ];
37
34
if ($ isAdmin ==1 )
38
35
{
53
50
<button type="submit" class="button1" >결제하기</button>
54
51
</div>
55
52
</form>
56
- <details>
57
- <summary >결제 내역 보기</summary >
58
- <table>
53
+
54
+ <h3 class = 'dataShower' >결제 기록</h3 >
55
+ <table class = "BalanceRecordTable" >
59
56
<thead>
60
57
<tr>
61
58
<th>번호</th>
62
59
<th>시간</th>
63
- <th>결제자 </th>
64
- <th>판매액 </th>
60
+ <th>구매 </th>
61
+ <th>금액 </th>
65
62
</tr>
66
63
</thead>
67
64
<?php
80
77
echo "<td> " .$ number ."</td> " ;
81
78
echo "<td> " .$ time ."</td> " ;
82
79
echo "<td> " .$ who ."</td> " ;
83
- echo "<td> " .$ price. " </td> " ;
80
+ echo "<td> " .number_format ( $ price). " 원 </td> " ;
84
81
echo "</tr> " ;
85
82
}
86
83
echo ("</tbody> " );
Original file line number Diff line number Diff line change 7
7
</ head >
8
8
< body >
9
9
< script language ="javascript " type ="text/javascript " src ="include/header.js "> </ script >
10
- < h3 > 부스 가입하기</ h3 >
11
-
12
- < h3 class = "left "> 약관</ h3 >
10
+ < h2 > 운영진 회원가입</ h2 >
11
+ < h3 class = "dataShower "> 약관</ h3 >
13
12
14
13
< script language ="javascript " type ="text/javascript " src ="include/boothSignupAgreement.js "> </ script >
15
14
16
15
< form action = "signUp_check.php " method ="POST ">
17
16
< table >
18
17
< tr >
19
- < th > < h3 > 아이디</ h3 > </ th >
18
+ < th > < h3 class = " dataShower " > 아이디</ h3 > </ th >
20
19
</ tr >
21
20
< tr >
22
21
< th > < input type ="text " placeholder = "아이디를 입력해주세요. " name ="id ", required /> </ th >
23
22
</ tr >
24
23
< tr >
25
- < th > < h3 > 비밀번호</ h3 > </ th >
24
+ < th > < h3 class = " dataShower " > 비밀번호</ h3 > </ th >
26
25
</ tr >
27
26
< tr >
28
27
< th > < input type ="password " placeholder = "비밀번호를 입력해주세요. " name ="pw ", required /> </ th >
@@ -32,7 +31,7 @@ <h3 class = "left">약관</h3>
32
31
</ tr >
33
32
< tr >
34
33
< th >
35
- < h3 > 부스 이름</ h3 >
34
+ < h3 class = " dataShower " > 부스 이름</ h3 >
36
35
</ th >
37
36
</ tr >
38
37
< tr >
You can’t perform that action at this time.
0 commit comments