widget.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="col-md-{$width|default=6}">
  2. <div class="block block-bordered">
  3. <div class="block-header bg-gray-lighter">
  4. <h3 class="block-title">系统信息</h3>
  5. </div>
  6. <div class="block-content">
  7. <table class="table">
  8. <tbody>
  9. <tr>
  10. <td>商业授权版本</td>
  11. <td id="product-auth"><a class="label label-danger" href="http://www.dolphinphp.com/pricing" target="_blank">未授权</a></td>
  12. </tr>
  13. <tr>
  14. <td>DolphinPHP版本</td>
  15. <td id="product-update">{:config('dolphin.product_version')}</td>
  16. </tr>
  17. <tr>
  18. <td>ThinkPHP版本</td>
  19. <td>{$Think.VERSION}</td>
  20. </tr>
  21. <tr>
  22. <td>服务器操作系统</td>
  23. <td>{$Think.const.PHP_OS}</td>
  24. </tr>
  25. <tr>
  26. <td>运行环境</td>
  27. <td>{$Request.server.SERVER_SOFTWARE}</td>
  28. </tr>
  29. <tr>
  30. <td>MYSQL版本</td>
  31. <td>{:db()->query('select version() as version')[0]['version']}</td>
  32. </tr>
  33. <tr>
  34. <td>PHP版本</td>
  35. <td>{$Think.const.PHP_VERSION}</td>
  36. </tr>
  37. <tr>
  38. <td>上传限制</td>
  39. <td>{:ini_get('upload_max_filesize')}</td>
  40. </tr>
  41. </tbody>
  42. </table>
  43. </div>
  44. </div>
  45. </div>