﻿<%@ Page Language="C#"  AutoEventWireup="true" Inherits="ViewCart" Title="Your Cart" Codebehind="ViewCart.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<title>Nexphaze software solutions | Cart</title>
	<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
	<script language="javascript" type="text/javascript">
    <!--
    function IMG3_onclick() {}
    // -->
</script>
<style type="text/css">
.style1 {
	font-size: 0.75em;
}
</style>
</head>
<body class="slice2">
	<div class="wrapper">
		<div class="logoHeader2"><a href="..\index.html"><img src="images/logo.jpg" alt="nexPhaze "/></a></div><!--end logoHeader-->
		
		<div class="navBar2">
			<a class="rollOver1 left" href="..\index.html"></a>
			<a class="rollOver2 left" href="..\products.html"></a>
			<a class="rollOver3 left" href="..\services.html"></a>
			<a class="rollOver4 left" href="..\downloads.html"></a>
			<a class="rollOver5 left" href="..\about.html"></a>
			<a class="rollOver7 left" href="viewcart.aspx"></a>
			
		</div>
		<div class="content" style="min-height:360px; height:auto !important; height:360px;" >
        <br />
        <table>
            <tr>
                <td style="width: 100px; vertical-align: top;">
                			<h3>Your Cart</h3>
			        <br />
				<form id="CartViewerFrm" runat="server">

<table class="TableWithBorder" width="600" border="0" cellspacing="0">

	<asp:Repeater id="rptCartItems" runat="server">	   
		<HeaderTemplate>
		    <tr><td colspan="4" class="ShadedBackgroundTable" style="padding-top: 4px; padding-bottom: 4px;"></td></tr>
			<tr>
				<th align=center><b>Qty</b></th>
				<th><b>Product</b></th>
				<th align=right><b>Price</b></th>
				<td align=center><a href="ViewCart.aspx?EmptyCart=true">[Empty Cart]</a></td>
			</tr>
			<tr>
				<td colspan="4"><hr /></td>
			</tr>
		</HeaderTemplate>
		<ItemTemplate>
			<tr>
				<td align=center><asp:Label id="lblProductId" runat="server" Visible="False" Text='<%# DataBinder.Eval(Container.DataItem, "ProductId") %>' /><asp:TextBox id="txtQty" runat="server" Width="32px" AutoPostBack="True" Text='<%# DataBinder.Eval(Container.DataItem, "Quantity") %>' OnTextChanged="txtQty_TextChanged" ></asp:TextBox></td>
				<td><%# DataBinder.Eval(Container.DataItem, "ProductName") %></td>
				<td align="right"><%# double.Parse(DataBinder.Eval(Container.DataItem, "Price").ToString()).ToString("C") %></a></td>
			    <td align=center><a href='ViewCart.aspx?Remove=<%# DataBinder.Eval(Container.DataItem, "ProductId") %>'>[remove]</a></td>
			</tr>
		</ItemTemplate>
		<FooterTemplate>
		    <tr>
			    <td colspan="4"><hr /></td>
			</tr>
		    <tr>
		      <td>&nbsp;</td>
		      <td><b>SUBTOTAL:</b></td>
		      <td align="right"><b>  <%=SelectedInvoice.SubTotal.ToString("C")%></b></td>
		      <td align=center>
		      </td>
		    </tr>	
		    <tr>
		      <td>&nbsp;</td>
		      <td>Taxes:</td>
		      <td align="right"><%=SelectedInvoice.Taxes.ToString("C")%></td>
		      <td align=center>
		      </td>
		    </tr>	
		    <tr>
			    <td colspan="4"><hr /></td>
			</tr>
		    <tr>
		      <td>&nbsp;</td>
		      <td><b>Total:</b></td>
		      <td align="right"><b><%=SelectedInvoice.Total.ToString("C")%></b></td>
		      <td align=center><a href="CheckOut.aspx">[Checkout]</a>
		      </td>
		    </tr>		    		   	 
		</FooterTemplate>
	</asp:Repeater>
	

</table>
    <asp:Label ID="lblEmptyCartMessage" runat="server" Text="There are no items in your shopping cart." Visible="False" Height="242px" Font-Bold="True" Width="571px"></asp:Label></form>	
                </td>
                <td style="width: 100px; vertical-align: top;">
                				<!-- PayPal Logo --><table border="0" cellpadding="0" cellspacing="0" align="center">
				<tr><td align="center"></td></tr><tr><td align="center">
				<a href="#" onclick="javascript:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/Marketing/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=400, height=350');"><img  src="https://www.paypal.com/en_US/i/bnr/vertical_solution_PPeCheck.gif" border="0" alt="Solution Graphics"></a>
				</td></tr></table>
				<!-- PayPal Logo -->

                    </td>
            </tr>
        </table>
		<br />
			
			
		</div>
	</div><!--end wrapper-->
	<div class="footer" style="height: 62px">
		<div class="wrapper center">
			<a href="http://www.nexphaze.com/index.html" class="bold">HOME</a><a href="http://www.nexphaze.com/products.html" class="footerLink">PRODUCTS</a><a href="http://www.nexphaze.com/services.html" class="footerLink">SERVICES</a><a href="http://www.nexphaze.com/downloads.html" class="footerLink">DOWNLOADS</a><a href="http://www.nexphaze.com/about.html" class="footerLink">NEWS/ABOUT</a><a href="http://www.nexphaze.com/CBRegister/shop.aspx" class="footerLink">SHOP</a><a href="http://www.nexphaze.com/support.html" class="footerLink">SUPPORT</a><a href="http://www.nexphaze.com/phpbb2/" class="footerLink">FORUMS</a><a href="viewcart.aspx" class="footerLink">CART</a><a class="footerLink" href="http://www.nexphaze.com/blog/" target="_blank">BLOG</a>
			<br /><span class="text7">&copy;Copyright 2009 Nexphaze - All rights reserved - Design: <a href="http://dzerodesign.com">dZero inc.</a></span>
			<br />
			<span class="style1"><a href="http://www.nexphaze.com/privacy.html"><u>Privacy Policy</u></a></span></div>
	</div><!--end footer-->

</body>
</html>


