📄 view.php
字号:
<?php
/////////////////////////////////////
// //
// 制 作 :宇海网络 //
// 主 页 :http://www.yhai.com //
// 邮 件 :support@yhai.com //
// //
/////////////////////////////////////
require("include/config.php");
require($datapath."/prepare.php");
require("global.php");
require("include/gb.php");
$name=$_POST['name'];
$goss=$_POST['goss'];
$number=$_POST['number'];
$mail=$_POST['mail'];
$url=$_POST['url'];
$face=$_POST['face'];
$emot=$_POST['emot'];
$locale=$_POST['locale'];
$content=$_POST['content'];
$hid=$_POST['hid'];
$tz=$_POST['tz'];
$name=Chop($name);
$content=message($content);
$name=htmlspecialchars($name);
$mail=htmlspecialchars($mail);
$url=ereg_replace("http:\/\/","",$url);
if($hid <> "on") $hid="";
if($tz <> "on") $tz="";
$locale=ipwhere($gb_ip);
$viewmsg="$num\n$id\t$name\t$goss\t$number\t$mail\t$url\t$face\t$emot\t$locale\t$gb_ip\t$content\t$gb_time\t$hid\t$tz\t\t\t\t\n";
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language='JavaScript1.2' src='images/clue.js' type='text/javascript'></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
function writemsg(){
window.opener.submits();
window.close();
}
//-->
</SCRIPT>
<title><?echo $config[bookname];?></title>
<link rel="stylesheet" href="images/style.css">
</head>
<body bgcolor="#9BCBFB">
<div align="center">
<table border="0" width="580">
<tr>
<td align="center">
<p> </p>
<b>留 言 预 览</b>
</td>
</tr>
<tr>
<td align="center">
<?
index($viewmsg,"-");
?>
<input type="button" value="发送此条留言" name="submit" style="width: 100; height: 18" onmouseover="this.style.backgroundColor='#FFFFFF'" onmouseout="this.style.backgroundColor=''" class="input" title="确定发送此条留言" onclick="javascript:writemsg()">
<input type="button" value="修改此条留言" name="close" style="width: 100; height: 18" onmouseover="this.style.backgroundColor='#FFFFFF'" onmouseout="this.style.backgroundColor=''" class="input" title="关闭预览窗口" onclick="javascript:window.close();">
<div align="center">
<center>
<table cellpadding="3" cellspacing="0" bordercolor="#4F4F4F" width="400">
<tr>
<td width="100%"> </td>
</tr>
<tr>
<td width="100%" bgcolor="#808080" height="1"></td>
</tr>
<tr>
<td width="100%" align="center">受权使用:<?echo$config[homename];?> / <a href="http://www.yhai.com"
title="宇海网络" target="_blank">Yhai.Com</a> <a href="http://lvsoft.126.com"
title="VerInfo: <?=Verinfo?>" target="_blank">YHPbook v<?=Verion?></a></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -