Macemore
Circumcised pineapples
This is a legit project, please don't close my thread or anything, ayeee.
Today I introduce to you, Deep Fried Butter CMS (DFB for short). I'm creating this CMS because I made a bet.
The current planned features are as fallows:
Template "system" [100%]
Blogging system [58%]
Adding pages [0%]
Admin page stlying [0%]
Simple to do shit with [0%]
Admin login [15%]
Nice default theme [100%]
Install page [70%]
If you have any features or requests or shit like that just keep them to yourself please.
Screenshots:
The entire site looks like that, credits to
Snippets: (For
login.php
Inc.php
Build log:
v.7:
Rather large update to the progress of the CMS
v.6.5:
Questions accepted , Enjoy.
The project's development is going really slow, sorry.
Today I introduce to you, Deep Fried Butter CMS (DFB for short). I'm creating this CMS because I made a bet.
The current planned features are as fallows:
Template "system" [100%]
Blogging system [58%]
Adding pages [0%]
Admin page stlying [0%]
Simple to do shit with [0%]
Admin login [15%]
Nice default theme [100%]
Install page [70%]
If you have any features or requests or shit like that just keep them to yourself please.
Screenshots:
The entire site looks like that, credits to
You must be registered for see links
for the
You must be registered for see links
Snippets: (For
You must be registered for see links
)login.php
PHP:
<?php
mysql_connect($host, $usr, $pass);
mysql_select_db($db);
if(isset($_POST['user'], $_POST['pass'])) {
$user = mysql_real_escape_string(htmlentities(stripslashes($_POST['user'])));
$pass = sha1($_POST['pass'];
$log = mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `username` = `{$user}` AND `password` = `{$pass}`") or die(mysql_error());
$tell = mysql_result($log, 0);
}
if($log == 0) {
echo "Incorrect login, <a href='index.php'>go back</a>";
} else {
$_SESSION['loggedin'] = '1';
echo "Successfully logged in, <a href='admin.php'>go to admin</a>";
}
?>
PHP:
<?php
if(defined('awesome')) {
include('config.php');
function dbcon() {
global $host;
global $usr;
global $db;
global $pwd;
mysql_connect($host, $usr, $pwd) or die(mysql_error() and "Error 1");
mysql_select_db($db) or die(mysql_error() and "Error 2");
}
dbcon();
$nt = mysql_query("SELECT * FROM articles");
$sql = mysql_fetch_array( $nt );
$content = "<div class='mainbox'><div class='mainheader'><div class='headerlefttext'>{$sql['news_title']}</div></div><div class='text'>{$sql['news_content']}";
} else {
echo 'this file cannot be accessed directly!';
}
?>
v.7:
Rather large update to the progress of the CMS
- Almost finished install.php
- Admin (backend) is about 70% done
- Tried cleaning up code (worked a bit)
- Made the filing system about as confusing as possible
- secured the admin login
- Finished Admin login
- Started Admin (backend)
- Remade login (finished)
v.6.5:
- Almost finished install.php
- Almost finished Admin login
- Started Admin login
- Edited template system
- Few code edits
- Cleaned up code
- Started installer
- Started Admin System (In brain, not in page yet )
- Re-made template system (Super duper easy)
- Added theme
- Added template system (Super easy)
- Started admin login
Questions accepted , Enjoy.
The project's development is going really slow, sorry.