PHP留言板实训报告模板,PHP大作业模板

,论文模板, 1153 浏览 2022-02-12 发布

PHP留言板实训报告模板,PHP期末网页设计大作业模板

  • 课程设计说明

随着科学技术的不断提高,计算机技术日益成熟,它在人类社会中的各个领域发挥的作用也越来越大了。而我们对生活社交和资讯的了解和同学的沟通交流信息处理也应当用到这些完整的技术,为了也方便用户沟通和交流,本系统提供了管理员对信息的用户注册登录,和留言等功能,相当于用户登录后和其他同学进行留言交流

用户模块

用户登录模块,此模块包括用户登录和检查登录用户的身份功能,根据用户数据的学号和密码判断该用户是否合法,以及是否可以。

用户留言模块,用户登录后可以在留言板进行留言

管理员模块

此模块实现了管理员功能区的所有功能,由管理员登录模块、留言查看和留言删除系统模块组成。

管理员登录:此模块根据用户输入的账号和密码判断用户是否可以登录以及是否是管理员账户。

留言管理:管理员可以在此页面看到用户的全部留言管理员可以对用户留言进行修改和直接删除

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 程序目录模块

 

 

  • 课程设计说明

 

  1. 需求说明

本人制作的一个校园生活相关网站,网站可以注册,登录,网站还设置了BBS模板,并开设不同版本,如运动,考研,励志等主题,用户可以在此处发表自己的留言的感想,也想回复别人发布的帖子,实现不同用户的在线效果,后台管理员还可以删除不合法的留言,来保证给到用户一个健康的网络环境.本网站通过与数据库的连接使信息的发布与管理更加快捷,让广大同我我有一个学生朋友的朋友有个资讯交流平台。本次课程设计综合运用了HTMLphpcss+div等技术,并结合mysql数据库进行设计可以存储用户和留言信息

 

  1. 模块介绍

用户模块

用户登录模块,此模块包括用户登录和检查登录用户的身份功能,根据用户数据的学号和密码判断该用户是否合法,以及是否可以。

用户留言模块,用户登录后可以在留言板进行留言

管理员模块

此模块实现了管理员功能区的所有功能,由管理员登录模块、留言查看和留言删除系统模块组成。

管理员登录:此模块根据用户输入的账号和密码判断用户是否可以登录以及是否是管理员账户。

留言管理:管理员可以在此页面看到用户的全部留言管理员可以对用户的留言进行修改和直接删除

 

  1. 流程图

  1. E-R

  1. 数据库设计

数据库表的设计:

管理员 admin:

名字

类型

排序规则

默认

注释

 

id

mediumint(3)

 

 

 

username

varchar(40)

utf8_general_ci

用户名

 

password

varchar(40)

utf8_general_ci

密码

 

 

用户表:guest:

名字

类型

排序规则

默认

注释

id

mediumint(6)

 

 

username

varchar(20)

gbk_chinese_ci

用户名

password

varchar(40)

gbk_chinese_ci

 

avatar

varchar(80)

gbk_chinese_ci

def.jpg

 

email

varchar(40)

gbk_chinese_ci

 

 

address

char(40)

gbk_chinese_ci

NULL

地址

sex

varchar(2)

gbk_chinese_ci

 

birthday

date

 

NULL

生日

date

datetime

 

 

 

留言表 note:

 

名字

类型

排序规则

默认

注释

id

mediumint(3)

 

catid

int(10)

 

0

版块ID

pid

int(10)

 

0

title

varchar(40)

utf8_general_ci

标题

about

text

utf8_general_ci

uid

int(10)

 

date

datetime

 

 

 

  1. 关键代码

数据库连接:

<?php

    session_start();//开启session

    define('DB_HOST','127.0.0.1');

    define('DB_USER','root');

    define('DB_PWD','root'); //数据库密码

    define('DB_NAME','db'); //数据库名

    error_reporting(0);

    $conn = @mysqli_connect(DB_HOST,DB_USER,DB_PWD,DB_NAME) or die('数据连接失败');

    mysqli_query($conn,'SET NAMES UTF8') or die('字符集错误');

 

 

