1 |
{literal} |
2 |
<script type="text/javascript" language="JavaScript"> |
3 |
<!-- // begin |
4 |
function Select(e, obj) { |
5 |
// ... |
6 |
} |
7 |
function InsertTags(src, obj, t) { |
8 |
alert(t + ": not yet implemented."); |
9 |
src.blur(); |
10 |
if (!obj) return; |
11 |
var o = eval('document.forms[0].elements["'+obj+'"]'); |
12 |
if (!o) return; |
13 |
o.focus(); |
14 |
// ... |
15 |
} |
16 |
function Bold(src, obj) { InsertTags(src, obj, "B"); } |
17 |
function Italic(src, obj) { InsertTags(src, obj, "I"); } |
18 |
function Underline(src, obj) { InsertTags(src, obj, "U"); } |
19 |
// end --> |
20 |
</script> |
21 |
{/literal} |
22 |
|
23 |
<table width="100%" cellspacing=0 cellpadding=5 border=0> |
24 |
|
25 |
<!-- bigin mejn kontent --> |
26 |
<tr><td colspan=3 valign=top> |
27 |
{if ($top_edit)} |
28 |
<form action="{$FORM_ACTION}" method=post enctype="multipart/form-data"> |
29 |
<table border=1 cellspacing=0 cellpadding=2 width="100%" bgcolor="#E0E0E0"> |
30 |
{if ($top_empties)}<tr bgcolor="#C0C0FF"><td style="padding:10px"><tt><b>You have some empty paragraphs. For more information, review the notes marked <font color="#FF0000">red</font> below.<br><br>Click "<i>Preview</i>" below again to preview the article anyway.</b></tt></td></tr>{/if} |
31 |
<tr><td> |
32 |
<table border=0 cellspacing=0 cellpadding=3 width="100%"> |
33 |
<tr><td align=right><b>Title:</b></td><td colspan=3><input type=text onfocus="select();" class="small" size=30 name="top_title" value="{$top_title}" style="width:100%"></td></tr> |
34 |
<tr><td align=right valign=top><b>Lead:</b></td><td colspan=3><textarea name="top_lead" onfocus="select();" class="small" style="width:100%" cols=35 rows=3 wrap=virtual>{$top_lead}</textarea></td></tr> |
35 |
<tr><td align=right valign=middle><b>Category:</b></td><td colspan=3><select name="cat" class="small" style="width:100%">{section name=i loop=$categories}<option value="{$i/categories.id}"{if ($cat == $i/categories.id)} selected{/if}>{$i/categories.txt}</option>{/section}</select></td></tr> |
36 |
<tr><td align=right valign=top rowspan=2><b>Title picture:</b></td><td rowspan=2 valign=top>{if (! $top_clr_main)}<img src="{$newspicdir}{$top_titlepic_url}" alt="{$top_titlepic_alt}" border=0{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}><br>({$top_titlepic_name})<input type=hidden name="top_titlepic_url2" value="{$top_titlepic_url}"><input type=hidden name="top_titlepic_name" value="{$top_titlepic_name}">{else}<i>no picture</i>{/if}</td><td align=right width="25%"><b>Filename:</b></td><td><input type=file onfocus="select();" name="top_titlepic_url" size=10 class="small"> <input type=submit name="top_clear_main" value="Delete" class="small"{if ($top_clr_main)} disabled{/if}><input type=hidden name="top_clr_main" value="{$top_clr_main}"></td></tr><tr><td align=right><b>Alt:</b></td><td><input type=text onfocus="select();" class="small" size=15 name=top_titlepic_alt value="{$top_titlepic_alt}"></td></tr> |
37 |
<tr><td align=right valign=top><b>Title picture position:</b></td><td colspan=3> |
38 |
<table border=0 cellspacing=0 cellpadding=0> |
39 |
<tr> |
40 |
<td><input type=radio class="small" name="top_titlepic_type" value=1 title="Upper left"{if ($top_titlepic_type == 1)} checked{/if}></td> |
41 |
<td><input type=radio class="small" name="top_titlepic_type" value=2 title="Upper center"{if ($top_titlepic_type == 2)} checked{/if}></td> |
42 |
<td><input type=radio class="small" name="top_titlepic_type" value=3 title="Upper right"{if ($top_titlepic_type == 3)} checked{/if}></td> |
43 |
</tr> |
44 |
<tr> |
45 |
<td><input type=radio class="small" name="top_titlepic_type" value=4 title="Inline left"{if ($top_titlepic_type == 4)} checked{/if}></td> |
46 |
<td><input type=radio class="small" name="top_titlepic_type" value=0 title="No picture"{if (!$top_titlepic_type)} checked{/if}></td> |
47 |
<td><input type=radio class="small" name="top_titlepic_type" value=5 title="Inline right"{if ($top_titlepic_type == 5)} checked{/if}></td> |
48 |
</tr> |
49 |
<tr> |
50 |
<td><input type=radio class="small" name="top_titlepic_type" value=6 title="Lower left"{if ($top_titlepic_type == 6)} checked{/if}></td> |
51 |
<td><input type=radio class="small" name="top_titlepic_type" value=7 title="Lower center"{if ($top_titlepic_type == 7)} checked{/if}></td> |
52 |
<td><input type=radio class="small" name="top_titlepic_type" value=8 title="Lower right"{if ($top_titlepic_type == 8)} checked{/if}></td> |
53 |
</tr> |
54 |
</table></td> |
55 |
</tr> |
56 |
<td align=right><b>URL for more info:</b></td><td colspan=3 align=left><input type=text onfocus="select();" class="small" size=30 name="top_url" style="width:100%" value="{$top_url}"></td> |
57 |
<tr><td align=left colspan=4><br><br><b>Topic:</b> |
58 |
<dl><dd> |
59 |
{section name=i loop=$top_text} |
60 |
<hr width="100%" size=2> |
61 |
<table border=0 cellspacing=0 cellpadding=4 width="90%"> |
62 |
<tr><td align=left valign=top width="50%" colspan=2><b><i>Paragraph {%i.rownum%}:</i></b></td><td align=right width="50%" colspan=2><input type=submit name="top_delete_{$i/top_text.n}" value="Delete this paragraph" class="small"></td></tr> |
63 |
<tr><td align=right valign=middle>Level:</td><td><select name="top_text_level_{$i/top_text.n}" class="small">{section name=j loop=$levels}<option value="{$j/levels.id}"{if ($i/top_text.level == $j/levels.id)} selected{/if}>{$j/levels.name}</option>{/section}</select></td><td align=right valign=middle>Title:</td><td><input type=text onfocus="select();" class="small" size=20 name="top_text_title_{$i/top_text.n}" value="{$i/top_text.title}" style="width:100%"></td></tr> |
64 |
<tr><td align=right valign=top>Text:</td><td colspan=3><table border=0 cellspacing=0 cellpadding=1 width="100%"><tr><td rowspan=3 width="100%" align=center><textarea onfocus="select();" onselect="Select(event, 'top_text_{$i/top_text.n}');" name="top_text_{$i/top_text.n}" id="top_text_{$i/top_text.n}" class="small" style="width:100%" cols=35 rows=5 wrap=virtual>{$i/top_text.txt2}</textarea></td><td><input type=button value="B" title="Bold" class="btn_b" onclick="return Bold(this, 'top_text_{$i/top_text.n}');"></td></tr><tr><td><input type=button value="I" title="Italic" class="btn_i" onclick="return Italic(this, 'top_text_{$i/top_text.n}');"></td></tr><tr><td><input type=button value="U" title="Underline" class="btn_u" onclick="return Underline(this, 'top_text_{$i/top_text.n}');"></td></tr></table></td></tr> |
65 |
<tr><td align=right valign=top rowspan=2>Paragraph picture:</td><td valign=top rowspan=2>{if (! $i/top_text.clr)}<img src="{$newspicdir}{$i/top_text.url}" alt="{$i/top_text.alt}" border=0{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}><br>({$i/top_text.name})<input type=hidden name="top_textpic_url2_{$i/top_text.n}" value="{$i/top_text.url}"><input type=hidden name="top_textpic_name_{$i/top_text.n}" value="{$i/top_text.name}">{else}<i>no picture</i>{/if}</td><td align=right>Filename:</td><td><input type=file onfocus="select();" class="small" name="top_textpic_url_{$i/top_text.n}" size=10> <input type=submit class="small" name="top_clear_{$i/top_text.n}" value="Delete"{if ($i/top_text.clr)} disabled{/if}><input type=hidden name="top_clr_{$i/top_text.n}" value="{$i/top_text.clr}"></td></tr><tr><td align=right>Alt:</td><td><input type=text class="small" size=15 name="top_textpic_alt_{$i/top_text.n}" value="{$i/top_text.alt}"></td></tr> |
66 |
<tr><td align=right>Paragraph picture position:</td><td><table border=0 cellspacing=0 cellpadding=0> |
67 |
<tr> |
68 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=1 title="Upper left"{if ($i/top_text.type == 1)} checked{/if}></td> |
69 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=2 title="Upper center"{if ($i/top_text.type == 2)} checked{/if}></td> |
70 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=3 title="Upper right"{if ($i/top_text.type == 3)} checked{/if}></td> |
71 |
</tr> |
72 |
<tr> |
73 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=4 title="Inline left"{if ($i/top_text.type == 4)} checked{/if}></td> |
74 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=0 title="No picture"{if (! $i/top_text.type)} checked{/if}></td> |
75 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=5 title="Inline right"{if ($i/top_text.type == 5)} checked{/if}></td> |
76 |
</tr> |
77 |
<tr> |
78 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=6 title="Lower left"{if ($i/top_text.type == 6)} checked{/if}></td> |
79 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=7 title="Lower center"{if ($i/top_text.type == 7)} checked{/if}></td> |
80 |
<td><input type=radio class="small" name="top_textpic_type_{$i/top_text.n}" value=8 title="Lower right"{if ($i/top_text.type == 8)} checked{/if}></td> |
81 |
</tr> |
82 |
</table></td> |
83 |
<td colspan=2 align=right valign=bottom>{if ($i/top_text.empty)}<font color="#FF0000"><tt><b><i>WARNING:</i> this paragraph has neither text nor picture.</b></tt></font><input type=hidden name="top_text_force_{$i/top_text.n}" value=1>{else} {/if}</td> |
84 |
</tr> |
85 |
</table> |
86 |
{if (%i.index% >= %i.loop% - 1)}<hr width="100%" size=2>{/if} |
87 |
{sectionelse} |
88 |
<i>No paragraphs.</i> |
89 |
{/section} |
90 |
</dd></dl> |
91 |
</td></tr> |
92 |
<tr><td align=right colspan=4 class="small"><input type=submit name=add value="Append" class="small"> <select name="add_num" class="small"><option value=1>1</option><option value=2>2</option><option value=3>3</option><option value=4>4</option><option value=5>5</option><option value=6>6</option><option value=7>7</option><option value=8>8</option><option value=9>9</option><option value=10>10</option></select> new paragraph(s) <br> </td></tr> |
93 |
</table></td></tr> |
94 |
<tr><td align=right valign=bottom width="50%"> |
95 |
<input type=reset value="Revert"> |
96 |
<input type=submit name=preview value="Preview"> |
97 |
<input type=submit name=cancel value="Cancel"></td></tr> |
98 |
</table> |
99 |
{else} |
100 |
{if ($top_preview)}<form method=post action="{$FORM_ACTION}"><table border=1 cellspacing=0 cellpadding=5 width="100%"><tr><td>{/if} |
101 |
{if ($top_id || $top_edit || $top_preview)} |
102 |
{if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))} |
103 |
<p align={if ($top_titlepic_type == 1)}left{/if}{if ($top_titlepic_type == 2)}center{/if}{if ($top_titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p> |
104 |
{/if} |
105 |
{if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))} |
106 |
{if ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=left>{/if} |
107 |
{if ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=right>{/if} |
108 |
{/if} |
109 |
{if ($top_title)}<span class="topictitle">{$top_title}</span><br>{/if} |
110 |
{if ($top_lead)}<span class="topicsubtitle">{$top_lead}</span><br> {/if} |
111 |
{if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))} |
112 |
<p align={if ($top_titlepic_type == 6)}left{/if}{if ($top_titlepic_type == 7)}center{/if}{if ($top_titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p> |
113 |
{/if} |
114 |
<br> |
115 |
{if ($top_preview)} |
116 |
<input type=hidden name="top_id" value="{$top_id}"> |
117 |
<input type=hidden name="cat" value="{$cat}"> |
118 |
<input type=hidden name="top_title" value="{$top_title}"> |
119 |
<input type=hidden name="top_lead" value="{$top_lead}"> |
120 |
<input type=hidden name="top_titlepic_type" value="{$top_titlepic_type}"> |
121 |
<input type=hidden name="top_titlepic_url" value="{$top_titlepic_url}"> |
122 |
<input type=hidden name="top_titlepic_url2" value="{$top_titlepic_url}"> |
123 |
<input type=hidden name="top_titlepic_name" value="{$top_titlepic_name}"> |
124 |
<input type=hidden name="top_titlepic_alt" value="{$top_titlepic_alt}"> |
125 |
<input type=hidden name="top_url" value="{$top_url}"> |
126 |
<input type=hidden name="top_clr_main" value="{$top_clr_main}"> |
127 |
{/if} |
128 |
{if ($top_preview)} |
129 |
{section name=i loop=$top_text} |
130 |
{if ($i/top_text.url && ($i/top_text.type == 1 || $i/top_text.type == 2 || $i/top_text.type == 3))} |
131 |
<p align={if ($i/top_text.type == 1)}left{/if}{if ($i/top_text.type == 2)}center{/if}{if ($i/top_text.type == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p> |
132 |
{/if} |
133 |
<p class="ptitle">{if ($i/top_text.class)}<span class="{$i/top_text.class}">{/if}{$i/top_text.title}{if ($i/top_text.class)}</span>{/if}</p> |
134 |
<p class="ptext"> |
135 |
{if ($i/top_text.url && ($i/top_text.type == 4 || $i/top_text.type == 5))} |
136 |
{if ($i/top_text.type == 4)}<img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=left>{/if} |
137 |
{if ($i/top_text.type == 5)}<img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=right>{/if} |
138 |
{/if} |
139 |
{$i/top_text.text} |
140 |
</p> |
141 |
{if ($i/top_text.url && ($i/top_text.type == 6 || $i/top_text.type == 7 || $i/top_text.type == 8))} |
142 |
<p align={if ($i/top_text.type == 6)}left{/if}{if ($i/top_text.type == 7)}center{/if}{if ($i/top_text.type == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p> |
143 |
{/if} |
144 |
{if ($top_preview)} |
145 |
<input type=hidden name="top_text_{$i/top_text.n}" value="{$i/top_text.txt2}"> |
146 |
<input type=hidden name="top_text_title_{$i/top_text.n}" value="{$i/top_text.title}"> |
147 |
<input type=hidden name="top_text_level_{$i/top_text.n}" value="{$i/top_text.level}"> |
148 |
<input type=hidden name="top_textpic_url_{$i/top_text.n}" value="{$i/top_text.url}"> |
149 |
<input type=hidden name="top_textpic_url2_{$i/top_text.n}" value="{$i/top_text.url}"> |
150 |
<input type=hidden name="top_textpic_name_{$i/top_text.n}" value="{$i/top_text.name}"> |
151 |
<input type=hidden name="top_textpic_alt_{$i/top_text.n}" value="{$i/top_text.alt}"> |
152 |
<input type=hidden name="top_textpic_type_{$i/top_text.n}" value="{$i/top_text.type}"> |
153 |
<input type=hidden name="top_clr_{$i/top_text.n}" value="{$i/top_text.clr}"> |
154 |
{/if} |
155 |
{/section} |
156 |
{else} |
157 |
{section name=i loop=1} |
158 |
{if ($i/top_text.url && ($i/top_text.type == 1 || $i/top_text.type == 2 || $i/top_text.type == 3))} |
159 |
<p align={if ($i/top_text.type == 1)}left{/if}{if ($i/top_text.type == 2)}center{/if}{if ($i/top_text.type == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p> |
160 |
{/if} |
161 |
<p class="ptitle">{if ($i/top_text.class)}<span class="{$i/top_text.class}">{/if}{$i/top_text.title}{if ($i/top_text.class)}</span>{/if}</p> |
162 |
<p class="ptext"> |
163 |
{if ($i/top_text.url && ($i/top_text.type == 4 || $i/top_text.type == 5))} |
164 |
{if ($i/top_text.type == 4)}<img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=left>{/if} |
165 |
{if ($i/top_text.type == 5)}<img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=right>{/if} |
166 |
{/if} |
167 |
{$i/top_text.text} |
168 |
</p> |
169 |
{if ($i/top_text.url && ($i/top_text.type == 6 || $i/top_text.type == 7 || $i/top_text.type == 8))} |
170 |
<p align={if ($i/top_text.type == 6)}left{/if}{if ($i/top_text.type == 7)}center{/if}{if ($i/top_text.type == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.url}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p> |
171 |
{/if} |
172 |
{/section} |
173 |
{/if} |
174 |
{else} |
175 |
<br><br><i>No articles.</i> |
176 |
{/if} |
177 |
<p align=right><small> |
178 |
{if ($top_url || ($top_more && ! $top_preview))}[ {/if}{if ($top_more && ! $top_preview)}<a href="?section={$section}&id={$top_id}&cat=t&show=1" class="more">read article</a>{/if}{if ($top_url && ($top_more && ! $top_preview))} | {/if}{if ($top_url)}<a href="{$top_url}" class="more"{if ($top_preview)} target="_blank"{/if}>more info</a>{/if}{if ($top_url || ($top_more && ! $top_preview))} ]<br>{/if} |
179 |
{if (! $top_edit && ! $top_preview)}[ {if ($top_id)}<a href="?section={$section}&cat=t&top_id={$top_id}&top_edit=1" class="more">edit article</a> | <a href="?section={$section}&del_id={$top_id}" class="more" onclick="return confirm('Are you sure?');">delete article</a> | {/if}<a href="?section={$section}&cat=t&top_id=0&top_edit=1" class="more">new article</a> ]{/if} |
180 |
</small></p> |
181 |
{if ($top_preview)}</td></tr><tr bgcolor="#E0E0E0"><td align=right> |
182 |
<input type=submit name=top_edit value="Re-edit"> |
183 |
<input type=submit name=save value="Save"{if ($top_empty)} disabled{/if}> |
184 |
<input type=submit name=cancel value="Cancel"> |
185 |
</td></tr></table>{/if} |
186 |
{/if} |
187 |
{if ($top_edit || $top_preview)} |
188 |
{section name=i loop=$top_records} |
189 |
<input type=hidden name="top_text_id_{%i.rownum%}" value="{$i/top_records.id}"> |
190 |
<input type=hidden name="top_del_{%i.rownum%}" value="{$i/top_records.val}"> |
191 |
{/section} |
192 |
</form> |
193 |
{/if} |
194 |
<br></td></tr> |
195 |
<!-- end mejn kontent --> |
196 |
|
197 |
<!-- bigin njuz --> |
198 |
<tr> |
199 |
<td style="padding:0" bgcolor="#459FD6" align=left width="50%"><img src="img/newz01.gif" width="214" height="16" alt="" border="0"></td> |
200 |
<td style="padding:0" rowspan=2 width=1><table border=0 cellspacing=0 cellpadding=0 width="100%" height="100%" bgcolor="#999999"><tr><td><img src="img/klir.gif" alt="" width=1 border="0"></td></tr></table></td> |
201 |
<td style="padding:0" bgcolor="#A687B6" align=right width="50%"><img src="img/newz02.gif" width="214" height="16" alt="" border="0"></td> |
202 |
</tr> |
203 |
<tr> |
204 |
|
205 |
<!-- bigin vrld njuz --> |
206 |
<td valign=top><br> |
207 |
{section name=i loop=$wn} |
208 |
{if ($i/wn.titlepictype == 1 || $i/wn.titlepictype == 2 || $i/wn.titlepictype == 3)} |
209 |
<p align={if ($i/wn.titlepictype == 1)}left{/if}{if ($i/wn.titlepictype == 2)}center{/if}{if ($i/wn.titlepictype == 3)}right{/if}><img src="{$newspicdir}{$i/wn.titlepicurl}" border=0 alt="{$i/wn.titlepicalt}"{if ($i/wn.titlepicwidth)} width={$i/wn.titlepicwidth}{/if}{if ($i/wn.titlepicheight)} height={$i/wn.titlepicheight}{/if}></p> |
210 |
{/if} |
211 |
{if ($i/wn.titlepictype == 4 || $i/wn.titlepictype == 5)} |
212 |
{if ($i/wn.titlepictype == 4)}<img src="{$newspicdir}{$i/wn.titlepicurl}" border=0 alt="{$i/wn.titlepicalt}"{if ($i/wn.titlepicwidth)} width={$i/wn.titlepicwidth}{/if}{if ($i/wn.titlepicheight)} height={$i/wn.titlepicheight}{/if} align=left>{/if} |
213 |
{if ($i/wn.titlepictype == 5)}<img src="{$newspicdir}{$i/wn.titlepicurl}" border=0 alt="{$i/wn.titlepicalt}"{if ($i/wn.titlepicwidth)} width={$i/wn.titlepicwidth}{/if}{if ($i/wn.titlepicheight)} height={$i/wn.titlepicheight}{/if} align=right>{/if} |
214 |
{/if} |
215 |
<span class="newzworld">{$i/wn.title}</span><br> |
216 |
<span class="newzworldsub">{$i/wn.lead}</span> |
217 |
{if ($i/wn.titlepictype == 6 || $i/wn.titlepictype == 7 || $i/wn.titlepictype == 8)} |
218 |
<p align={if ($i/wn.titlepictype == 6)}left{/if}{if ($i/wn.titlepictype == 7)}center{/if}{if ($i/wn.titlepictype == 8)}right{/if}><img src="{$newspicdir}{$i/wn.titlepicurl}" border=0 alt="{$i/wn.titlepicalt}"{if ($i/wn.titlepicwidth)} width={$i/wn.titlepicwidth}{/if}{if ($i/wn.titlepicheight)} height={$i/wn.titlepicheight}{/if}></p> |
219 |
{/if} |
220 |
{if ($i/wn.textpictype == 1 || $i/wn.textpictype == 2 || $i/wn.textpictype == 3)} |
221 |
<p align={if ($i/wn.textpictype == 1)}left{/if}{if ($i/wn.textpictype == 2)}center{/if}{if ($i/wn.textpictype == 3)}right{/if}><img src="{$newspicdir}{$i/wn.textpicurl}" border=0 alt="{$i/wn.textpicalt}"{if ($i/wn.textpicwidth)} width={$i/wn.textpicwidth}{/if}{if ($i/wn.textpicheight)} height={$i/wn.textpicheight}{/if}></p> |
222 |
{/if} |
223 |
{if (($i/wn.textpictype == 4 || $i/wn.textpictype == 5) && %p.rownum% == 1)} |
224 |
<p align=left style="text-indent:15px"> |
225 |
{if ($i/wn.textpictype == 4)}<img src="{$newspicdir}{$i/wn.textpicurl}" border=0 alt="{$i/wn.textpicalt}"{if ($i/wn.textpicwidth)} width={$i/wn.textpicwidth}{/if}{if ($i/wn.textpicheight)} height={$i/wn.textpicheight}{/if} align=left>{/if} |
226 |
{if ($i/wn.textpictype == 5)}<img src="{$newspicdir}{$i/wn.textpicurl}" border=0 alt="{$i/wn.textpicalt}"{if ($i/wn.textpicwidth)} width={$i/wn.textpicwidth}{/if}{if ($i/wn.textpicheight)} height={$i/wn.textpicheight}{/if} align=right>{/if} |
227 |
</p> |
228 |
{/if} |
229 |
{if ($i/wn.textpictype == 6 || $i/wn.textpictype == 7 || $i/wn.textpictype == 8)} |
230 |
<p align={if ($i/wn.textpictype == 6)}left{/if}{if ($i/wn.textpictype == 7)}center{/if}{if ($i/wn.textpictype == 8)}right{/if}><img src="{$newspicdir}{$i/wn.textpicurl}" border=0 alt="{$i/wn.textpicalt}"{if ($i/wn.textpicwidth)} width={$i/wn.textpicwidth}{/if}{if ($i/wn.textpicheight)} height={$i/wn.textpicheight}{/if}></p> |
231 |
{/if} |
232 |
{if ($i/wn.url || ! $i/wn.preview || ($i/wn.more && ! $i/wn.preview))}<p align=right><small>[ {/if}{if ($i/wn.more && ! $i/wn.preview)}<a href="?section={$section}&id={$i/wn.id}&cat=w&show=1" class="more">read article</a>{/if}{if ($i/wn.more && ! $i/wn.preview)} | {/if}{if ($i/wn.url)}<a href="{$i/wn.url}" class="more"{if ($i/wn.preview)} target="_blank"{/if}>more info</a>{/if}{if (! $i/wn.preview && $i/wn.url)} | {/if} {if (! $i/wn.preview)}<a href="?section={$section}&wn_id={$i/wn.id}&wn_edit=1" class="more">edit</a>{/if}{if ($i/wn.url || ! $i/wn.preview)} ]</small></p>{/if} |
233 |
<br> |
234 |
{sectionelse} |
235 |
<i>No articles.</i><br><br> |
236 |
{/section} |
237 |
</td> |
238 |
<!-- end vrld njuz --> |
239 |
|
240 |
<!-- bigin pliva njuz --> |
241 |
<td valign=top><br> |
242 |
{section name=i loop=$pn} |
243 |
{if ($i/pn.titlepictype == 1 || $i/pn.titlepictype == 2 || $i/pn.titlepictype == 3)} |
244 |
<p align={if ($i/pn.titlepictype == 1)}left{/if}{if ($i/pn.titlepictype == 2)}center{/if}{if ($i/pn.titlepictype == 3)}right{/if}><img src="{$newspicdir}{$i/pn.titlepicurl}" border=0 alt="{$i/pn.titlepicalt}"{if ($i/pn.titlepicwidth)} width={$i/pn.titlepicwidth}{/if}{if ($i/pn.titlepicheight)} height={$i/pn.titlepicheight}{/if}></p> |
245 |
{/if} |
246 |
{if ($i/pn.titlepictype == 4 || $i/pn.titlepictype == 5)} |
247 |
{if ($i/pn.titlepictype == 4)}<img src="{$newspicdir}{$i/pn.titlepicurl}" border=0 alt="{$i/pn.titlepicalt}"{if ($i/pn.titlepicwidth)} width={$i/pn.titlepicwidth}{/if}{if ($i/pn.titlepicheight)} height={$i/pn.titlepicheight}{/if} align=left>{/if} |
248 |
{if ($i/pn.titlepictype == 5)}<img src="{$newspicdir}{$i/pn.titlepicurl}" border=0 alt="{$i/pn.titlepicalt}"{if ($i/pn.titlepicwidth)} width={$i/pn.titlepicwidth}{/if}{if ($i/pn.titlepicheight)} height={$i/pn.titlepicheight}{/if} align=right>{/if} |
249 |
{/if} |
250 |
<span class="newzpliva">{$i/pn.title}</span><br> |
251 |
<span class="newzplivasub">{$i/pn.lead}</span> |
252 |
{if ($i/pn.titlepictype == 6 || $i/pn.titlepictype == 7 || $i/pn.titlepictype == 8)} |
253 |
<p align={if ($i/pn.titlepictype == 6)}left{/if}{if ($i/pn.titlepictype == 7)}center{/if}{if ($i/pn.titlepictype == 8)}right{/if}><img src="{$newspicdir}{$i/pn.titlepicurl}" border=0 alt="{$i/pn.titlepicalt}"{if ($i/pn.titlepicwidth)} width={$i/pn.titlepicwidth}{/if}{if ($i/pn.titlepicheight)} height={$i/pn.titlepicheight}{/if}></p> |
254 |
{/if} |
255 |
{if ($i/pn.textpictype == 1 || $i/pn.textpictype == 2 || $i/pn.textpictype == 3)} |
256 |
<p align={if ($i/pn.textpictype == 1)}left{/if}{if ($i/pn.textpictype == 2)}center{/if}{if ($i/pn.textpictype == 3)}right{/if}><img src="{$newspicdir}{$i/pn.textpicurl}" border=0 alt="{$i/pn.textpicalt}"{if ($i/pn.textpicwidth)} width={$i/pn.textpicwidth}{/if}{if ($i/pn.textpicheight)} height={$i/pn.textpicheight}{/if}></p> |
257 |
{/if} |
258 |
{if (($i/pn.textpictype == 4 || $i/pn.textpictype == 5) && %p.rownum% == 1)} |
259 |
<p align=left style="text-indent:15px"> |
260 |
{if ($i/pn.textpictype == 4)}<img src="{$newspicdir}{$i/pn.textpicurl}" border=0 alt="{$i/pn.textpicalt}"{if ($i/pn.textpicwidth)} width={$i/pn.textpicwidth}{/if}{if ($i/pn.textpicheight)} height={$i/pn.textpicheight}{/if} align=left>{/if} |
261 |
{if ($i/pn.textpictype == 5)}<img src="{$newspicdir}{$i/pn.textpicurl}" border=0 alt="{$i/pn.textpicalt}"{if ($i/pn.textpicwidth)} width={$i/pn.textpicwidth}{/if}{if ($i/pn.textpicheight)} height={$i/pn.textpicheight}{/if} align=right>{/if} |
262 |
</p> |
263 |
{/if} |
264 |
{if ($i/pn.textpictype == 6 || $i/pn.textpictype == 7 || $i/pn.textpictype == 8)} |
265 |
<p align={if ($i/pn.textpictype == 6)}left{/if}{if ($i/pn.textpictype == 7)}center{/if}{if ($i/pn.textpictype == 8)}right{/if}><img src="{$newspicdir}{$i/pn.textpicurl}" border=0 alt="{$i/pn.textpicalt}"{if ($i/pn.textpicwidth)} width={$i/pn.textpicwidth}{/if}{if ($i/pn.textpicheight)} height={$i/pn.textpicheight}{/if}></p> |
266 |
{/if} |
267 |
{if ($i/pn.url || ! $i/pn.preview || ($i/pn.more && ! $i/pn.preview))}<p align=right><small>[ {/if}{if ($i/pn.more && ! $i/pn.preview)}<a href="?section={$section}&id={$i/pn.id}&cat=p&show=1" class="more">read article</a>{/if}{if ($i/pn.more && ! $i/pn.preview)} | {/if}{if ($i/pn.url)}<a href="{$i/pn.url}" class="more"{if ($i/pn.preview)} target="_blank"{/if}>more info</a>{/if}{if (! $i/pn.preview && $i/pn.url)} | {/if} {if (! $i/pn.preview)}<a href="?section={$section}&pn_id={$i/pn.id}&pn_edit=1" class="more">edit</a>{/if}{if ($i/pn.url || ! $i/pn.preview)} ]</small></p>{/if} |
268 |
<br> |
269 |
{sectionelse} |
270 |
<i>No articles.</i><br><br> |
271 |
{/section} |
272 |
</td> |
273 |
<!-- end pliva njuz --> |
274 |
|
275 |
</tr> |
276 |
<!-- end njuz --> |
277 |
|
278 |
</table> |