| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 | <?phprequire("../../class/connect.php");require("../../class/q_functions.php");require("../../class/db_sql.php");$link=db_connect();$empire=new mysqlquery();$editor=1;$picid=(int)$_GET['picid'];if(empty($picid)){	printerror("ErrorUrl","history.go(-1)",1);}$r=$empire->fetch1("select picid,title,pictext,pic_url from {$dbtbpre}enewspic where picid='$picid'");if(empty($r[picid])){	printerror("ErrorUrl","history.go(-1)",1);}db_close();$empire=null;?><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title><?=$r[title]?></title><style>td {	font-size: 12px;}body {	font-size: 12px;	text-align: center;	margin-top: 0px;	margin-right: 0px;	margin-bottom: 0px;	margin-left: 0px;}hr {  height: 1px; color: #000000 }textarea {	font-size: 12px;FONT-FAMILY: "Tahoma", "MS Shell Dlg";}A:link, A:active{	color: #333366;	text-decoration: none;}A:visited{  	color: #333366;	text-decoration: none;}A:hover{	color: #FF0000;	text-decoration: underline;}SELECT {	FONT-SIZE: 12px; FONT-FAMILY: "MS Shell Dlg"}FORM {	MARGIN-TOP: 3px; FONT-SIZE: 12px; MARGIN-BOTTOM: 0px; FONT-FAMILY: "Tahoma", "MS Shell Dlg"}INPUT {	FONT-SIZE: 12px; FONT-FAMILY: "Tahoma", "MS Shell Dlg"}</style><script>function bbimg(o){	var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+'%';	return false;}</script></head><body><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0">  <tr>     <td><div align="center"></div></td>  </tr>  <tr>     <td align="center"><img src="<?=$r[pic_url]?>" border=0 onmousewheel="return bbimg(this)" onload="if(this.width>screen.width-500)this.style.width=screen.width-500;"></td>  </tr>  <tr>     <td><div align="center">图片名称:         <?=$r[title]?>      </div></td>  </tr>  <tr>     <td valign="top"> <div align="center">         <table width="80%" border="0" align="center" cellpadding="3" cellspacing="0">          <tr>             <td>简介:<br>               <?=nl2br($r[pictext])?>            </td>          </tr>        </table>        <br>      </div></td>  </tr>  <tr>    <td><div align="center">注:支持鼠标滚轮放大&缩小图片.</div></td>  </tr>  <tr>     <td><div align="center">         <input type="button" name="Submit" value="关闭" onclick="window.close();">      </div></td>  </tr></table></body></html>
 |