www.gusucode.com > 幻雪企业网站源码 1.0源码程序 > inc/gbright.asp

    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr> 
          
    <td height="134" width="23"><img src="images/pics/submenu1-left.jpg" width="23"></td>
          <td width="160" valign="top">
            <table width="90%" cellspacing="0" cellpadding="0" border="0" align="center">
              <tr>
                <td height="13"></td>
              </tr>
            </table>
            <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center"  style="padding:0,0,0,0;border-color:#10A300;border-style:solid; border-width:1">
              <tr> 
                <td height="28"> 
<%
dim totalgb,passing
sql="select id from gbook where pass=0"
set rs1=server.createobject("adodb.recordset")
rs1.open sql,conn,1,1
totalgb=rs1.recordcount
%>
                  
            <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="D5F5C4">
              <tr> 
                <td width="10" height="20" rowspan="2"></td>
                <td height="4"></td>
              </tr>
              <tr> 
                <td height="16">显示留言:<font color="red"><%=totalgb%></font>条</td>
              </tr>
            </table>
          </td>
              </tr>
            </table>
            <table width="90%" cellspacing="0" cellpadding="0" border="0" align="center">
              <tr> 
                <td height="13"></td>
              </tr>
            </table>
            <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center"  style="padding:0,0,0,0;border-color:#10A300;border-style:solid; border-width:1">
              <tr> 
                <td height="28"> 
                  <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="D5F5C4">
                    <tr> 
                      <td height="20" width="26" rowspan="2" align="center"><img src="images/pics/dot3.jpg" width="13" height="14"></td>
                      <td width="90" height="4"></td>
                    </tr>
                    <tr> 
                      <td width="90" height="16"> 【<a href="gbook.asp">查看留言</a>】</td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <table width="90%" cellspacing="0" cellpadding="0" border="0" align="center">
              <tr> 
                <td height="13"></td>
              </tr>
            </table>
            <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center"  style="padding:0,0,0,0;border-color:#10A300;border-style:solid; border-width:1">
              <tr> 
                <td height="28"> 
                  <table width="85%" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="D5F5C4">
                    <tr> 
                      <td height="20" width="26" rowspan="2" align="center"><img src="images/pics/dot3.jpg" width="13" height="14"></td>
                      <td width="90" height="4"></td>
                    </tr>
                    <tr> 
                      <td width="90" height="16">【<a href="gbwrite.asp">签写留言</a>】</td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            
          </td>
          
    <td width="32"><img src="images/pics/submenu1-right.jpg" width="32"></td>
        </tr>
      </table>