%%74^74B^74B3613D%%SIM0960.tpl.php 6.55 KB
<?PHP  /* Smarty version 2.6.22, created on 2009-06-10 10:46:14
         compiled from SIM0960.tpl */ ?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; cahrset=euc-jp">
<meta http-equiv="content-style-type" content="text/css">
<meta name="robots" content="noindex, nofollow">
<?PHP  echo '
<script language="javascript">
<!--
function syain_chk(){
	if ( (document.frm.lstBumon.selectedIndex == -1) || (document.frm.lstBumon.value == "") ) {
		return false;
	}
}

var SFlg = false;					//サブミットフラグを定義
function DoubleSubmit(){			//ダブルサブミットチェック関数
	if (SFlg){						//ダブルサブミットの場合
		alert("応答中です");		//メッセージを出力
		return false;
	}
	SFlg = true;					//サブミットフラグを設定
	return true;					//戻り値を設定
}

function sinki(){
	if (DoubleSubmit()) {
		document.frm.mode.value="add";
		document.frm.action = "SIM0961.php";
		document.frm.method = "POST";
		document.frm.submit();
	}
}

function edit(){

var selno = 0;

	if (syain_chk() == false) {
		document.frm.lstBumon.focus();
		return false;
	}
	if (DoubleSubmit()) {

		//seq取得
		document.frm.bseq.value = document.frm.lstBumon.value;

		//名前取得
		selno = document.frm.lstBumon.options.selectedIndex;
		document.frm.bname.value = document.frm.lstBumon.options[selno].text;

		document.frm.mode.value="edt";
		
		document.frm.action = "SIM0961.php";
		document.frm.method="POST";
		document.frm.submit();
	}
}

