-
Notifications
You must be signed in to change notification settings - Fork 0
/
insertForm.php
executable file
·868 lines (805 loc) · 33.6 KB
/
insertForm.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
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
<?php
session_start();
if(isset($_SESSION["userid"])){
$file_dir = 'C:\xampp\htdocs\editor\popup\upload\\';
require_once("../lib/MYDB.php");
$pdo = db_connect();
?>
<?
$sql = "select * from interlaw88.manager order by manager_num desc";
$stmh = $pdo->prepare($sql);
$stmh->execute();
$row = $stmh->fetch(PDO::FETCH_ASSOC);
$manager_id = $row["manager_id"];
$manager_name = $row["manager_name"];
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="../css/common.css">
<link rel="stylesheet" type="text/css" href="../css/memberFormTable.css">
<script>
function check_input()
{
if(!document.member_form.name.value) {
alert("필수 항목을 모두 입력해주세요");
document.member_form.name.focus();
return;
}
if(confirm("등록하시겠습니까?")){
document.member_form.submit();
}
return;
}
function reset_form() //취소버튼 눌렀을때
{
document.member_form.name.value = "";
document.member_form.age.value = "";
document.member_form.id.focus();
return;
}
</script>
</head>
<body>
<div id="wrap">
<div id="header">
<?php include "../lib/top_login2.php"; ?>
</div> <!-- end of header -->
<div id="menu">
<?php include "../lib/top_menu2.php"; ?>
</div> <!-- end of menu -->
<div id="content">
<div id="col1">
<div id="left_menu">
<?php include "../lib/left_menu.php"; ?>
</div>
</div> <!-- end of col1 -->
<div id="col2">
<form name="member_form" method="post" action="insertPro.php">
<div id="title">
<h1> 대상자 신규 등록</h1>
</div> <!-- end of title -->
<br>
<div id="info_all">
<div id="ilbanjungbo">
<style>
table {
width: 100%;
}
table, th, td {
border: 1px solid #bcbcbc;
border-collapse: collapse;
}
th, td {
border-bottom: 1px solid #444444;
padding: 8px;
}
</style>
<script>
document.getElementById('now_date').valueAsDate = new Date();
</script>
<body>
<table>
<caption><h2>일반정보</h2></caption>
<tbody>
<tr>
<th> 대상자 고유값<font color=red> * </font></th>
<td><input type="text" name= "member_id" required></td>
</tr>
<tr>
<th>최초 등록일</th>
<td><echo>자동생성</td>
</tr>
<tr>
<th>최종 등록일</th>
<td><echo>자동생성</td>
</tr>
<tr>
<th> 담당 전문가<font color=red> * </font></th>
<td><select type="text" name="manager_id" required>
<?php // 관리자 ID 목록 출력
while($row = $stmh->fetch(PDO::FETCH_ASSOC)){
?>
<option><?=$row['manager_id']?> '<?=$row['manager_name']?>'</option>
<?php } ?>
</select></td>
</tr>
<tr>
<th>이름</th>
<td><input type="text" name="name" required></td>
</tr>
<tr>
<th>성별</th>
<td><input type="radio" name="gender" id="F" value="여">여
<input type="radio" name="gender" id='M' value="남">남</td>
</tr>
<tr>
<th>생년월일</th>
<td><select name="birth1" required>
<option value='선택하세요'>선택하세요</option>
<option value='1999'>1999</option>
<option value='1998'>1998</option>
<option value='1997'>1997</option>
<option value='1996'>1996</option>
<option value='1995'>1995</option>
<option value='1994'>1994</option>
<option value='1993'>1993</option>
<option value='1992'>1992</option>
<option value='1991'>1991</option>
<option value='1990'>1990</option>
<option value='1989'>1989</option>
<option value='1988'>1988</option>
<option value='1987'>1987</option>
<option value='1986'>1986</option>
<option value='1985'>1985</option>
<option value='1984'>1984</option>
<option value='1983'>1983</option>
<option value='1982'>1982</option>
<option value='1981'>1981</option>
<option value='1980'>1980</option>
<option value='1979'>1979</option>
<option value='1978'>1978</option>
<option value='1977'>1977</option>
<option value='1976'>1976</option>
<option value='1975'>1975</option>
<option value='1974'>1974</option>
<option value='1973'>1973</option>
<option value='1972'>1972</option>
<option value='1971'>1971</option>
<option value='1970'>1970</option>
<option value='1969'>1969</option>
<option value='1968'>1968</option>
<option value='1967'>1967</option>
<option value='1966'>1966</option>
<option value='1965'>1965</option>
<option value='1964'>1964</option>
<option value='1963'>1963</option>
<option value='1962'>1962</option>
<option value='1961'>1961</option>
<option value='1960'>1960</option>
<option value='1959'>1959</option>
<option value='1958'>1958</option>
<option value='1957'>1957</option>
<option value='1956'>1956</option>
<option value='1955'>1955</option>
<option value='1954'>1954</option>
<option value='1953'>1953</option>
<option value='1952'>1952</option>
<option value='1951'>1951</option>
<option value='1950'>1950</option>
<option value='1949'>1949</option>
<option value='1948'>1948</option>
<option value='1947'>1947</option>
<option value='1946'>1946</option>
<option value='1945'>1945</option>
<option value='1944'>1944</option>
<option value='1943'>1943</option>
<option value='1942'>1942</option>
<option value='1941'>1941</option>
<option value='1940'>1940</option>
<option value='1939'>1939</option>
<option value='1938'>1938</option>
<option value='1937'>1937</option>
<option value='1936'>1936</option>
<option value='1935'>1935</option>
<option value='1934'>1934</option>
<option value='1933'>1933</option>
<option value='1932'>1932</option>
</select>
<select name="birth2" required>
<option value='선택하세요'>선택하세요</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
<select name="birth3" required>
<option value='선택하세요'>선택하세요</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select></td>
</tr>
<tr>
<th>학력</th>
<td> <select name="edu" required>
<option value='선택하세요'>선택하세요</option>
<option value="무학">무학</option>
<option value="무학">초졸</option>
<option value="무학">중졸</option>
<option value="무학">대졸</option>
<option value="무학">대학원이상</option>
</select></td>
</tr>
<tr>
<th>장애유무<font color=red> * </font></th>
<td><input type="radio" name="disability" value="유" >유
<input type="radio" name="disability" value="무">무</td>
</tr>
<tr>
<th>주요장애</th>
<td>
<input type="radio" name="major_disability" value="지체">지체
<input type="radio" name="major_disability" value="뇌병변">뇌병변
<input type="radio" name="major_disability" value="시각">시각
<input type="radio" name="major_disability" value="청각">청각
<input type="radio" name="major_disability" value="언어">언어
<input type="radio" name="major_disability" value="안면">안면
<input type="radio" name="major_disability" value="호흡기">호흡기
<input type="radio" name="major_disability" value="심장">심장
<input type="radio" name="major_disability" value="신장">신장
<input type="radio" name="major_disability" value="간">간
<input type="radio" name="major_disability" value="장류/요루">장류/요루
<input type="radio" name="major_disability" value="간질">간질
<input type="radio" name="major_disability" value="지적">지적
<input type="radio" name="major_disability" value="정신발달">정신발달</td>
</tr>
<tr>
<th>장애유형</th>
<td>
<input type="checkbox" name="mdt_retard" value="1">지체
<input type="checkbox" name="mdt_Brain_lesion" value="1">뇌병변
<input type="checkbox" name="mdt_see" value="1">시각
<input type="checkbox" name="mdt_hear" value="1">청각
<input type="checkbox" name="mdt_language" value="1">언어
<input type="checkbox" name="mdt_face" value="1">안면
<input type="checkbox" name="mdt_respiratory" value="1">호흡기
<input type="checkbox" name="mdt_heart" value="1">심장
<input type="checkbox" name="mdt_kidney" value="1">신장
<input type="checkbox" name="mdt_liver" value="1">간
<input type="checkbox" name="mdt_stoma_urostomy" value="1">장류/요루
<input type="checkbox" name="mdt_epilepsy" value="1">간질
<input type="checkbox" name="mdt_mental" value="1">지적
<input type="checkbox" name="mdt_development" value="1">정신발달</td></td>
</tr>
<tr>
<th>지체유형<font color=red> * </font></th>
<td>
<input type="radio" name="delay_type" value="비척수">비척수
<input type="radio" name="delay_type" value="경수">경수
<input type="radio" name="delay_type" value="흉요수">흉요수
<input type="radio" name="delay_type" value="해당없음">해당없음</td>
</tr>
<tr>
<th> 주요질환 <font color=red> * </font></th>
<td>
<input type="radio" name="major_disease" value="치매" >치매
<input type="radio" name="major_disease" value="고혈압" >고혈압
<input type="radio" name="major_disease" value="당뇨" >당뇨
<input type="radio" name="major_disease" value="관절염" >관절염
<input type="radio" name="major_disease" value="뇌혈관질환" >뇌혈관질환
<input type="radio" name="major_disease" value="심혈관질환" >심혈관질환
<input type="radio" name="major_disease" value="암" >암
<input type="radio" name="major_disease" value="전립선질환">전립선질환
<input type="radio" name="major_disease" value="기타">기타
   기타 내용: <input type="text" name="major_disease_ect" ></td>
</tr>
<tr>
<th> 운동유형 <font color=red> * </font></th>
<td>
<input type="radio" name="member_ex_type" value="근력" >근력
<input type="radio" name="member_ex_type" value="유연성" >유연성
<input type="radio" name="member_ex_type" value="유산소" >유산소
<input type="radio" name="member_ex_type" value="균형" >균형</td>
</tr>
<tr>
<th> 난이도 <font color=red> * </font></th>
<td><input type="radio" name="member_ex_level" value="상" >상
<input type="radio" name= "member_ex_level" value="중" >중
<input type="radio" name= "member_ex_level" value="하" >하
</td>
</tr>
</tbody>
</table>
<table>
<caption><h2>재활사정1</h2></caption>
<tbody>
<tr>
<th>발병시기</th>
<td><select name="mr1_onset1" required><br>
<option value='선택하세요'>선택하세요</option>
<option value='2021'>2021</option>
<option value='2020'>2020</option>
<option value='2019'>2019</option>
<option value='2018'>2018</option>
<option value='2017'>2017</option>
<option value='2016'>2016</option>
<option value='2015'>2015</option>
<option value='2014'>2014</option>
<option value='2013'>2013</option>
<option value='2012'>2012</option>
<option value='2011'>2011</option>
<option value='2010'>2010</option>
<option value='2009'>2009</option>
<option value='2008'>2008</option>
<option value='2007'>2007</option>
<option value='2006'>2006</option>
<option value='2005'>2005</option>
<option value='2004'>2004</option>
<option value='2003'>2003</option>
<option value='2002'>2002</option>
<option value='2001'>2001</option>
<option value='2000'>2000</option>
<option value='1999'>1999</option>
<option value='1998'>1998</option>
<option value='1997'>1997</option>
<option value='1996'>1996</option>
<option value='1995'>1995</option>
<option value='1994'>1994</option>
<option value='1993'>1993</option>
<option value='1992'>1992</option>
<option value='1991'>1991</option>
<option value='1990'>1990</option>
<option value='1989'>1989</option>
<option value='1988'>1988</option>
<option value='1987'>1987</option>
<option value='1986'>1986</option>
<option value='1985'>1985</option>
<option value='1984'>1984</option>
<option value='1983'>1983</option>
<option value='1982'>1982</option>
<option value='1981'>1981</option>
<option value='1980'>1980</option>
<option value='1979'>1979</option>
<option value='1978'>1978</option>
<option value='1977'>1977</option>
<option value='1976'>1976</option>
<option value='1975'>1975</option>
<option value='1974'>1974</option>
<option value='1973'>1973</option>
<option value='1972'>1972</option>
<option value='1971'>1971</option>
<option value='1970'>1970</option>
<option value='1969'>1969</option>
<option value='1968'>1968</option>
<option value='1967'>1967</option>
<option value='1966'>1966</option>
<option value='1965'>1965</option>
<option value='1964'>1964</option>
<option value='1963'>1963</option>
<option value='1962'>1962</option>
<option value='1961'>1961</option>
<option value='1960'>1960</option>
<option value='1959'>1959</option>
<option value='1958'>1958</option>
<option value='1957'>1957</option>
<option value='1956'>1956</option>
<option value='1955'>1955</option>
<option value='1954'>1954</option>
<option value='1953'>1953</option>
<option value='1952'>1952</option>
<option value='1951'>1951</option>
<option value='1950'>1950</option>
</select>
<select name="mr1_onset2" required>
<option value="선택하세요">선택하세요</option>
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>
</td>
</tr>
<tr>
<th>통증</th>
<td><echo>부위: <input type="text" name="mr1_pain_point" >
정도: <input type="text" name="mr1_pain_level"></td>
</tr>
<tr>
<th>복용중인 약물<font color=red> * </font></th>
<td><echo><input type="text" name="mr1_medicine" style="text-align:center; width:230px; height:40px;" required ></td>
</tr>
<tr>
<th> 재활 보조기구 <font color=red> * </font></th>
<td>보장구: <input type="text" name="mr1_helpingtool" >
보행기구: <input type="text" name="mr1_pedestal" >
기타기구: <input type="text" name="mr1_extra_instrument" ></td>
</tr>
<tr>
<th>주 간병인</th>
<td><select name="mr1_caregiver" required><br>
<option value='배우자'>배우자</option>
<option value='부모'>부모</option>
<option value='자녀(며느리/사위포함)'>자녀(며느리/사위포함)</option>
<option value='형제/자매'>형제/자매</option>
<option value='조부모'>조부모</option>
<option value='손자/손녀'>손자/손녀</option>
<option value='친척/인척'>친척/인척</option>
<option value='친구'>친구</option>
<option value='이웃'>이웃</option>
<option value='(유료)가정봉사원/간병인/활동보조인'>(유료)가정봉사원/간병인/활동보조인</option>
<option value='(무료)가정봉사원/간병인/활동보조인'>(무료)가정봉사원/간병인/활동보조인</option>
<option value='가원봉사자'>가원봉사자</option>
<option value='기타'>기타</option>
</select></td>
</tr>
<tr>
<th>가족 특이사항</th>
<td><select name="mr1_family" required><br>
<option value='독거'>독거</option>
<option value='부부만 거주'>부부만 거주</option>
<option value='조손가정'>조손가정</option>
<option value='결혼이민자'>결혼이민자</option>
<option value='친부모가족'>친부모가족</option>
<option value='폭력가족'>폭력가족</option>
<option value='정신지체(부모)'>정신지체(부모)</option>
<option value='정신질환가족'>정신질환가족</option>
<option value='배우자 외 동거가족 있음'>배우자 외 동거가족 있음</option>
<option value='기타'>기타</option>
</select>
</td>
</tbody>
</table>
<table>
<caption><h2>재활사정2</h2></caption>
<tbody>
<tr>
<th>의식</th>
<td><select name="mr2_consciousness" required>
<option value='명료'>명료</option>
<option value='혼돈'>혼돈</option>
<option value='혼수'>혼수</option>
</select></td>
</tr>
<tr>
<th>의사소통</th>
<td><select name="mr2_communication" required><br>
<option value='가능'>가능</option>
<option value='다소 어려움'>다소 어려움</option>
<option value='불가능'>불가능
</select> </td>
</tr>
<tr>
<th>호흡상태</th>
<td>
<select name="mr2_breath" required><br>
<option value='정상'>정상</option>
<option value='기침'>기침</option>
<option value='호흡곤란'>호흡곤란</option>
<option value='기관지 삽관'>기관지 삽관</option>
<option value='기타'>기타</option>
</select>
</td>
</tr>
<tr>
<th>영양상태</th>
<td><select name="mr2_nutrition" required><br>
<option value='양호'>양호</option>
<option value='식단부족'>식단부족</option>
<option value='삼키기 기능 장애'>삼키기 기능 장애</option>
<option value='기타'>기타</option>
</select></td>
</tr>
<tr>
<th>연하장애<font color=red> * </font></th>
<td><select name="mr2_dysphagia" required><br>
<option value='있음'>있음</option>
<option value='없음'>없음</option>
</select></td>
</tr>
<tr>
<th>신체활동수준</th>
<td><select name="mr2_active_level" required><br>
<option value='상'>상</option>
<option value='중'>중</option>
<option value='하'>하</option>
</select>
</td>
</tr>
<tr>
<th>기능수준<font color=red> * </font></th>
<td><select name="mr2_function_level" required><br>
<option value='1'>눕기</option>
<option value='2'>앉기</option>
<option value='3'>서기</option>
</select>
</td>
</tr>
<tr>
<th>근력 <font color=red> * </font></th>
<td>우상지근력: <li style="display:inline"><select name="mr2_right_arm" required><br>
<option value='정상'>정상</option>
<option value='약화'>약화</option>
<option value='마비'>마비</option>
</select>
</li>
좌상지근력: <li style="display:inline"><select name="mr2_left_arm" required><br>
<option value='정상'>정상</option>
<option value='약화'>약화</option>
<option value='마비'>마비</option>
</select>
</li>
우하지근력: <li style="display:inline"><select name="mr2_right_leg" required><br>
<option value='정상'>정상</option>
<option value='약화'>약화</option>
<option value='마비'>마비</option>
</select>
</li>
좌하지근력: <li style="display:inline"><select name="mr2_left_leg" required><br>
<option value='정상'>정상</option>
<option value='약화'>약화</option>
<option value='마비'>마비</option>
</select>
</li>
</td>
</tr>
<tr>
<th>운동기능정도</th>
<td><select name="mr2_movement_level" required><br>
<option value='와상상태(거동불능)'>와상상태(거동불능)</option>
<option value='앉아있을 수 있음'>앉아있을 수 있음</option>
<option value='침대/휠체어 이동 가능'>침대/휠체어 이동 가능</option>
<option value='기립가능'>기립가능</option>
<option value='의존적실내보행'>의존적실내보행</option>
<option value='실외보행'>실외보행</option>
</select>
</td>
</tr>
<tr>
<th> 영양상태평가결과<font color=red> * </font><br>(Mini Nutritional Assessment, MNA)</th>
<td>
<li>
1. 일반사항평가:  <input type="text" name="mr2_mna_1" required>점 <br>
2. 식사섭취평가: <input type="text" name="mr2_mna_2" required>점 <br>
3. 자가진단: <input type="text" name="mr2_mna_3" required>점 <br>
4. 신체계측평가: <input type="text" name="mr2_mna_4" required>점 <br>
5. 총점:  자동계산  </li>
</td>
</tr> <tr>
<th>골다공증평가결과<font color=red> * </font><br> (Fracture Risk Assessment System, FRAX) </th>
<td><li> 1. T-score <input type="text" name="mr2_FRAX_tscore" required>점 <br>
2.총 <input type="text" name="mr2_FRAX_total" required>점 </li>
</td>
</tr> <tr>
<th>노인체력검사결과<font color=red> * </font><br>(Senior Fitness Test, SFT) </th>
<td> <li> 1.30s동안앉았다일어서기: <input type="text" name="mr2_SFT_1" required>회 <br>
2.244m왕복걷기: <input type="text" name="mr2_SFT_2" required>초 </li>
</td>
</tr> <tr>
<th>운동기능평가결과<font color=red> * </font><br></th>
<td><li> <input type="text" name="mr2_MAS4" required>점 </li>
</td>
</tr>
</tbody>
</table>
<table>
<caption><h2>기본검진</h2></caption>
<tbody>
<tr>
<th>혈압<font color=red> * </font></th>
<td>
<li>수축기<input type="text" name="mbe_blood_pressure1" required>mmHg </li>
<li>이완기<input type="text" name="mbe_blood_pressure2" required>mmHg </li>
</td>
</tr>
<tr>
<th>맥박</th>
<td><input type="text" name="mbe_pulse" required>BPM</td>
</tr>
<tr>
<th>호흡</th>
<td><input type="text" name="mbe_breath" required>mmHG </td>
</tr>
<tr>
<th>체온</th>
<td>
<input type="text" name="mbe_temperature" required>°C 
</td>
</tr>
<tr>
<th>체중</th>
<td>
<input type="text" name="mbe_weight" required>kg
</td>
</tr>
<tr>
<th>신장</th>
<td>
<input type="text" name="mbe_height" required>cm
</td>
</tr>
<tr>
<th>BMI<font color=red> * </font></th>
<td>
<input type="text" name="mbe_bmi" required>kg/m²
</td>
</tr>
<tr>
<th>당화혈색소<font color=red> * </font></th>
<td>
<input type="text" name="mbe_blood_glucose_before" value="<?=$mbe_blood_glucose_before?>" required>% 
</td>
</tr>
<tr>
<th>HDL-CHOL<font color=red> * </font></th>
<td>
<input type="text" name="mbe_chol" required>mg/dL
</td>
</tr>
<tr>
<th>중성지방<font color=red> * </font></th>
<td>
<input type="text" name="mbe_tg" required>mg/dL
</td>
</tr>
<tr>
<th>검진부서</th>
<td>
<input type="text" name="mbe_department" required>
</td>
</tr>
</tbody>
</table>
<table>
<caption><h2>일상 생활 동작검사(K-MBI)</h2></caption>
<tbody>
<tr>
<th >검사표</th>
<td width="120">수행불가</td>
<td width="120">상당한 도움필요</td>
<td width="120">중간정도 도움필요</td>
<td width="120">최소한의 도움필요</td>
<td width="120">완전히 독립적</td>
</tr>
<tr>
<th>몸 치장하기</th>
<td><input type="radio" name="mdl_hygiene" id="F" value="0"></td>
<td><input type="radio" name="mdl_hygiene" id="F" value="1"></td>
<td><input type="radio" name="mdl_hygiene" id="F" value="3"></td>
<td><input type="radio" name="mdl_hygiene" id="F" value="4"></td>
<td><input type="radio" name="mdl_hygiene" id="F" value="5"></td>
</tr>
<tr>
<th>목욕하기</th>
<td><input type="radio" name="mdl_bath" id="F" value="0"></td>
<td><input type="radio" name="mdl_bath" id="F" value="1"></td>
<td><input type="radio" name="mdl_bath" id="F" value="3"></td>
<td><input type="radio" name="mdl_bath" id="F" value="4"></td>
<td><input type="radio" name="mdl_bath" id="F" value="5"></td>
</tr>
<tr>
<th>식사하기</th>
<td><input type="radio" name="mdl_meal" id="F" value="0"></td>
<td><input type="radio" name="mdl_meal" id="F" value="2"></td>
<td><input type="radio" name="mdl_meal" id="F" value="5"></td>
<td><input type="radio" name="mdl_meal" id="F" value="8"></td>
<td><input type="radio" name="mdl_meal" id="F" value="10"></td>
</tr>
<tr>
<th>화장실 이동과 사용</th>
<td><input type="radio" name="mdl_toilet" id="F" value="0"></td>
<td><input type="radio" name="mdl_toilet" id="F" value="2"></td>
<td><input type="radio" name="mdl_toilet" id="F" value="5"></td>
<td><input type="radio" name="mdl_toilet" id="F" value="8"></td>
<td><input type="radio" name="mdl_toilet" id="F" value="10 "></td>
</tr>
<tr>
<th>계단이동</th>
<td><input type="radio" name="mdl_stair" id="F" value="0"></td>
<td><input type="radio" name="mdl_stair" id="F" value="2"></td>
<td><input type="radio" name="mdl_stair" id="F" value="5"></td>
<td><input type="radio" name="mdl_stair" id="F" value="8"></td>
<td><input type="radio" name="mdl_stair" id="F" value="10"></td>
</tr>
<tr>
<th>옷입기</th>
<td><input type="radio" name="mdl_clothe" id="F" value="0"></td>
<td><input type="radio" name="mdl_clothe" id="F" value="2"></td>
<td><input type="radio" name="mdl_clothe" id="F" value="5"></td>
<td><input type="radio" name="mdl_clothe" id="F" value="8"></td>
<td><input type="radio" name="mdl_clothe" id="F" value="10"></td>
</tr>
<tr>
<th>대변조절</th>
<td><input type="radio" name="mdl_poo_control" id="F" value="0"></td>
<td><input type="radio" name="mdl_poo_control" id="F" value="2"></td>
<td><input type="radio" name="mdl_poo_control" id="F" value="5"></td>
<td><input type="radio" name="mdl_poo_control" id="F" value="8"></td>
<td><input type="radio" name="mdl_poo_control" id="F" value="10"></td>
</tr>
<tr>
<th>소변조절</th>
<td><input type="radio" name="mdl_urine_control" id="F" value="0"></td>
<td><input type="radio" name="mdl_urine_control" id="F" value="2"></td>
<td><input type="radio" name="mdl_urine_control" id="F" value="5"></td>
<td><input type="radio" name="mdl_urine_control" id="F" value="8"></td>
<td><input type="radio" name="mdl_urine_control" id="F" value="10"></td>
</tr>
<tr>
<th>걷기</th>
<td><input type="radio" name="mdl_walk" id="F" value="0"></td>
<td><input type="radio" name="mdl_walk" id="F" value="3"></td>
<td><input type="radio" name="mdl_walk" id="F" value="8"></td>
<td><input type="radio" name="mdl_walk" id="F" value="12"></td>
<td><input type="radio" name="mdl_walk" id="F" value="12"></td>
</tr>
<tr>
<th>혹은 휠체어</th>
<td><input type="radio" name="mdl_wheelchair" id="F" value="0"></td>
<td><input type="radio" name="mdl_wheelchair" id="F" value="1"></td>
<td><input type="radio" name="mdl_wheelchair" id="F" value="3"></td>
<td><input type="radio" name="mdl_wheelchair" id="F" value="4"></td>
<td><input type="radio" name="mdl_wheelchair" id="F" value="5"></td>
</tr>
<tr>
<th>의자/침대이동</th>
<td><input type="radio" name="mdl_movement" id="F" value="0"></td>
<td><input type="radio" name="mdl_movement" id="F" value="3"></td>
<td><input type="radio" name="mdl_movement" id="F" value="8"></td>
<td><input type="radio" name="mdl_movement" id="F" value="12"></td>
<td><input type="radio" name="mdl_movement" id="F" value="15"></td>
</tr>
<tr>
<th>총점</th>
<td>자동계산</td>
</tr>
</tbody>
</table>
</body>
</ul>
</table>
</li>
</ul>
<div id="button"><a href="#"><img src="../img/button_save.gif"
onclick="check_input()"></a>
<a href="#"><img src="../img/button_reset.gif" onclick="reset_form()"></a>
</div>
</form>
</div> <!-- end of col2 -->
</div> <!-- end of content -->
</div> <!-- end of wrap -->
</body>
</html>
<?php }else{ ?>
<script>
alert("로그인 후 접속할 수 있습니다!");
history.back();
</script>
<?php } ?>