CON015_1.php 3.54 KB
<?php 
//*****************************************************************************
//* 
//* プログラム名:POP3入力画面(新規・修正併用)
//* プログラムID:CON015_1
//* 機能        :POP3を入力する
//* 作成者      :
//* 
//*****************************************************************************
header("Content-type: text/html; charset=EUC-JP");

//*****************************************************************************
//* インクルードファイル
//*****************************************************************************
include("include/session_start.inc");				//セッション開始
include("include/SessionChk.inc");					//セッションチェック
include("include/dbcon.inc");								//DB接続

//*****************************************************************************
//* 画面制御
//*****************************************************************************
include("inc/header.inc");									//
include("include/input_chk.inc");						//
include("inc/CON015_1.inc");								//
include("menu_opacity.php");								//メニュー

switch ($_POST["sinki_edit_flg"]) {
	case "sinki":
		$strPop3Type="";
		$strPop3Name="";
		break;
	case "edit":
		$strSql = "SELECT * FROM mailadmin_tbl Where srv_id = ".$_POST["srv_id"];
		$rsRecset = pg_exec($pg_con, $strSql);
		$strPop3Type = pg_result($rsRecset, 0, "srv_id");
		$strPop3Name = htmlspecialchars(pg_result($rsRecset, 0, "srv_add"));
		break;
}
?>
<form name="e_gru" method = "POST" onsubmit = "return false">
	<?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("CON015HLP.htm")'><img src="image/help.gif" border="0"></a> <a href='javascript:Disp_Help("CON015HLP.htm")'>ヘルプ</a></div></th>
						</tr>
					</table>
					<div align="right"></div>
				</td>
			</tr>
		</table>
		<br>
		<span class="Chufont"></span><span class="Normalfont">は入力必須項目です</span>
		<table width="510" border="0" cellspacing="1" cellpadding="1" class="mainColor">
			<tr>
				<td>
					<table cellspacing="1" cellpadding="1" width="508" border="0">
						<tr bgcolor="#ffffff">
							<td width="80" class="toneDown"><span class="Normalfont">POP3</span><span class="Chufont"></span></td>
							<td><input type="text" maxLength="50" size="80" value="<?php  echo htmlspecialchars($strPop3Name) ?>" name="pop3_name"></td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<table width="510" border="0" cellspacing="0" cellpadding="0">
			<tr height = "40">
				<td height="40" align="left">
					<input type = "button" onclick = "return chk();" value = " 設 定 " name = "btn1">
				</td>
				<td height="40" align="center">
					<input type = "reset" value = "ク リ ア">
				</td>
				<?php if($_POST["sinki_edit_flg"] == "edit") { ?>
					<td height="40" align="center">
						<input type = "button" onclick = "return dell_chk();" value = " 削 除 " name = "btn2">
					</td>
				<?php } ?>
				<td height="40" align="right">
					<input type = "button" onclick = "return back();" value = " 戻 る " name = "modoru">
				</td>
			</tr>
		</table>
		<input type="hidden" name="srv_id" value="<?php echo $strPop3Type; ?>">
		<?php }else{ ?>
			<a href="TOP000.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
		<?php } ?>
</form>
<?php 
//コピーライト
include("include/copyright.inc");
?>