edit.html.php 598 B

123456789101112131415161718
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  3. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  4. <?php js::set('demandStatus', $demand->status);?>
  5. <?php js::set('page', 'edit')?>
  6. <div id="mainContent" class="main-content fade">
  7. <?php
  8. if(strpos('draft,changing', $demand->status) !== false)
  9. {
  10. include './editdraft.html.php';
  11. }
  12. else
  13. {
  14. include './editnormal.html.php';
  15. }
  16. ?>
  17. </div>
  18. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>