Source for file standard_forum_list.obj.php

Documentation is available at standard_forum_list.obj.php


1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 320371;
4 function objfile_320371 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_forum_list";
7 $objdata['content'] = "<table class=\"exttablebg\" width=\"100%\" cellspacing=\"1\">
8 <tr>
9 <th class=\"extheader\" colspan=\"2\">&nbsp;Emner&nbsp;</th>
10 <th class=\"extheader\">&nbsp;Forfatter&nbsp;</th>
11 <th class=\"extheader\">&nbsp;Antal svar&nbsp;</th>
12 <th class=\"extheader\">&nbsp;Vist&nbsp;</th>
13 <th class=\"extheader\">&nbsp;Skrevet/Seneste svar&nbsp;</th>
14 </tr>
15 <tr>
16 <td class=\"extdarkcell\" colspan=\"6\"><b>DEBATFORUM</b></td>
17 </tr>
18 {section loop=\$result name=\"i\"}
19 <tr>
20 <td class=\"extlightcell\" colspan=\"2\"><a href=\"showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}&_cmd=read&objectid={\$result[i].objectid}\">{\$result[i].name}</a></td>
21 <td class=\"extcolorcell\" width=\"100\" align=\"center\">{\$result[i].uname}</td>
22 <td class=\"extlightcell\" width=\"50\" align=\"center\">{\$result[i].numreply}</td>
23 <td class=\"extcolorcell\" width=\"50\" align=\"center\">{\$result[i].numread}</td>
24 <td class=\"extlightcell\" width=\"120\" align=\"center\">{\$result[i].lastreply}</td>
25 </tr>
26 {/section}
27 <tr>
28 <td class=\"extdarkcell\" colspan=\"6\"><input type=\"button\" onclick=\"location.href='showpage.php?pageid={\$document.objectid}&_ext={\$_ext}&_extcf={\$_extcf}&_cmd=add'\" value=\"Tilføj ny\" class=\"extbutton\"></td>
29 </tr>
30 </table>
31 ";
32 $objdata['param'] = "";
33 $objdata['setting'] = "";
34 $objdata['tpltype'] = "2";
35 $objdata['header'] = "";
36 $objdata['style'] = ".extcolorcell {
37 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #dce1e5
38 }
39 .extlightcell {
40 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #ececec
41 }
42 .extdarkcell {
43 PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px; BACKGROUND-COLOR: #c0c8d0
44 }
45 .extheader {
46 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
47 }
48 .exttablebg {
49 BACKGROUND-COLOR: #a9b8c2
50 }
51 .extmsgbody {
52 LINE-HEIGHT: 140%
53 }
54 .extbutton {
55 background-color: #c0c8d0; font-style: bold; font-size: 80%; font-weight: bold;
56 }";
57 $objdata['doctype'] = "0";
58 $obj->createObject($objdata);
59 return $obj;
60 }
61 ?>

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