[ Index ] |
PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09) |
[Summary view] [Print] [Text view]
1 <?php 2 /************************************************************************************* 3 Copyright notice 4 5 (c) 2002-2009 Oliver Georgi (oliver@phpwcms.de) // All rights reserved. 6 7 This script is part of PHPWCMS. The PHPWCMS web content management system is 8 free software; you can redistribute it and/or modify it under the terms of 9 the GNU General Public License as published by the Free Software Foundation; 10 either version 2 of the License, or (at your option) any later version. 11 12 The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html 13 A copy is found in the textfile GPL.txt and important notices to the license 14 from the author is found in LICENSE.txt distributed with these scripts. 15 16 This script is distributed in the hope that it will be useful, but WITHOUT ANY 17 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 18 PARTICULAR PURPOSE. See the GNU General Public License for more details. 19 20 This copyright notice MUST APPEAR in all copies of the script! 21 *************************************************************************************/ 22 23 // ---------------------------------------------------------------- 24 // obligate check for phpwcms constants 25 if (!defined('PHPWCMS_ROOT')) { 26 die("You Cannot Access This Script Directly, Have a Nice Day."); 27 } 28 // ---------------------------------------------------------------- 29 30 // News 31 32 33 34 $news = & new phpwcmsNews(); 35 36 ?> 37 <h1 class="title"><?php echo $BL['be_news'] ?></h1> 38 39 <?php 40 41 if(isset($_GET['cntid'])) { 42 43 $news->edit(); 44 45 } else { 46 47 $news->filter(); 48 $news->countAll(); 49 50 ?> 51 <div class="navBarLeft imgButton chatlist"> 52 53 <a href="<?php echo $news->base_url ?>&cntid=0&action=edit" title="<?php echo $BL['be_news_create'] ?>"><img src="img/famfamfam/page_white_add.gif" alt="New" border="0" /><span><?php echo $BL['be_news_create'] ?></span></a> 54 </div> 55 56 <form action="<?php echo $news->base_url ?>" method="post" name="paginate" id="paginate"> 57 <input type="hidden" name="filter" value="1" /> 58 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="paginate" summary=""> 59 <tr> 60 <td class="tdbottom3"><table border="0" cellpadding="0" cellspacing="0" summary=""> 61 <tr> 62 63 <td><input type="checkbox" name="showactive" id="showactive" value="1" onclick="this.form.submit();"<?php is_checked(1, ( $news->filter_status == 0 || $news->filter_status == 1 ) ? 1 : 0 ) ?> /></td> 64 <td><label for="showactive"><img src="img/button/aktiv_12x13_1.gif" alt="" /></label></td> 65 <td><input type="checkbox" name="showinactive" id="showinactive" value="1" onclick="this.form.submit();"<?php is_checked(1, ( $news->filter_status == 0 || $news->filter_status == 2 ) ? 1 : 0 ) ?> /></td> 66 <td><label for="showinactive"><img src="img/button/aktiv_12x13_0.gif" alt="" /></label></td> 67 <td><input type="text" name="filter" id="filter" size="10" value="<?php echo html_specialchars($news->filter) ?>" /></td> 68 <td><input type="image" name="gofilter" src="img/famfamfam/action_go.gif" /></td> 69 70 <td> <?php echo $news->getPagination(); ?></td> 71 72 </tr> 73 </table></td> 74 75 <td class="chatlist items-per-page" align="right"> 76 <?php echo getItemsPerPageMenu( $news->base_url ); ?> 77 </td> 78 79 </tr> 80 </table> 81 </form> 82 83 84 85 <?php 86 echo $news->listBackend(); 87 88 } 89 90 // Begin news form 91 if(count($news->data)) { 92 93 // some JavaScripts wee need 94 initJsCalendar(); 95 initJsOptionSelect(); 96 initMootoolsAutocompleter(); 97 98 ?> 99 <script type="text/javascript"> 100 <!-- 101 102 function setImgIdName(file_id, file_name) { 103 if(file_id == null) var file_id=0; 104 if(file_name == null) var file_name=''; 105 $('cnt_image_id').value = file_id; 106 $('cnt_image_name').value = file_name; 107 108 showImage(); 109 } 110 111 function showImage() { 112 var id = parseInt($('cnt_image_id').value); 113 var img = $('cnt_image'); 114 if(id > 0) { 115 img.innerHTML = '<img src="<?php echo PHPWCMS_URL.'img/cmsimage.php/'.$phpwcms['img_list_width'].'x'.$phpwcms['img_list_height'] ?>/'+id+'" alt="" border="0" />'; 116 img.style.display = ''; 117 } else { 118 img.style.display = 'none'; 119 } 120 } 121 122 function addFile(file_id, file_name) { 123 obj = $('cfile_list'); 124 if(obj!=null && obj.options!=null) { 125 var newOpt = new Option(file_name, file_id); 126 obj.options.length++; 127 obj.options[obj.length-1].text = newOpt.text; 128 obj.options[obj.length-1].value = newOpt.value; 129 obj.options[obj.length-1].selected = false; 130 if(obj.options.length > 5) { 131 obj.size = obj.options.length; 132 $('cnt_file_caption').rows = obj.size; 133 } 134 } 135 } 136 137 function emptyNews() { 138 document.location.href='<?php echo $news->base_url_decoded ?>&cntid=0&action=edit'; 139 return false; 140 } 141 142 function closeForm() { 143 document.location.href='<?php echo $news->base_url_decoded ?>'; 144 return false; 145 } 146 147 148 // Calendar 149 function aStart(date, month, year) { 150 $('calendar_start_date').value = subrstr('00' + date, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + subrstr('00' + month, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + year; 151 } 152 function aEnd(date, month, year) { 153 $('calendar_end_date').value = subrstr('00' + date, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + subrstr('00' + month, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + year; 154 } 155 function aSort(date, month, year) { 156 $('sort_date').value = subrstr('00' + date, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + subrstr('00' + month, 2) + '<?php echo $BL['default_date_delimiter'] ?>' + year; 157 } 158 159 window.addEvent('domready', function(){ 160 161 /* setup tooltips */ 162 var as = []; 163 $$('input').each(function(a){ if (a.getAttribute('title')) as.push(a); }); 164 new Tips(as, { maxTitleChars: 25, offsets: {'x': 2, 'y': 5} }); 165 166 /* Autocompleter for categories/tags */ 167 var searchCategory = $('cnt_category'); 168 var indicator2 = new Element('span', {'class': 'autocompleter-loading', 'styles': {'display': 'none'}}).setHTML('').injectAfter(searchCategory); 169 var completer2 = new Autocompleter.Ajax.Json(searchCategory, 'include/inc_act/ajax_connector.php', { 170 multi: true, 171 maxChoices: 30, 172 autotrim: true, 173 minLength: 0, 174 allowDupes: false, 175 postData: {action: 'category', method: 'json'}, 176 onRequest: function(el) { 177 indicator2.setStyle('display', ''); 178 }, 179 onComplete: function(el) { 180 indicator2.setStyle('display', 'none'); 181 } 182 }); 183 184 var selectLang = $('cnt_lang'); 185 var indicator1 = new Element('span', {'class': 'autocompleter-loading', 'styles': {'display': 'none'}}).setHTML('').injectAfter(selectLang); 186 var completer1 = new Autocompleter.Ajax.Json(selectLang, 'include/inc_act/ajax_connector.php', { 187 multi: false, 188 allowDupes: false, 189 autotrim: true, 190 minLength: 0, 191 maxChoices: 20, 192 postData: {action: 'lang', method: 'json'}, 193 onRequest: function(el) { 194 indicator1.setStyle('display', ''); 195 }, 196 onComplete: function(el) { 197 indicator1.setStyle('display', 'none'); 198 } 199 }); 200 201 selectLang.addEvent('keyup', function(){ 202 this.value = this.value.replace(/[^a-z\-]/g, ''); 203 }); 204 205 206 207 var cnt_title = $('cnt_title'); 208 209 // set name field 210 $('cnt_name_click').addEvent('click', function(){ 211 var cnt_name = cnt_title.value.trim(); 212 if(cnt_name === '') { 213 cnt_title.value = $('cnt_name').value.trim(); 214 } else { 215 $('cnt_name').value = cnt_name; 216 } 217 }); 218 219 $('cnt_alias_click').addEvent('click', function(){ 220 var cnt_alias = $('cnt_name').value.trim(); 221 if(cnt_alias === '') { 222 cnt_alias = cnt_title.value.trim(); 223 $('cnt_name').value = cnt_alias; 224 } 225 if(cnt_alias !== '') { 226 $('cnt_alias').value = create_alias(cnt_alias); 227 } 228 }); 229 230 var change_name_value = '-'; 231 var change_alias_value = '-'; 232 233 cnt_title.addEvent('focus', function(){ 234 235 change_name_value = $('cnt_name').value.trim(); 236 change_alias_value = $('cnt_alias').value.trim(); 237 238 }); 239 240 cnt_title.addEvent('keyup', function() { 241 if(change_name_value == ''){ 242 $('cnt_name').value = cnt_title.value; 243 } 244 if(change_alias_value == '') { 245 $('cnt_alias').value = create_alias( $('cnt_name').value ); 246 } 247 }); 248 249 250 }); 251 252 253 //--> 254 </script> 255 <form action="<?php echo $news->formAction() ?>" method="post" class="free" onsubmit="selectAllOptions(this.cfile_list);"> 256 257 258 <p class="break filled important"> 259 <label><?php echo $BL['be_article_cnt_ctitle'] ?></label> 260 <input type="text" name="cnt_title" id="cnt_title" value="<?php echo html_specialchars($news->data['cnt_title']) ?>" class="text" maxlength="250" /> 261 </p> 262 263 <p> 264 <label><?php echo $BL['be_article_asubtitle'] ?></label> 265 <input type="text" name="cnt_subtitle" id="cnt_subtitle" value="<?php echo html_specialchars($news->data['cnt_subtitle']) ?>" class="text" maxlength="250" /> 266 </p> 267 268 <p> 269 <label><?php echo $BL['be_teasertext'] ?></label> 270 <textarea name="cnt_teasertext" id="cnt_teasertext" class="text" rows="5"><?php echo html_specialchars($news->data['cnt_teasertext']) ?></textarea> 271 </p> 272 273 <div class="paragraph filled border_top border_bottom"> 274 <table border="0" cellpadding="0" cellspacing="0" summary=""> 275 276 <tr> 277 <td class="chatlist"> </td> 278 <td class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_date_format'] ?></td> 279 <td class="chatlist"> </td> 280 <td colspan="2" class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_time_format'] ?></td> 281 </tr> 282 283 <tr> 284 <td><label><?php echo $BL['be_article_cnt_start'] ?></label></td> 285 <td><input name="calendar_start_date" type="text" id="calendar_start_date" class="v12" style="width:100px;" value="<?php echo $news->data['cnt_date_start'] ?>" size="30" /></td> 286 <td><script type="text/javascript"> 287 <!-- 288 289 // Calendar start 290 var calStart = new dynCalendar('calStart', 'aStart', 'img/dynCal/'); 291 calStart.setMonthCombo(true); 292 calStart.setYearCombo(true); 293 294 //--> 295 </script> </td> 296 <td><input name="calendar_start_time" type="text" id="calendar_start_time" class="v12" style="width:55px;" value="<?php echo $news->data['cnt_time_start'] ?>" size="30" /></td> 297 </tr> 298 299 <tr><td colspan="4" style="font:5px;line-height:5px"> </td></tr> 300 301 <tr> 302 <td class="chatlist"> </td> 303 <td class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_date_format'] ?></td> 304 <td class="chatlist"> </td> 305 <td class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_time_format'] ?></td> 306 </tr> 307 308 <tr> 309 <td><label><?php echo $BL['be_article_cnt_end'] ?></label></td> 310 <td><input name="calendar_end_date" type="text" id="calendar_end_date" class="v12" style="width:100px;" value="<?php echo $news->data['cnt_date_end'] ?>" size="30" /></td> 311 <td><script type="text/javascript"> 312 <!-- 313 314 var calEnd = new dynCalendar('calEnd', 'aEnd', 'img/dynCal/'); 315 calEnd.setMonthCombo(true); 316 calEnd.setYearCombo(true); 317 318 319 //--> 320 </script> </td> 321 <td><input name="calendar_end_time" type="text" id="calendar_end_time" class="v12" style="width:55px;" value="<?php echo $news->data['cnt_time_end'] ?>" size="30" /></td> 322 </tr> 323 324 325 <tr><td colspan="4" style="font:5px;line-height:5px"> </td></tr> 326 327 328 <!-- sort date --> 329 <tr> 330 <td class="chatlist"> </td> 331 <td class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_date_format'] ?></td> 332 <td class="chatlist"> </td> 333 <td class="chatlist" style="padding-bottom:2px"><?php echo $BL['default_time_format'] ?></td> 334 </tr> 335 336 <tr> 337 <td><label><?php echo $BL['be_sort_date'] ?></label></td> 338 <td><input name="sort_date" type="text" id="sort_date" class="v12" style="width:100px;" value="<?php echo $news->data['cnt_sort_date'] ?>" size="30" /></td> 339 <td><script type="text/javascript"> 340 <!-- 341 var calSort = new dynCalendar('calSort', 'aSort', 'img/dynCal/'); 342 calSort.setMonthCombo(true); 343 calSort.setYearCombo(true); 344 345 //--> 346 </script> </td> 347 <td><input name="sort_time" type="text" id="sort_time" class="v12" style="width:55px;" value="<?php echo $news->data['cnt_sort_time'] ?>" size="30" /></td> 348 </tr> 349 350 </table> 351 </div> 352 353 354 <p class="space_top"> 355 <label><a id="cnt_name_click"><?php echo $BL['be_title'] ?></a>/<a id="cnt_alias_click"><?php echo $BL['be_alias'] ?></a></label> 356 <input type="text" name="cnt_name" id="cnt_name" value="<?php echo html_specialchars($news->data['cnt_name']) ?>" class="text short" maxlength="200" title="<?php echo $BL['be_title'] ?>" /> 357 <input type="text" name="cnt_alias" id="cnt_alias" value="<?php echo html_specialchars($news->data['cnt_alias']) ?>" class="text short" maxlength="200" title="<?php echo $BL['be_alias'] ?>" /> 358 </p> 359 360 <p> 361 <label><?php echo $BL['be_tags'] ?></label> 362 <input type="text" name="cnt_category" id="cnt_category" value="<?php echo html_specialchars($news->data['cnt_category']) ?>" class="text" maxlength="250" /> 363 </p> 364 365 <p> 366 <label><?php echo $BL['be_profile_label_lang'] ?></label> 367 <input type="text" name="cnt_lang" id="cnt_lang" value="<?php echo html_specialchars($news->data['cnt_lang']) ?>" class="text short" maxlength="10" title="<?php echo $BL['be_profile_label_lang'] ?>" /> 368 </p> 369 370 <p> 371 <label><?php echo $BL['be_priorize'] ?></label> 372 <select name="cnt_prio" id="cnt_prio" style="width:auto" title="<?php echo $BL['be_priorize'] ?>"> 373 <?php 374 375 for($x=30; $x>=-30; $x--) { 376 377 echo ' <option value="'.$x.'"'; 378 is_selected($x, $news->data['cnt_prio']); 379 echo '>'.( $x==0 ? $BL['be_cnt_default'] : $x ).'</option>'.LF; 380 381 } 382 383 ?> 384 </select> 385 </p> 386 387 <div class="paragraph filled border_bottom border_top"> 388 389 <table cellpadding="0" cellspacing="0" border="0" summary=""> 390 391 <tr> 392 <td><label><?php echo $BL['be_cnt_image'] ?></label></td> 393 <td><input type="text" name="cnt_image_name" id="cnt_image_name" value="<?php echo html_specialchars($news->data['cnt_image']['name']) ?>" class="file" maxlength="250" /></td> 394 <td style="padding:2px 0 0 5px" width="100"> 395 <a href="#" title="<?php echo $BL['be_cnt_openimagebrowser'] ?>" onclick="openFileBrowser('filebrowser.php?opt=7');return false;"><img src="img/button/open_image_button.gif" alt="" width="20" height="15" border="0" /></a> 396 <a href="#" title="<?php echo $BL['be_cnt_delimage'] ?>" onclick="setImgIdName();return false;"><img src="img/button/del_image_button.gif" alt="" width="15" height="15" border="0" /></a> 397 <input name="cnt_image_id" id="cnt_image_id" type="hidden" value="<?php echo $news->data['cnt_image']['id'] ?>" /> 398 </td> 399 </tr> 400 401 <tr> 402 <td> </td> 403 <td colspan="2" class="tdtop5 tdbottom5"> 404 405 <table border="0" cellpadding="0" cellspacing="0" summary=""> 406 <tr> 407 <td><input name="cnt_image_zoom" type="checkbox" id="cnt_image_zoom" value="1" <?php is_checked(1, $news->data['cnt_image']['zoom']); ?> /></td> 408 <td><label for="cnt_image_zoom" class="checkbox"><?php echo $BL['be_cnt_enlarge'] ?></label></td> 409 410 <td><input name="cnt_image_lightbox" type="checkbox" id="cnt_image_lightbox" value="1" <?php is_checked(1, $news->data['cnt_image']['lightbox']); ?> onchange="if(this.checked){$('cnt_image_zoom').checked=true;}" /></td> 411 <td><label for="cnt_image_lightbox" class="checkbox"><?php echo $BL['be_cnt_lightbox'] ?></label></td> 412 </tr> 413 </table> 414 415 <div id="cnt_image" style="padding-top:3px;"></div> 416 417 </td> 418 </tr> 419 420 <tr> 421 <td class="top"><label><?php echo $BL['be_cnt_caption'] ?></label></td> 422 <td colspan="2" class="tdbottom4"> 423 <textarea name="cnt_image_caption" id="cnt_image_caption" class="text" rows="2"><?php echo html_specialchars($news->data['cnt_image']['caption']) ?></textarea> 424 </td> 425 </tr> 426 427 <tr> 428 <td><label><?php echo $BL['be_profile_label_website'] ?></label></td> 429 <td colspan="2"><input type="text" name="cnt_image_link" id="cnt_image_link" class="text" maxlength="500" value="<?php echo html_specialchars($news->data['cnt_image']['link']) ?>" /></td> 430 </tr> 431 432 </table> 433 </div> 434 435 <div class="paragraph border_bottom"> 436 <table border="0" cellpadding="0" cellspacing="0" summary=""> 437 <tr> 438 <td class="top"><label><?php echo $BL['be_cnt_files'] ?></label></td> 439 <td style="padding:0 5px 5px 0;"><select name="cnt_files[]" size="5" multiple="multiple" id="cfile_list" class=""> 440 <?php 441 foreach( $news->getFiles() as $item ) { 442 443 echo '<option value="' . $item['f_id'] . '">' . html_specialchars($item['f_name']) . '</option>' . LF; 444 445 } 446 ?> 447 </select></td> 448 <td valign="top" width="20"> 449 <a href="#" title="<?php echo $BL['be_cnt_openfilebrowser'] ?>" onclick="openFileBrowser('filebrowser.php?opt=9');return false"><img src="img/button/open_image_button.gif" alt="" width="20" height="15" border="0" vspace="2" /></a> 450 <a href="#" title="<?php echo $BL['be_cnt_sortup'] ?>" onclick="moveOptionUp(getObjectById('cfile_list'));return false;"><img src="img/button/image_pos_up.gif" alt="" width="10" height="9" border="0" /></a><a href="#" title="<?php echo $BL['be_cnt_sortdown'] ?>" onclick="moveOptionDown(getObjectById('cfile_list'));return false;"><img src="img/button/image_pos_down.gif" alt="" width="10" height="9" border="0" /></a> 451 <a href="#" onclick="removeSelectedOptions(getObjectById('cfile_list'));return false;" title="<?php echo $BL['be_cnt_delfile'] ?>"><img src="img/button/del_image_button1.gif" alt="" width="20" height="15" border="0" vspace="2" /></a> 452 </td> 453 </tr> 454 455 <tr> 456 <td class="top"><label><?php echo $BL['be_cnt_description'] ?></label></td> 457 <td colspan="2"><textarea name="cnt_file_caption" cols="40" rows="5" class="text" id="cnt_file_caption"><?php echo html_specialchars($news->data['cnt_files']['caption']) ?></textarea></td> 458 </tr> 459 460 </table> 461 462 </div> 463 464 465 <div class="paragraph"> 466 <?php 467 468 $wysiwyg_editor = array( 469 'value' => $news->data['cnt_text'], 470 'field' => 'cnt_text', 471 'height' => '350px', 472 'width' => '536px', 473 'rows' => '15', 474 'editor' => $_SESSION["WYSIWYG_EDITOR"], 475 'lang' => 'en' 476 ); 477 478 include (PHPWCMS_ROOT.'/include/inc_lib/wysiwyg.editor.inc.php'); 479 480 ?> 481 </div> 482 483 <p class="space_top border_top"> 484 <label><?php echo $BL['be_read_more_link'] ?></label> 485 <input type="text" name="cnt_link" id="cnt_link" value="<?php echo html_entities($news->data['cnt_link']) ?>" class="text" maxlength="250" title="<?php echo $BL['be_read_more_link'] ?>" /> 486 </p> 487 488 <p> 489 <label>URL <?php echo $BL['be_admin_page_text'] ?></label> 490 <input type="text" name="cnt_linktext" id="cnt_linktext" value="<?php echo html_entities($news->data['cnt_linktext']) ?>" class="text" maxlength="250" title="URL <?php echo $BL['be_admin_page_text'] ?>" /> 491 </p> 492 493 <p class="space_top border_top"> 494 <label><?php echo $BL['be_article_username'] ?>/<?php echo $BL['be_place'] ?></label> 495 <input type="text" name="cnt_editor" id="cnt_editor" value="<?php echo html_specialchars($news->data['cnt_editor']) ?>" class="text short" maxlength="250" title="<?php echo $BL['be_article_username'] ?>" /> 496 <input type="text" name="cnt_place" id="cnt_place" value="<?php echo html_specialchars($news->data['cnt_place']) ?>" class="text short" maxlength="250" title="<?php echo $BL['be_place'] ?>" /> 497 </p> 498 499 500 <div class="filled border_top paragraph border_bottom"> 501 502 <table cellpadding="0" cellspacing="0" border="0" summary=""> 503 504 <tr> 505 506 <td><label><?php echo $BL['be_ftptakeover_status'] ?></label></td> 507 <td><input name="cnt_readmore" type="checkbox" id="cnt_readmore" value="1" <?php is_checked(1, $news->data['cnt_readmore']); ?> /></td> 508 <td><label class="checkbox" for="cnt_readmore"><?php echo $BL['be_article_morelink'] ?></label></td> 509 </tr> 510 511 <tr> 512 <td colspan="3" style="line-height:5px;font-size:5px;"> </td> 513 </tr> 514 515 <tr> 516 <td> </td> 517 <td><input name="cnt_status" type="checkbox" id="cnt_status" value="1" <?php is_checked(1, $news->data['cnt_status']); ?> /></td> 518 <td><label class="checkbox" for="cnt_status"><strong><?php echo $BL['be_published'] ?></strong></label></td> 519 </tr> 520 521 <tr> 522 <td> </td> 523 <td><input name="cnt_archive_status" type="checkbox" id="cnt_archive_status" value="1" <?php is_checked(1, $news->data['cnt_archive_status']); ?> /></td> 524 <td><label class="checkbox" for="cnt_archive_status"><?php echo $BL['be_show_archived'] ?></label></td> 525 </tr> 526 527 <tr> 528 <td colspan="3" style="line-height:5px;font-size:5px;"> </td> 529 </tr> 530 531 <tr> 532 <td> </td> 533 <td><input name="cnt_duplicate" type="checkbox" id="cnt_duplicate" value="1" <?php is_checked(1, $news->data['cnt_duplicate']); ?> /></td> 534 <td><label class="checkbox" for="cnt_duplicate"><?php echo $BL['be_save_copy'] ?></label></td> 535 </tr> 536 537 </table> 538 539 </div> 540 541 542 <p style="padding:10px 0 10px 0" class="border_bottom"> 543 544 <label> </label> 545 546 <?php if($news->data['cnt_id']) { ?> 547 548 <input name="submit" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button1'] ?>" /> 549 <input name="save" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" /> 550 551 <?php } else { ?> 552 553 <input name="submit" type="submit" class="button10" value="<?php echo $BL['be_admin_fcat_button2'] ?>" /> 554 <input name="save" type="submit" class="button10" value="<?php echo $BL['be_article_cnt_button3'] ?>" /> 555 556 <?php } ?> 557 558 <input name="new" type="button" class="button10" value="<?php echo ucfirst($BL['be_msg_new']) ?>" onclick="emptyNews();" /> 559 <input name="close" type="button" class="button10" value="<?php echo $BL['be_admin_struct_close'] ?>" onclick="closeForm();" /> 560 561 </p> 562 <script type="text/javascript"> 563 <!-- 564 565 // Show image 566 showImage(); 567 568 //--> 569 </script> 570 </form> 571 <?php 572 573 } 574 // Stop news form 575 576 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Dec 30 05:55:15 2009 | Cross-referenced by PHPXref 0.7 |