ZapCMS [PHP, OOP, From Scratch] PHP 

Status
Not open for further replies.
:joy:
Decennium
Joined
Apr 30, 2007
Messages
2,342
Reaction score
1,549
This thread is for information purposes only and I will be answering questions about the content managment system. Trolls will be ignored.

Here's a quick explanation on the CMS and why I am coding it -

I'm coding this content managment system because I am sick of seeing everyone using PhoenixPHP / uber. I want to bring something to the market that is smart, innovative, simple to use and edit, but still packing a decent amount of features.

All in all so far i've probably spent about an hour on the actual code - it's all secured using custom functions with multiple built in php functions working together to make sure nothing can be exploited.

It has a very simple template engine that i'll probably make a bit better later on, but for now (as i'm still learning quite a-lot) it will stay as is.

As per the rules of the development section I need to provide screenshots or snippets, etc, so i'll provide both.

Snippet of the me.php page:
PHP:
<?php

    require_once "global.php";
    
    if(!isset($_SESSION["N_LOGGED"])) { Header("Location: index.php"); }
    
    // Get the top of the page (navigation, users online etc)
    $core->getTemplate("head_override");
    $core->getTemplate("community_header");
    
    // Add column 1 to the site
    echo '<div id="container">
    <div id="content" style="position: relative" class="clearfix">
    <div id="column1" class="column">';
    
    // Add the 'me' habblet - displays user information
    $core->getTemplate("me_habblet");
    
    // End column 1
    echo '</div>';
    
    // Add column 2 to the site
    echo '<div id="column2" style="position: relative" class="clearfix">';

    // End column 2
    echo '</div>';
    
    // Add column 3 (optional)
    
    
    // End columns altogether
    echo '</div> </div>';
    
    // Site footer
    $core->getTemplate("site_footer");
    
?>
And a screenshot of the same page:

Jonteh - ZapCMS [PHP, OOP, From Scratch] - RaGEZONE Forums



You can see a preview at

I cannot guarantee I will finish this project as things could possibly come up irl (family issues, idk) but as long as nothing significant fucks up in my life this cms will continue to be in development.

I don't know when i'll release it, don't ask please.


`Jontycat
Jonteh - ZapCMS [PHP, OOP, From Scratch] - RaGEZONE Forums
 
It's nice lol :P I learned alot from your old OOP Project, zCMS :)


EDIT1: Can you put hweb into a rar and post it for me? I've been looking for ripped web-gallery

EDIT2: You should take a look at smarty - excellent template engine and easy to get the hang of :D Just like the uber one
 
Last edited:
You cant secure your own hotel
(
Code:
Title: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''' LIMIT 1' at line 1
Text: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''' LIMIT 1' at line 1
)

So i dont believe that this will be secure.
 
You cant secure your own hotel
(
Code:
Title: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''' LIMIT 1' at line 1
Text: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''' LIMIT 1' at line 1
)

So i dont believe that this will be secure.

So then instead of posting a fake error message on all of my posts, actually do something to my hotel, yeah?

Cheers.
 
I dont like how you name everything Zap. If your going to give to the Retro Community give it a authentic name.

What's an authentic name then? I can name it what I want, also. Feel free to start your own project and call it what you want.
 
I don't like how the buttons are placed on the index page, ... do so both login and register button is "inline" with eachother, and so it doesnt go like
login button over register, but login at left side of register (:

Lol, Soz, I suck at English ...
 
Yet another cms being 'developed' by you, eh Jonty? This is what, the third now, rCMS, zCMS and now ZapCMS.

Hopefully this one will actually be decent.... Good luck!

---------- Post added at 07:31 AM ---------- Previous post was at 03:52 AM ----------


zCMS was simply me learning OOP stuff, ZapCMS is going to be a rather large system.

@Law -
That's only temporary. The login will be changed soon.
 
PHP:
   // End column 1 
    echo '</div>'; 
     
    // Add column 2 to the site 
    echo '<div id="column2" style="position: relative" class="clearfix">'; 

    // End column 2 
    echo '</div>'; 
     
    // Add column 3 (optional) 
     
     
    // End columns altogether 
    echo '</div> </div>';

Just add that to the me-habblet file or whatever your including.
Good luck.
 
:lol::lol::lol::lol: Is all I can do @this.

ZapCMS, what's the point of this?
 
Status
Not open for further replies.
Back