source: trunk/www.guidonia.net/wp/wp-content/plugins/odlinks/themes/default/body.tpl@ 44

Last change on this file since 44 was 44, checked in by luciano, 15 years ago
File size: 3.7 KB
Line 
1{include file='header.tpl'}
2
3<div class="odl_list">
4 <div class="odl_list_top">
5 <div class="odl_search">
6 <form method="get" id="odl_addlink_post" name="odl_addlink_post" action="{$odl_search_link}">
7 <table><tr><td>
8 <input type="text" name="search_terms" size="30" value="{$search_terms}">
9 <input type="submit" value="Search">&nbsp;{$odl_advanced}
10 </td></tr>
11 <tr><td align="left">
12 Links:&nbsp;<input type="radio" value="links" name="type">&nbsp;&nbsp;
13 Description:&nbsp;<input type="radio" value="desc" name="type">&nbsp;&nbsp;
14 All:&nbsp;<input type="radio" value="desc" name="type" checked>&nbsp;&nbsp;
15 </td></tr></table>
16 </form>
17 </div>
18 {if $cat_id > "0"}
19 <P>
20 <p class="odl_head_navi"><b>{$odl_main_link}</b>:{$navigation_link}</p>
21 {if ($odl_navigation_description)}
22 <span class ="odl_navigation_description">{$odl_navigation_description}</span>
23 {/if}
24 {/if}
25 {if ($addurl_link)}
26 <span class="odl_head_addurl"><img src="{$odl_images}/images/addtopic.jpg">{$addurl_link}</span>
27 {/if}
28 </div>
29</div>
30
31<P>
32<div class="odl_container">
33 <div class="odl_editform">
34 {if $error}
35 <b>{$error}</b><hr>
36 {/if}
37 </div>
38 <div class="main-content">
39 {if ($cat_id != 0) && ($cat_desc <> "")}
40 Description<br />{$cat_desc}
41 {/if}
42
43 {if $googletop}
44 {$googleAd}
45 {/if}
46
47 {if $categories}
48 <h3>Categories</h3></td>
49 <table border="0" width="100%" class="tbody" cellspacing="1" cellpadding="1">
50 <tr>
51 <td width="100%">
52 <table border="0" width="97%" cellspacing="3" cellpadding="3"><tr>
53 {foreach from=$categories name=categories item=cat key=cats}
54 <td valign="top" width="50%">
55
56 <img src="{$odl_images}/images/folder.gif"><b>{$cat.cat_link}</b>({$cat.c_links})<br>
57 {if $subcategories}
58 <table border="0"><tr><td>&nbsp;&nbsp;&nbsp;
59 {foreach from=$subcategories item=sub key=subs name=subcount}
60 {if $sub.c_parent==$cat.c_id}
61 {if $sub.c_no<4}
62 {$sub.c_path}
63 {else}.{/if}
64 {/if}
65 {foreachelse}
66 No items were found.
67 {/foreach}
68 </td></tr></table>
69
70 {/if}
71 </td>
72 {if $smarty.foreach.categories.iteration is div by 2}
73 </tr><tr>
74 {elseif not $smarty.foreach.categories.last}
75 <td>&nbsp;</td>
76 {/if}
77 {/foreach}
78 </tr></table>
79 </td>
80 </tr>
81 </table>
82 {else}
83 <BR />
84 {/if}
85 {if $links}
86 <h3>Links</h3>
87 {foreach from=$links item=item key=key}
88 <div class="viewlink">
89 <table border=0><td valign="top"><a href="{$item.url}" class="previewlink" target=_blank>&nbsp;&nbsp;&nbsp;</a></td>
90 <td><!--img src="{$odl_images}/images/link.jpg"--><b><a href="{$item.url}" target=_blank>{$item.title}</a></b>&nbsp;<span class ="smallTxt">Added: {$item.date}</span><br/>
91 {if $item.description <> ""}{$item.description}</td></tr>
92 <tr><td></td><td>
93 <br>
94 <img src="{$odl_images}/images/favourite.gif"><a href="javascript:addbookmark('{$item.url}','{$item.title}');"><font color="#840000">Add to Favourite</font></a>
95 &nbsp;&nbsp;<img src="{$odl_images}/images/refer.gif">{$item.sendlink}
96 &nbsp;&nbsp;{$item.rank_txt}<img src="{$odl_images}/images/{$item.rank_img}">
97 </td></tr></table>
98 {/if}
99 </div>
100 {/foreach}
101 {/if}
102 <BR />
103 <BR />
104 {if $new_links}
105 <h3>Last {$linksNum} links posted...</h3>
106 {foreach from=$new_links item=item key=key}
107 <a href="{$item.url}" class="previewlink" target=_blank>&nbsp;&nbsp;&nbsp;</a><a href="{$item.url}" target=_blank>{$item.title}</a>&nbsp;
108 <div class="smallTxt">({$item.category}&nbsp;[{$item.date}])</div><br />
109 {/foreach}
110 {/if}
111 <BR />
112 {if $googlebtn}
113 <div class="odl_googleAd">{$odl_googleAd}</div>
114 {/if}
115 <h3>Legend</h3>
116 <span class ="smallTxt">Categories: {$categories_total}, Links: {$links_total}</span>
117
118{include file='footer.tpl'}
Note: See TracBrowser for help on using the repository browser.