Doge
Active Member
- Jan 12, 2012
- 174
- 40
PhpStrap is to be a website administration script that is fit to work on any website and is fully customisable, PhpStrap will include many different features that most websites will want. I am developing PhpStrap not only for personal use but for small-time website designers that offer services to people to gain a bit more money, I will be using this my self and showing my company how to use it; this tool will be free and available to download once I have coded a stable release.
Features
- Full installation script;
- User Secure Login + Register;
- User Secure pages;
- Report System;
- Site Feedback System;
- Gallery System;
- Poll System;
- Downloads System;
- FAQ System;
PhpStrap comes with a set amount of short variables which developers can input into their websites after including the global PHP file on that page, developers can then easily create user profiles, download pages for users only etc.
Some pseudo example
Code:
include global.php
[users only]
body:
Welcome back $user!
Content, possibly a profile.
Code Snippet
Before I work on the security of the code I will be coding it in basic form, this is to check to see if it all works correctly; sure this is timely but it's how I sometimes like to do it. Project planning
Code:
<div class="row-fluid"> <div class="span12"> <div class="well"> <div class="comupd"> </div> <?php $getblogs = mysql_query("SELECT DISTINCT * FROM blogposts WHERE user_id = ORDER BY status_id DESC LIMIT 12") or die(mysql_error()); while ( $blogfield = mysql_fetch_assoc($getblogs) ) { echo "<div class=\"well\"><strong>"; print $blogfield['username'] . ": "; echo "</strong>"; print $blogfield['status']; echo "</div>"; } ?> </div> </div> </div>
Code:
//Fetch Statistics
//Fetch how many users
$hmusers = $conn->prepare("SELECT * FROM users");
$hmusers->execute();
$hmusers->store_result();
$numofusers = $hmusers->num_rows;
//Fetch how many blog posts
$hmposts = $conn->prepare("SELECT * FROM posts");
$hmposts->execute();
$hmposts->store_result();
$numofposts = $hmposts->num_rows;
?>
Time of completion
Unknown, this is a side project I will be working on. I have some dentist clinic that wants a website next week along with course work that needs doing. I will keep this thread updated.
Progress Report (more at
You must be registered for see links
)(11/11/2013) Started on administration template.
(5/11/2013) Working on getting the basics of the script done; I'm using MySQLi to do so - See screenshot for barebones of the script.
You must be registered for see images attach
You must be registered for see images attach
Update: 23/12/13
PhpStrap will now have theme integration allowing users to upload their own themes to their server to customise them, this will be done using RainTPL.
PLEASE NOTE: Currently working on a unique CMS for one of my website design companies clients so development has been slowed down.
Update: 24/12/13
Last edited: