How nasstyfox/part-2 works
Pastimes is a PHP second-hand clothing marketplace. Buyers browse available items, add them to a session cart, enter a delivery address, and place an order; sellers list and review items, while administrators approve accounts. MySQL-backed PHP pages implement these stages directly. The graph also includes registration and login, seller management, and database setup. Connections are based on the shown source and SOURCE INDEX; cart mutation and removal behavior is not described in the available excerpts, so those links are omitted.
Main entry points: DBConn.php DB Connection · login.php Login · seller_dashboard.php Seller Dashboard · index.php Clothing Catalog
Components 15
Accounts and Approval
- Registration
PART-2-main/register.php - Login
PART-2-main/login.php - User Approval
PART-2-main/admin_dashboard.php
Buyer Shopping
- Clothing Catalog
PART-2-main/index.php - Cart Action
PART-2-main/cart_action.php - Shopping Cart
PART-2-main/cart.php - Checkout
PART-2-main/checkout.php - Order Processing
PART-2-main/process_order.php
Seller Tools
- Seller Dashboard
PART-2-main/seller_dashboard.php - Item Upload
PART-2-main/upload_item.php - Seller Listings
PART-2-main/my_listings.php
Database Access
- DB Connection
PART-2-main/DBConn.php - Table Setup
PART-2-main/createTable.php - MySQL Database
Other components
- Visitor
Connections 26
- Visitor → Registration: registers
PART-2-main/register.php - Visitor → Login: signs in
PART-2-main/login.php - Visitor → Clothing Catalog: browses
PART-2-main/index.php - Visitor → Checkout: submits address
PART-2-main/checkout.php - Registration → DB Connection: inserts user
PART-2-main/register.php - Registration → Login: redirects after success
PART-2-main/register.php - Login → DB Connection: checks credentials
PART-2-main/login.php - Login → User Approval: routes admin
PART-2-main/login.php - Login → Seller Dashboard: routes seller
PART-2-main/login.php - Login → Clothing Catalog: routes buyer
PART-2-main/login.php - User Approval → DB Connection: updates and reads users
PART-2-main/admin_dashboard.php - Clothing Catalog → DB Connection: reads available items
PART-2-main/index.php - Clothing Catalog → Cart Action: submits product
PART-2-main/index.php - Shopping Cart → DB Connection: reads item prices
PART-2-main/cart.php - Shopping Cart → Checkout: links to checkout
PART-2-main/cart.php - Checkout → DB Connection: reads prices
PART-2-main/checkout.php - Checkout → Order Processing: submits order
PART-2-main/checkout.php - Order Processing → DB Connection: creates order and updates items
PART-2-main/process_order.php - Seller Dashboard → DB Connection: reads status and counts
PART-2-main/seller_dashboard.php - Seller Dashboard → Item Upload: links to upload
PART-2-main/seller_dashboard.php - Seller Dashboard → Seller Listings: links to listings
PART-2-main/seller_dashboard.php - Item Upload → DB Connection: inserts listing
PART-2-main/upload_item.php - Seller Listings → DB Connection: reads seller items
PART-2-main/my_listings.php - Table Setup → DB Connection: uses connection
PART-2-main/createTable.php - DB Connection → MySQL Database: connects and selects
PART-2-main/DBConn.php - Table Setup → MySQL Database: creates tables
PART-2-main/createTable.php