2010年2月26日金曜日

comment_prev.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-jp" />
<title>{$settings.maintitle}</title>
<link rel="stylesheet" href="styles-site.css" type="text/css" />
</head>
<body>
<div id="container">
<div id="banner">
<h1><a href="index.php" accesskey="1">{$settings.maintitle}</a></h1>
<h2>{$settings.subtitle}</h2>
</div>
<div class="content">
<h2>コメントの確認</h2>
<h3>{$title}</b>
{$bodyf}
<p class="posted">投稿者 <a href="mailto:{$mailaddr}">{$comname}</a>  : </p>
<b>{$err_msg}</b>

<form method="post" action="archives.php" name="comments_form">
<input type="hidden" name="topicid" value="{$topicid}" />
<div id="name_email">
<p><label for="author">名前:</label><br />
<input tabindex="1" id="comname" name="comname" value="{$comname}" /></p>
<p><label for="email">メールアドレス:</label><br />
<input tabindex="2" id="mailaddr" name="mailaddr" value="{$mailaddr}" /></p>
</div>
<p><label for="text">タイトル:</label> <br/>
<input tabindex="3" id="title" name="title" value="{$title}" /></p>
<p><label for="text">コメント:</label> <br/>
<textarea tabindex="4" id="body" name="body" rows="10" cols="50">{$body}</textarea></p>
<div align="center">
<input type="submit" name="preview" tabindex="5"
    value="&nbsp;確認&nbsp;" />
<input style="font-weight: bold;" type="submit" name="post"
    tabindex="6" value="&nbsp;投稿&nbsp;" />
</div>
</form>
<h2>以前のコメント</h2>
{section name=cloop loop=$comments}
<div id="c{$comments[cloop].comid}">
<h3>{$comments[cloop].title}</b>
{$comments[cloop].bodyf}
</div>
<p class="posted">投稿者 <a href="mailto:{$comments[cloop].mailaddr}">{$comments[cloop].comname}</a>  : {$comments[cloop].postdatef}</p>
{/section}
</div>
</div>
</body>
</html>

0 件のコメント:

コメントを投稿