article_manage_edit.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link href="<?php echo WEB_SITE_GLOBAL ?>/img/admin/style.css" rel="stylesheet" type="text/css" />
  6. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/jquery-1.7.1.min.js"></script>
  7. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/over.js"></script>
  8. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/calendar.js"></script>
  9. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/editor_config.js"></script>
  10. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/editor.min.js"></script>
  11. <link rel="stylesheet" href="<?php echo WEB_SITE_GLOBAL ?>/css/themes/default/ueditor.css" />
  12. </head>
  13. <body>
  14. <div class="main_content new_product">
  15. <div class="crumbbar">快速导航 » <?php echo $data['map']; ?></div>
  16. <div class=" clearfix">
  17. <div class="globle_list">
  18. <table width="100%" border="0" cellpadding="2" cellspacing="6" style="_margin-left:-10px; ">
  19. <tbody><tr>
  20. <td><table width="100%" border="0" cellpadding="2" cellspacing="6">
  21. <tbody><tr>
  22. <td>
  23. <?php echo $data['success']; ?>
  24. <div id="append">
  25. </div>
  26. <form action="/index/main_article_edit_manage" method="post" onsubmit="return article_form()">
  27. <input type="hidden" name="is_edit" value="1"></input>
  28. <input type="hidden" name="id" value="<?php echo $data['article']->aid; ?>"></input>
  29. <table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder">
  30. <tbody><tr class="header">
  31. <td colspan="2">公告</td>
  32. </tr>
  33. <tr>
  34. <td class="altbg1" width="100"><b>标题:</b></td>
  35. <td class="altbg2"><input class="text" type="text" name="title" id="title" value="<?php echo $data['article']->title; ?>" style="width: 300px"/></td>
  36. </tr>
  37. <tr>
  38. <td class="altbg1" width="100"><b>内容:</b></td>
  39. <td class="altbg2"><script type="text/plain" id="content_text" name="content_text" style="width:550px"><?php echo $data['article']->content; ?></script></td>
  40. </tr>
  41. <script type="text/javascript">
  42. var art_editor = new UE.ui.Editor();
  43. art_editor.render('content_text');
  44. </script>
  45. </tbody></table>
  46. <br/>
  47. <center><input type="submit" class="button" name="submit" value="提 交"/></center><br/>
  48. </form>
  49. </td></tr>
  50. </tbody>
  51. </table>
  52. </td></tr></tbody></table>
  53. </div>
  54. </div>
  55. </div>
  56. </body>
  57. </html>