每日博客6.1

<?php
session_start();
include_once 'conn.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<TITLE>化妆品销售网站</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="qtimages/style.css" type=text/css rel=stylesheet>


<META content="MSHTML 6.00.2900.6058" name=GENERATOR>
</HEAD>
<BODY>
<?php include_once 'qttop.php';?>

<TABLE cellSpacing=0 cellPadding=0 width=1120 align=center bgColor=#ffffff
border=0>
<TBODY>
<TR>
<TD width=5>&nbsp;</TD>
<TD vAlign=top width=230>
<?php include_once 'qtleft.php';?>
</TD>
<TD vAlign=top width=10>&nbsp;</TD>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=bottom height=40>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=50 height=40><IMG height=35
src="qtimages/B0039.gif"
width=30></TD>
<TD width=817><a href="news.php?lb=美容资讯"><span class="red"><strong>美容资讯</strong></span></a></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#dadada height=1></TD></TR>
<TR>
<TD bgColor=#f6f6f6 height=4></TD></TR>
<TR>
<TD bgColor=#ffffff height=6></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><?php include_once 'bht.php';?></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=bottom height=40>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width=44 height=40><IMG height=35 alt=""
src="qtimages/B0015.gif"
width=32></TD>
<TD width="487" class="red"><strong>化妆品展示</strong></TD>
<TD width="336" align=right><A
href="yonghuzhucelist.php"><IMG
height=16 alt=""
src="qtimages/B0017.gif"
width=35 border=0></A></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#dadada height=1></TD></TR>
<TR>
<TD bgColor=#f6f6f6 height=2></TD></TR>
<TR>
<TD bgColor=#ffffff height=3></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=int20><table width="96%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<?php
$sql="select * from shangpinxinxi where tupian<>'' order by id desc limit 0,4";

$query=mysql_query($sql);
$rowscount=mysql_num_rows($query);

for($i=0;$i<$rowscount;$i++)
{
if($i<=4)
{

?>
<td align="center"><a href="shangpinxinxidetail.php?id=<?php echo mysql_result($query,$i,"id");?>"><img src="<?php echo mysql_result($query,$i,"tupian");?>" width="93" height="90" border="0"></a></td>
<?php
}
}
?>
</tr>
</table></TD>
</TR></TBODY></TABLE>
</TD>
<TD width=5>&nbsp;</TD></TR></TBODY></TABLE>
<?php include_once 'qtdown.php';?></BODY></HTML>
posted @ 2021-06-01 17:50  王昊宁  阅读(21)  评论(0编辑  收藏  举报