登录

<?php

include 'conn.php';

ob_start();

if ($_POST) {

 

  if ($_SESSION['yzm'] != $_POST['yzm']) {

    echo "<script type='text/javascript'>alert('验证码错误');history.back();</script>";

    die;

  }

 

  $query = mysqli_query($conn, "select * from guest where username='{$_POST['username']}' && password='{$_POST['password']}'"); //查询用户帐号密码信息

  $rows = mysqli_fetch_array($query, MYSQLI_ASSOC);

  if (!$rows) {

    echo "<script type='text/javascript'>alert('您的密码或者帐号不正确,请重新输入!');history.back();</script>";

  } else {

    $_SESSION['username'] = $rows['username']; //写入session

    $_SESSION['uid'] = $rows['id'];

 

    if (!empty($_POST['remember'])) {     //如果用户选择了,记录登录状态就把用户名和加了密的密码放到cookie里面

      setcookie("username", $rows['username'], time() + 3600 * 24 * 30);

      setcookie("password", $rows['password'], time() + 3600 * 24 * 30);

    }

 

    echo "<script type='text/javascript'>alert('成功!');window.location.href='notes.php';ck();</script>";

  }

}

 

if ($_COOKIE['username'] && $_COOKIE['password'] && !$_SESSION['username']) {

  $query = mysqli_query($conn, "select * from guest where username='{$_COOKIE['username']}' && password='{$_COOKIE['password']}'"); //查询用户帐号密码信息

  $rows = mysqli_fetch_array($query, MYSQLI_ASSOC);

  if ($rows) {

    $_SESSION['username'] = $rows['username']; //写入session

    $_SESSION['uid'] = $rows['id'];

  }

}

 

?>

 

注册:

写入数据库:

<?php

include 'conn.php';

include 'includes/basic.func.php';

if ($_POST) {

  $_clean['username'] = _check_username($_POST['username'], 2, 20); //验证用户名

  $_clean['password'] = _check_password($_POST['password'], $_POST['repassword'], 6); //验证密码

  $query = mysqli_query($conn, "select username from guest where username = '{$_clean['username']}'"); //查询用户名是否已经被注册

  if ($_row = mysqli_fetch_array($query, MYSQLI_ASSOC)) {

    _alert_back('此用户已经被注册');

  };

  $query = mysqli_query($conn, "insert into guest (username,password,email,birthday,sex,address,date) values ('{$_POST['username']}','{$_POST['password']}','{$_POST['email']}','{$_POST['birthday']}','{$_POST['sex']}','{$_POST['address']}',now())"); //写入用户注册信息

  _alert_location('恭喜你,注册成功', 'login.php');

};

?>

 

JS较验:

<script>

        /**

         * 校验用户名

         */

        function checkUsername() {

          var value = document.getElementById("username").value;

          var hint = document.getElementById("hint");

          if (value.length < 6) {

            hint.innerHTML = "用户名太短";

            return false;

          } else {

            hint.innerHTML = "用户名合格";

            return true;

          }

        }

 

        /**

         * 校验密码

         */

 

        function checkPass() {

          var value = document.getElementById("pass_value").value;

          var hint = document.getElementById("hint");

          if (value.length < 6) {

            hint.innerHTML = "密码太短";

            return false;

          } else {

            hint.innerHTML = "密码格式合格";

            return true;

          }

        }

 

        function pass_hide() {

          var hint = document.getElementById("pass_hint");

          hint.innerHTML = "";

        }

        /***

         * 确认密码的校验

         */

        function checkPassPass() {

          var papavalue = document.getElementById("passpass_value").value;

          var value = document.getElementById("pass_value").value;

          var papahint = document.getElementById("hint");

          if (papavalue != value) {

            papahint.innerHTML = "两次密码不一致";

            return false;

          } else {

            papahint.innerHTML = "";

            return true;

          }

        }

 

        function passpass_hide() {

          var papahint = document.getElementById("hint");

          papahint.innerHTML = "";

        }

 

        function checkForm() {

          var flag = checkUsername() && checkPass() && checkPassPass();

          return flag;

        }

      </script>

 

 

