MasterCMS is an advanced management system of content for Retro Servers called "The Retro Servers Framework", written in PHP 7 with features like Advanced Theme System (yes, finally you can make you own theme with easiness) unique functions like export, or import your template, select or even delete it... etc makes MasterCMS an amazing CMS for Retro Servers!
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
design is copied maybe you leave credits for Sonay, me and Y. x)
29-05-17
The General
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Maybe write a proper topic about what emulators are supported, features, performance etc.
29-05-17
NoBrain
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
I'd give it a solid 1/10 purely for effort.
Front end design is pretty basic and the Housekeeping is just painful to look at. The following is a really quick run through so I'm more than likely missing things.
You are not using prepared statements.
You are not using proper MVC.
There is no CSRF protection.
Little to no commenting on the code.
Using tabs instead of spaces.
In some cases you have used tabs for half the file and then switched to spaces for the other half.
Formatting is completely whack.
From what I can tell there is almost no protection/filtering on the data being passed into the queries.
I noticed in some cases you are suppressing the errors rather than fixing them.
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Quote:
Originally Posted by NoBrain
I'd give it a solid 1/10 purely for effort.
Front end design is pretty basic and the Housekeeping is just painful to look at. The follow is a really quick run through so I'm more than likely missing things.
You are not using prepared statements.
You are not using proper MVC.
There is no CSRF protection.
Little to no commenting on the code.
Using tabs instead of spaces.
In some cases you have used tabs for half the file and then switched to spaces for the other half.
Formatting is completely whack.
From what I can tell there is almost no protection/filtering on the data being passed into the queries.
I noticed in some cases you are suppressing the errors rather than fixing them.
design is copied maybe you leave credits for Sonay, me and Y. x)
This design was inspired by a public design by Sonay, i will put his credits
And why you? you make the design? my friend Yonier makes a design from 0 inspired on BobbaBIZ design, but i will put credits
sorry, my english is not perfect
This design was inspired by a public design by Sonay, i will put his credits
And why you? you make the design? my friend Yonier makes a design from 0 inspired on BobbaBIZ design, but i will put credits
sorry, my english is not perfect
- - - Updated - - -
Ok bro
- - - Updated - - -
I will put that
- - - Updated - - -
Thanks bro
Bobba.biz is my hotel. Sonay made most pages, but in your download are some pages of me and Y also. So yeah, credits would be good at this point.
30-05-17
BurakDev
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Your project need a lot of work before being the "retroservers revolution".
As @NoBrain said, I hope the methods encriptPassword, filter, htmlFilter is a big joke.
And the code formatting isn't fucked up by GitHub viewer, raw file have same shit
30-05-17
Delight
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Good luck with that SQLi and CSRF.
I wouldn't even call this PHP 5, so why call it PHP 7?
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Okay. I see queries inside a controller? I always thought database shit should be done in a model. Also, the code isn't really great.
PHP Code:
define('ADS', true);
What does this do?
PHP Code:
$query = $this->con->query("SELECT * FROM news WHERE id = '{$this->protection->filter($id)}' LIMIT 1"); $select = mysqli_fetch_assoc($query);
Use prepared statements...
PHP Code:
if (!$select['block_view_profile']) {
Isset??
30-05-17
NoBrain
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Quote:
Originally Posted by Glaceon
Okay. I see queries inside a controller? I always thought database shit should be done in a model. Also, the code isn't really great.
Models define the validation rules for input fields and saving data, relationships to other tables, what table it should access and any custom methods that related to that table and need to be globally accessible to the Controllers. Queries are run through the Controllers but the Models are used for many things.
30-05-17
Emily
Re: MasterCMS | The RetroServers Revolution | Themes System | Multi Emulator | Multi
Quote:
Originally Posted by NoBrain
Models define the validation rules for input fields and saving data, relationships to other tables, what table it should access and any custom methods that related to that table and need to be globally accessible to the Controllers. Queries are run through the Controllers but the Models are used for many things.
Oh yeah of course, I should've known; I even looked at some Symfony examples today. Stupid me. Thanks for telling me though.