MNP900_m.php
3.16 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
<?php
//*****************************************************************************
//*
//* プログラム名:アンケート(携帯電話)
//* プログラムID:MNP200_m.php
//* 機能 :登録画面
//* 作成者 :
//*
//*****************************************************************************
header("Content-type: text/html; charset=Shift_JIS");
//*** 広告 ***//
include("include_m/Advertisement.inc");
//*** 共通処理 ***//
include("include_m/CommonProcess.inc");
//*** アンケート ***
$strMenuSQL = "SELECT name FROM sub_menu_TBL WHERE url = 'MNP010.php'";
$rsRecset = pg_exec($strMenuSQL);
$PHP_TITLE_NAME=mb_convert_encoding(pg_result($rsRecset,0,"name"), "SJIS", "EUC-JP");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<TITLE>E-グルPro(<?php echo $PHP_TITLE_NAME; ?>)</TITLE>
</HEAD>
<BODY>
<form Method="GET" action="MNP901_m.php">
<center>
<?php echo $PHP_TITLE_NAME; ?>(登録)<br>
<?php echo $strName; ?>
<HR width="100%">
<?php echo $koukokuTEL; ?>
</center>
<?php
//メニュー表示
include("include_m/CommonMenuReturn.inc");
//アンケート一覧
echo '<br><br> <a href="MNP010_m.php?'.$PHP_Argument.'&intPage='.$intPt1.'" accesskey="1">'.Get_Num("1").'アンケート一覧へ戻る</a>';
?>
<HR width="100%">
送信先部門:<br>
<?php
$strSQL = "SELECT syozoku_cd,bumon_name FROM mst_bumon WHERE del_flg=0 ORDER BY disp_rank";
$objRec = pg_exec($strSQL);
if($objRec==false){
echo("SQL実行に失敗しました1(SELECT)");
exit;
}
$bumon= pg_numrows($objRec);
for($intI = 0; $intI < pg_numrows($objRec); $intI++){
$objData = pg_fetch_object($objRec, $intI);
echo " <input type=checkbox name=group_dat[".$intI."] value=".$objData->syozoku_cd .">".mb_convert_encoding($objData->bumon_name, "SJIS", "EUC-JP")."<BR>";
}
?>
<br>
件名:<br>
<input maxlength="100" size="25" name="kenmei"><br>
本文:<br>
<textarea name="honbun" rows="5" cols="20"></textarea><br>
回答1:<br>
<input maxlength="25" size="25" name="kaitou[1]"><br>
回答2:<br>
<input maxlength="25" size="25" name="kaitou[2]"><br>
回答3:<br>
<input maxlength="25" size="25" name="kaitou[3]"><br>
回答4:<br>
<input maxlength="25" size="25" name="kaitou[4]"><br>
回答5:<br>
<input maxlength="25" size="25" name="kaitou[5]"><br>
回答6:<br>
<input maxlength="25" size="25" name="kaitou[6]"><br>
回答7:<br>
<input maxlength="25" size="25" name="kaitou[7]"><br>
回答8:<br>
<input maxlength="25" size="25" name="kaitou[8]"><br>
回答9:<br>
<input maxlength="25" size="25" name="kaitou[9]"><br>
回答10:<br>
<input maxlength="25" size="25" name="kaitou[10]"><br><br>
複数選択:<br>
<input type=radio name=fuku_flg value=0 checked>可<br>
<input type=radio name=fuku_flg value=1 >不可<br><br>
閲覧状況の公開:<br>
<input type=radio name=view_flg value=0 checked>公開しない<br>
<input type=radio name=view_flg value=1 >公開する<br>
<INPUT type="submit" NAME="intsts" value="登録">
<INPUT TYPE="hidden" NAME="bumon" VALUE="<?php echo $bumon; ?>">
<HR width="100%">
<?php
//メニュー表示
include("include_m/CommonMenuReturn.inc");
?>
<?php
//*** 共通変数取得 ***//
include("include_m/CommonHidden.inc");
?>
</form>
<br>
</BODY>
</HTML>