留言:

<?php

include 'conn.php';

include 'includes/basic.func.php';

if ($_POST) {

  $query = mysqli_query($conn, "insert into note (title,about,catid,uid,date) values ('{$_POST['title']}','{$_POST['about']}','{$_POST['catid']}','{$_SESSION['uid']}',now())");

  _alert_location('留言成功 ', 'notes.php');

};

if ($_GET['act'] == 'del') {

  mysqli_query($conn, "delete from note where id = {$_GET['id']}");

}

?>

 

留言分页显示:

 <?php

      include 'conn.php';

      $num_rec_per_page = 4;

      if (isset($_GET["page"])) {

        $page  = $_GET["page"];

      } else {

        $page = 1;

      };

      $start_from = ($page - 1) * $num_rec_per_page;

 

      if ($_GET['keywords']) { //判断是否有post 关键词

        $where = " and (note.title like '%{$_GET['keywords']}%' or note.about like '%{$_GET['keywords']}%') "; //组装 查询条件

      }

      if ($_GET['catid']) { //判断是否有post 关键词

        $where = " and note.catid = '{$_GET['catid']}' "; //组装 查询条件

      }

      $_query = mysqli_query($conn, "select *,note.date as ndate,guest.id as uid,guest.username,note.id as nid from note left join guest on guest.id = note.uid  where note.pid = 0 {$where} order by note.id desc  LIMIT $start_from, $num_rec_per_page"); //通过 left join 连接 查询  分页查询 留言信息

      while (!!$_rows = mysqli_fetch_array($_query, MYSQLI_ASSOC)) {

 

      ?>

        <table border="0" cellspacing="0" style="border-bottom:2px solid #ccc ;">

          <tr>

            <td width="71">标题:</td>

            <td><a href="note.php?id=<?php echo $_rows['nid'] ?>"><?php echo $_rows['title'] ?></a></td>

          </tr>

          <tr>

            <td>内容:</td>

            <td><?php echo $_rows['about'] ?></td>

          </tr>

          <tr>

            <td colspan="2" align="center">

              用户:

              <?php echo $_rows['username'] ?> | 时间:<?php echo $_rows['ndate'] ?>

              <?php

              if ($_rows['uid'] == $_SESSION['uid']) { //如果留言者和登录一样 显示 编辑和删除 按钮

                echo "<a href='editnote.php?id={$_rows['nid']}'>编辑</a> | ";

                echo " <a href='?act=del&id={$_rows['nid']}'>删除</a>";

              }

              ?>

            </td>

          </tr>

        </table>

      <?php } ?>

 

      <p align="center">

        <?php

        $_query = mysqli_query($conn, "select *,note.date as ndate,guest.id as uid,guest.username,note.id as nid from note left join guest on guest.id = note.uid  where note.id > 0 {$where}"); //通过 left join 连接 查询  分页查询 留言信息

 

        $total_records = mysqli_num_rows($_query);  // 统计总共的记录条数

 

        $total_pages = ceil($total_records / $num_rec_per_page);  // 计算总页数

 

        echo "<a href='?catid={$_GET['catid']}&page=1'>" . '|<' . "</a> "; // 第一页

 

        for ($i = 1; $i <= $total_pages; $i++) {

          echo "<a href='?catid={$_GET['catid']}&page=" . $i . "'>" . $i . "</a> ";

        };

        echo "<a href='?catid={$_GET['catid']}&page=$total_pages'>" . '>|' . "</a> "; // 最后一页

        ?>

      </p>

 

 

  1. 效果图

 

 

  1. 项目心得

