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"> {$odl_advanced}
|
---|
10 | </td></tr>
|
---|
11 | <tr><td align="left">
|
---|
12 | Links: <input type="radio" value="links" name="type">
|
---|
13 | Description: <input type="radio" value="desc" name="type">
|
---|
14 | All: <input type="radio" value="desc" name="type" checked>
|
---|
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>
|
---|
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> </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> </a></td>
|
---|
90 | <td><!--img src="{$odl_images}/images/link.jpg"--><b><a href="{$item.url}" target=_blank>{$item.title}</a></b> <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 | <img src="{$odl_images}/images/refer.gif">{$item.sendlink}
|
---|
96 | {$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> </a><a href="{$item.url}" target=_blank>{$item.title}</a>
|
---|
108 | <div class="smallTxt">({$item.category} [{$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'}
|
---|