KST007.php 1.64 KB
<?php 
//*****************************************************************************
//* 
//* プログラム名:メニュー作成
//* プログラムID:KST007.php
//* 機能        :取引先情報設定
//* 作成者      :K.Yoshimura
//* 
//*****************************************************************************

header("Content-type: text/html; charset=EUC-JP");
include("include/session_start.inc");
include("include/SessionChk.inc");
$strDBinc="include/dbcon.inc";
include($strDBinc);

$strSql = "SELECT group_seq,group_name FROM torihiki_group_tbl " .
			"ORDER BY disp_rank ";
$rsRecset = pg_exec($pg_con,$strSql);
$intRsCnt = pg_numrows($rsRecset);

?>
<span class="Titlefont">MY取引先グループ設定</span><BR><BR>
<input type="button" onclick="sinki();" value="新規グループ作成"><br><br>
<table width="602" border="0" cellspacing="1" cellpadding="1" class="mainColor">
	<tr><td>
	<table width="600" cellSpacing="0" cellPadding="1" border="0">
		<tr>
			<td width="300" rowspan="2" align="center" class="toneDown">
			<select name="menu" width="250" size="10">
<?php 
			for ($i = 0 ; $i <= $intRsCnt-1 ; $i++) {
				echo "			<option value=\"" .pg_result($rsRecset,$i,"group_seq")."\">".pg_result($rsRecset,$i,"group_name")."</option>\n";
			}
?>
			<option value="">                  </option>
			</select></td>
			<td valign="middle" class="toneDown"><input type="button" onclick="return up();" value="表示順位を上へ移動" <?php  echo $PHP_DISABLED ?>></td>
	    </tr>
		<tr>
			<td valign="middle" class="toneDown"><input type="button" onclick="return down();" value="表示順位を下へ移動" <?php  echo $PHP_DISABLED ?>></td>
		</tr>
	</table>
	</td></tr>
</table>