/
browse.html
135 lines (125 loc) · 3.79 KB
/
browse.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
[comment]
ui_template: Yes
ui_template_name: leftright
[/comment]
[set bgcolor]#FFFFFF[/set]
[set component_right]promo_vertical[/set]
[set component_after]promo_horizontal[/set]
[set members_only]0[/set]
[set component_vsize]5[/set]
[set page_banner]Product Views All[/set]
[set vbanner]New items[/set]
[set component_hsize]2[/set]
[set hbanner]Also see...[/set]
[set component_before][/set]
[set hpromo_type]specials[/set]
[set page_title]__COMPANY__ -- Product Views All[/set]
[set vpromo_type]new[/set]
@_LEFTRIGHT_TOP_@
<!-- BEGIN CONTENT -->
[loop more=1 search="ra=yes/tf=category/tf=title/ml=5"]
[list]
[comment]
[loop-change] is a way of setting up headers. You place a possibly
changing value in the [condition] container, and when the value
changes the contents of the [loop-change] container are output.
There can also be an [else] [/else] area.
[/comment]
[loop-change 1][condition][loop-field category][/condition]
<table width="250" border="0" cellspacing="0" cellpadding="0" bgcolor="0099ff">
<tr>
<td width="10"><img src="navigation/minime1.gif" width="10" height="20" align="top"></td>
<td width="227"><font __FFACE__ size="1"><b><i><font color="ffffff" size="2">
[loop-field category]
</font></i></b></font></td>
<td width="10"><img src="navigation/minime2.gif" width="10" height="20" align="top"></td>
</tr>
</table>
[/loop-change 1]
<table width="313" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff">
<tr bgcolor="ffffff" valign="middle">
<td align=center height="5">
<div align="left">
<table border="0" cellspacing="0" cellpadding="3" bordercolor="#FFFFFF" align="center">
<tr>
<td valign="top" align="center">
<table width="25%" border="1" cellspacing="0" cellpadding="0" bordercolor="0099ff">
<tr>
<td>[if-loop-field image]<IMG SRC="items/[loop-field image]" ALT="[loop-field title]" BORDER="0">[/if-loop-field]</td>
</tr>
</table>
</td>
<td valign="top" align="center">
<table border="0" cellpadding="3" cellspacing="0">
<FORM ACTION="[process-target]" METHOD=POST>
<INPUT TYPE=hidden NAME="mv_todo" VALUE="refresh">
<INPUT TYPE=hidden NAME="mv_order_item" VALUE="[loop-code]">
<tr>
<td valign="top">
<p><font __FFACE__ size="1"><b><i>[loop-field title]</i></b></font></p>
</td>
</tr>
<tr>
<td align="center"><font __FFACE__>[loop-price]</font></td>
</tr>
<tr>
<td align="center"><font __FFACE__> </font></td>
</tr>
[loop-calc]
my $q = q{[loop-data inventory quantity]};
if($q > 0) {
return <<EOF;
<tr>
<td align="center"><font __FFACE__ size="1" color="#008000"><b>In Stock</b></font></td>
</tr>
EOF
}
else {
return <<EOF;
<tr>
<td align="center"><font __FFACE__ size="1" color="#FF0000"><b>Out Of Stock</b></font><br><br>
<font __FFACE__ size="1"><a href="[area stock-alert [loop-code]]">In Stock Notification</a></font></td>
</tr>
EOF
}
[/loop-calc]
<tr>
<td align="center"><font __FFACE__> </font></td>
</tr>
<tr>
<td align="center"> <font __FFACE__ size="1">Quantity:</font>
<input type="text" name="mv_order_quantity" size="4" value="1">
</td>
</tr>
<tr>
<td align="center">
<input type="submit" value="Buy it Now!">
</td>
</tr>
</FORM>
</table>
</td>
</tr>
<tr>
<td colspan="2">
<p><font __FFACE__ size="1">
[loop-field comment__MVC_FIELDMUNGE__]
</font></p>
</td>
</tr>
</table>
<div align="center"><b><i></i></b></div>
</div>
</td>
</tr>
</table><br>
[/list]
[more-list 0 0 0]
[page-anchor][/page-anchor]
[prev-anchor]<LARGE><B><-- Previous</b></large>[/prev-anchor]
[next-anchor]<LARGE><B>Next --></b></large>[/next-anchor]
[more]
[/more-list]
[/loop]
<!-- END CONTENT -->
@_LEFTRIGHT_BOTTOM_@