SIM0201.tpl
2.08 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
<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(){
txtName = "comment";
//文字数チェック
val = document.frm.elements[txtName].value;
if (val.length > 64) {
alert("文字数が大き過ぎます。");
return false;
}
document.frm.action = "SIM0202.php";
document.frm.method="POST";
document.frm.submit();
}
function lnk_list(){
// location.replace("SIM0200.php?backflg="+flg);
document.frm.action = "SIM0200.php";
document.frm.method="POST";
document.frm.submit();
}
</script>
{/literal}
<title>{$PHP_SYSNAME}</title>
<link rel="stylesheet" href="./templates/SIM.css" type="text/css" />
</head>
<body>
<form name="frm">
<div class="LoginBody">
<div class="LoginHeader">
{$PHP_SYSNAME}
</div>
<div class="MenuUserinfo">
<span class="NameText">{$PHP_GROUP_NAME} / {$PHP_USER_NAME}</span>
<span class="LinkText">
<a href = "SIM0100.php">メニューへ</a> /
<a href = "index.php">ログアウト</a>
</span>
</div>
<div class="ConfOutline">
<div class="ConfTitle">
コメント入力画面
</div>
<div class="ConfMain">
<input type="button" value="コメント登録" onclick="chk_up()">
<input type="button" value="戻る" onclick="lnk_list()">
<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="64">{$sComment}</textarea>
</td>
</tr>
</table>
</div>
</div>
<div class="LoginFooter">
© Copyright2006-2009 All rights reserved by Mediatech. Co., Ltd.
</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="dSeq" value="{$dSeq}">
<input type="hidden" name="cSeq" value="{$cSeq}">
</form>
</body>
</html>