This repository has been archived by the owner on Dec 19, 2023. It is now read-only.
/
index.html
126 lines (111 loc) · 3.82 KB
/
index.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
[tag flag build][/tag]
<HTML>
<HEAD>
<TITLE> __COMPANY__ Catalog </TITLE>
</HEAD>
<BODY MV="body 1">
[comment]
The __VALUES__ below are MiniVend Variable settings.
In this case, they come from these settings in catalog.cfg:
## Set some menubars and headers
ConfigDir pages
Variable LEFTSIDE <leftside
Variable RIGHTSIDE <rightside
Variable NO_RIGHT <no_right
Variable MENUBAR <menubar
Variable MENUBOTTOM <menubottom
Variable LOGOBAR <logobar
Variable COPYRIGHT <copyright
ConfigDir config
Each one comes from a file in this directory which
corresponds to the variable.
They have the effect of predefining a page layout without
having to maintain different pages.
[/comment]
__LOGOBAR__
__MENUBAR__
__LEFTSIDE__
[comment]
This is the default page of the catalog.
[/comment]
<!-- CONTENT HERE -->
<!-- First product -->
[comment]
This [loop] repeats the container code for every product
code returned by the [random] tag. The [random] tag is
set in catalog.cfg with the Random directive; in the demo
it takes its values from the rand1.html - rand5.html page.
The effect is to have a changing "specials" display on
the front page.
[/comment]
[loop arg="[random]"]
<TABLE CELLPADDING="3">
<TR>
<TD VALIGN="top">
<TABLE>
<TR>
[calc]
return <<EOF if $inc++ % 2;
<TD VALIGN="top" ALIGN=LEFT>
<A HREF="[area [loop-code]]">
<IMG SRC="[loop-field image]" ALT="[loop-field title]" BORDER="0"></A>
</TD>
EOF
return '';
[/calc]
<TD VALIGN="top">
<FONT SIZE="3" FACE="verdana,arial,helvetica">
<B>[loop-field title]</B>
</FONT><BR>
<FONT SIZE="2" FACE="verdana,arial,helvetica">
By <A HREF="[area scan
st=glimpse
sf=artist
se=[loop-field artist]
]"><B><FONT COLOR="#0000CC">
[loop-field artist]
</FONT></B></A><P>
</FONT>
Our Price:</FONT><B><FONT SIZE="3" COLOR="#FF0000">
[loop-price]
</B></FONT>
<NOBR><A HREF="[area order [loop-code]]" CLASS="buybtn">
<FONT SIZE="1" FACE="verdana,arial,helvetica" COLOR="#0000cc">
Buy Now</FONT></A></NOBR><BR>
</TD>
[calc]
return <<EOF if $inc % 2;
<TD VALIGN="top" ALIGN=RIGHT>
<A HREF="[area [loop-code]]">
<IMG SRC="[loop-field image]" ALT="[loop-field title]" BORDER="0"></A>
</TD>
EOF
return '';
[/calc]
</TR>
<TR>
<TD COLSPAN="2">
<FONT SIZE="2"><P>
[file name="text/[loop-code]"]
<P>
More <A HREF="[area scan
dl=[loop-field category]
di=category
df=yes
]"><FONT COLOR="#0000CC">
[loop-field category]</A></FONT> ...
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<HR WIDTH="90%" [var HEADERBG] HEIGHT="1">
[/loop]
<BR>
[comment] And the footer as above. [/comment]
__RIGHTSIDE__
__MENUBOTTOM__
__COPYRIGHT__
<!-- current page: @@MV_PAGE@@ -->
</BODY></HTML>