This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/
flypage.html
206 lines (200 loc) · 6.77 KB
/
flypage.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
[set page_title][item-description][/set]
__LOGOBAR__
__MENUBAR__
__LEFTSIDE__
[comment]
This the special "flypage". When a page is called that
corresponds to a part number in the database, and that
page doesn't exist, this page is used to display it.
Everywhere you see [item-code] the part number will
be displayed.
[item-field title] displays the title field in the
products database. [item-data products title] is the
same in this case, but if the products database contained
more than one table (with ProductFiles) then [item-field title]
could come from another table.
[/comment]
[comment]
This next is a MiniVend UserTag -- if you see it in the page, then
you don't have it defined in catalog.cfg.
[/comment]
[table-font FACE="verdana,arial, helvetica" SIZE=3]
<TABLE WIDTH="470" __TABLEFG__ VALIGN="TOP" ALIGN="left" CELLSPACING="0" BORDER="0" CELLPADDING="0">
<TR VALIGN=top ALIGN=left>
<TD WIDTH=10 BGCOLOR=__BARTEXT__ HEIGHT=13 VALIGN=top ALIGN=left></TD>
<TD WIDTH=460 COLSPAN=3 BGCOLOR=__TITLEBG__ VALIGN=middle ALIGN=middle><FONT SIZE="+1" FACE="Tahoma, Arial, Helvetica" COLOR=__BARTEXT__><B>[data table=cat col=banner_text key=`
$tmp = q{[item-data products category]};
$tmp =~ s/[,\s].*//;
return $tmp;
`]</B></FONT></TD>
</TR>
<TR>
<TD WIDTH=10 BGCOLOR=__BARTEXT__ HEIGHT="*" VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
<TD WIDTH=1 BGCOLOR=__TITLEBG__ HEIGHT="*" VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
<TD WIDTH=458 __TABLEFG__ HEIGHT="*" VALIGN=top ALIGN=left>
<TABLE WIDTH=458 VALIGN=TOP ALIGN=left CELLSPACING=0 BORDER=0 CELLPADDING=0>
<TR>
<TD WIDTH=458 COLSPAN=5 HEIGHT=5 VALIGN=top ALIGN=left></TD>
</TR>
<TR VALIGN=top ALIGN=left>
<TD WIDTH=10 HEIGHT=166 VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
<TD WIDTH=126 HEIGHT=166 VALIGN=top ALIGN=center>[if-item-field image]<A HREF="[area [item-code]]"><IMG SRC="items/[item-field image]" ALT="[item-field title]" BORDER=0></A>[/if-item-field]</TD>
<TD WIDTH=8 HEIGHT=166 VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
<TD WIDTH=310 HEIGHT=166 VALIGN=top ALIGN=left><FONT FACE=Arial COLOR=__HEADERTEXT__><B><A HREF="[area [item-code]]">[item-field title]</A></B></FONT><BR>
<FONT SIZE="-1" FACE=Arial COLOR=__TITLEBG__><B>by
<A HREF="[area href=scan
arg=|
sf=artist
se=[item-field artist]
|
]">[filter name namecase][item-field artist][/filter]</A></B></FONT><BR><BR>
<FONT SIZE="-1" FACE=Arial COLOR=__CONTRAST__><B>Price: [item-price]</B></FONT> <FONT SIZE="-1" FACE=Arial COLOR=__TITLEBG__><B><A HREF="[area order [item-code]]">buy now <IMG SRC="template/cart.png" BORDER=0></A></B></FONT><BR><BR>
<FONT SIZE=1 FACE=Arial COLOR=black>[item-field comments]</FONT><BR><BR>
<FONT SIZE=1 FACE=Arial COLOR=black><B>More <A HREF="[area
href=scan
arg=|
sf=category
se=[item-field category]
ml=2
|
]">[filter lower][item-field category][/filter]</A>...</B></FONT></TD>
<TD WIDTH=4 HEIGHT=166 VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
</TR>
<TR>
<TD WIDTH=458 COLSPAN=5 HEIGHT=8 VALIGN=top ALIGN=middle></TD>
</TR>
<TR>
<TD WIDTH=458 COLSPAN=5 HEIGHT=8 VALIGN=top ALIGN=middle>
<BR><FONT SIZE="-1">
[page quantity [item-code]][L]Quantity Pricing[/L][/page]<BR>
</FONT>
[L]Catalog[/L] [L]Number[/L]: [item-code]
<P>
<FONT FACE="Tahoma, Arial, Helvetica">
<I>[item-data products comment]</I>
</FONT>
</P>
[if ordered [item-code]]
<P>
<FONT COLOR=__CONTRAST__>
This item is currently in your shopping cart.
</FONT>
</P>
[/if]
[if-item-field size]
<P>
[calc]
$qty = q{[cgi prospective_price]} || 1;
return '';
[/calc]
<FORM NAME=orderform ACTION="[process-target]" METHOD=POST>
<TABLE BACKGROUND="__IMAGE_DIR__/__BGIMAGE__">
<TR><TD VALIGN=TOP>
<INPUT TYPE=SUBMIT VALUE="[L]ORDER NOW[/L]">
<INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
<INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]">
<INPUT TYPE=hidden NAME=mv_separate_items VALUE="1">
</TD><TD VALIGN=TOP __TABLEFG__>
<INPUT SIZE=3 NAME=mv_order_quantity VALUE="[calc]$qty[/calc]">
</TD></TR>
<TR>
<TD COLSPAN=2>
[item-accessories size][item-accessories color]
</TD>
</TR>
<TR>
<TD COLSPAN=2>
<TABLE>
<TR>
<TD MARGINWIDTH=5 COLSPAN=2
BACKGROUND=""
__HEADERBG__
TEXT="__HEADERTEXT__">
<FONT SIZE="+1"><B>Quick-order</B></FONT><BR>
[loop arg="1 5 10 25 100"]
[if cgi prospective_price == [loop-code]]
<B>[loop-code]</B>
[elsif !value prospective_price]
<A HREF="[area href="[item-code]" form="
mv_arg=[item-code]
mv_todo=return
prospective_price=[loop-code]
"]"
onMouseOver="document.orderform.price_display.value='Quantity [loop-code] pricing'"
>[loop-code]</A>
[/elsif]
[/if]
[/loop]<BR>
<FONT SIZE=-1><INPUT NAME=price_display SIZE=16
VALUE='Quantity [calc]$qty[/calc] pricing'></FONT>
</TD>
</TR>
<TR>
<TH>
Color
</TH>
<TH>
Sizes
</TH>
</TR>
[loop prefix=color list="[item-accessories color, options]"]
<TR>
<TD>
[color-code]
</TD>
<TD> - - >
</TD>
[loop prefix=size arg="[item-accessories size, options]"]
<TD>
<A HREF="[area form="
mv_order_item=[item-code]
mv_order_color=[color-code]
mv_order_size=[size-code]
mv_order_quantity=[cgi prospective_price]
mv_separate_items=1
mv_todo=refresh
"]"
onMouseOut="document.orderform.price_display.value='hover to see price'"
onMouseOver="document.orderform.price_display.value='[price
code="[item-code]"
color="[color-code]"
size="[size-code]"
quantity="[cgi prospective_price]"
]'">[size-code]</A>
<BR>
</TD>
[/loop]
</TR>
[/loop]
</TABLE>
</TD>
</TR>
</TABLE>
</FORM>
[else]
<BR><B>[order [item-code]]Order Now</A></B></NOBR><BR><BR>
[/else]
[/if-item-field]
</TR>
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=14 HEIGHT=1 VALIGN=TOP ALIGN=middle></TD>
<TD WIDTH=430 COLSPAN=3 BGCOLOR=__TITLEBG__ HEIGHT=1 VALIGN=TOP ALIGN=middle></TD>
<TD WIDTH=14 HEIGHT=1 VALIGN=TOP ALIGN=middle></TD>
</TR>
<!-- table foot -->
<TR VALIGN=TOP ALIGN=LEFT>
<TD WIDTH=458 COLSPAN=5 HEIGHT=8 VALIGN=top ALIGN=middle></TD>
</TR>
</TABLE>
</TD>
<TD WIDTH=1 BGCOLOR=__TITLEBG__ HEIGHT="*" VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
<TR VALIGN=top ALIGN=left>
<TD WIDTH=10 BGCOLOR=__TITLETEXT__ HEIGHT=1 VALIGN=top ALIGN=left></TD>
<TD WIDTH=460 COLSPAN=3 BGCOLOR=__TITLEBG__ HEIGHT=1 VALIGN=top ALIGN=left><IMG SRC="clear.gif" WIDTH=1 ALT="" HEIGHT=1 BORDER=0></TD>
</TR>
<!-- end table foot -->
</TABLE>
__NO_RIGHT__
__MENUBOTTOM__
__COPYRIGHT__
<!-- current page: @@MV_PAGE@@ -->