⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 category_body.jsp

📁 Sun公司Dream项目
💻 JSP
📖 第 1 页 / 共 2 页
字号:
                                                class="subsong_detail"

                                                style="text-decoration:none"><img

                                                src="images/addtocarticon3.gif" border="0" width="20" height="14" border="0" alt="Add to Cart"></a>&nbsp;&nbsp;&nbsp;</td>

                                                <td width="19" class="subsong_detail">

<% 



            if (prodDetail[12] != null && !"".equals(prodDetail[12].trim())) {

                //if (prodDetail[12].indexOf("://") == -1)

                //    prodDetail[12] = "download/" + prodDetail[12];



%>

                                                    <a

                                                    href="<%=prodDetail[12]%>"

                                                    class="subsong_detail"

                                                    style="text-decoration:none"><img

                                                    src="images/listenicon3.gif" border="0" width="19" height="14" alt="Preview"></a>

<%

            } else {

%>

                                                    <img

                                                    src="images/listenicon3.gif" border="0" width="19" height="14" alt="Preview not available">

<%

            }

%>                                          



                                                </td>

                                                <td width="39">&nbsp;</td>

                                              </tr>

                                            </table>

                                          </td>

                                        </tr>

                                      </table>

                                    </td>

                                  </tr>

                                </table>

                              </td>

                            </tr>

                          </table>

                        </td>                  

                        <td width="200" align="right">

                          <table width="175" border="0" cellspacing="0" cellpadding="0">

                            

<%

            i++;

            if(i > products.size()-1) {

%>

                            <tr>

                              <td>&nbsp;</td>

                            </tr>

                          </table>

                        </td>                  

                      </tr>

                      <tr>

                        <td width="175" height="30"><img src="images/blueline2.gif" width="175" height="3"></td>

                        <td width="200" align="right"><img src="images/blueline2.gif" width="175" height="3"></td>

                      </tr>                            

<%

                break;

            } else {

                aRec = (String[]) products.elementAt(i);

                prodDetail = DBUtil.getRecord(detailInfoSQL, detailInfoTypes, null, new String[] {aRec[0]});

                if (prodDetail[13] == null  || "".equals(prodDetail[13].trim())) {

                    prodDetail[13] = "images/thumbnail1.gif";

                }            

%>      

                            <tr>

                              <td width="75" valign="top"><a href="<%=prodDetail[23]%>.jsp?selected_content_id=<%=prodDetail[0]%><%=(showAll?"&show_all=true":"")%>"><img src="<%=prodDetail[13]%>" width="75" height="75" border="0"></a></td>

                              <td width="100">

                                <table width="100" border="0" cellspacing="0" cellpadding="0">

                                  <tr>

                                    <td>

                                      <table width="100" border="0" cellspacing="0" cellpadding="0">

                                        <tr>

                                          <td width="20">&nbsp;</td>

                                          <td width="80">

                                            <table width="80" border="0" cellspacing="0" cellpadding="1">

                                              <tr>

                                                <td class="subsong_title"><%=(prodDetail[4]==null?prodDetail[0]:prodDetail[4])%></td>

                                              </tr>

                                              <tr>

                                                <td class="subsong_detail">Price: $<%=prodDetail[2]%></td>

                                              </tr>

                                              <tr>

                                                <td class="subsong_detail" align="right"><a href="<%=prodDetail[23]%>.jsp?selected_content_id=<%=prodDetail[0]%><%=(showAll?"&show_all=true":"")%>" class="subsong_detail" style="text-decoration:none">detail ...</a></td>

                                              </tr>

                                            </table>

                                          </td>

                                        </tr>

                                      </table>

                                    </td>

                                  </tr>

                                  <tr>

                                    <td>

                                      <table width="100" border="0" cellspacing="0" cellpadding="0">

                                        <tr>

                                          <td width="20">&nbsp;</td>

                                          <td width="80">

                                            <table width="80" border="0" cellspacing="0" cellpadding="0">

                                              <tr>

                                                <td width="20"><a

                                                href="buy.jsp?item_id=<%=prodDetail[0]%>&item_title=<%=(prodDetail[4]==null?"":prodDetail[4])%>&jsp_path=<%=jspPath%>"

                                                class="subsong_detail"

                                                style="text-decoration:none"><img

                                                src="images/addtocarticon3.gif" border="0" width="20" height="14" border="0" alt="Add to Cart"></a>&nbsp;&nbsp;&nbsp;</td>

                                                <td width="19" class="subsong_detail">

<%                              

                if (prodDetail[12] != null && !"".equals(prodDetail[12].trim())) {

                    //if (prodDetail[12].indexOf("://") == -1)

                    //    prodDetail[12] = "download/" + prodDetail[12];

%>

                                                    <a

                                                    href="<%=prodDetail[12]%>"

                                                    class="subsong_detail"

                                                    style="text-decoration:none"><img

                                                    src="images/listenicon3.gif" border="0" width="19" height="14" alt="Preview"></a>

<%

                } else {

%>

                                                    <img src="images/listenicon3.gif" border="0" width="19" height="14" alt="Preview not available">

<%

                }

%>                                          



                                                </td>

                                                <td width="39">&nbsp;</td>

                                              </tr>

                                            </table>

                                          </td>

                                        </tr>

                                      </table>

                                    </td>

                                  </tr>

                                </table>

                              </td>

                            </tr>

<%

            }

%>                          

                          </table>

                        </td>                  

                      </tr>

                      <tr>

                        <td width="175" height="30"><img src="images/blueline2.gif" width="175" height="3"></td>

                        <td width="200" align="right"><img src="images/blueline2.gif" width="175" height="3"></td>

                      </tr>

<%

            i++;

        }



        if(!showAll) {

%>                      

                      <tr>

                        <td width="175">&nbsp;</td>

                        <td width="200" align="right" class="subsong_detail"><a href="<%=category%>.jsp?show_all=true" class="subsong_title" style="text-decoration:none">Show more items</a>&nbsp;&nbsp;</td>

                      </tr>



<%

        } 

%>

                      <tr>

                        <td width="175">&nbsp;</td>

                        <td width="200">&nbsp;</td>

                      </tr>

                    </table>

                  </td>

                </tr>

<%

    }

%>

              </table>

            </td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -