📄 nt.php
字号:
<? include("conn.php");?>
<? include("include/function.php");?>
<? include("include/setup.php");
$typeid=$_GET['typeid'];
?>
<HTML><HEAD><TITLE>妹妹摘吧-首页</TITLE><LINK href="favicon.ico"
rel="Shortcut Icon"><LINK href="favicon.ico" rel=Bookmark>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="head.files/css.css" type=text/css rel=stylesheet>
<META content=妹妹摘吧! name=Description>
<META
content=妹妹摘吧
name=keywords>
<STYLE type=text/css>BODY {
BACKGROUND-COLOR: #ffffff
}
BODY {
COLOR: #000000
}
TD {
COLOR: #000000
}
TH {
COLOR: #000000
}
A.ind_01:link {
FONT-SIZE: 14px; COLOR: #000000; TEXT-DECORATION: none
}
A.ind_01:visited {
FONT-SIZE: 14px; COLOR: #000000; TEXT-DECORATION: none
}
A.ind_01:hover {
FONT-SIZE: 14px; COLOR: #000000; TEXT-DECORATION: underline
}
.style1 {
FONT-WEIGHT: bold; FONT-SIZE: 14px
}
.in_td_dot {
BORDER-RIGHT: #555555 1px dotted; BORDER-TOP: #555555 1px dotted; BORDER-LEFT: #555555 1px dotted; BORDER-BOTTOM: #555555 0px dotted
}
.style2 {
FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #056399
}
.style3 {
FONT-SIZE: 12px
}
.style5 {
FONT-SIZE: 16px
}
.style6 {
FONT-SIZE: 14px; COLOR: #ff0000
}
.style7 {
COLOR: #0066cc
}
</STYLE>
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=797 align=center border=0>
<TBODY>
<TR>
<TD width="179" align=middle><A href="http://www.mmei8.com" target="_self"><IMG src="http://www.mmei8.com/logo1.gif" border=0></a></TD>
<form name="form" method="get" action="s.php"><TD width="575" align=center ><input name=title maxLength="50" size="45"><input type=submit name="submit" value="网摘搜索"> </TD> </form>
<TD width="43" align=right vAlign=middle> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD background=head.files/index_n_gif04.gif
height=27> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=797 align=center border=0>
<TBODY>
<TR>
<TD style="COLOR: #990909" align=left
height=24> </TD>
<TD style="COLOR: #990909" align=left><a href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(zhai=window.open('http://www.mmei8.com/icollect.php#t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'zhai','scrollbars=no,width=480,height=420,left=75,top=50,status=no,resizable=yes'));zhai.focus();">发布信息</a></TD>
<TD style="COLOR: #990909" align=right
background=head.files/index_n_gif05.gif><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">帮助</A>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#edf3ef height=1></TD></TR></TBODY></TABLE>
<br>
<?
$rcperpage=48;
$page=$_GET[page];
if(!$page){
$page=1;
}
$sql="select * from zhai where ispub='1' order by id desc limit ".trim(($page-1)*$rcperpage).",$rcperpage";
$tsql="select count(*) as c from zhai where ispub='1' ";
$pgcount=$_GET[pacount];
if(!$pgcount){
$tqr=mysql_query($tsql);
$total=mysql_fetch_array($tqr);
$pgcount=floor((chop($total[0])-1)/$rcperpage)+1;
}
$qr=mysql_query($sql);
$i=0;
while($rs=mysql_fetch_array($qr)){
$i=$i+1;
$ttitle=sub($rs[title],60);
if($title!=""){
if(ereg($title,$ttitle)){
$ttitle=ereg_replace($title,"<font color=#ff0000>".$title."</font>",$ttitle);}
}
if($rs[htm]=="y"){$url="html/".$rs[id]."/index.htm";}else{$url="zhaishow.php?id=".$rs[id]."";}
?>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class=f> </td>
<td class=f>
<a id=aw1 href="zhaishow.php?id=<? echo $rs[id];?>" target="_blank"><font color="#0000FF"><? echo $ttitle;?></font></a>
<? if ($rs[intro]!=""){?>
<br></a>
<font size=-1>
<? echo sub($rs[intro],120);?>
</font>
<?
}
?><br>
<font size=-1 color=#008000><? $fromurl=$rs[fromurl]; if ($fromurl!="" || ereg($siteurl,$fromurl)){?><a id=aw1 href="zhaishow.php?id=<? echo $rs[id];?>" target="_blank"><? echo $rs[fromurl]; }?></a></font>
</td></tr></table>
<br>
<?
}
?>
<br clear=all>
第
<? echo $page;?>
页 共
<? echo $pgcount;?>
页
<?
if($page>1){
echo(" <a href='?sort=".$sort."&title=$title&page=1&pgcount=$pgcount'>第一页</a>");
echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".($page-1)."'>上一页</a>");
}else{
echo(" 第一页");
echo(" 上一页");
}
if($page < $pgcount){
echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".($page+1)."'>下一页</a>");
echo(" <a href='?sort=".$sort."&title=$title&pgcount=$pgcount&page=".$pgcount."'>最末页</a>");
}else{
echo(" 下一页");
echo(" 最末面");
}
?><br>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD background=head.files/index_n_gif08.gif height=7></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD style="COLOR: #444444" align=middle height=70><SPAN
class=verdana1>Copyright © 2005 mmei8.com/zhai. All Rights
Reserved.</SPAN><BR><BR>京ICP备05035689号</TD></TR></TBODY></TABLE>
</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -