KST018.php 1.15 KB
<?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>