Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

149 lines (137 sloc) 3.302 kb
[new]<HTML>
<HEAD>
<TITLE>Basket 1 Contents</TITLE>
</HEAD>
[body 1]
[perl] $Values->{state} = 'default'; return ''; [/perl]
<P>
Order URL: [process-order]
<P>
<CENTER>
<FORM ACTION="[process-order]" METHOD=POST>
<input type="hidden" name="mv_doit" value="refresh">
<input type="hidden" name="mv_orderpage" value="basket1">
<input type="hidden" name="mv_checkout" value="ord/checkout">
<input type="hidden" name="mv_nextpage" value="test">
<TABLE BORDER=0>
<CAPTION><FONT SIZE=7>Basket 1 Contents</FONT><BR></CAPTION>
<TR>
<P>
<TH BGCOLOR="#00F0F0" WIDTH=70 VALIGN=BOTTOM>
ISBN
</TH>
<TH BGCOLOR="#00F0F0" VALIGN=BOTTOM ALIGN=LEFT>
Description
</TH>
<TH BGCOLOR="#00F0F0" WIDTH=70 VALIGN=BOTTOM ALIGN=center>
Quantity
</TH>
<TH BGCOLOR="#00F0F0" WIDTH=90 VALIGN=BOTTOM ALIGN=center>
Price
</TH>
</TR>
[item-list]
<TR>
<P>
<TD BGCOLOR="#FFFFFF" VALIGN=TOP align=center>[item-code]</TD>
<TD BGCOLOR="#FFFFFF" VALIGN=TOP MARGINWIDTH=12 MARGINHEIGHT=12>
[item-description]
[if explicit items scratch]
[condition]
$no = $Scratch->{"nodisplay_[item-code]"};
return 1 unless $no;
foreach $item (reverse @$Items) {
return '' if $no eq $item->{code};
}
1;
[/condition]
<BR><FONT SIZE="-1">[item-accessories][item-accessories size][item-accessories color]</FONT>
</TD>
[/if]
<TD BGCOLOR="#FFFFFF" VALIGN=TOP ALIGN=CENTER>
<input type="text"
name=[quantity-name] value="[item-quantity]" size=3>
</TD>
<TD BGCOLOR="#FFFFFF" VALIGN=TOP ALIGN=RIGHT>
$[discount-price]
[if discount [item-code]]
<BR><FONT COLOR=RED SIZE=-2>Item is discounted
$[item-discount]
</FONT>
[/if]
</TD>
</TR>
[/item-list]
[if discount ALL_ITEMS]
<TR>
<TD ALIGN=CENTER BGCOLOR="#00F0F0" COLSPAN=4>
<FONT COLOR=RED>All items are discounted by 30 percent!</FONT>
</TR>
[/if]
<TR>
<TD BGCOLOR="#00F0F0" COLSPAN=3 ALIGN=RIGHT VALIGN=CENTER>
Salestax [salestax] <input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_submit" value="Recalculate">
&nbsp;&nbsp;
<B>Subtotal</B>
<TD BGCOLOR="#FFFFFF" ALIGN=RIGHT VALIGN=CENTER>$[subtotal]</TD>
</TR>
<TR>
<TD BGCOLOR="#00F0F0" COLSPAN=4 ALIGN=CENTER>
<input type="submit" name="mv_todo" value="Check out">
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Search">
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Browse">
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Home">
[if session secure]
[then]
<FONT COLOR=GREEN><B>Security is ON -->
<input type="submit" value="Off"
[/then]
[else]
<FONT COLOR=RED> <B>Security is OFF -->
<input type="submit" value="On"
[/else]
[/if]
onClick="document.forms[0].action='[process-target]'"
name="mv_click"></B></FONT>
<input type="submit"
onClick="document.forms[0].action='[process-target]'"
name="mv_click" value="Stop shopping">
</TD>
</TR>
</TABLE>
<P>
[set Off]
mv_todo=unsecure
mv_nextpage=basket1
[/set]
[set On]
mv_todo=secure
mv_nextpage=basket1
[/set]
[set Stop shopping]
mv_todo=return
mv_nextpage=canceled
[/set]
[set Home]
mv_todo=return
mv_nextpage=test
[/set]
[set Search]
mv_todo=return
mv_nextpage=srchform
[/set]
[set Browse]
mv_todo=return
mv_nextpage=browse
[/set]
<BR>
</FORM>
</body> </html>
Jump to Line
Something went wrong with that request. Please try again.