标题:求大神帮忙修改一下
只看楼主
hfy0620
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2012-5-10
结帖率:0
已结贴  问题点数:20 回复次数:1 
求大神帮忙修改一下
<%function writeNull(){%>
<div align="center">                                            
  <center>                                               
   <table border="0" width="600" >                                                
  <tr>                                                
    <td width="600" >                                                
      <p align="center">暂时无记录!!!</p>                                                
    </td>                                                
  </tr>                                                
</table>                                            
  </center>                                 
</div>                                 
<%}%>

<%
function writeTitle(){
String lyb_name;
%>
<!--表头部分 -->
 <div align="center">
  <center>
 <table border="1" width="600" bordercolorlight="#000000" bordercolordark="#FFFFFF" bgcolor="#FAD185" cellspacing="0" cellpadding="3">
  <tr>
    <td width="30" bgcolor="#000080">                                                  
      <p align="center"><a href="bbsadd.jsp?boardid=<%=boardid%>" target="_self"><font color="#FFFFFF">留言</font></a></p>                                             
    </td>                                                                                             
    <td width="30" bgcolor="#000080">                                                  
     <p align="center"><a href="bbslist.jsp?boardid=<%=boardid%>" target="_self"><font color="#FFFFFF">刷新</font></a></p>                                             
    </td>
    <td width="30" bgcolor="#000080">                                                
     <p align="center"><a href="query.jsp"><font color="#FFFFFF">查询</font></a></p>
    </td>
    <td width="100"  bgcolor="#000080">                                             
      <p align="center"><a href="bbslist.jsp?boardid=<%=boardid%>&method=4"><font color="#FFFFFF">精华区</font></a></p>                                          
    </td>
    <td width="200" bgcolor="#000080">  
<!--
-->
    </td>                                                                                               
    <td width="110" valign="middle" bgcolor="#000080">                                                  
      <form method="GET" action="bbslist.jsp" style="margin-top: 0; margin-bottom: 0">                  
        <p align="center" style="margin-top: 0; margin-bottom: 0"><font color="#FFFFFF">转到:<input type="text" name="page" size="3" value="1">页<input type="submit" value="GO" name="GO"></font></p>                                                                           
        <input type="hidden" name="boardid" value="<%=boardid%>">      
        <input type="hidden" name="method" value="<%=method%>">      
        <input type="hidden" name="par" value="<%=par%>">      
        </form>                                                                                    
    </td>                                                                                               
  </tr>                                                                                               
</table>                                                                                            
  </center>                                                                                          
 </div>                                                                                
                                                                                
<!--表头部分结束 -->                                                                    
<%}%>
搜索更多相关主题的帖子: 记录 function border center 
2012-05-10 11:54
高寒
Rank: 2
等 级:论坛游民
帖 子:134
专家分:20
注 册:2005-10-25
得分:20 
<%function writeNull(){%>这个js代码吗?如果是js代码这样写是有问题的,js代码不能放到<%%>之间的
 

2012-05-11 15:06



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-367281-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.507199 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved