Functions and roles of the web interface
Roles
Access for different roles
store in table users
group_id:
1 ? User
2 ? company admin
3 ? Super Admin
Storage of files (CSS & Co.)
/var/www/web/
Functions equal file names
Login/Logout
https://call2ride.rogon.de/web/login.php
login and logout, depending on actual loginstatus
Eingabeparameter:
Emailadress
Password
Request a Ride
https://call2ride.rogon.de/web/request.php
request a ride
times in format hhmm
date in format yyyy-mm-dd (date pickup)
feedback after submit in the browser
Offer Ride
https://call2ride.rogon.de/web/offer.php
offer a ride
time in format hhmm
date in format yyyy-mm-dd
feedback in the browser
sends a sms to the person, who previously requested a matching ride
My Requests
https://call2ride.rogon.de/web/requests.php
list all request of the user
My Rides
https://call2ride.rogon.de/web/offers.php
lists all offers of the user
Open Requests
https://call2ride.rogon.de/web/requests.php?all=1&status=open
lists all open requests of all users
Open Offers
https://call2ride.rogon.de/web/offers.php?all=1&status=open
lists all open offers
Profile
https://call2ride.rogon.de/web/profile.php
shows the profile of the user
user can change default location, add and verify new numbers, delete numbers and change the default number
My Routes
https://call2ride.rogon.de/web/routes.php?my=1
list all private routes from the user
delete private routes
link to edit points of private routes
Edit private Route Points
https://call2ride.rogon.de/web/route_points.php?rid=16
edit the points of a private route
Comany Edit
https://call2ride.rogon.de/web/companies.php
edit, create and delete companies
access only for super admin
Location Edit
https://call2ride.rogon.de/web/locations.php
edit, create and delete locations
access only for super admin
Pickuppoint Edit
https://call2ride.rogon.de/web/pickuppoints.php
edit, create and delete pckuppoints
access only for super admin
Route Edit
https://call2ride.rogon.de/web/routes.php
edit, create and delete routes
access only for super admin
Routepoints Edit
https://call2ride.rogon.de/web/route_points.php?rid=1
change points for a route
access only for super admin
Users
https://call2ride.rogon.de/web/users.php
list all users with link to the profile of the user
access only for super admin
Profile Admin
https://call2ride.rogon.de/web/profile.php?uid=4
edit all base data of an user
access only for super admin
Register
register as new user
add user to the users table
number and email are validated
For the web concept, see https://sourceforge.net/p/opencarpool/wiki/Web-Interface-Concept/