home *** CD-ROM | disk | FTP | other *** search
/ 74.208.221.89 / 74.208.221.89.zip / 74.208.221.89 / manage / product-details.aspx < prev    next >
Text File  |  2015-03-15  |  8KB  |  198 lines

  1. ∩╗┐<%@ Page Language="VB" Debug="true" %>
  2. <script runat="server">
  3.     Dim mycon As New conValue()
  4.     Dim username, useremail, permissions As String
  5.     Dim userid As Integer
  6.     Dim str1 As String
  7.     Dim str2() As String
  8.     Dim str4() As String
  9.     
  10.     Dim productid As String
  11.     Dim image(), price(), mrp(), store, imagedesc, ptitle, instock, storeurl, storeaffid, producturl As String
  12.     Sub page_load()
  13.         productid = Request.QueryString("productid")
  14.         mycon.con("Select * from lk_tempproducts where productid = '" & Request.QueryString("productid") & "'", 1, 1)
  15.         While mycon.sql1.Read
  16.             image = Trim(mycon.sql1("imageUrlStr")).Split(",")
  17.             price = Trim(mycon.sql1("price")).Split(",")
  18.             mrp = Trim(mycon.sql1("mrp")).Split(",")
  19.             ptitle = mycon.sql1("title")
  20.             imagedesc = mycon.sql1("description")
  21.             instock = mycon.sql1("instock")
  22.             store = mycon.sql1("store")
  23.             producturl = mycon.sql1("productUrl")
  24.         End While
  25.         mycon.sql1.Close()
  26.         mycon.con("Select * from lk_stores where storename = '" & store & "'", 1, 1)
  27.         While mycon.sql1.Read
  28.             storeurl = Trim(mycon.sql1("storeurl"))
  29.             storeaffid = Trim(mycon.sql1("affiliateid"))
  30.         End While
  31.         mycon.sql1.Close()
  32.     End Sub
  33. </script>
  34. <!DOCTYPE html>
  35. <html lang="en">
  36. <!--#include file="header.ascx" -->
  37. <body id="home" class="wide">
  38. <!-- PRELOADER -->
  39. <!--#include file="preloader.ascx" -->
  40. <!-- /PRELOADER -->
  41.  
  42. <!-- WRAPPER -->
  43. <div class="wrapper">
  44. <!--#include file="shoppingcart.ascx" -->
  45. <!-- /Popup: Shopping cart items -->
  46. <!--#include file="topbar.ascx" -->
  47. <!-- /Header top bar -->
  48. <!--#include file="headersearch.ascx" -->
  49.     <!-- CONTENT AREA -->
  50.     <div class="content-area">
  51.  
  52.         <!-- PAGE -->
  53.         <section class="page-section">
  54.             <div class="container">
  55.  
  56.                 <div class="row product-single">
  57.                     <div class="col-md-6">
  58.                         <div class="badges">
  59.                             <div class="hot">hot</div>
  60.                             <div class="new">new</div>
  61.                         </div>
  62.                         <div class="owl-carousel img-carousel">
  63.                         
  64.                           <%
  65.                               For Each str4 As String In image
  66.                               %>
  67.                                 <div class="item">
  68.                                 <a class="btn btn-theme btn-theme-transparent btn-zoom" href="<%= str4%>" data-gal="prettyPhoto"><i class="fa fa-plus"></i></a>
  69.                                 <a href="<%= str4%>" data-gal="prettyPhoto"><img class="img-responsive" src="<%= str4%>" alt=""/></a></div>
  70.                             <%
  71.                             Next
  72.                                 %>
  73.                             </div>
  74.  
  75.                            
  76.                       
  77.                     </div>
  78.                     <div class="col-md-6">
  79.                         <div class="back-to-category">
  80.                             <span class="link"><i class="fa fa-angle-left"></i> Back to <a href="category.aspx?<%= Request.QueryString("cat")%>">Category</a></span>
  81.                             <div class="pull-right">
  82.                                 <a class="btn btn-theme btn-theme-transparent btn-previous" href="#"><i class="fa fa-angle-left"></i></a><!--
  83.                                 --><a class="btn btn-theme btn-theme-transparent btn-next" href="#"><i class="fa fa-angle-right"></i></a>
  84.                             </div>
  85.                         </div>
  86.                         <h2 class="product-title"><%= ptitle%></h2>
  87.                         <div class="product-rating clearfix">
  88.                             <div class="rating">
  89.                                 <span class="star"></span><!--
  90.                                 --><span class="star active"></span><!--
  91.                                 --><span class="star active"></span><!--
  92.                                 --><span class="star active"></span><!--
  93.                                 --><span class="star active"></span>
  94.                             </div>
  95.                             <a class="reviews" href="#">16 reviews</a> | <a class="add-review" href="#">Add Your Review</a>
  96.                         </div>
  97.                         <div class="product-availability">Availability: 
  98.                             <%
  99.                                 If (instock = "True") Then
  100.                                 %>
  101.                             <strong>In stock</strong>
  102.                             <%
  103.                             Else
  104.                                  %>
  105.                              <strong>Not In stock</strong>
  106.                             <%
  107.                             End If%>
  108.  
  109.                         </div>
  110.                         <hr class="page-divider small"/>
  111.  
  112.                         <div class="product-price"><%= price(0)%></div>
  113.                         <hr class="page-divider"/>
  114.  
  115.                         <div class="product-text">
  116.                            <%= imagedesc%>
  117.                         </div>
  118.                         <hr class="page-divider"/>
  119.  
  120.                        
  121.                        
  122.  
  123.  
  124.                         <div class="buttons">
  125.                             <div class="quantity">
  126.                                
  127.                                 
  128.                                 
  129.                             </div>
  130.                            <button class="btn btn-theme btn-cart btn-icon-left" type="submit" ><i class="fa fa-shopping-cart"></i>FLIPKART</button>
  131.                             <button class="btn btn-theme btn-cart btn-icon-left" type="submit"><%= price(0)%> [<%= store%>]</button><br /> 
  132.                            
  133.                             <button onclick="myFunction()">BUY NOW</button>
  134.  
  135. <script>
  136.     function myFunction() {
  137.         var myWindow = window.open("go2.aspx?s=<%= Trim(producturl)%>&v=<%= Request.QueryString("productid")%>&z=<%=Trim(store)%>", "MsgWindow", "width=500, height=300,top=200, left=300");
  138.        
  139.     }
  140. </script>
  141.  
  142.  
  143.                             <a href="#" window.open("", "MsgWindow", "width=200, height=100");>BUY NOW</a>
  144.                             
  145.                            
  146.                            
  147.                         </div>
  148.  
  149.                         <hr class="page-divider small"/>
  150.  
  151.                         <table>
  152.                             <tr>
  153.                                 <td class="title">Category:</td>
  154.                                 <td>Men Dress</td>
  155.                             </tr>
  156.                             <tr>
  157.                                 <td class="title">Product Code:</td>
  158.                                 <td>PS08</td>
  159.                             </tr>
  160.                             <tr>
  161.                                 <td class="title">Tags:</td>
  162.                                 <td>Fashion - clothes - Dress - Men - jean</td>
  163.                             </tr>
  164.                         </table>
  165.                         <hr class="page-divider small"/>
  166.  
  167.                      
  168.  
  169.                     </div>
  170.                 </div>
  171.  
  172.             </div>
  173.         </section>
  174.         <!-- /PAGE -->
  175.  
  176.       
  177.  
  178.       
  179.  
  180.        
  181.        
  182.  
  183.     </div>
  184.     <!-- /CONTENT AREA -->
  185.  
  186.     <!--#include file="footer.ascx" -->
  187.     <!-- /FOOTER -->
  188.  
  189.     <div id="to-top" class="to-top"><i class="fa fa-angle-up"></i></div>
  190.  
  191. </div>
  192. <!-- /WRAPPER -->
  193. <!--#include file="footerfiles.ascx" -->
  194. <!-- JS Global -->
  195.  
  196.  
  197. </body>
  198. </html>