Xerses
Member
- Dec 29, 2012
- 30
- 4
LiCMS - Version 1.0.0
Introduction
LiCMS is (or will be) a Content Management System (CMS) coded in PHP & MySQLi. I will be using OOP, but very scarcely though. I'm not quite familiar with OOP. This CMS is going to be sort-of a social networking site? Let me explain more clearly. A Registered User will be able to Post Comments, Make Articles, Like Articles & Comments, View Profiles etc. You might be thinking this is a News System, but nope. ANY User can create articles. Not just an admin.
This CMS will have Ranks, Permissions etc. Staff Members will have the ability to view the Admin Panel and access features (according to the permissions set).
This CMS used to be called FulCMS, but I hated the name & hated the code, so I started coding the whole thing again.
Screenshots
Index -
You must be registered for see links
Register -
You must be registered for see links
Contact -
You must be registered for see links
Almost finished with profiles.
Snippets
Config.php
PHP:
<?php
/*---------------------------
-- LiCMS by Doctorate -------
-- Version 1.0.0 ------------
-----------------------------
-- Configuration Page -------
---------------------------*/
## General Configuration
$_CONFIG['site']['name'] = "LiCMS"; // Website Name
$_CONFIG['site']['desc'] = "Version 1.0.0"; // Website Description
$_CONFIG['site']['url'] = "http://localhost/licms"; // Site URL (No ending slash eg: "http://localhost")
$_CONFIG['site']['copyright'] = "© Copyright Doctorate. 2013 - 2014."; // Website's Copyright.
## MySQL Configuration
$_CONFIG['sql']['host'] = "localhost"; // MySQL Host
$_CONFIG['sql']['user'] = "root"; // MySQL Username
$_CONFIG['sql']['pass'] = ""; // MySQL Password
$_CONFIG['sql']['db'] = "licms"; // MySQL Database
## User Configuration
$_CONFIG['user']['status'] = "I <3 LiCMS"; // Default User Status
## End of Configuration
## Do not edit below if you do not know what you're doing.
$con = new mysqli($_CONFIG['sql']['host'], $_CONFIG['sql']['user'], $_CONFIG['sql']['pass'], $_CONFIG['sql']['db']);
?>
Global file
PHP:
<?php
/*---------------------------
-- LiCMS by Doctorate -------
-- Version 1.0.0 ------------
-----------------------------
-- Global Script ------------
---------------------------*/
require_once('manage/config.php');
require_once('class/class.core.php');
session_start();
$core = new userCore();
?>
Target
I don't want to lie here. This might take some time as I'm fairly new to MySQLi, but I've had no problems so far. Also, I've got school etc, and Exams till the 20th of January.
Live Preview
Will set it up soon. Just doing up some finishing touches.
Credits
Xerses / Doctorate (90%) [PHP Code]
Thomas Park (10%) [BootStrap Theme]
Requesting Thread Name Change atm. :/