step-2.html 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {extend name="base"/}
  2. {block name="resources"}
  3. {/block}
  4. {block name="main"}
  5. <div class="testing">
  6. <div class="testing-item">
  7. <h3>服务器信息</h3>
  8. <table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  9. <tr>
  10. <th width="30%" align="center"><strong>参数</strong></th>
  11. <th width="70%"><strong>值</strong></th>
  12. </tr>
  13. <tr>
  14. <td><strong>服务器域名</strong></td>
  15. <td>{$name}</td>
  16. </tr>
  17. <tr>
  18. <td><strong>服务器操作系统</strong></td>
  19. <td>{$os}</td>
  20. </tr>
  21. <tr>
  22. <td><strong>服务器解译引擎</strong></td>
  23. <td>{$server}</td>
  24. </tr>
  25. <tr>
  26. <td><strong>PHP版本</strong></td>
  27. <td>{$phpv}</td>
  28. </tr>
  29. <tr>
  30. <td><strong>系统安装目录</strong></td>
  31. <td>{$root_path}</td>
  32. </tr>
  33. </table>
  34. </div>
  35. <div class="testing-item">
  36. <h3>系统环境检测<span class="desc">系统环境要求必须满足下列所有条件,否则系统或系统部份功能将无法使用。</span></h3>
  37. <table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  38. <tr>
  39. <th width="30%" align="center"><strong>需开启的变量或函数</strong></th>
  40. <th width="35%"><strong>要求</strong></th>
  41. <th width="35%"><strong>实际状态及建议</strong></th>
  42. </tr>
  43. <tr>
  44. <td>php版本</td>
  45. <td style="color:#ff8143;">php7.4.0及以上 </td>
  46. <td><font color={if $verison}#ff8143{else/}red{/if}>{$phpv}</font> </td>
  47. </tr>
  48. {foreach $system_variables as $variables_key => $variables_item}
  49. <tr>
  50. <td>{$variables_item.name}</td>
  51. <td>{$variables_item.need}</td>
  52. <td><img clsss="check-icon" src="{if $variables_item.status}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/></td>
  53. </tr>
  54. {/foreach}
  55. </table>
  56. </div>
  57. <div class="testing-item">
  58. <h3>目录权限检测<span class="desc">系统要求必须满足下列所有的目录权限全部可读写的需求才能使用,其它应用目录可安装后在管理后台检测。</span></h3>
  59. <table border="0" align="center" cellpadding="0" cellspacing="0" class="twbox">
  60. <tr>
  61. <th width="30%" align="center"><strong>目录名</strong></th>
  62. <th width="35%"><strong>读取权限</strong></th>
  63. <th width="35%"><strong>写入权限</strong></th>
  64. </tr>
  65. {foreach $dirs_list as $dirs_key => $dirs_item}
  66. <tr>
  67. <td>{$dirs_item.path_name}</td>
  68. <td>
  69. <img clsss="check-icon" src="{if $dirs_item.is_readable}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
  70. </td>
  71. <td>
  72. <img clsss="check-icon" src="{if $dirs_item.is_write}INSTALL_IMG/success.png{else/}INSTALL_IMG/error.png{/if}"/>
  73. </td>
  74. </tr>
  75. {/foreach}
  76. </table>
  77. </div>
  78. <div class="btn-box">
  79. <input type="button" class="btn-back" value="后退" onclick="window.location.href = '{$root_url}/install.php/index/index?step=1';" />
  80. <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';" />
  81. </div>
  82. </div>
  83. {/block}
  84. {block name="script"}
  85. <script>
  86. ControlContent(1);
  87. </script>
  88. {/block}