How thanhhoan0312/shopthucung-main works
This is a small Vietnamese pet-shop website. Visitors reach a home page with pet-category navigation and a featured-animal slider; the separate account page offers registration and login, with PHP handling submitted credentials and session feedback. The sampled login handler connects to MySQL and queries the users table. Source excerpts do not establish product browsing, checkout, or catalog persistence. The README provides no capability details, so the map is limited to the visible workflow and its documented code references.
Main entry points: Login.php Account handler · index.php Account page · trangchu.php Pet home · connect.php DB connection
Components 8
Web pages
- Account page
html/index.php - Pet home
html/trangchu.php
Account handling
- Account handler
html/Login.php
Persistence
- DB connection
html/connect.php - MySQL
Browser interactions
- Account toggle
JS/chungnang.js - Pet slider
JS/slide.js
Other components
- Visitor
Connections 11
- Visitor → Account page: opens account
html/index.php - Account page → Account handler: posts credentials
html/index.php - Account handler → DB connection: requires connection
html/Login.php - DB connection → MySQL: connects to
html/connect.php - Account handler → MySQL: queries users
html/Login.php - Account handler → Account page: redirects feedback
html/Login.php - Account handler → Pet home: redirects after login
html/Login.php - Visitor → Pet home: opens home
- Pet home → Pet slider: loads slider
html/trangchu.php - Pet home → Account toggle: loads account toggle
html/trangchu.php - Account page → Account toggle: loads account toggle
html/index.php