虽然PHP并非目前最火爆的编程语言并且相对易学的一门web变成语言但要应用好php也需要学习htmljs,mysql,css,div等辅助语言,比如MYSQlMYSQL只有一门好的开发语言而不懂得数据库,我们依然是寸步难行的!还好,我们有一样开源、小巧的MYSQL!对于一个web开发人员来说,不能仅仅懂得(///-insert/delete/update/select),为了让我们的网站跑的更快、更顺畅我们还要懂得mysql的优化。

了解了MYSQL数据库的创建的管理。以及数据库在网站应用中和重要性。

在实训过程中其中也有很多做不下去的时候后来查阅了资料才得以解决。这让我体会到了这门课重在实践的特征。同时感谢老师不辞辛苦的为我们参加php+mysql网站开发学习的老师传授非常有用的编程知识与技能。我们从他那里学习到了很多在我们自身工作中非常有用的知识,能让我们更加得心应手的工作和学习

总之能过本次实训作品,我遇到了不少问题,但也是借助互联网的强大搜索能力和同学老师的帮助也都得到了解决,这更加坚信大数据的广泛应用可以惠及大众,促进社会发展。

 

 

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-09-18 20:18:50 HTTP/2.0 GET : https://www.zuoyewo.com/help/15
  2. 运行时间 : 0.062787s [ 吞吐率:15.93req/s ] 内存消耗:4,485.41kb 文件加载:141
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=0606cb2f1177b0f7e7f87a9893d311ca
  1. /www/wwwroot/zuoyewo.com/public/index.php ( 1.73 KB )
  2. /www/wwwroot/zuoyewo.com/vendor/autoload.php ( 0.75 KB )
  3. /www/wwwroot/zuoyewo.com/vendor/composer/autoload_real.php ( 1.63 KB )
  4. /www/wwwroot/zuoyewo.com/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/zuoyewo.com/vendor/composer/ClassLoader.php ( 15.99 KB )
  6. /www/wwwroot/zuoyewo.com/vendor/composer/autoload_static.php ( 4.56 KB )
  7. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/zuoyewo.com/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/zuoyewo.com/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/zuoyewo.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  14. /www/wwwroot/zuoyewo.com/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  15. /www/wwwroot/zuoyewo.com/vendor/symfony/var-dumper/Resources/functions/dump.php ( 0.99 KB )
  16. /www/wwwroot/zuoyewo.com/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  17. /www/wwwroot/zuoyewo.com/vendor/symfony/var-dumper/VarDumper.php ( 3.73 KB )
  18. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/App.php ( 15.00 KB )
  19. /www/wwwroot/zuoyewo.com/vendor/topthink/think-container/src/Container.php ( 15.62 KB )
  20. /www/wwwroot/zuoyewo.com/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  21. /www/wwwroot/zuoyewo.com/app/provider.php ( 0.19 KB )
  22. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  23. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  24. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  25. /www/wwwroot/zuoyewo.com/app/common.php ( 0.03 KB )
  26. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  27. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  28. /www/wwwroot/zuoyewo.com/config/admin.php ( 0.14 KB )
  29. /www/wwwroot/zuoyewo.com/config/app.php ( 0.95 KB )
  30. /www/wwwroot/zuoyewo.com/config/cache.php ( 0.81 KB )
  31. /www/wwwroot/zuoyewo.com/config/console.php ( 0.23 KB )
  32. /www/wwwroot/zuoyewo.com/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/zuoyewo.com/config/database.php ( 2.18 KB )
  34. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/zuoyewo.com/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/zuoyewo.com/config/frontend.php ( 0.21 KB )
  37. /www/wwwroot/zuoyewo.com/config/lang.php ( 0.91 KB )
  38. /www/wwwroot/zuoyewo.com/config/log.php ( 1.35 KB )
  39. /www/wwwroot/zuoyewo.com/config/middleware.php ( 0.19 KB )
  40. /www/wwwroot/zuoyewo.com/config/route.php ( 1.89 KB )
  41. /www/wwwroot/zuoyewo.com/config/session.php ( 0.57 KB )
  42. /www/wwwroot/zuoyewo.com/config/trace.php ( 0.34 KB )
  43. /www/wwwroot/zuoyewo.com/config/view.php ( 0.82 KB )
  44. /www/wwwroot/zuoyewo.com/app/event.php ( 0.25 KB )
  45. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  46. /www/wwwroot/zuoyewo.com/app/service.php ( 0.13 KB )
  47. /www/wwwroot/zuoyewo.com/app/AppService.php ( 0.26 KB )
  48. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  49. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  50. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  51. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  52. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  53. /www/wwwroot/zuoyewo.com/vendor/services.php ( 0.15 KB )
  54. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  55. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  56. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/service/ModelService.php ( 1.75 KB )
  57. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  58. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  59. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  60. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  61. /www/wwwroot/zuoyewo.com/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  62. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  63. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  64. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  65. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  66. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  67. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  68. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  69. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  70. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  71. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  72. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  73. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  74. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  75. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  76. /www/wwwroot/zuoyewo.com/vendor/psr/log/src/LoggerInterface.php ( 2.68 KB )
  77. /www/wwwroot/zuoyewo.com/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  78. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  79. /www/wwwroot/zuoyewo.com/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  80. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  81. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  82. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  83. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  84. /www/wwwroot/zuoyewo.com/app/Request.php ( 0.09 KB )
  85. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Request.php ( 55.74 KB )
  86. /www/wwwroot/zuoyewo.com/app/middleware.php ( 0.25 KB )
  87. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  88. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  89. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  90. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  91. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  92. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  93. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  94. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Route.php ( 23.56 KB )
  95. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleName.php ( 5.34 KB )
  96. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Domain.php ( 1.25 KB )
  97. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleGroup.php ( 20.45 KB )
  98. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Rule.php ( 26.35 KB )
  99. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  100. /www/wwwroot/zuoyewo.com/route/app.php ( 6.09 KB )
  101. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Route.php ( 4.68 KB )
  102. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Config.php ( 1.37 KB )
  103. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/dispatch/Callback.php ( 2.37 KB )
  104. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.54 KB )
  105. /www/wwwroot/zuoyewo.com/app/Home/controller/Article.php ( 0.76 KB )
  106. /www/wwwroot/zuoyewo.com/app/Home/controller/Base.php ( 34.60 KB )
  107. /www/wwwroot/zuoyewo.com/app/BaseController.php ( 2.05 KB )
  108. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Session.php ( 1.79 KB )
  109. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/facade/Cookie.php ( 1.48 KB )
  110. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  111. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  112. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  113. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  114. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  115. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  116. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  117. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  118. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  119. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  120. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  121. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  122. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  123. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  124. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  125. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  126. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  127. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  128. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  129. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  130. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/log/driver/File.php ( 6.19 KB )
  131. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  132. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/log/Channel.php ( 3.88 KB )
  133. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/event/LogRecord.php ( 0.86 KB )
  134. /www/wwwroot/zuoyewo.com/vendor/topthink/think-orm/src/db/Express.php ( 1.53 KB )
  135. /www/wwwroot/zuoyewo.com/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  136. /www/wwwroot/zuoyewo.com/view/index/help_detail.php ( 2.00 KB )
  137. /www/wwwroot/zuoyewo.com/view/index/_header.php ( 1.83 KB )
  138. /www/wwwroot/zuoyewo.com/view/index/_footer.php ( 0.36 KB )
  139. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  140. /www/wwwroot/zuoyewo.com/vendor/topthink/framework/src/think/response/Html.php ( 0.97 KB )
  141. /www/wwwroot/zuoyewo.com/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.001603s ] mysql:host=rm-bp1tlcx10r742d0ik7o.mysql.rds.aliyuncs.com;port=3306;dbname=zyw;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `data_news_item` [ RunTime:0.001829s ]
  3. SELECT * FROM `data_news_item` WHERE `id` = '15' AND `status` = 1 AND `deleted` = 0 LIMIT 1 [ RunTime:0.004330s ]
  4. UPDATE `data_news_item` SET `num_read` = `num_read` + 1 WHERE `id` = '15' [ RunTime:0.003206s ]
  5. SELECT `id`,`name`,`remark`,`mark`,`num_read`,`create_at` FROM `data_news_item` WHERE `status` = 1 AND `deleted` = 0 ORDER BY `sort` DESC,`id` DESC LIMIT 8 [ RunTime:0.000921s ]
  6. SHOW FULL COLUMNS FROM `system_config` [ RunTime:0.001293s ]
  7. SELECT * FROM `system_config` WHERE `type` = 'base' [ RunTime:0.000629s ]
0.063834s