function del_chk(){

var selno = 0;

	//ユーザの選択チェック
	if (syain_chk() == false) {
		document.frm.lstBumon.focus();
		return false;
	}

	if (DoubleSubmit()) {

		//seq取得
		document.frm.bseq.value = document.frm.lstBumon.value;
	
		//名前取得
		selno = document.frm.lstBumon.options.selectedIndex;
		document.frm.bname.value = document.frm.lstBumon.options[selno].text;

		//ユーザの削除確認
		if(confirm(document.frm.bname.value+\'を削除します\')){
			document.frm.mode.value="del";
			document.frm.action = "SIM0962.php";
			document.frm.method = "POST";
			document.frm.submit();
		}else{
			return false;
		}
	}

}

function up(){

var selno = 0;

	if (document.frm.lstBumon.options.selectedIndex != 0){
		if (syain_chk() == false) {
			document.frm.lstBumon.focus();
			return false;
		}
		if (DoubleSubmit()) {
			document.frm.bseq.value = document.frm.lstBumon.value;
	
			selno = document.frm.lstBumon.options.selectedIndex;
			document.frm.bname.value = document.frm.lstBumon.options[selno].text;
	
			document.frm.mode.value="up";
			document.frm.idx.value = eval(document.frm.idx.value) -1;

			document.frm.action = "SIM0962.php";
			document.frm.method = "POST";
			document.frm.submit();
		}
	}
}

function down(){

var selno = 0;

	if ( document.frm.lstBumon.options.length-1
			> document.frm.lstBumon.options.selectedIndex){
		if (syain_chk() == false) {
			document.frm.lstBumon.focus();
			return false;
		}
		if (DoubleSubmit()) {
	
			document.frm.bseq.value = document.frm.lstBumon.value;
	
			selno = document.frm.lstBumon.options.selectedIndex;
			document.frm.bname.value = document.frm.lstBumon.options[selno].text;
	
			document.frm.mode.value = "down";
			document.frm.idx.value = eval(document.frm.idx.value) +1;

			document.frm.action = "SIM0962.php";
			document.frm.method = "POST";
			document.frm.submit();
		}
	}
}

function backmenu(){
	location.href = "SIM0100.php";
}

function getindex(){
	document.frm.idx.value = document.frm.lstBumon.options.selectedIndex;
}
-->
</script>
'; ?>

<title><?PHP  echo $this->_tpl_vars['PHP_SYSNAME']; ?>
</title>
<link rel="stylesheet" href="./templates/SIM.css" type="text/css" />
</head>

<body>
<form name="frm">
<div class="LoginBody">

	<div class="LoginHeader">
		<img src="./templates/img/logo.gif" alt="<?PHP  echo $this->_tpl_vars['PHP_SYSNAME']; ?>
" border="0">
	</div>
	<div class="MenuUserinfo">
		<span class="NameText"><?PHP  echo $this->_tpl_vars['PHP_GROUP_NAME']; ?>
 / <?PHP  echo $this->_tpl_vars['PHP_BUMON_NAME']; ?>
 / <?PHP  echo $this->_tpl_vars['PHP_USER_NAME']; ?>
</span>
		<span class="LinkText">
			<a href = "./help/HELP0960.html" target="_blank">ヘルプ</a> / 
			<a href = "SIM9999.php">ログアウト</a>
		</span>
	</div>
	<div class="ConfOutline">
		<div class="ConfTitle">
			<?PHP  echo $this->_tpl_vars['DEFARR'][11]; ?>
設定画面
		</div>
		<div class="ConfMain">
	<!--<?PHP  if ($this->_tpl_vars['PHP_USER_ADMIN'] == 1 || $this->_tpl_vars['PHP_USER_ADMIN'] == 99): ?>-->
			<table class="NoLineTab">
				<tr>
					<td>
						 <input type="button" class="SimOkButton" onclick="sinki();" value="<?PHP  echo $this->_tpl_vars['DEFARR'][11]; ?>
新規作成">
						   <input type="button" class="SimCancelButton" value="メニューへ" onclick="location.href='SIM0100.php'">
					</td>
				</TR>
			</table>
			<br>
			<table class="NoLineTab">
				<tr>
					<td>現在の<?PHP  echo $this->_tpl_vars['DEFARR'][11]; ?>
</td>
					<td align="center">
						<?PHP  echo $this->_tpl_vars['ibCnt']; ?>

					</td>
				</TR>
			</table>
			<br>
			<table class="NoLineTab">
				<tr>
					<TD>
						<SELECT size="10" name="lstBumon" onchange="getindex();">
							<?PHP  echo $this->_tpl_vars['bItem']; ?>

						</SELECT>
					</TD>
					<TD>
						<input type="button" class="SimCancelButton" onclick="up();" value="表示順位を上へ移動">
						<br><br><br><br>
						<input type="button" class="SimCancelButton" onclick="down();" value="表示順位を下へ移動">
					</TD>
				</tr>
			</table>
			<br>
			<table class="NoLineTab">
				<TR>
					<TD align="center">
						 <input type="button" class="SimOkButton" onclick="edit();" value="<?PHP  echo $this->_tpl_vars['DEFARR'][11]; ?>
名・アクセス権修正">  
						<input type="button" class="SimOkButton" onclick="del_chk();" value=" 削除 ">  
						<INPUT type="button" class="SimCancelButton" onclick="backmenu();" value=" 戻る ">
					</TD>
				</TR>
			</table>
			<input type="hidden" name="mode" value="">
			<input type="hidden" name="bseq" value="">
			<input type="hidden" name="bname" value="">
			<input type="hidden" name="idx" value="<?PHP  echo $this->_tpl_vars['idx']; ?>
">
	<!--<?PHP  else: ?>-->
			<a href="SIM0100.php"><span class="Normalfont">マスタ変更権限がありません</span></a>
	<!--<?PHP  endif; ?>-->
		</div>
	</div>
	<div class="MenuUserinfo">
		<span class="NameText"></span>
		<span class="LinkText">
			<a href = "<?PHP  echo $this->_tpl_vars['DEFARR'][1]; ?>
" target="_blank">ホームページへ</a>
		</span>
	</div>
	<div class="LoginFooter">
		<a href="<?PHP  echo $this->_tpl_vars['DEFARR'][3]; ?>
" target="_blank" title="メディアテック(株)ホームページへ">&#169; Copyright2006-2009 All rights reserved by  Mediatech. Co., Ltd.</a>
	</div>
</div>

</form>
</body>
</html>