1 | <?php /* Smarty version 2.6.13, created on 2007-01-10 00:00:15 |
---|
2 | compiled from contents/index.tpl */ ?> |
---|
3 | <?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php'); |
---|
4 | smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'contents/index.tpl', 95, false),array('modifier', 'str_replace', 'contents/index.tpl', 251, false),array('modifier', 'nl2br', 'contents/index.tpl', 253, false),array('function', 'html_options', 'contents/index.tpl', 145, false),)), $this); ?> |
---|
5 | <script type="text/javascript">
|
---|
6 | <!--
|
---|
7 |
|
---|
8 | function func_regist(url) {
|
---|
9 | res = confirm('¤³¤ÎÆâÍƤÇ<?php if ($this->_tpl_vars['edit_mode'] == 'on'): ?>ÊÔ½¸<?php else: ?>ÅÐÏ¿<?php endif; ?>¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');
|
---|
10 | if(res == true) {
|
---|
11 | document.form1.mode.value = 'regist';
|
---|
12 | document.form1.submit();
|
---|
13 | return false;
|
---|
14 | }
|
---|
15 | return false;
|
---|
16 | }
|
---|
17 |
|
---|
18 | function func_edit(news_id) {
|
---|
19 | document.form1.mode.value = "search";
|
---|
20 | document.form1.news_id.value = news_id;
|
---|
21 | document.form1.submit();
|
---|
22 | }
|
---|
23 |
|
---|
24 | function func_del(news_id) {
|
---|
25 | res = confirm('¤³¤Î¿·Ãå¾ðÊó¤òºï½ü¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«¡©');
|
---|
26 | if(res == true) {
|
---|
27 | document.form1.mode.value = "delete";
|
---|
28 | document.form1.news_id.value = news_id;
|
---|
29 | document.form1.submit();
|
---|
30 | }
|
---|
31 | return false;
|
---|
32 | }
|
---|
33 |
|
---|
34 | function func_rankMove(term,news_id) {
|
---|
35 | document.form1.mode.value = "move";
|
---|
36 | document.form1.news_id.value = news_id;
|
---|
37 | document.form1.term.value = term;
|
---|
38 | document.form1.submit();
|
---|
39 | }
|
---|
40 |
|
---|
41 | function moving(news_id,rank, max_rank) {
|
---|
42 |
|
---|
43 | var val;
|
---|
44 | var ml;
|
---|
45 | var len;
|
---|
46 |
|
---|
47 | ml = document.move;
|
---|
48 | len = document.move.elements.length;
|
---|
49 | j = 0;
|
---|
50 | for( var i = 0 ; i < len ; i++) {
|
---|
51 | if ( ml.elements[i].name == 'position' && ml.elements[i].value != "" ) {
|
---|
52 | val = ml.elements[i].value;
|
---|
53 | j ++;
|
---|
54 | }
|
---|
55 | }
|
---|
56 |
|
---|
57 | if ( j > 1) {
|
---|
58 | alert( '°ÜÆ°½ç°Ì¤Ï£±¤Ä¤À¤±ÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
|
---|
59 | return false;
|
---|
60 | } else if( ! val ) {
|
---|
61 | alert( '°ÜÆ°½ç°Ì¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
|
---|
62 | return false;
|
---|
63 | } else if( val.length > 4){
|
---|
64 | alert( '°ÜÆ°½ç°Ì¤Ï4·å°ÊÆâ¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
|
---|
65 | return false;
|
---|
66 | } else if( val.match(/[0-9]+/g) != val){
|
---|
67 | alert( '°ÜÆ°½ç°Ì¤Ï¿ô»ú¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
|
---|
68 | return false;
|
---|
69 | } else if( val == rank ){
|
---|
70 | alert( '°ÜÆ°¤µ¤»¤ëÈֹ椬½ÅÊ£¤·¤Æ¤¤¤Þ¤¹¡£' );
|
---|
71 | return false;
|
---|
72 | } else if( val == 0 ){
|
---|
73 | alert( '°ÜÆ°½ç°Ì¤Ï0°Ê¾å¤ÇÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£' );
|
---|
74 | return false;
|
---|
75 | } else if( val > max_rank ){
|
---|
76 | alert( 'ÆþÎϤµ¤ì¤¿½ç°Ì¤Ï¡¢ÅÐÏ¿¿ô¤ÎºÇÂçÃͤòĶ¤¨¤Æ¤¤¤Þ¤¹¡£' );
|
---|
77 | return false;
|
---|
78 | } else {
|
---|
79 | ml.moveposition.value = val;
|
---|
80 | ml.rank.value = rank;
|
---|
81 | ml.news_id.value = news_id;
|
---|
82 | ml.submit();
|
---|
83 | return false;
|
---|
84 | }
|
---|
85 | }
|
---|
86 |
|
---|
87 | //-->
|
---|
88 | </script>
|
---|
89 |
|
---|
90 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|
91 | <table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
92 | <form name="form1" id="form1" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
93 | ">
|
---|
94 | <input type="hidden" name="mode" value="">
|
---|
95 | <input type="hidden" name="news_id" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['news_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
96 | ">
|
---|
97 | <input type="hidden" name="term" value="">
|
---|
98 | <tr valign="top">
|
---|
99 | <td background="<?php echo @URL_DIR; ?> |
---|
100 | img/contents/navi_bg.gif" height="402">
|
---|
101 | <!--¢§SUB NAVI-->
|
---|
102 | <?php $_smarty_tpl_vars = $this->_tpl_vars; |
---|
103 | $this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['tpl_subnavi'], 'smarty_include_vars' => array())); |
---|
104 | $this->_tpl_vars = $_smarty_tpl_vars; |
---|
105 | unset($_smarty_tpl_vars); |
---|
106 | ?>
|
---|
107 | <!--¢¥SUB NAVI-->
|
---|
108 | </td>
|
---|
109 | <td class="mainbg">
|
---|
110 | <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
111 | <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
112 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
113 | <tr>
|
---|
114 | <td align="center">
|
---|
115 | <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
116 |
|
---|
117 | <tr><td height="14"></td></tr>
|
---|
118 | <tr>
|
---|
119 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
120 | img/contents/main_top.jpg" width="706" height="14" alt=""></td>
|
---|
121 | </tr>
|
---|
122 | <tr>
|
---|
123 | <td background="<?php echo @URL_DIR; ?> |
---|
124 | img/contents/main_left.jpg"><img src="<?php echo @URL_DIR; ?> |
---|
125 | img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
126 | <td bgcolor="#cccccc">
|
---|
127 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
128 | <tr>
|
---|
129 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
130 | img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
131 | </tr>
|
---|
132 | <tr>
|
---|
133 | <td background="<?php echo @URL_DIR; ?> |
---|
134 | img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
135 | img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
136 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¿·µ¬ÅÐÏ¿</span></td>
|
---|
137 | <td background="<?php echo @URL_DIR; ?> |
---|
138 | img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
139 | img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
140 | </tr>
|
---|
141 | <tr>
|
---|
142 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
143 | img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
144 | </tr>
|
---|
145 | <tr>
|
---|
146 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
147 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
148 | </tr>
|
---|
149 | </table>
|
---|
150 |
|
---|
151 | <!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
|
---|
152 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
153 | <thead>
|
---|
154 | <tr class="fs12n">
|
---|
155 | <td bgcolor="#f2f1ec" width="78">ÆüÉÕ<span class="red"> *</span></td>
|
---|
156 | <td bgcolor="#ffffff" width="600"><span class="red"><?php echo $this->_tpl_vars['arrErr']['year']; echo $this->_tpl_vars['arrErr']['month']; echo $this->_tpl_vars['arrErr']['day']; ?> |
---|
157 | </span>
|
---|
158 | <select name="year" <?php if ($this->_tpl_vars['arrErr']['year']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
159 | "<?php endif; ?>>
|
---|
160 | <option value="" selected>----</option>
|
---|
161 | <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrYear'],'selected' => $this->_tpl_vars['selected_year']), $this);?> |
---|
162 |
|
---|
163 | </select>ǯ
|
---|
164 | <select name="month" <?php if ($this->_tpl_vars['arrErr']['month']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
165 | "<?php endif; ?>>
|
---|
166 | <option value="" selected>--</option>
|
---|
167 | <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrMonth'],'selected' => $this->_tpl_vars['selected_month']), $this);?> |
---|
168 |
|
---|
169 | </select>·î
|
---|
170 | <select name="day" <?php if ($this->_tpl_vars['arrErr']['day']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
171 | "<?php endif; ?>>
|
---|
172 | <option value="" selected>--</option>
|
---|
173 | <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrDay'],'selected' => $this->_tpl_vars['selected_day']), $this);?> |
---|
174 |
|
---|
175 | </select>Æü
|
---|
176 | </td>
|
---|
177 | </tr>
|
---|
178 | <tr>
|
---|
179 | <td bgcolor="#f2f1ec" width="" class="fs12n">¥¿¥¤¥È¥ë<span class="red"> *</span></td>
|
---|
180 | <td bgcolor="#ffffff" width="" class="fs12n"><?php if ($this->_tpl_vars['arrErr']['news_title']): ?><span class="red"><?php echo $this->_tpl_vars['arrErr']['news_title']; ?> |
---|
181 | </span><?php endif; ?>
|
---|
182 | <textarea name="news_title" cols="60" rows="8" class="area60" maxlength="<?php echo @MTEXT_LEN; ?> |
---|
183 | " <?php if ($this->_tpl_vars['arrErr']['news_title']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
184 | "<?php endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
185 | </textarea><br/><span class="red"> ¡Ê¾å¸Â<?php echo @MTEXT_LEN; ?> |
---|
186 | ʸ»ú¡Ë</span>
|
---|
187 | </td>
|
---|
188 | </tr>
|
---|
189 | </thead>
|
---|
190 | <tfoot>
|
---|
191 | <tr>
|
---|
192 | <td bgcolor="#f2f1ec" width="38" class="fs12n">URL</td>
|
---|
193 | <td bgcolor="#ffffff" width="600" class="fs12n"><span class="red"><?php echo $this->_tpl_vars['arrErr']['news_url']; ?> |
---|
194 | </span><input type="text" name="news_url" size="60" class="box60" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['news_url'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
195 | " <?php if ($this->_tpl_vars['arrErr']['news_url']): ?>style="background-color:<?php echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
196 | "<?php endif; ?> maxlength="<?php echo @URL_LEN; ?> |
---|
197 | "/><span class="red"> ¡Ê¾å¸Â<?php echo @URL_LEN; ?> |
---|
198 | ʸ»ú¡Ë</span>
|
---|
199 | </td>
|
---|
200 | </tr>
|
---|
201 | <tr class="fs12n">
|
---|
202 | <td bgcolor="#f2f1ec" width="78">¥ê¥ó¥¯</td>
|
---|
203 | <td bgcolor="#ffffff" width="600"><input type="checkbox" name="link_method" value="2" <?php if ($this->_tpl_vars['link_method'] == 2): ?> checked <?php endif; ?> >ÊÌ¥¦¥£¥ó¥É¥¦¤Ç³«¤¯</td>
|
---|
204 | </tr>
|
---|
205 | <tr>
|
---|
206 | <td bgcolor="#f2f1ec" width="38" class="fs12n">ËÜʸºîÀ®</td>
|
---|
207 | <td bgcolor="#ffffff" width="600" class="fs12n"><?php if ($this->_tpl_vars['arrErr']['news_comment']): ?><span class="red"><?php echo $this->_tpl_vars['arrErr']['news_comment']; ?> |
---|
208 | </span><?php endif; ?><textarea name="news_comment" cols="60" rows="8" wrap="soft" class="area60" maxlength="<?php echo @LTEXT_LEN; ?> |
---|
209 | " style="background-color:<?php if ($this->_tpl_vars['arrErr']['news_comment']): echo ((is_array($_tmp=@ERR_COLOR)) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); endif; ?>"><?php echo ((is_array($_tmp=$this->_tpl_vars['news_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
210 | </textarea><br/><span class="red"> ¡Ê¾å¸Â3000ʸ»ú¡Ë</span>
|
---|
211 | </td>
|
---|
212 | </tr>
|
---|
213 | </tfoot>
|
---|
214 | </table>
|
---|
215 | <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
216 |
|
---|
217 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
218 | <tr>
|
---|
219 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
220 | img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
221 | <td><img src="<?php echo @URL_DIR; ?> |
---|
222 | img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
|
---|
223 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
224 | img/common/_.gif" width="1" height="5" alt=""></td>
|
---|
225 | </tr>
|
---|
226 | <tr>
|
---|
227 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
228 | img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
229 | <td bgcolor="#e9e7de" align="center">
|
---|
230 | <table border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
231 | <tr>
|
---|
232 | <td><input type="image" onMouseover="chgImgImageSubmit('<?php echo @URL_DIR; ?> |
---|
233 | img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<?php echo @URL_DIR; ?> |
---|
234 | img/contents/btn_regist.jpg',this)" src="<?php echo @URL_DIR; ?> |
---|
235 | img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍƤÇÅÐÏ¿¤¹¤ë" border="0" name="subm" onclick="return func_regist();"></td>
|
---|
236 | </tr>
|
---|
237 | </table>
|
---|
238 | </td>
|
---|
239 | <td bgcolor="#cccccc"><img src="<?php echo @URL_DIR; ?> |
---|
240 | img/common/_.gif" width="1" height="10" alt=""></td>
|
---|
241 | </tr>
|
---|
242 | <tr>
|
---|
243 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
244 | img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
|
---|
245 | </tr>
|
---|
246 | </form>
|
---|
247 | </table>
|
---|
248 |
|
---|
249 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
250 | <tr><td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
251 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td></tr>
|
---|
252 | </table>
|
---|
253 |
|
---|
254 | <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
|
---|
255 | <tr>
|
---|
256 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
257 | img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
|
---|
258 | </tr>
|
---|
259 | <tr>
|
---|
260 | <td background="<?php echo @URL_DIR; ?> |
---|
261 | img/contents/contents_title_left_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
262 | img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
|
---|
263 | <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->ÅÐÏ¿ºÑ¤ß¿·Ãå¾ðÊó</span></td>
|
---|
264 | <td background="<?php echo @URL_DIR; ?> |
---|
265 | img/contents/contents_title_right_bg.gif"><img src="<?php echo @URL_DIR; ?> |
---|
266 | img/common/_.gif" width="18" height="1" alt=""></td>
|
---|
267 | </tr>
|
---|
268 | <tr>
|
---|
269 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
270 | img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
|
---|
271 | </tr>
|
---|
272 | <tr>
|
---|
273 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
274 | img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
|
---|
275 | </tr>
|
---|
276 | </table>
|
---|
277 |
|
---|
278 | <!--¢§°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤«¤é-->
|
---|
279 | <table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
|
---|
280 | <form name="move" id="move" method="post" action="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
281 | ">
|
---|
282 | <input type="hidden" name="mode" value="moveRankSet">
|
---|
283 | <input type="hidden" name="term" value="setposition">
|
---|
284 | <input type="hidden" name="news_id" value="">
|
---|
285 | <input type="hidden" name="moveposition" value="">
|
---|
286 | <input type="hidden" name="rank" value="">
|
---|
287 | <tr bgcolor="#f2f1ec" align="center" class="fs12n">
|
---|
288 | <td width="30">½ç°Ì</td>
|
---|
289 | <td width="76">ÆüÉÕ</td>
|
---|
290 | <td width="269">¥¿¥¤¥È¥ë</td>
|
---|
291 | <td width="50">ÊÔ½¸</td>
|
---|
292 | <td width="50">ºï½ü</td>
|
---|
293 | <td width="100">°ÜÆ°</td>
|
---|
294 | </tr>
|
---|
295 | <?php if ($this->_tpl_vars['arrErr']['moveposition']): ?>
|
---|
296 | <tr bgcolor="#ffffff" class="fs12n"><td bgcolor="#ffffff" colspan="6"><span class="red"><?php echo $this->_tpl_vars['arrErr']['moveposition']; ?> |
---|
297 | </span></td></tr>
|
---|
298 | <?php endif; ?>
|
---|
299 | <?php unset($this->_sections['data']); |
---|
300 | $this->_sections['data']['name'] = 'data'; |
---|
301 | $this->_sections['data']['loop'] = is_array($_loop=$this->_tpl_vars['list_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); |
---|
302 | $this->_sections['data']['show'] = true; |
---|
303 | $this->_sections['data']['max'] = $this->_sections['data']['loop']; |
---|
304 | $this->_sections['data']['step'] = 1; |
---|
305 | $this->_sections['data']['start'] = $this->_sections['data']['step'] > 0 ? 0 : $this->_sections['data']['loop']-1; |
---|
306 | if ($this->_sections['data']['show']) { |
---|
307 | $this->_sections['data']['total'] = $this->_sections['data']['loop']; |
---|
308 | if ($this->_sections['data']['total'] == 0) |
---|
309 | $this->_sections['data']['show'] = false; |
---|
310 | } else |
---|
311 | $this->_sections['data']['total'] = 0; |
---|
312 | if ($this->_sections['data']['show']): |
---|
313 | |
---|
314 | for ($this->_sections['data']['index'] = $this->_sections['data']['start'], $this->_sections['data']['iteration'] = 1; |
---|
315 | $this->_sections['data']['iteration'] <= $this->_sections['data']['total']; |
---|
316 | $this->_sections['data']['index'] += $this->_sections['data']['step'], $this->_sections['data']['iteration']++): |
---|
317 | $this->_sections['data']['rownum'] = $this->_sections['data']['iteration']; |
---|
318 | $this->_sections['data']['index_prev'] = $this->_sections['data']['index'] - $this->_sections['data']['step']; |
---|
319 | $this->_sections['data']['index_next'] = $this->_sections['data']['index'] + $this->_sections['data']['step']; |
---|
320 | $this->_sections['data']['first'] = ($this->_sections['data']['iteration'] == 1); |
---|
321 | $this->_sections['data']['last'] = ($this->_sections['data']['iteration'] == $this->_sections['data']['total']); |
---|
322 | ?>
|
---|
323 | <tr bgcolor="<?php if ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id'] == $this->_tpl_vars['news_id']): echo @SELECT_RGB; else: ?>#ffffff<?php endif; ?>" class="fs12">
|
---|
324 | <?php $this->assign('db_rank', ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['rank'])); ?>
|
---|
325 | <?php $this->assign('rank', ($this->_tpl_vars['line_max']-$this->_tpl_vars['db_rank']+1)); ?>
|
---|
326 | <td width="" align="center"><?php echo $this->_tpl_vars['rank']; ?> |
---|
327 | </td>
|
---|
328 | <td width="" align="center"><?php echo ((is_array($_tmp="-")) ? $this->_run_mod_handler('str_replace', true, $_tmp, "/", $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['cast_news_date']) : str_replace($_tmp, "/", $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['cast_news_date'])); ?> |
---|
329 | </td>
|
---|
330 | <td width="">
|
---|
331 | <?php if ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['link_method'] == 1 && $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_url'] != ""): ?><a href="<?php echo $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_url']; ?> |
---|
332 | " ><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
---|
333 | </a>
|
---|
334 | <?php elseif ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['link_method'] == 1 && $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_url'] == ""): echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
---|
335 |
|
---|
336 | <?php elseif ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['link_method'] == 2 && $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_url'] != ""): ?><a href="<?php echo $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_url']; ?> |
---|
337 | " target="_blank" ><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
---|
338 | </a>
|
---|
339 | <?php else: echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_title'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?> |
---|
340 |
|
---|
341 | <?php endif; ?>
|
---|
342 | </td>
|
---|
343 | <td width="" align="center"><a href="#" onclick="return func_edit('<?php echo ((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
344 | ');">ÊÔ½¸</a></td>
|
---|
345 | <td width="" align="center"><a href="#" onclick="return func_del('<?php echo ((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
346 | ');">ºï½ü</a></td>
|
---|
347 | <td width="" align="center">
|
---|
348 | <?php if (count ( $this->_tpl_vars['list_data'] ) != 1): ?>
|
---|
349 | <input type="text" name="pos-<?php echo $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id']; ?> |
---|
350 | " size="3" class="box3" />ÈÖÌܤØ<a href="<?php echo ((is_array($_tmp=$_SERVER['PHP_SELF'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
351 | " onclick="fnFormModeSubmit('move', 'moveRankSet','news_id', '<?php echo $this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id']; ?> |
---|
352 | '); return false;">°ÜÆ°</a><br />
|
---|
353 | <?php endif; ?>
|
---|
354 | <?php if ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['rank'] != $this->_tpl_vars['max_rank']): ?><a href="#" onclick="return func_rankMove('up', '<?php echo ((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
355 | ', '<?php echo ((is_array($_tmp=$this->_tpl_vars['max_rank'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
356 | ');">¾å¤Ø</a><?php endif; ?>¡¡<?php if ($this->_tpl_vars['list_data'][$this->_sections['data']['index']]['rank'] != 1): ?><a href="#" onclick="return func_rankMove('down', '<?php echo ((is_array($_tmp=$this->_tpl_vars['list_data'][$this->_sections['data']['index']]['news_id'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
357 | ', '<?php echo ((is_array($_tmp=$this->_tpl_vars['max_rank'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?> |
---|
358 | ');">²¼¤Ø</a><?php endif; ?>
|
---|
359 | </td>
|
---|
360 | </tr>
|
---|
361 | <?php endfor; else: ?>
|
---|
362 | <tr bgcolor="#ffffff" class="fs12n">
|
---|
363 | <td colspan="6">¸½ºß¥Ç¡¼¥¿¤Ï¤¢¤ê¤Þ¤»¤ó¡£</td>
|
---|
364 | </tr>
|
---|
365 | <?php endif; ?>
|
---|
366 | </form>
|
---|
367 | </table>
|
---|
368 | <!--¢¥°ìÍ÷ɽ¼¨¥¨¥ê¥¢¤³¤³¤Þ¤Ç-->
|
---|
369 |
|
---|
370 | </td>
|
---|
371 | <td background="<?php echo @URL_DIR; ?> |
---|
372 | img/contents/main_right.jpg"><img src="<?php echo @URL_DIR; ?> |
---|
373 | img/common/_.gif" width="14" height="1" alt=""></td>
|
---|
374 | </tr>
|
---|
375 | <tr>
|
---|
376 | <td colspan="3"><img src="<?php echo @URL_DIR; ?> |
---|
377 | img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
|
---|
378 | </tr>
|
---|
379 | <tr><td height="30"></td></tr>
|
---|
380 | </table>
|
---|
381 | </td>
|
---|
382 | </tr>
|
---|
383 | <!--¥á¥¤¥ó¥¨¥ê¥¢-->
|
---|
384 | </table>
|
---|
385 | <!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
|
---|
386 | </td>
|
---|
387 | </tr>
|
---|
388 | </table>
|
---|
389 | <!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
|
---|