CON162.php 2.87 KB
<?php 
//*****************************************************************************
//* 
//* プログラム名:簡易在席一覧
//* プログラムID:CON162
//* 機能        :一覧を表示する
//* 作成者      :
//* 
//*****************************************************************************

header("Content-type: text/html; charset=EUC-JP");
include("include/session_start.inc");
include("include/SessionChk.inc");
include("include/dbcon.inc");
include("inc/header.inc");
include("inc/CON162.inc");
//メニュー
include("menu_opacity.php");

$strCHK = "";
$strSQL = "SELECT * FROM mst_common_word_tbl Where type = 1 order by seq";
$rsRecset = pg_exec($pg_con,$strSQL);
if($rsRecset==false){
echo("SQL実行に失敗しました(SELECT)");
exit;
}

$intRsCnt = pg_numrows($rsRecset);

?>
<form name="e_gru">
<?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("CON160HLP.htm")'><img src="image/help.gif" border="0"></a> <a href='javascript:Disp_Help("CON160HLP.htm")'>ヘルプ</a></div></th>
					</tr>
				</table>
				<div align="right"></div>
			</td>
		</tr>
	</table>
	<br>
	<table cellspacing="0" cellpadding="0">
		<tr>
			<td><input type="button" onclick="return sinki_chk();" value="在席項目新規作成"></td>
		</tr>
	</table>
	<br>
	<table width="302" border="0" cellspacing="1" cellpadding="1" class="mainColor">
		<tr><td>
	<table width="300" cellSpacing="1" cellPadding="1" border="0">
		<tr><td>
		<table width="300" cellSpacing="0" cellPadding="1" border="0">
			<tr>
				<td align="center" class="toneDown">
				<select name="zaiseki_name" size="10">
					<?php 
						for ($i = 0 ; $i <= $intRsCnt-1 ; $i++) {
							echo "			<option value=\"".pg_result($rsRecset,$i,"seq")."/".pg_result($rsRecset,$i,"memo")."\">".pg_result($rsRecset,$i,"memo")."</option>\n";
						}
					?>
					<option value="">                  </option>
				</select></TD>
		    </tr>
		</table>
		</td></tr>
	</table>
		</td</tr>
	</table>
	<table width="302" border="0" cellspacing="0" cellpadding="0">
		<tr height="40">
			<td align="center">
				<input type="button" onclick="return update_chk();" value=" 修 正 ">
				 <input type="button" onclick="return dell_chk();" value=" 削 除 ">
				 <INPUT type="button" onclick="return back();" value=" 戻 る " name="modoru">
			</td>
		</tr>
	</table>
	<br>

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