📄 showzhai.php
字号:
<? include("conn.php");?>
<? include("include/function.php");?>
<?
$id=trim($_GET[id]);
if(!$id){
$qr=mysql_query("select * from zhai order by id desc limit 1");
}
else
{
$qr=mysql_query("select * from zhai where id='$id' limit 1");
}
$rs=mysql_fetch_array($qr);
$title=$rs[title];
$fromurl=$rs[fromurl];
$tagarray = explode(" ",$rs[tags]);
$tags=$tagarray[0];
?>
<HTML><HEAD><TITLE><? echo $rs[title];?>-妹妹网摘 妹妹图摘</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=网摘,文摘,书签,导航,收藏夹,收藏 name=Keywords>
<LINK href="images/main.css"
type=text/css rel=stylesheet>
<style type="text/css">
<!--
.grayscript { FONT-SIZE: 12px; COLOR: #666666; TEXT-DECORATION: none
}
.middletxt { FONT-SIZE: 13px; LINE-HEIGHT: 22px
}
.border2 {border: 1px solid #CCCCCC;
}
.style2 {FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #0066CC; }
-->
</style>
</HEAD>
<BODY id=B leftMargin=0 topMargin=0
marginwidth="0" marginheight="0">
<CENTER>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width=180 rowSpan=2>
<DIV style="FONT-SIZE: 12px"><A href="http://www.mmei8.com/zhai/"><IMG alt=mmei8.com src="images/logo.gif"
border=0></A> </DIV></TD>
<TD align=right colSpan=2>
<P style="FONT-SIZE: 12px">
<a href="login.php" target="_self">登陆</a> | <a href="reg.php" target="_self">免费注册</a> | <a href="download.php" target="_self">下载插件</a> | <a href="icollect.php" target="_self">收藏文章</a> |
<A onclick="javascript:RealAddPortal('20439','2.1')"
href="http://www.mmei8.com/zhai/topclicked.php#">Q版mmei8</A> <A
onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.mmei8.com/');return(false);"
href="#">设为首页</A> <A
onclick="window.external.AddFavorite('http://www.mmei8.com/', '我的网摘 精彩导航');return false;"
href="#">加为收藏</A> <A
href="http://www.mmei8.com/help.php"><B>帮助</B></A></P></TD></TR>
<TR>
<TD width="487" align=middle vAlign=bottom></TD>
<TD width="103" align=right vAlign=bottom> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=770 border=0>
<TBODY>
<TR bgcolor="#D0E0FF">
<TD
height=1 colspan="2" vAlign=center bgcolor="#0066CC"></TD>
</TR>
<TR>
<TD
height=26 vAlign=center bgColor=#D0E0FF style="FONT-SIZE: 12px"> <A href="http://www.mmei8.com/zhai/">
<FONT color="#000000"><strong>首页</strong></FONT></A> | <a href="sites.htm"><FONT color="#000000"><strong>精彩网站</strong></FONT></a> | <a href="tags.php" ><FONT color="#000000"><strong>热门标签</strong></FONT></a> | <a href="union/" ><FONT color="#000000"><strong>流量联盟</strong></FONT></a> | <a href="myzhai.php"><FONT color="#000000"><strong>我的收藏</strong></FONT> </a> | <a href="quickroll.php"><FONT color="#000000"><strong> 最新网摘</strong></FONT> </a> | <a href="mysetup.php?type=basic"><FONT color="#000000"><strong> 我的设置</strong></FONT> </a> | <a href="icollect.php"><FONT color="#000000"><strong>推荐好帖</strong></FONT> </a>
</TD>
<FORM action=search.php method=post>
<TD
height=26 align=right vAlign=center bgColor=#D0E0FF style="FONT-SIZE: 12px"><INPUT class=editbox1 maxLength=80 name=key> <IMG height="21" src="images/sear.gif" width="37" align="absMiddle" border="0"> </TD></FORM>
</TR></TBODY></TABLE>
<TABLE width=770 border=0 cellPadding=0 cellSpacing=0 >
<TBODY>
<TR bgcolor="#EEFAFD">
<TD height="26" align="center" vAlign=middle bgcolor="#EEFAFD" style="FONT-SIZE: 12px">
<? $sql="select * from type order by rand()";
$qr=mysql_query($sql);
while($typedb=mysql_fetch_array($qr)){
$type[]=$typedb;
$typename[$typedb[id]]=$typedb[typename];
}
for($i=0;$i<count($type)&&$i<12;$i++)
{
?>
<a href='itemzhai.php?sort=<? echo $type[$i][id];?>'><? echo $type[$i][typename];?></a>
<?
}
?>
</TD>
</TR></TBODY></TABLE>
<table border="0" width="770" cellspacing="0" cellpadding="0" align="center">
<TBODY>
<tr>
<td height="8" colspan="2"></td>
</tr>
<tr>
<td width="575" valign="top"><br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="20"> <a href="<? echo $fromurl;?>" class="Blck"><b><font style="FONT-SIZE: 16px"><? echo $title;?></font></b></a>
</td>
</tr>
<tr>
<td height="2" bgcolor="#6487dc"></td>
</tr>
<tr>
<td height="4"></td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor="#111111"
width="100%" height="52">
<tr>
<td width="1%"><b>摘<br>
要</b></td>
<td width="99%" height="52">
<table border="1" width="100%" cellspacing="0" cellpadding="0" bordercolor="#c0c0c0" style="BORDER-COLLAPSE: collapse">
<tr>
<td bgcolor="#ffffe1" height="15"><p style="MARGIN: 8px"><span id="d"><? echo $title; echo "<br>"; echo $rs[intro];?></span></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="25">原文网址:<a href='<? echo $fromurl;?>'><? echo $fromurl;?></a></td>
</tr>
<tr>
<td height="25" bgcolor="#f7f7f7"><p class="tdtop2" style="LINE-HEIGHT: 170%">
等级:<?
$rank=$rs[rank];
for($j=0;$j<$rank;$j++){
echo("★");
}
for($j=5-$rank;$j<5;$j++){
echo("☆");
}
;?>
时间:<? echo date("Y-m-d h:i:s",$rs[posttime]);?> 阅读数:<? echo $rs[reads];?> 次<br>
收藏人:<a href='userzhai.php?zhaiuser=<? echo $rs[userid];?>'><? echo $rs[userid];?></a>
<br>
所属标签(Tag):
<a
href="tagzhai.php?tag=<? echo $tags;?>"
target="_blank" title="<? echo $tags;?>"><? echo $tags;?></a>
<br>
收藏该网摘的用户还有:
<br>
</p>
</td>
</tr>
</table>
</td>
<td width="195" valign="top"><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#F57995" width="189" align="center">
<tr>
<td width="100%" height="19" bgcolor="#F57995" style="font-size:12px; font-weight: bold; color=#FFFFFF"><p class="tdtop2"> 新手入门</p></td>
</tr>
<tr>
<td width="100%" height="190" style="line-height: 150%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%">
<tr>
<td colspan="2" height="6"></td>
</tr>
<tr>
<td width="18%" valign="top" align="center"><img src="/images/l1.gif"></td>
<td width="82%">要建立自己的网摘,必须先注册一个用于保存网摘的用户;<p style="margin-top: 0; margin-bottom: 0" align="right"><a href="/reg.php" class="blue">免费注册>></a> </p></td>
</tr>
<tr>
<td colspan="2" height="3"></td>
</tr>
<tr>
<td valign="top" align="center"><img src="/images/l2.gif"></td>
<td>下载安装网摘插件后,你的鼠标右键菜单将出现“加入妹妹网摘”选项;<p style="margin-top: 0; margin-bottom: 0" align="right"><a href="http://www.mmei8.com/download.php" class="blue">下载插件>></a> </p></td>
</tr>
<tr>
<td colspan="2" height="3"></td>
</tr>
<tr>
<td valign="top" align="center"><img src="/images/l3.gif"></td>
<td>当你发现有趣的内容,就可以通过右键“加入妹妹网摘”按钮,将任意页面收藏到你的网摘中。<p style="margin-top: 0; margin-bottom: 0" align="right"><a href="/help.php" class="blue">更多帮助>></a> </p></td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</TBODY>
</table>
<hr noshade color="#6487dc" width="750" align="center" style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px">
<table border="0" width="770" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="8" colspan="2"></td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" width="98%"
align="center">
<tr>
<td width="100%" colspan="2" height="25" style="FONT-SIZE:14px"><b>相关网摘:</b></td>
</tr>
<tr>
<td width="100%">
<? $url=ereg_replace("http://","",$fromurl);
$urls=explode("/",$url);
$urlkey=$urls[0];
if($urlkey!=""){
$qr1=mysql_query("select * from zhai where fromurl like '%$urlkey%' limit 10");
}
else
{
$qr1=mysql_query("select * from zhai where userid='$rs[userid]' limit 10");
}
while($rs1=mysql_fetch_array($qr1)){
if($rs1[htm]=="y"){$url="/html/".$rs1[id]."/index.htm";}else{$url="zhaishow.php?id=".$rs1[id]."";}
echo "·<a href='$url' target='_blank' title='".$rs1[intro]."' >".sub($rs1[title],50)."</a> <span class='grayscript'>(<a href='userzhai.php?zhaiuser=".$rs1[userid]."'>".$rs1[userid]."</a> ";echo("收藏)</span> -<a href=$rs1[fromurl] target='_blank' title='直达网址'><span class='grayscript'><font color=#008000>GO>></font></span></a><br>");
}?>
</td>
</tr>
<tr>
<td align="right"><a href='../'>更多>></a></td>
</tr>
</table>
</td>
<td width="300" align="center" valign="top"><iframe src=http://www.oklm.cn/AdOpen.asp?Action=popWindow&Adid=56&MyUserID=mmei8com MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no width=300 height=300></iframe></td>
</tr>
</table>
<TABLE width=770>
<TBODY>
<TR>
<TD style="FONT-SIZE: 12px" align=center>
<HR>
<A href="http://www.meimei8.com/zhai/help/help.php">使用帮助</A> | <A
href="http://www.meimei8.com/zhai/help/howtosave.php">如何保存网摘</A> | <A
href="mailto:support@meimei8.com?subject=给meimei8提建议">给meimei8提建议</A> | <A href="http://www.meimei8.com/zhai/help/history.php">媒体报道</A> | <A
href="http://www.meimei8.com/zhai/help/bulletin_webmaster.php">站长推广须知</A><BR>
Copyright (C) 2004 meimei8.com--我的网摘 All Rights Reserved</TD>
</TR>
</TBODY>
</TABLE>
</body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -