# Uthaan_website
Uthaan’s official Website
Technologies Used : Core PHP, MySQL, HTML, CSS, Javascript, Jquery, Bootstrap 3
To set up website locally:
- Install Local Sever (preferably XAMPP) on your PC
- Clone / Download the files in htdocs folder.
- Make database with name “uthaan” and import the database.
- Make changes accordingly in ‘connect.php’ located in admin/files/
Directory Structure :
- Files in main folder :
- articles.php : display articles
- contact.php : display contact details.
- events.php : display events
- gallery.php : display gallery
- index.php : display homepage
- interviews.php : display interviews.
- navbar.php : common navigation bar for end user’s part
- player.php : video player for shows and gallery
- shows.php : display shows section.
- viewarticle.php : to view complete article.
- viewinterview.php : to view complete interview
- CSS/ : Contains all css files
- Images/ : Contains all images.
- JS/ : Contains all Javascript and Jquery files.
- Admin/ : Contains admin panel files:
- Adminbar.php : navigation bar for admin section.
- Articelsadmin.php : panel for uploading articles
- Eventsadmin.php : panel for uploading events
- Index.php : code to check session
- Interviewsadmin.php : panel for uploading interviews.
- Login.php : admin login section
- Messagesadmin.php : To view user’s messages
- Photosadmin.php : panel for uploading photos for gallery
- Showsadmin.php : panel for uploading shows
- Updatesadmin.php : panel for uploading updates
- Videosadmin.php : panel for uploading videos for gallery
- Admin/Uploads/ : Images get uploaded in this directory
- Admin/files/ : Backend code :
- Connect.php : to connect database
- Articles_upload.php : to upload articles to database
- Events_upload.php : to upload events to database
- Interviews_upload.php : to upload interviews to database
- Login_check.php : to check user credentials
- Logout.php : for signing out
- Photos_upload.php : to upload photos to database
- Send_message.php : to upload messages to database
- Shows_upload.php : to upload shows to database
- Updates_upload.php : to upload updates to database
- Videos_upload.php : to upload videos to database
Additional details :
- Password encryption used : sha1
- Carousel for team section : OWL carousel
- Interface for accessing database : PDO
- Admin credentials : username- admin, password - admin
Tutorials :
- How to upload database : https://www.youtube.com/watch?v=XxHJzTfWg2Y
- How to connect database : https://www.youtube.com/watch?v=EM3LsdisFSw