Source for file standard_shop_item.obj.php

Documentation is available at standard_shop_item.obj.php


1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 314148;
4 function objfile_314148 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_shop_item";
7 $objdata['content'] = "<table class=\"extshoptablebg\" width=\"100%\" cellspacing=\"1\">
8 <tr>
9 <th class=\"extshopheader\">&nbsp;Varenr&nbsp;</th>
10 <th class=\"extshopheader\">&nbsp;Varetekst&nbsp;</th>
11 {if \$result.viewdisc == true}
12 <th class=\"extshopheader\">&nbsp;Normalpris&nbsp;</th>
13 <th class=\"extshopheader\">&nbsp;Rabat&nbsp;</th>
14 {/if}
15 <th class=\"extshopheader\">&nbsp;Pris&nbsp;</th>
16 <th class=\"extshopheader\">&nbsp;Bestil&nbsp;</th>
17 </tr>
18 <tr>
19 <td class=\"extshopdarkcell\" colspan=\"10\"><div style=\"float: right\">{include file=\"standard_shop_nav\"}</div></td>
20 </tr>
21 <tr>
22 <td class=\"extshoplightcell\" width=\"15%\" valign=\"top\" nowrap><b>{\$result.item.name}</b></td>
23 <td class=\"extshoplightcell\" width=\"70%\" valign=\"top\"><b>{\$result.item.content1}</b></td>
24 {if \$result.viewdisc == true}
25 <td class=\"extshoplightcell\" width=\"15%\" valign=\"top\" align=\"right\" nowrap>({\$result.item.price}) <strong>{\$result.item.pricevat}</strong></td>
26 <td class=\"extshoplightcell\" width=\"15%\" valign=\"top\" align=\"right\" nowrap>({\$result.item.disc}) <strong>{\$result.item.discvat}</td>
27 {/if}
28 <td class=\"extshoplightcell\" width=\"15%\" valign=\"top\" align=\"right\" nowrap>({\$result.item.actpricecur}) <strong>{\$result.item.actpricecurvat}</strong></td>
29 <td class=\"extshoplightcell\" width=\"15%\" valign=\"top\" align=\"right\" nowrap><form action=\"{\$me}\" method=\"post\" style=\"margin: 0px;\">
30 <input type=\"hidden\" name=\"_ext\" value=\"{\$_ext}\">
31 <input type=\"hidden\" name=\"_extcf\" value=\"{\$_extcf}\">
32 <input type=\"hidden\" name=\"_ext_itemid\" value=\"{\$request._ext_itemid}\">
33 <input type=\"hidden\" name=\"_ext_parentid\" value=\"{\$request._ext_parentid}\">
34 <input type=\"hidden\" name=\"_ext_goto\" value=\"item\">
35 <input type=\"hidden\" name=\"_cmd\" value=\"add\">
36 <input type=\"text\" style=\"width:20px;\" name=\"_ext_num\">
37 <input type=\"image\" src=\"img/design/standard/basket.gif\" border=\"0\"></form>
38 </td>
39 </tr>
40 <tr>
41 <td class=\"extshoplightcell\" valign=\"top\"></td>
42 <td class=\"extshoplightcell\" valign=\"top\">{\$result.item.content2}</td>
43 <td class=\"extshoplightcell\" valign=\"top\" align=\"center\" colspan=\"10\"><a target=\"_blank\" href=\"getfile.php?objectid={\$result.item.image1}\"><img src=\"getfilethumb.php?objectid={\$result.item.image1}\" border=\"0\"></A><BR><a target=\"_blank\" href=\"getfile.php?objectid={\$result.item.image1}\">Klik for stort billede</A></td>
44 </tr>
45 <tr>
46 <td class=\"extshopdarkcell\" colspan=\"10\">&nbsp;</td>
47 </tr>
48 </table>";
49 $objdata['param'] = "";
50 $objdata['setting'] = "";
51 $objdata['tpltype'] = "2";
52 $objdata['header'] = "";
53 $objdata['style'] = ".extshoptablebg {
54 BACKGROUND-COLOR: #a9b8c2
55 }
56 .extshopcolorcell {
57 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #dce1e5
58 }
59 .extshoplightcell {
60 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #ececec
61 }
62 .extshopdarkcell {
63 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #c0c8d0
64 }
65 .extshopheader {
66 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-WEIGHT: bold; FONT-SIZE: 85%; BACKGROUND-IMAGE: url(img/design/standard/extbg.gif); COLOR: #ffffff; WHITE-SPACE: nowrap; HEIGHT: 24px; BACKGROUND-COLOR: #006699
67 }
68 .extshopbutton {
69 background-color: #c0c8d0; font-style: bold; font-size: 80%; font-weight: bold;
70 }";
71 $objdata['doctype'] = "0";
72 $obj->createObject($objdata);
73 return $obj;
74 }
75 ?>

Documentation generated on Thu, 9 Jun 2005 06:53:27 +0200 by phpDocumentor 1.2.3