]> git.imager.perl.org - bse.git/blame - site/templates/shopitem.tmpl
modernize edit_prodopts.tmpl
[bse.git] / site / templates / shopitem.tmpl
CommitLineData
0eb78304 1<:wrap base.tmpl:> <:embed start:><:admin:>
b29bb392 2<table width="100%" border="0" cellspacing="0" cellpadding="0">
684e0ce0 3 <tr>
27feb834 4 <td width="80%" height="24">&nbsp;&nbsp;<font face="Arial, Helvetica, sans-serif" size="4" color="#FF7F00"><b><:product
684e0ce0
TC
5 title:></b></font></td>
6 <td height="24">&nbsp;</td>
7 </tr>
4e854c2f
TC
8<:if Dynamic:>
9 <:if Message:>
10 <tr>
11 <td class="message"><:message:></td>
12 </tr>
13 <:or Message:><:eif Message:>
14<:or Dynamic:><:eif Dynamic:>
684e0ce0
TC
15 <tr>
16 <td bgcolor="#999999" colspan="2" height="1"><img src="/images/trans_pixel.gif" width="24" height="1" border="0"></td>
17 </tr>
18 <tr>
19 <td colspan="2">
b29bb392 20 <table width="100%" border="0" cellspacing="0" cellpadding="0">
684e0ce0
TC
21 <tr>
22 <td width="100"><img src="/images/trans_pixel.gif" width="100" height="10" border="0"></td>
27feb834 23 <td bgcolor="#999999" width="100%">&nbsp;<font face="Verdana, Arial, Helvetica, sans-serif" size="-2">/
684e0ce0
TC
24 <a href="<:ifAdmin:>/cgi-bin/admin/admin.pl?id=1<:or:>/<:eif:>"><font color="#FFFFFF">Home</font></a>
25 / <:iterator begin crumbs:> <a href="<:url crumbs:>"><font color="#FFFFFF"><:crumbs
26 title:></font></a> / <:iterator end crumbs:></font></td>
27 </tr>
28 </table>
29 </td>
30 </tr>
31</table>
32<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><:body:></font></p>
27feb834
TC
33<:if StepCats:> <font face="Verdana, Arial, Helvetica, sans-serif" size="2">
34<p><b>Related categories:</b></p>
b6e907ea
TC
35<ul>
36<:iterator begin stepcats:>
27feb834 37<li><a href="<:url stepcat:>"><:stepcat title:></a></li>
b6e907ea
TC
38<:iterator end stepcats:>
39</ul></font>
40<:or StepCats:><:eif StepCats:>
a319d280 41<:if Or [product retailPrice] [cfg shop free_products]:>
27feb834 42<form name="ff" method="POST" action="/cgi-bin/shop.pl">
684e0ce0 43
4dcf1587 44<:if Options:>
caa7299c 45 <table>
4dcf1587 46<tr>
caa7299c 47 <:iterator begin options:><td valign="middle"> <font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><:option desc:>:</b></font></td><td> <:option popup:> </td><:iterator end options:>
4dcf1587
TC
48</tr>
49</table>
27feb834 50 <:or Options:><:eif Options:>
caa7299c 51 <:ifProduct leadTime:>
da6bc286
TC
52
53 <p><b><font face="Verdana, Arial, Helvetica, sans-serif" size="-2" color="#FE7F00">Usually ships in:</font><font face="Verdana, Arial, Helvetica, sans-serif" size="-2"> <:product leadTime:> <:if Eq [product leadTime] "1":>day<:or Eq:>days<:eif Eq:></font></b>
54</p>
55 <:or:><br><:eif:>
27feb834
TC
56
57<table border="0" cellspacing="0" cellpadding="0">
684e0ce0 58 <tr valign="middle" align="center">
27feb834 59 <td bgcolor="#666666">
684e0ce0
TC
60 <table width="100%" border="0" cellspacing="1" cellpadding="4" height="30">
61 <tr valign="middle" align="center">
27feb834 62 <td bgcolor="#666666" align="left"> &nbsp;&nbsp;<font size="2" face="Verdana, Arial, Helvetica, sans-serif" color="#FFFFFF">
684e0ce0 63 <b>Price:</b></font> &nbsp;&nbsp;</td>
27feb834 64 <td bgcolor="#FFFFFF"> &nbsp; <font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#000000">
dfd483db 65 <b>$<:if Dynamic:><:money price dynarticle:> <:ifPrice dynarticle discountpc:><:price dynarticle discountpc:>% off!<:or:><:eif:><:or Dynamic:><:money product retailPrice:><:eif Dynamic:></b>(inc GST)</font> </td>
27feb834
TC
66 </tr>
67 </table>
68 </td>
69 <td nowrap> &nbsp;
70 <input type="hidden" name="id" value="<:product id:>">
71 <input type="hidden" name="quantity" value="1">
72 <input type="submit" name="add" value="Add to cart">
73 <input type="submit" name="cart" value="View cart">
74 </td>
75 </tr>
76 </table>
77</form>
d49667a2 78<:if Dynamic:><:if User:><:if InWishlist:>
3624a308 79<p><a href="<:dyntarget nuser wishlistdel product_id [dynarticle id] r [url dynarticle] :>">Remove from my wishlist</a></p>
d49667a2 80<:or InWishlist:>
3624a308 81<p><a href="<:dyntarget nuser wishlistadd product_id [dynarticle id] r [url dynarticle] :>">Add to my wishlist</a></p>
d49667a2
TC
82<:eif InWishlist:>
83<:or User:><:eif User:><:or Dynamic:>
3a48e7f1 84<p><a href="/cgi-bin/nuser.pl/user?a_wishlistadd=1&amp;product_id=<:product id:>&amp;r=<:url product |U:>">Add to my wishlist</a></p>
d49667a2 85<:eif Dynamic:>
a319d280 86<:or Or:><br>
08123550 87<br>
27feb834
TC
88<table border="0" cellspacing="0" cellpadding="1" bgcolor="#CCCCCC">
89 <tr>
90 <td>
91 <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#FFFFFF">
92 <tr>
93 <td>
ee6577c3 94 <form name="notifyme" method="post" action="/cgi-bin/interest.pl">
27feb834 95 <font face="Arial, Helvetica, sans-serif" size="4"><b>Coming soon!</b></font>
32eca9dc 96 <input type="hidden" name="product_id" value="<:product id:>">
27feb834
TC
97 <p><font face="Verdana, Arial, Helvetica, sans-serif" size="-2">Yes,
98 I want this product, notify me when it becomes available</font></p>
99 <table border="0" cellspacing="0" cellpadding="0">
100 <tr>
101 <td><b><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
102 Email:</font></b>&nbsp;</td>
103 <td>
104 <input type="text" name="email" size="32">
105 &nbsp; </td>
106 <td>
107 <input type="submit" name="Submit" value="Notify me!">
b29bb392
TC
108 </td>
109 </tr>
110 </table>
27feb834
TC
111 </form>
112 </td>
113 </tr>
114 </table>
115 </td>
116 </tr>
117</table>
a319d280 118<font face="Arial, Helvetica, sans-serif"><b><font size="4"> </font></b></font><:eif Or:>
684e0ce0 119<p><br>
27feb834
TC
120 <a href="/shop/index.html"><img src="/images/store/browse_more.gif" width="133" height="21" border="0"></a>
121</p><br>
122<:if Files:>
123<table border="0" cellspacing="0" cellpadding="0">
124 <tr>
125 <td>
126 <table border="0" cellspacing="0" cellpadding="4" bgcolor="#999999">
127 <tr>
128 <th nowrap><font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">&nbsp;&nbsp;Related
129 file downloads&nbsp;&nbsp;</font></th>
130 </tr>
131 </table>
132 </td>
133 </tr>
134 <tr>
135 <td bgcolor="#999999">
136 <table cellspacing="1" cellpadding="4">
137 <tr bgcolor="#CCCCCC">
12f68c14
TC
138 <th><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif">Description</font></th>
139 <th><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif">Filename</font></th>
140 <th><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif">Size</font></th>
141 <th><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif">Status</font></th>
27feb834
TC
142 </tr>
143 <:iterator begin files:>
144 <tr bgcolor="#FFFFFF">
31a26b52
TC
145 <td bgcolor="#FFFFFF"><font font color="#000000" face="Verdana, Arial, Helvetica, sans-serif" size="-2"><:file
146 description:></font></td>
147 <td bgcolor="#FFFFFF"><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif"><:if
da6bc286 148 File forSale:><:file displayName:><:or File:><a href="/cgi-bin/user.pl?download_file=1&file=<:file id:><:ifFile requireUser:>&r=<:url article:><:or:><:eif:>">
27feb834 149 <:file displayName:></a><:eif File:></font></td>
31a26b52 150 <td align="right"><font color="#000000" size="-2" face="Verdana, Arial, Helvetica, sans-serif"><:kb
27feb834 151 file sizeInBytes:></font></td>
12f68c14
TC
152 <td nowrap align="center"> <:if File forSale:><img src="/images/filestatus/locked.gif" width="15" height="15" alt="Locked" title="Locked"><img src="/images/filestatus/forSale.gif" width="15" height="15" alt="File must be purchased" title="File must be purchased"><:or
153 File:><a href="/cgi-bin/user.pl?download_file=1&file=<:file id:><:ifFile requireUser:>&r=<:url article:><:or:><:eif:>"><img src="/images/filestatus/download.gif" width="15" height="15" alt="Download now" title="Download now" border="0"></a><:ifFile
154 requireUser:><img src="/images/filestatus/requireUser.gif" width="15" height="15" alt="For registered users only" title="For registered users only"><:or:><img src="/images/trans_pixel.gif" width="15" height="15" title="For registered users only"><:eif:><:eif
155 File:></td>
27feb834 156 </tr>
12f68c14 157 <:iterator end files:> </table>
27feb834
TC
158 </td>
159 </tr>
160</table>
161<:or Files:><:eif Files:><:embed end:>