SIM0220.tpl 1.93 KB
<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">
{literal}
<script language="javascript">

function chk_up(){

	//文字数チェック
	if (document.frm.comment.value.length > 64) {
		alert("文字数が大き過ぎます。");
		return false;
	}
	
//	returnValue = txt;
//	self.close();
	document.frm.target = "_self";
	document.frm.action = "SIM0221.php";
	document.frm.method = "POST";
	document.frm.submit();
}

function lnk_list(){

	self.close();

//	document.frm.action = "SIM0210.php";
//	document.frm.method="POST";
//	document.frm.submit();

}

function ActComment(){

	window.focus();
	document.frm.comment.focus();
}

</script>
{/literal}
<title>{$PHP_SYSNAME}</title>
<link rel="stylesheet" href="./templates/SIM.css" type="text/css" />
</head>

<body onload="timerId = setInterval('ActComment()', 10000);" onUnload="clearInterval(timerId);">
<form name="frm">
<div class="SimBody">
	<div class="ConfTitle">
		コメント入力画面
	</div>
	<div class="ConfMain">
		<input type="button" value="コメント登録" onclick="chk_up();">  
		<input type="button" value="閉じる" onclick="lnk_list();">  
		<span class="SimComment">※コメント削除時は空欄を登録してください</span>
		<table class="ConfTable">
			<tr>
				<th>
					<!--{if $sMode == 1}-->
						収入
					<!--{else} -->
						支出
					<!--{/if}-->
					 {$yyyy}年 {$mm}月 {$bName}  {$dName} {$cName} コメント
				</th>
			</tr>
			<tr>
				<td>
					<textarea name="comment" rows="3" cols="72">{$sComment}</textarea>
				</td>
			</tr>
		</table>
	</div>
</div>
<input type="hidden" name="yyyy" value="{$yyyy}">
<input type="hidden" name="mm" value="{$mm}">
<input type="hidden" name="sMode" value="{$sMode}">
<input type="hidden" name="bSeq" value="{$bSeq}">
<input type="hidden" name="dSeq" value="{$dSeq}">
<input type="hidden" name="cSeq" value="{$cSeq}">

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