KST007.php
1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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>