How bendy-paul/techmedia works
Tech Media Directory is a PHP directory and publishing site for Nigerian technology companies, with public discovery across categories, locations, events, jobs, and news, plus user reviews and an admin area for managing that content. Visitors browse or search listings and content; registered users can interact through reviews, while administrators maintain records and moderate feedback. The excerpts show PHP pages querying MySQL directly, with shared public and admin connection helpers. The README is empty, and several feature pages are unsampled, so some subsystem links are omitted rather than inferred.
Main entry points: wertyuytre.php Public DB helper · db.php Admin DB helper · categories.php Category browsing · header.php Public layout
Components 31
Public discovery
- Homepage
index.php - Search results
search-results.php - Category browsing
categories.php - Public layout
header.php
Directory and content
- Events browsing
events.php - Event detail
event.php - Event ticker
event-ticker.php - Get listed
get-listed.php - Premium listings
premium-listed.php - Jobs
jobs.php - News
news.php - Content APIs
api/companies.php
Accounts and feedback
- Registration
register.php - User login
login.php - User dashboard
user-dashboard.php - Review display
includes/reviews.php - Review manager
includes/review-manager.php - Public DB helper
includes/wertyuytre.php
Administration
- Admin login
admin/login.php - Admin dashboard
admin/index.php - Directory management
admin/edit-company.php - Event management
admin/edit-event.php - Location management
admin/locations.php - Review moderation
admin/reviews.php - Admin actions
admin/actions/save-company.php - Admin DB helper
admin/includes/db.php - Admin layout
admin/includes/header.php - Admin navigation
admin/includes/sidebar.php
Other components
- Visitor
- MySQL database
- Administrator
Connections 41
- Visitor → Homepage: opens
index.php - Visitor → Search results: searches
search-results.php - Visitor → Category browsing: browses
categories.php - Homepage → Public DB helper: queries
index.php - Homepage → Category browsing: links to
index.php - Homepage → Public layout: renders
index.php - Search results → Public DB helper: queries
search-results.php - Search results → Public layout: includes
search-results.php - Category browsing → Public DB helper: queries
categories.php - Category browsing → Event ticker: includes
categories.php - Category browsing → Public layout: includes
categories.php - Get listed → Public DB helper: queries
get-listed.php - Get listed → Public layout: includes
get-listed.php - Get listed → Event ticker: includes
get-listed.php - Premium listings → Public DB helper: queries
premium-listed.php - Premium listings → Public layout: includes
premium-listed.php - Events browsing → Public DB helper: queries
- Event detail → Public DB helper: queries
- News → Public DB helper: queries
- Content APIs → Public DB helper: uses
api/companies.php - Registration → Public DB helper: uses
- User login → Public DB helper: uses
- User dashboard → Public DB helper: uses
- Review display → Review manager: uses
includes/reviews.php - Review manager → MySQL database: reads and writes
includes/review-manager.php - Public DB helper → MySQL database: connects
includes/wertyuytre.php - Administrator → Admin login: signs in
- Admin dashboard → Admin DB helper: queries
admin/index.php - Admin dashboard → Admin layout: includes
admin/index.php - Admin dashboard → Admin navigation: includes
admin/index.php - Directory management → Admin DB helper: uses
admin/edit-company.php - Directory management → Admin layout: includes
admin/edit-company.php - Directory management → Admin navigation: includes
admin/edit-company.php - Event management → Admin DB helper: uses
admin/edit-event.php - Event management → Admin layout: includes
admin/edit-event.php - Event management → Admin navigation: includes
admin/edit-event.php - Location management → Admin DB helper: uses
admin/locations.php - Review moderation → Admin DB helper: queries
admin/reviews.php - Review moderation → Admin actions: links actions
admin/reviews.php - Admin actions → Admin DB helper: uses
admin/actions/save-company.php - Admin DB helper → MySQL database: connects
admin/includes/db.php