<html>
<head>
<title><$MTBlogName$>: Comment on <$MTEntryTitle$></title>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<script type="text/javascript" src="farsix.js"></script>
<link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
<script type="text/javascript" language="javascript">
<!--
var HOST = '<$MTBlogHost$>';
// Copyright (c) 1996-1997 Athenia Associates.
// [url]http://www.webreference.com/js/[/url]
// License is granted if and only if this entire
// copyright notice is included. By Tomer Shiran.
function setCookie (name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");
document.cookie = curCookie;
}
function getCookie (name) {
var prefix = name + '=';
var c = document.cookie;
var nullstring = '';
var cookieStartIndex = c.indexOf(prefix);
if (cookieStartIndex == -1)
return nullstring;
var cookieEndIndex = c.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1)
cookieEndIndex = c.length;
return unescape(c.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}
function deleteCookie (name, path, domain) {
if (getCookie(name))
document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + "; expires=Thu, 01-Jan-70 00:00:01 GMT";
}
function fixDate (date) {
var base = new Date(0);
var skew = base.getTime();
if (skew > 0)
date.setTime(date.getTime() - skew);
}
function rememberMe (f) {
var now = new Date();
fixDate(now);
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
setCookie('mtcmtauth', f.author.value, now, '', HOST, '');
setCookie('mtcmtmail', f.email.value, now, '', HOST, '');
setCookie('mtcmthome', f.url.value, now, '', HOST, '');
}
function forgetMe (f) {
deleteCookie('mtcmtmail', '', HOST);
deleteCookie('mtcmthome', '', HOST);
deleteCookie('mtcmtauth', '', HOST);
f.email.value = '';
f.author.value = '';
f.url.value = '';
}
function Right (myobj)
{
myobj.style.textAlign = "right";
myobj.style.direction = "rtl";
myobj.focus();
}
function Left (myobj)
{
myobj.style.textAlign = "left";
myobj.style.direction = "ltr";
myobj.focus();
}
//-->
</script>
</head>
<body>
<div class="border1">
<div class="border2">
<div class="border5">
<div class="border6">
<div class="border7">
<div class="border8">
<!-----------------------------Starts Blog Title tags--------------------------------->
<div class="blog_title">
<span class="blog_title2"><a href="<$MTBlogURL$>" accesskey="1">
<$MTBlogName$></a><br>
<p><$MTBlogDescription$></p>
</span></div>
<!----------------------------End blog Title Tags------------------------------------->
<!--------------------------------------------------------Start Post Comments--------------------------------------------------------------->
<div class="post_comment_tem">
<!--------------------------------------------------------------Start Comments-------------------------------------->
<MTEntryIfAllowComments>
<div class="text_header"><span class="header">Comments</span></div>
<div class="text_body"><span class="post_body">
<MTComments>
<p><b><$MTCommentAuthor$></b> ( <span class="tick1">
<a href="<$MTCommentURL$>" target="_blank">H</a></span>
| <span class="tick"><a href="mailto:<$MTCommentEmail$>">*</a></span> )</p>
<$MTCommentBody$><br>
[ <$MTCommentDate$> ]
<br class="br"><br>
</MTComments>
</span></div>
<br class="br">
<div class="text_header"><span class="header">Post Comment</span></div>
<div class="text_body"><span class="post_body">
<form method="post" action="<$MTCGIPath$><$MTCommentScript$>" name="comments_form" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">
<input type="hidden" name="static" value="1" />
<input type="hidden" name="entry_id" value="<$MTEntryID$>" />
<p style="margin-left:10; margin-right:60">
نام: <input tabindex="1" id="author" onkeypress="return convert(this,event)" name="author" size="20" />
<input class="button" type="button" onClick="change(comments_form.author)" value="EN|FA" /><br />
ایمیل: <input tabindex="2" id="email" name="email" size="30" /><br />
وب سایت: <input tabindex="3" id="url" name="url" size="30" />
<br class="br"><br class="br">
Comments:
<input class="button" type="button" onclick="Right(this.form.text)" value=" <-- " />
<input class="button" type="button" onClick="change(comments_form.text)" value="EN|FA" />
<input class="button" type="button" onclick="Left(this.form.text)" value=" --> " /><br />
<textarea tabindex="4" id="text" name="text" rows="10" cols="45" onkeypress="return convert(this,event)" dir="rtl"></textarea><br />
Remember personal info?
<input type="radio" id="bakecookie" name="bakecookie" checked />Yes
<input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" />No
<br />
<input class="button" type="button" onclick="window.close()" value=" Cancel " />
<input class="button" type="submit" name="preview" value=" Preview " />
<input class="button" style="font-weight: bold;" type="submit" name="post" value=" Post " /><br />
</p>
</form>
<script type="text/javascript" language="javascript">
<!--
document.comments_form.email.value = getCookie("mtcmtmail");
document.comments_form.author.value = getCookie("mtcmtauth");
document.comments_form.url.value = getCookie("mtcmthome");
if (getCookie("mtcmtauth")) {
document.comments_form.bakecookie[0].checked = true;
} else {
document.comments_form.bakecookie[1].checked = true;
}
//-->
</script>
</span></div>
</MTEntryIfCommentsOpen>
</MTEntryIfAllowComments>
<!--------------------------------------------------------------End Comments-------------------------------------->
</div>
<!-------------------------------------------------------------------------End Post Comment---------------------------------------------------------------->
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>