CON920.php
6.1 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
<?php
//*****************************************************************************
//*
//* プログラム名:契約情報画面
//* プログラムID:CON920
//* 機能 :契約情報を表示する。
//* 作成者 :
//*
//*****************************************************************************
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("include/input_chk.inc");
include("inc/CON920.inc");
include("menu_opacity.php"); //メニュー
?>
<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("CON920HLP.htm")'><img src="image/help.gif" border="0"></a><a href='javascript:Disp_Help("CON002HLP.htm")'>ヘルプ</a></div></th>
</tr>
</table>
<div align="right"></div>
</td>
</tr>
</table>
<br>
<?php
include("./include/dbcon_group.inc"); //DB接続
$strSQL = "SELECT * FROM groupinfo_tbl WHERE group_id='$PHP_FOLDER_NAME'";
$objRec = pg_exec($strSQL);
if($objRec==false){
echo("SQL実行に失敗しました(SELECT)");
exit;
}
if (pg_numrows($objRec)!=0){
$objData = pg_fetch_object($objRec, 0);
$strData[0] = $objData->groupnamekj;
$strData[1] = $objData->groupnamekn;
$strData[2] = $objData->dainame;
$strData[3] = $objData->tannamekj;
$strData[4] = $objData->tannamekn;
$strData[5] = $objData->yubin;
$strData[6] = $objData->address;
$strData[7] = $objData->tel;
$strData[8] = $objData->fax;
$strData[9] = $objData->mail;
$strData[10] = $objData->memo;
}else{
$strData[0] = "";
$strData[1] = "";
$strData[2] = "";
$strData[3] = "";
$strData[4] = "";
$strData[5] = "";
$strData[6] = "";
$strData[7] = "";
$strData[8] = "";
$strData[9] = "";
$strData[10] = "";
}
?>
<span class="Normalfont">下記情報が、御社のご登録情報となっております。<br /></span>
<span class="Normalfont">請求書は、下記の住所及びメールアドレスへ送付されますので変更時は、内容を変更の上ご登録お願いします。<br /></span>
<span class="Chufont">*</span><span class="Normalfont">は入力必須項目です</span>
<table width="90%" border="0" cellspacing="1" cellpadding="1" class="mainColor">
<tr>
<td>
<table cellspacing="1" cellpadding="1" width="100%" border="0">
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">会社名/団体名/個人名</span><span class="Chufont">*</span></td>
<td><input type="text" maxLength="50" size="60" value="<?php echo $strData[0]; ?>" name="txtGroupNameKj"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">会社名/団体名/個人名(フリガナ)</span></td>
<td><input type="text" maxLength="50" size="60" value="<?php echo $strData[1]; ?>" name="txtGroupNameKn"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">代表者名</span></td>
<td><input type="text" maxlength="10" size="60" value="<?php echo $strData[2]; ?>" name="txtDaiName"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">ご担当者名</span></td>
<td><input type="text" maxlength="10" size="60" value="<?php echo $strData[3]; ?>" name="txtTanNameKj"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">ご担当者名(フリガナ)</span></td>
<td><input type="text" maxlength="10" size="60" value="<?php echo $strData[4]; ?>" name="txtTanNameKn"><span class="Normalfont">(全角カタカナ)</span></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">ご連絡先住所</span></span><span class="Chufont">*</span></td>
<td>
〒<input type="text" maxLength="8" size="13" value="<?php echo $strData[5]; ?>" name="txtYubin"><br />
<input type="text" maxLength="200" size="130" value="<?php echo $strData[6]; ?>" name="txtAddress"><br />
</td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">電話番号</span></span><span class="Chufont">*</span></td>
<td><input type="text" maxLength="300" size="30" value="<?php echo $strData[7]; ?>" name="txtTel"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">FAX番号</span></td>
<td><input type="text" maxLength="300" size="30" value="<?php echo $strData[8]; ?>" name="txtFax"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">ご担当者メールアドレス</span></span><span class="Chufont">*</span></td>
<td><input type="text" maxLength="300" size="100" value="<?php echo $strData[9]; ?>" name="txtMail"></td>
</tr>
<tr bgcolor="#ffffff">
<td height="30" noWrap class="toneDown"><span class="Normalfont">メモ</span></td>
<td><textarea name="txtMemo" rows="5" cols="80"><?php echo $strData[10]; ?></textarea></td>
</tr>
</table>
</td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="40" width="100%" align="center"><input type="button" onclick="return chk();" value=" 設 定 " name="touroku"> <input type="button" onclick="return back();" value=" 戻 る " name="modoru"></td>
</tr>
</table>
<br>
<?php }else{ ?>
<a href="TOP000.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
<?php } ?>
<hr width="100%">
</form>
<?php
//コピーライト
include("include/copyright.inc");
?>