step-2.html 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {extend name="base"/}
  2. {block name="resources"}
  3. {/block}
  4. {block name="main"}
  5. <div class="pright layui-form">
  6. <div class="pr-agreement">
  7. <h3>系统环境检测<span class="desc">系统环境要求必须满足下列所有条件,否则系统或系统部份功能将无法使用。</span></h3>
  8. <div class="testing-item">
  9. <table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  10. <tr>
  11. <th width="30%" align="center"><strong>需开启的变量或函数</strong></th>
  12. <th width="35%"><strong>要求</strong></th>
  13. <th width="35%"><strong>实际状态及建议</strong></th>
  14. </tr>
  15. <tr>
  16. <td>php版本</td>
  17. <td style="color:#409eff;">php8.0.0及以上 </td>
  18. <td><font color={if $verison}#409eff{else/}red{/if}>{$phpv}</font> </td>
  19. </tr>
  20. {foreach $system_variables as $variables_key => $variables_item}
  21. <tr>
  22. <td>{$variables_item.name}</td>
  23. <td>{$variables_item.need}</td>
  24. <td><img clsss="check-icon" src="{if $variables_item.status}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/></td>
  25. </tr>
  26. {/foreach}
  27. </table>
  28. </div>
  29. <h3>目录权限检测<span class="desc">系统要求必须满足下列所有的目录权限全部可读写的需求才能使用,其它应用目录可安装后在管理后台检测。</span></h3>
  30. <div class="testing-item">
  31. <table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  32. <tr>
  33. <th width="30%" align="center"><strong>目录名</strong></th>
  34. <th width="35%"><strong>读取权限</strong></th>
  35. <th width="35%"><strong>写入权限</strong></th>
  36. </tr>
  37. {foreach $dirs_list as $dirs_key => $dirs_item}
  38. <tr>
  39. <td>{$dirs_item.path_name}</td>
  40. <td>
  41. <img clsss="check-icon" src="{if $dirs_item.is_readable}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
  42. </td>
  43. <td>
  44. <img clsss="check-icon" src="{if $dirs_item.is_write}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
  45. </td>
  46. </tr>
  47. {/foreach}
  48. </table>
  49. </div>
  50. </div>
  51. <div class="btn-box">
  52. <input type="button" class="btn-back" value="后退" onclick="window.location.href = '{$root_url}/install.php/index/index?step=1';" />
  53. <input type="button" class="btn-next" value="继续" {if !$continue} style="background-color:#777;color:#FFF;" disabled="disabled"{/if} onclick="window.location.href = '{$root_url}/install.php/index/index?step=3';" />
  54. </div>
  55. </div>
  56. <div class="testing">
  57. </div>
  58. {/block}
  59. {block name="script"}
  60. <script>
  61. ControlContent(1);
  62. </script>
  63. {/block}