当前位置: 首页 > 图文教程 > 网络编程 > PHP > 挑战最棒的留言本的源码(二)

PHP
动易数据转成dedecms的php程序
PHP中文汉字验证码
收藏的一个php小偷的核心程序
ASP和PHP都是可以删除自身的
PHP+Tidy-完美的XHTML纠错+过滤
PHP实现MVC开发得最简单的方法——模型
相对路径转化成绝对路径
如何提高MYSQL数据库的查询统计速度 select 索引应用
php下的转义字符串
PHP 中英文混合排版中处理字符串常用的函数
Linux下ZendOptimizer的安装与配置方法
给apache2.2加上mod_encoding模块後 php5.2.0 处理url出现bug
安装PHP可能遇到的问题“无法载入mysql扩展” 的解决方法
dede全站URL静态化改造[070414更正]
使用Xdebug调试和优化PHP程序之[1]
PHP与SQL注入攻击[一]
PHP与SQL注入攻击[二]
PHP与SQL注入攻击[三]
PHP和XSS跨站攻击的防范
Discuz! 5.0.0论坛程序中加入一段js代码,让会员点击下载附件前自动弹出提示窗口

PHP 中的 挑战最棒的留言本的源码(二)


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-08-14   浏览: 229 ::
收藏到网摘: n/a

post.php文件
<?php
require('config.php');
?>

<td>来自:

<?php
$ip_address=ip_question($record->ip_address);
echo$ip_address;
?>

</td>
</tr>
<trbgcolor=>
<thcolspan=3align=left>主题:<fontcolor=teal><?phpecho$record->subject?></font></th>

</tr>

<tr><thcolspan=3align=left><fontcolor="#416AAF">
<?phpecho$record->message?></font></th>
</tr>


<?php

if($record->huifu_biaozi)
{
?>
<tr><thcolspan=3align=left><fontcolor="red"><br><br>版主回复:</font><fontcolor="navy">
<?phpecho$record->huifu?></font></th>
</tr>
<?php

}

?>

<tr>
<thcolspan=3align=left><br>
<ahref=mailto:<?phpecho$record->email_address?>>
<imgsrc=image/mail.gif
alt="<?phpecho$record->nikename?>的e-mail地址是:<?phpecho$record->email_address?>"
border="0"width="15"length="15">邮件</a>
<ahref=<?phpecho$record->zhuye_address?>><imgsrc=image/home.gif
alt="<?phpecho$record->nikename?>的主页地址是:<?phpecho$record->zhuye_address?>"
border="0"
width="14"length="14">主页</a>
<imgsrc=image/oicq.gifborder="0"alt="<?phpecho$record->nikename?>的OICQ是:
<?phpecho$record->oicq?>"
width="14"length="14">OICQ</a>

<ahref=action.php?action=delete&key_liuyan=<?phpecho$record->key_liuyan?>><imgsrc=image/del.gifborder="0"width="12"length="12"alt="只有版主才有删除的权限哦!">删除</a>
<ahref=action.php?action=huifu&key_liuyan=<?phpecho$record->key_liuyan?>><imgsrc=image/replay.gifborder="0"width="14"length="14"alt="不好意思,现在暂时只有版主才能回复">回复</a>


</th></tr>

<tr>
<tdcolspan="3"><hrSIZE="1"></td>
</tr>