Linux+Apache+Mysql+Perldtone.blog.chinaunix.net
hao3721
全部博文(11)
2011年(1)
2010年(2)
2009年(8)
liuyouli
分类:
2009-10-12 10:40:32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>留言板-首页</title> </head> <body> <h1 align="center">简单留言本</h1> <form action="[% path_post %]" method="post"> <table width="450" height="213" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="86" height="32">用户名:</td> <td width="364"><input type="text" name="username" id="username" /></td> </tr> <tr> <td>留言:</td> <td><label> <textarea name="info" id="info" cols="45" rows="10"></textarea> </label></td> </tr> <tr> <td> </td> <td><label> <input type="submit" name="button" id="button" value="提交" /> </label></td> </tr> </table> </form> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>留言本--显示页面</title> </head> <body> <h1 align="center">留言本内容显示</h1> <h2><a href="[% path_add %]">请您留言</a></h2> [% FOREACH item IN Message %] 留言者:[% item.user %]<br /> 留言信息:[% item.info %] <br /> <a href="mod.cgi?id=[% item.id %]">修改</a> <a href="del.cgi?id=[% item.id %]">删除</a> <hr /> [% END %] <form action="[% path_page %]" method="post">第[% current_page %]页 共[% total_page %]页 共[% count %]条记录<a href="[% path_page % ]?page=[% pre_page %]">上一页</a> <a href="[% path_page %]?page=[% next_page %]">下一页</a> 跳到第 <input name="page" type="text" size="2" value="[% cu rrent_page %]" /> 页 <input name="page_submit" type="submit" value="前往" /></form> </body> </html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> <html xmlns=""> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>留言板-修改留言本</title> </head> <body> <h1 align="center">修改留言本</h1> <form action="[% path_mod %]" method="post"> <table width="450" height="213" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="86" height="32">用户名:</td> <td width="364"><input type="text" name="username" id="username" value="[% username %]" /></td> </tr> <tr> <td>留言:</td> <td><label> <textarea name="info" id="info" cols="45" rows="10">[% info %]</textarea> </label> <input type="hidden" value="[% id %]" name="id" /> </td> </tr> <tr> <td> </td> <td><label> <input type="submit" name="button" id="button" value="提交" /> </label></td> </tr> </table> </form> </body> </html>
上一篇:必须知道的linux主要文件目录
下一篇:perl源码 将简单留言板的代码重新整理一下,期待高手提拔。
chinaunix网友2011-05-13 23:07:28
好
chinaunix网友2011-04-20 12:49:41
发的防盗锁
登录 注册