KST018.php
1.15 KB
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
<?php
//*****************************************************************************
//*
//* プログラム名:祝祭日表示設定
//* プログラムID:KST018.php
//* 機能 :
//* 作成者 :
//*
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");
include("include/session_start.inc");
include("include/SessionChk.inc");
$strDBinc="include/dbcon.inc";
include($strDBinc);
//**** DB接続 ****//
$strDBinc="include/dbcon.inc";
include($strDBinc);
$strCHK="";
$strSQL = "select memo from kojin_data_tbl where syain_cd='".$PHP_SYAIN_CD."' and seq=14";
$objRS = pg_exec($strSQL);
if(pg_numrows($objRS) > 0){
$objftc = pg_fetch_object($objRS,0);
if($objftc->memo == "1"){
$strCHK = "checked";
}
}
?>
<br><br>
<table width="702" border="0" cellspacing="1" cellpadding="1" class="mainColor">
<tr>
<TD bgColor=#ffffff>
<br><input type="checkbox" name="Holiday_disp" id="Holiday_disp" value="1" <?php echo $strCHK; ?> onClick="Holi_disp('KST018_2.php')"><span class="Normalfont"><label for="Holiday_disp" title="祝祭日を表示">祝祭日を表示</label></span><BR><BR>
</TD>
</tr>
</table>
<br>