upgrade_index.tpl.php 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php defined('IN_ADMIN') or exit('No permission resources.');?>
  2. <?php include $this->admin_tpl('header', 'admin');?>
  3. <div class="pad-lr-10">
  4. <div class="table-list">
  5. <div class="explain-col">
  6. <?php echo L('upgrade_notice');?>
  7. </div>
  8. <div class="bk15"></div>
  9. <form name="myform" action="" method="get" id="myform">
  10. <input type="hidden" name="s" value="1" />
  11. <input type="hidden" name="cover" value="<?php echo $_GET['cover']?>" />
  12. <input name="m" value="upgrade" type="hidden" />
  13. <input name="c" value="index" type="hidden" />
  14. <input name="a" value="init" type="hidden" />
  15. <table width="100%" cellspacing="0">
  16. <thead>
  17. <tr>
  18. <th align="left" width="300"><?php echo L('currentversion')?><?php if(empty($pathlist)) {?><?php echo L('lastversion')?><?php }?></th>
  19. <th align="left"><?php echo L('updatetime')?></th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr>
  24. <td align="left"><?php echo $current_version['pc_version'];?></td>
  25. <td align="left"><?php echo $current_version['pc_release'];?></td>
  26. </tr>
  27. </tbody>
  28. </table>
  29. <?php if(!empty($pathlist)) {?>
  30. <div class="bk15"></div>
  31. <table width="100%" cellspacing="0">
  32. <thead>
  33. <tr>
  34. <th align="left" width="300"><?php echo L('updatelist')?></th>
  35. <th align="left"><?php echo L('updatetime')?></th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. <?php foreach($pathlist as $v) { ?>
  40. <tr>
  41. <td><?php echo $v;?></td>
  42. <td><?php echo substr($v, 15, 8);?></td>
  43. </tr>
  44. <?php }?>
  45. </tbody>
  46. </table>
  47. <div class="bk15"></div>
  48. <label for="cover"><font color="red"><?php echo L('covertemplate')?></font></label><input name="cover" id="cover" type="checkbox" value=1>
  49. <input name="dosubmit" type="submit" id="dosubmit" value="<?php echo L('begin_upgrade')?>" class="button">
  50. <?php }?>
  51. </form>
  52. </div>
  53. </div>
  54. </body>
  55. </html>