Name: AKINBLOG
Contributors: Akintunde Jegede
Programmed with: PHP
Requires at least: php 4.*
Major Dependencies: bootstrap & jquery
License: APACHE LICENSE
License URI: https://www.apache.org/licenses/LICENSE-2.0
Live Demo Address: akin.com.ng
This script is a simple portfolio html website with php/mysql powered blog, an about page, a portfolio and options to add other pages.
This script was built for frelancers with a eye for beauty and minimalism in mind. This is reflective in the concept and design of the front end.
The script has three major types of pages that include:
This pages display the blog articles.
The Index.html Page: this includes the blog page where all articles are highlighted. This is defaultly shown on the index page.
The viewpost.php Page: This displays each post based on a get variable that sends the id to the database to request the text, although this is not visible to the end user as it has been rewrited via the htaccess to have fancy urls that looks like http://akin.com.ng/9/Using-htaccess-to-set-your-index-file
instead of http://akin.com.ng/viewpost.php?id=9
.
This pages are just displaying information. They include:
wd.html This displays work done, more like a portfolio page.
contact.html This displays contact information, it also contains a working form that sends provided information to an email address that is provided on line 15 of the page. Feel free to edit this page. There are more lines to be edited inside this script to reformat the body, subject and recipients of the email sent via the form.
about.html This simply contains information about the owner of the website. All information are provided in html format, feel free to edit the page to add your own information.
You can add more pages to this script if you so wish, Just edit head.php to have site-wide header that contain all your pages.
These pages can only be viewed by those who have admin login. The login details are stored in the db.sql, upload this sql dump to your database and edit include/config.php to change db info.
To access the admin page, just use a link like this (http://website.com/admin)
This is a list of all the admin pages, the names of this pages explain what they do:
add-post.php
add-user.php
edit-post.php
edit-user.php
index.php
login.php
logout.php
menu.php
users.php
These are pages that perform other functions apart from the one listed above: head.html (Site Header) foot.html (site footer)
Uploader: This contain file Upload script for uploading images while writing or updating blog. (This is yet to be automated)
Includes: This contains config.php that houses db access details (Note: This Script Uses PDO database calls, so be mindful of the standard database protocols for PDO)
All other unstated files should be considered trivial.
Installation is very easy. Just follow the following steps
- Download this script as a zip file (from here)
- Copy to your server www (or htdocs) folder
- Upload db.sql via your phpadmin,
- Edit includes/config.php to add new db details
- That's it
- Just view from your server domain name (or from localhost if you are in a local environment)
1.0
Discord: @akintunde
Email: jegedeakintunde[at]gmail.com
utopian.io: @akintunde
github: @akintunde102