CON004.php 3.43 KB
<?php 
//*****************************************************************************
//* 
//* プログラム名:就業形態情報画面
//* プログラムID:CON004
//* 機能        :就業形態情報画面を表示する
//* 作成者      :
//* 
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");

//***************************
//* インクルードファイル
//***************************
include("include/session_start.inc");		//セッション開始
include("include/SessionChk.inc");			//セッションチェック
include("include/dbcon.inc");						//DB接続

//***************************
//* 画面制御
//***************************
include("inc/header.inc");							//
include("inc/CON004.inc");							//
include("menu_opacity.php");						//メニュー

$strSql = "SELECT syuugyou_type, type_name, disp_rank FROM mst_syuugyou_type ORDER BY disp_rank";
$rsRecset = pg_exec($pg_con, $strSql);
$intRsCnt = pg_numrows($rsRecset);
?>

<form name="e_gru" method = "post">
<?php if ($PHP_BIT[0]==1){ ?>
	<table width="100%" border="0" cellspacing="0">
		<tr>
			<td class="midashi">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<th width="50%" scope="col"><div align="left"><img src="image/t_kanri.gif" border="0"> 就業形態設定</div></th>
						<th width="50%" scope="col"><div align="right"><a href='javascript:Disp_Help("CON004HLP.htm")'><img src="image/help.gif" border="0"></a> <a href='javascript:Disp_Help("CON004HLP.htm")'>ヘルプ</a></div></th>
					</tr>
				</table>
				<div align="right"></div>
			</td>
		</tr>
	</table>
	<br>
	<input type = "button" onclick = "sinki();" value = "就業形態新規作成"><br><br>
	<table width = "480" border = "0" cellspacing = "1" cellpadding = "1" bgColor = "#9999ff">
		<tr>
			<td>
				<table cellspacing = "1" cellpadding = "1" border = "0">
					<tr bgColor = "#ccccff">
						<td height = "30" width = "120" align = "center"><span class = "Normalfont">表示移動</span></td>
						<td height = "30" width = "350" align = "center"><span class = "Normalfont">就業形態名</span></td>
					</tr>

					<?php for ($i = 0 ; $i < $intRsCnt ; $i++) { ?>
					<tr bgColor = "#ffffff">
						<td align = "center">
							<span class = "Normalfont">
							<?php if($i != 0) { ?>
								<input type = "button" onclick = "return up('<?php echo pg_result($rsRecset, $i ,"syuugyou_type")?>');" value = "↑">
							<?php } ?>
							<?php if($i != $intRsCnt - 1) { ?>
								<input type = "button" onclick = "return down('<?php echo pg_result($rsRecset, $i ,"syuugyou_type")?>');" value = "↓">
							<?php } ?>
							</span>
						</td>
						<td height = "30">
								<a href = "javascript:edit('<?php echo pg_result($rsRecset, $i, "syuugyou_type") ?>')"><span class = "Normalfont"><?php echo htmlspecialchars(pg_result($rsRecset, $i, "type_name"))?></span></a>
						</td>
					</tr>
					<?php } ?>
				</table>
			</td>
		</tr>
	</table>
	<table width = "480" border = "0">
		<tr height = "40">
			<td align = "right">
				<input type = "button" onclick = "return back();" value = " 戻 る " name = "modoru">
			</td>
		</tr>
	</table>

	<input type = "hidden" name = "sinki_edit_flg" value = "">
	<input type = "hidden" name = "up_down_flg" value = "">
	<input type = "hidden" name = "syuugyou_type" value = "">

<?php }else{ ?>
	<a href = "TOP000.php"><span class = "Normalfont">マスタ変更権限がありません</span></a>
<?php } ?>
</form>
<?php 
//コピーライト
include("include/copyright.inc");
?>