CON014_0.php 3.02 KB
<?php 
//*****************************************************************************
//* 
//* プログラム名:メニュー作成
//* プログラムID:CON014_0.php
//* 機能        :新規メニューの作成
//* 作成者      :K.Yoshimura
//* 
//*****************************************************************************

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

$strSQL="";
$objRecSet="null";

if ($sinki_edit_flg == "edit") {
	$strSQL = "SELECT group_seq,group_name FROM torihiki_group_tbl Where group_seq=$menu " .
			"ORDER BY disp_rank ";

	$objRecSet = pg_exec($strSQL);
	if($objRecSet==false){
		echo("SQL実行に失敗しました(SELECT)");
		exit;
	}

	$objData = pg_fetch_object($objRecSet, 0);
	$strGroup_Name=$objData->group_name;

}


?>
<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"><?php  echo $PHP_TITLE_NAME[14]; ?>情報設定</div></th>
					<th width="50%" scope="col"><div align="right"><a href='javascript:Disp_Help("CON014HLP.htm")'><img src="image/help.gif" border="0"></a> <a href='javascript:Disp_Help("CON014HLP.htm")'>ヘルプ</a></div></th>
				</tr>
			</table>
			<div align="right"></div>
		</td>
	</tr>
</table>
<br>
<span class="Chufont"></span><span class="Normalfont">は入力必須項目です</span>
<table width="402" border="0" cellspacing="1" cellpadding="1" class="mainColor">
	<tr><td>
	<table cellspacing="1" cellpadding="1" width="400" border="0">
		<tr bgcolor="#ffffff">
			<td class="toneDown"><span class="Normalfont">グループ名</span><span class="Chufont"></span></td>
			<td><input type="text" maxLength="23" size="50" value="<?php echo htmlspecialchars($strGroup_Name)?>" name="strGroup_Name"></td>
		</tr>
	</table>
	</td></tr>
</table>
<table width="402" border="0" cellspacing="0" cellpadding="0">
<?php 
if ($sinki_edit_flg == "sinki") {
?>
	<tr>
		<TD height="40" width="402" align="center"><INPUT type="button" onclick="return chk(0);" value=" 設 定 " name="set">  <INPUT type="button" onclick="return back();" value=" 戻 る " name="modoru"></TD>
	</tr>
<?php 
}else{
?>
	<tr>
		<TD height="40" width="402" align="center"><INPUT type="button" onclick="return chk();" value=" 修 正 " name="set">  <INPUT type="button" onclick="return back();" value=" 戻 る " name="modoru"></TD>
	</tr>
<?php 
}
?>
</table>
<BR>
<HR width="100%">
<input type="hidden" name="sinki_edit_flg" value="<?php  echo $sinki_edit_flg ?>">
<input type="hidden" name="menu" value="<?php  echo $menu ?>">
<?php  }else{ ?>
  <a href="TOP000.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
<?php  } ?>
</form>
<?php 
//コピーライト
include("include/copyright.inc");
?>