LIN002.php
2.79 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
<?php
//*****************************************************************************
//*
//* プログラム名:リンク集カテゴリ入力画面(新規・修正併用)
//* プログラムID:LIN002.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);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link rel="stylesheet" type="text/css" href="basefont.css">
<TITLE>e-グル リンク集</TITLE>
<?php
include("include/input_chk.inc");
include("include/LIN002.inc");
?>
</HEAD>
<BODY>
<?php
//**** メニュー ****//
include("include/menu.inc");
?>
<form name="e_gru">
<?php
if ($seq_mst != ""){
$strSQL="Select category_name From mst_link " .
"Where seq=$seq_mst ";
//echo("strSQL[" . $strSQL . "]<BR>");
$objRecSet = pg_exec($strSQL);
if($objRecSet==false){
echo("SQL実行に失敗しました(SELECT)");
exit;
}
$objData = pg_fetch_object($objRecSet,0);
$category_name=$objData->category_name;
}
?>
<br>
<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="20" size="50" value="<?php echo $category_name?>" name="category_name"></TD>
</TR>
</table>
</td></tr>
</table>
<?php
if ($seq_mst != ""){
?>
<table width="402" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD height="40" width="402" align="center"><INPUT type="button" onclick="return chk();" value=" 修 正 " name="set"><INPUT type="button" onclick="return linkmst_del();" value=" 削 除 " name="set"><input type="button" value=" 戻 る " name="meetrtn" onClick="location.href='LIN001.php';"></TD>
</TR>
</table>
<INPUT TYPE="hidden" NAME="seq_mst" VALUE="<?php echo $seq_mst ?>">
<?php
}else{
?>
<table width="402" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD height="40" width="402" align="center"><INPUT type="button" onclick="return chk();" value=" 登 録 " name="set"><input type="button" value=" 戻 る " name="meetrtn" onClick=onClick="location.href='LIN001.php';"></TD>
</TR>
</table>
<?php
}
?>
<BR>
<HR width="100%">
<?php
//コピーライト
include("include/copyright.inc");
?>
<INPUT TYPE="hidden" NAME="kind_flg" VALUE="1">
</form>
</BODY>
</HTML>