📄 index.php
字号:
<?php require_once('Connections/connBoard.php'); ?>
<?php require_once('inc/indexRec.php'); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>火花留言本</title>
<link href="stlye.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="MM_preloadImages('image/index_20over.gif','image/index_21over.gif','image/index_22over.gif')">
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="10" rowspan="4" bgcolor="#BFBFBF"> </td>
<td height="20" colspan="4" background="image/top_1bg.jpg"> </td>
<td width="10" rowspan="4" bgcolor="#BFBFBF"> </td>
</tr>
<tr>
<td height="17" colspan="4" background="image/top_2bg.jpg"> </td>
</tr>
<tr>
<td colspan="4"><IMG SRC="image/index_05.jpg" WIDTH=758 HEIGHT=75 ALT=""></td>
</tr>
<tr>
<td width="22" height="45" background="image/top_3bg.jpg"> </td>
<td width="483" background="image/top_3bg.jpg"><img src="image/index_07.jpg" width=125 height=45 alt=""></td>
<td width="120" background="image/top_3bg.jpg"><a href="sparkpost.php"><img src="image/index_09.jpg" width="120" height="45" border="0"></a></td>
<td width="133" background="image/top_3bg.jpg"><a href="sparkLog.php"><IMG SRC="image/index_12.jpg" ALT="" WIDTH=133 HEIGHT=45 border="0"></a></td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="10" rowspan="2" bgcolor="#BFBFBF"> </td>
<td width="176" rowspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><IMG SRC="image/index_13.jpg" WIDTH=176 HEIGHT=74 ALT=""></td>
</tr>
<tr>
<td><IMG SRC="image/index_19over.gif" WIDTH=176 HEIGHT=27 ALT=""></td>
</tr>
<tr>
<td><a href="#" onMouseOver="MM_swapImage('Image11','','image/index_20over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="image/index_20.gif" name="Image11" width="176" height="27" border="0" id="Image11"></a></td>
</tr>
<tr>
<td><a href="#" onMouseOver="MM_swapImage('Image12','','image/index_21over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="image/index_21.gif" name="Image12" width="176" height="27" border="0" id="Image12"></a></td>
</tr>
<tr>
<td><a href="#" onMouseOver="MM_swapImage('Image13','','image/index_22over.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="image/index_22.gif" name="Image13" width="176" height="27" border="0" id="Image13"></a></td>
</tr>
<tr>
<td height="39" valign="top" background="image/index_leftbg.gif"><img src="image/spacer.gif" width="32" height="8"><img src="image/contact.jpg" width="91" height="39"></td>
</tr>
<tr>
<td height="185" valign="top" background="image/index_leftbg.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="11%" height="5"> </td>
<td width="83%"></td>
<td width="6%"></td>
</tr>
<tr>
<td> </td>
<td>地 址:深圳市福田区八卦<img src="image/spacer.gif" width="47" height="8">四路430栋3楼 <br>
<br>
电 话:0755-8241 1612<br>
<br>
Q Q :315 088 089<br>
<br>
<a href="http://www.itspark.com" target="_blank">http://www.itspark.com</a><br>
<br>
E-mail:0755@itspark.com</td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" valign="bottom" background="image/index_leftbg.gif"><img src="image/index_leftbg2.gif" width="176" height="3"></td>
</tr>
<tr>
<td><a href="http://dev.mysql.com/downloads/" target="_blank"><IMG SRC="image/index_24.gif" ALT="MySQL相关软件下载" WIDTH=107 HEIGHT=56 border="0"></a></td>
</tr>
<tr>
<td><a href="http://www.php.net/downloads.php" target="_blank"><img src="image/index_26.gif" alt="PHP相关软件下载" width=107 height=32 border="0"></a></td>
</tr>
</table></td>
<td width="582" height="23" colspan="3" background="image/content_bg1.gif"> </td>
<td width="10" rowspan="2" bgcolor="#BFBFBF"> </td>
</tr>
<tr>
<td width="16" height="474"> </td>
<td width="548" valign="top"><?php if ($totalRows_RecBoard > 0) { // Show if recordset not empty ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="5" height="29" background="image/index_16bg.jpg"><img src="image/blackline.gif" width="1" height="27"></td>
<td width="270" background="image/index_16bg.jpg"> 第 <?php echo ($startRow_RecBoard + 1) ?> 到 <?php echo min($startRow_RecBoard + $maxRows_RecBoard, $totalRows_RecBoard) ?> 条 (总共 <?php echo $totalRows_RecBoard ?> 条留言)</td>
<td width="270" background="image/index_16bg.jpg"><?php if ($pageNum_RecBoard > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, 0, $queryString_RecBoard); ?>">第一页</a>
<?php } // Show if not first page ?>
<?php if ($pageNum_RecBoard > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, max(0, $pageNum_RecBoard - 1), $queryString_RecBoard); ?>">前一页</a>
<?php } // Show if not first page ?>
<?php if ($pageNum_RecBoard < $totalPages_RecBoard) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, min($totalPages_RecBoard, $pageNum_RecBoard + 1), $queryString_RecBoard); ?>">下一页</a>
<?php } // Show if not last page ?>
<?php if ($pageNum_RecBoard < $totalPages_RecBoard) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, $totalPages_RecBoard, $queryString_RecBoard); ?>">最后一页</a>
<?php } // Show if not last page ?></td>
<td width="3" align="right" background="image/index_16bg.jpg"><img src="image/blackline.gif" width="1" height="27"></td>
</tr>
<tr align="right">
<td height="7" colspan="4" background="image/index_18bg.jpg"></td>
</tr>
<tr valign="top">
<td height="400" colspan="4" background="image/index_18bg.jpg"><?php do { ?>
<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="box">
<tr bgcolor="#F4F4F4">
<td width="16%" height="25" align="center"><?php echo $row_RecBoard['digiB_name']; ?></td>
<td width="50%" bgcolor="#F4F4F4"><img src="image/mapb3.gif" alt="标题" width="16" height="16">:<?php echo $row_RecBoard['digiB_subject']; ?></td>
<td width="34%" bgcolor="#F4F4F4">发表于:<?php echo $row_RecBoard['digiB_potime']; ?></td>
</tr>
<tr>
<td width="12%" align="center"><img src="image/face/<?php echo $row_RecBoard['digiB_face']; ?>" ></td>
<td colspan="2" class="duan18"><?php echo nl2br(htmlspecialchars($row_RecBoard['digiB_content'])); ?>
<?php if ($row_RecBoard['reply_content'] != ""){ ?>
<hr>
回复:<?php echo nl2br(htmlspecialchars($row_RecBoard['reply_content'])); ?>
<?php } ?></td>
</tr>
<tr bgcolor="#F4F4F4">
<td></td>
<td><?php if ($row_RecBoard['digiB_email'] != ""){ ?>
<a href="mailto:<?php echo $row_RecBoard['digiB_email']; ?>"><img src="image/email.gif" width="16" height="16" border="0" alt="<?php echo $row_RecBoard['digiB_email']; ?>"></a>
<?php } ?>
<?php if ($row_RecBoard['digiB_web'] != ""){ ?>
<a href="<?php echo $row_RecBoard['digiB_web']; ?>"><img src="image/homepage.gif" width="16" height="16" border="0" alt="<?php echo $row_RecBoard['digiB_web']; ?>"></a>
<?php } ?>
<?php if ($row_RecBoard['qq'] != ""){ ?>
<img src="image/oicq.gif" width="16" height="16" alt="<?php echo $row_RecBoard['qq']; ?>">
<?php }?></td>
<td> </td>
</tr>
</table><br>
<?php } while ($row_RecBoard = mysql_fetch_assoc($RecBoard)); ?> </td>
</tr>
<tr>
<td height="27" background="image/index_16bbg.jpg"><img src="image/blackline.gif" width="1" height="27"></td>
<td height="27" background="image/index_16bbg.jpg"> 第 <?php echo ($startRow_RecBoard + 1) ?> 到 <?php echo min($startRow_RecBoard + $maxRows_RecBoard, $totalRows_RecBoard) ?> 条 (总共 <?php echo $totalRows_RecBoard ?> 条留言)</td>
<td height="27" background="image/index_16bbg.jpg">
<?php if ($pageNum_RecBoard > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, 0, $queryString_RecBoard); ?>">第一页</a>
<?php } // Show if not first page ?>
<?php if ($pageNum_RecBoard > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, max(0, $pageNum_RecBoard - 1), $queryString_RecBoard); ?>">前一页</a>
<?php } // Show if not first page ?>
<?php if ($pageNum_RecBoard < $totalPages_RecBoard) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, min($totalPages_RecBoard, $pageNum_RecBoard + 1), $queryString_RecBoard); ?>">下一页</a>
<?php } // Show if not last page ?>
<?php if ($pageNum_RecBoard < $totalPages_RecBoard) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_RecBoard=%d%s", $currentPage, $totalPages_RecBoard, $queryString_RecBoard); ?>">最后一页</a>
<?php } // Show if not last page ?></td>
<td width="3" height="27" align="right" background="image/index_16bbg.jpg"><img src="image/blackline.gif" width="1" height="27"></td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_RecBoard == 0) { // Show if recordset empty ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><font size="2">目前还没有人留言呢</font>!</td>
</tr>
</table>
<?php } // Show if recordset empty ?></td>
<td width="17"> </td>
</tr>
</table>
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="10" rowspan="4" bgcolor="#BFBFBF"> </td>
<td height="35"> </td>
<td width="10" rowspan="4" bgcolor="#BFBFBF"> </td>
</tr>
<tr>
<td background="image/top_2bg.jpg"> </td>
</tr>
<tr>
<td height="38" align="right" bgcolor="#001B22"><IMG SRC="image/index_31.jpg" WIDTH=566 HEIGHT=38 ALT=""></td>
</tr>
<tr>
<td height="21" align="center" bgcolor="#000000"><a href="http://www.itspark.com" target="_blank"><img src="image/index_32.gif" width="430" height="21" border="0"></a></td>
</tr>
</table>
</body>
</html>
<?php mysql_free_result($RecBoard); ?>
<?php require_once('inc/mouseOver.php'); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -