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 >
Wrap
Text File
|
2015-03-15
|
8KB
|
198 lines
<%@ Page Language="VB" Debug="true" %>
<script runat="server">
Dim mycon As New conValue()
Dim username, useremail, permissions As String
Dim userid As Integer
Dim str1 As String
Dim str2() As String
Dim str4() As String
Dim productid As String
Dim image(), price(), mrp(), store, imagedesc, ptitle, instock, storeurl, storeaffid, producturl As String
Sub page_load()
productid = Request.QueryString("productid")
mycon.con("Select * from lk_tempproducts where productid = '" & Request.QueryString("productid") & "'", 1, 1)
While mycon.sql1.Read
image = Trim(mycon.sql1("imageUrlStr")).Split(",")
price = Trim(mycon.sql1("price")).Split(",")
mrp = Trim(mycon.sql1("mrp")).Split(",")
ptitle = mycon.sql1("title")
imagedesc = mycon.sql1("description")
instock = mycon.sql1("instock")
store = mycon.sql1("store")
producturl = mycon.sql1("productUrl")
End While
mycon.sql1.Close()
mycon.con("Select * from lk_stores where storename = '" & store & "'", 1, 1)
While mycon.sql1.Read
storeurl = Trim(mycon.sql1("storeurl"))
storeaffid = Trim(mycon.sql1("affiliateid"))
End While
mycon.sql1.Close()
End Sub
</script>
<!DOCTYPE html>
<html lang="en">
<!--#include file="header.ascx" -->
<body id="home" class="wide">
<!-- PRELOADER -->
<!--#include file="preloader.ascx" -->
<!-- /PRELOADER -->
<!-- WRAPPER -->
<div class="wrapper">
<!--#include file="shoppingcart.ascx" -->
<!-- /Popup: Shopping cart items -->
<!--#include file="topbar.ascx" -->
<!-- /Header top bar -->
<!--#include file="headersearch.ascx" -->
<!-- CONTENT AREA -->
<div class="content-area">
<!-- PAGE -->
<section class="page-section">
<div class="container">
<div class="row product-single">
<div class="col-md-6">
<div class="badges">
<div class="hot">hot</div>
<div class="new">new</div>
</div>
<div class="owl-carousel img-carousel">
<%
For Each str4 As String In image
%>
<div class="item">
<a class="btn btn-theme btn-theme-transparent btn-zoom" href="<%= str4%>" data-gal="prettyPhoto"><i class="fa fa-plus"></i></a>
<a href="<%= str4%>" data-gal="prettyPhoto"><img class="img-responsive" src="<%= str4%>" alt=""/></a></div>
<%
Next
%>
</div>
</div>
<div class="col-md-6">
<div class="back-to-category">
<span class="link"><i class="fa fa-angle-left"></i> Back to <a href="category.aspx?<%= Request.QueryString("cat")%>">Category</a></span>
<div class="pull-right">
<a class="btn btn-theme btn-theme-transparent btn-previous" href="#"><i class="fa fa-angle-left"></i></a><!--
--><a class="btn btn-theme btn-theme-transparent btn-next" href="#"><i class="fa fa-angle-right"></i></a>
</div>
</div>
<h2 class="product-title"><%= ptitle%></h2>
<div class="product-rating clearfix">
<div class="rating">
<span class="star"></span><!--
--><span class="star active"></span><!--
--><span class="star active"></span><!--
--><span class="star active"></span><!--
--><span class="star active"></span>
</div>
<a class="reviews" href="#">16 reviews</a> | <a class="add-review" href="#">Add Your Review</a>
</div>
<div class="product-availability">Availability:
<%
If (instock = "True") Then
%>
<strong>In stock</strong>
<%
Else
%>
<strong>Not In stock</strong>
<%
End If%>
</div>
<hr class="page-divider small"/>
<div class="product-price"><%= price(0)%></div>
<hr class="page-divider"/>
<div class="product-text">
<%= imagedesc%>
</div>
<hr class="page-divider"/>
<div class="buttons">
<div class="quantity">
</div>
<button class="btn btn-theme btn-cart btn-icon-left" type="submit" ><i class="fa fa-shopping-cart"></i>FLIPKART</button>
<button class="btn btn-theme btn-cart btn-icon-left" type="submit"><%= price(0)%> [<%= store%>]</button><br />
<button onclick="myFunction()">BUY NOW</button>
<script>
function myFunction() {
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");
}
</script>
<a href="#" window.open("", "MsgWindow", "width=200, height=100");>BUY NOW</a>
</div>
<hr class="page-divider small"/>
<table>
<tr>
<td class="title">Category:</td>
<td>Men Dress</td>
</tr>
<tr>
<td class="title">Product Code:</td>
<td>PS08</td>
</tr>
<tr>
<td class="title">Tags:</td>
<td>Fashion - clothes - Dress - Men - jean</td>
</tr>
</table>
<hr class="page-divider small"/>
</div>
</div>
</div>
</section>
<!-- /PAGE -->
</div>
<!-- /CONTENT AREA -->
<!--#include file="footer.ascx" -->
<!-- /FOOTER -->
<div id="to-top" class="to-top"><i class="fa fa-angle-up"></i></div>
</div>
<!-- /WRAPPER -->
<!--#include file="footerfiles.ascx" -->
<!-- JS Global -->
</body>
</html>