How ahmedshaker196/urbanix works
URBANIX is a small PHP storefront with account entry, product browsing and cart pages, contact messaging, and an administrative area. The visible account flow registers or authenticates users; a successful login creates or finds a cart and routes admins to the dashboard or users to the home page. Admin pages manage products and inspect clients, carts, and contact messages. The README names additional storefront pages, but their implementation was not sampled, so their internal flow is not inferred. Connections shown are limited to explicit imports, SQL connection setup, and page links in the excerpts.
Main entry points: admin.php Admin dashboard · db.php DB connection · index.php Login · Register.php Registration
Components 18
Accounts
- Login
index.php - Registration
Register.php
Storefront
- Home page
Home.html - Product catalog
products.php - Customer cart
cart.php - Contact form
contact.php - About page
about.php
Administration
- Admin dashboard
admin.php - Add product
addproduct_admin.php - Edit product
edit_product.php - Delete product
delete_product.php - Client overview
client.php - Cart overview
fetch_cart.php - Message inbox
posts.php - Delete message
delete_post.php
Persistence
- DB connection
config/db.php - MySQL database
Other components
- Visitor
Connections 16
- Visitor → Login: submits credentials
index.php - Visitor → Registration: registers account
Register.php - Login → DB connection: loads connection
index.php - Registration → DB connection: loads connection
Register.php - Login → Admin dashboard: routes admin
index.php - Login → Home page: routes user
index.php - Contact form → DB connection: loads connection
contact.php - Admin dashboard → DB connection: loads connection
admin.php - Admin dashboard → Add product: links to
admin.php - Admin dashboard → Edit product: links to
admin.php - Admin dashboard → Delete product: links to
admin.php - Admin dashboard → Client overview: links to
admin.php - Admin dashboard → Cart overview: links to
admin.php - Admin dashboard → Message inbox: links to
admin.php - Message inbox → Delete message: links to
posts.php - DB connection → MySQL database: connects to
config/db.php