PHP Classes

PHP Content Management System: Manage content pages stored on a MySQL database

Recommend this page to a friend!
  Info   Example   Demos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 738 All time: 4,528 This week: 41Up
Version License PHP version Categories
php-cms 1.1GNU General Publi...5PHP 5, Databases, Content management, S...
Description 

Author

This package can manage content pages stored on a MySQL database.

It provides a Web interface for performing operations to manipulate the content of Web pages stored in a database.

Currently it can login and logout the user, present a dashboard, manage pages, add pages, and edit existing pages.

Picture of Vivek moyal
  Performance   Level  
Name: Vivek moyal is available for providing paid consulting. Contact Vivek moyal .
Classes: 7 packages by
Country: India India
Age: ???
All time rank: 35519 in India India
Week rank: 43 Up5 in India India Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Recommendations

url rewriting
I need rewrite url in my site

Example

<?php include_once './inc/header.php';
include_once
'messages/alertClass.php';
$message=new alertClass();
if(isset(
$_POST["submit"])){
    include_once
'functions/gump.class.php';
   
$gump = new GUMP();
   
$gump->validation_rules(array(
   
'Title' => 'required',
       
'URL' => 'required',
       
'PageDetails' => 'required',
       
'PageName' => 'required'
));
   
$gump->filter_rules(array(
   
'Title' => 'trim|sanitize_string',
       
'URL' => 'trim|sanitize_string',
       
'Keywords' => 'trim|sanitize_string',
       
'Description' => 'trim|sanitize_string',
       
'PageName' => 'trim|sanitize_string'
));
   
$validated_data = $gump->run($_POST);
    if(
$validated_data === false) {
   
$alert=$message->getAlert($gump->get_readable_errors(true),"error");
} else {
        unset(
$validated_data['submit']);
       
define('pageclassconst', TRUE);
        include
'pages/pageClass.php';
       
$pageClass=new pagesClass();
       
$alert=$pageClass->addPage($validated_data);
}
}
?>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-8 col-md-offset-2 main">
          <h1 class="page-header">Add Pages</h1>
          <?php echo $alert; ?>
<form method="post" action="<?php echo $_SERVER["PHP_SELF"] ?>" enctype="multipart/form-data">
              <div class="form-group">
                  <label>Page Name*</label>
                  <input type="text" id="PageName" name="PageName" value="<?php echo $_POST["PageName"] ?>" class="form-control">
              </div>
              <div class="form-group">
                  <label>Title*</label>
                  <input type="text" id="Title" name="Title" value="<?php echo $_POST["Title"] ?>" class="form-control">
              </div>
              <div class="form-group">
                  <label>URL*</label>
                  <input type="text" id="URL" name="URL" value="<?php echo $_POST["URL"] ?>" class="form-control">
              </div>
              <div class="form-group">
                  <label>Meta Keywords</label>
                  <input type="text" id="Keywords" name="Keywords" value="<?php echo $_POST["Keywords"] ?>" class="form-control">
              </div>
              <div class="form-group">
                  <label>Meta Description</label>
                  <textarea id="Description" name="Description" class="form-control"><?php echo $_POST["Description"] ?></textarea>
              </div>
              <div class="form-group">
                  <label>Page Details*</label>
                  <textarea id="summernote" name="PageDetails"><?php echo $_POST["PageDetails"] ?></textarea>
              </div>
              <input type="submit" id="submit" name="submit" value="Add Page" class="btn btn-primary">
          </form>
        </div>
      </div>
    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/summernote/summernote.min.js"></script>
    <script>
    $(document).ready(function() {
        $('#summernote').summernote({
  height: 300, // set editor height
  minHeight: null, // set minimum height of editor
  maxHeight: null, // set maximum height of editor
  focus: true // set focus to editable area after initializing summernote
});
    });
  </script>
  </body>
</html>


Details

php-cms

Simple PHP Content Management System for making Dynamic Website


  Simple PHP CMSExternal page  

Open in a separate window

  Files folder image Files (25)  
File Role Description
Files folder imagecms (4 files, 3 directories)
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files (25)  /  cms  
File Role Description
Files folder imageadmin (6 files, 5 directories)
Files folder imagecss (3 files)
Files folder imagejs (1 file, 1 directory)
  Accessible without login Plain text file 404.php Example Example script
  Accessible without login Plain text file cms.sql Data Auxiliary data
  Accessible without login Plain text file htaccess Data Auxiliary data
  Accessible without login Plain text file index.php Example Example script

  Files folder image Files (25)  /  cms  /  admin  
File Role Description
Files folder imagefunctions (2 files)
Files folder imageinc (1 file)
Files folder imagelogin (1 file)
Files folder imagemessages (1 file)
Files folder imagepages (1 file)
  Accessible without login Plain text file add-pages.php Example Example script
  Accessible without login Plain text file dashboard.php Example Example script
  Accessible without login Plain text file edit-pages.php Example Example script
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file logout.php Example Example script
  Accessible without login Plain text file manage-pages.php Example Example script

  Files folder image Files (25)  /  cms  /  admin  /  functions  
File Role Description
  Plain text file connectionClass.php Class Class source
  Plain text file gump.class.php Class Class source

  Files folder image Files (25)  /  cms  /  admin  /  inc  
File Role Description
  Accessible without login Plain text file header.php Example Example script

  Files folder image Files (25)  /  cms  /  admin  /  login  
File Role Description
  Plain text file loginClass.php Class Class source

  Files folder image Files (25)  /  cms  /  admin  /  messages  
File Role Description
  Plain text file alertClass.php Class Class source

  Files folder image Files (25)  /  cms  /  admin  /  pages  
File Role Description
  Plain text file pageClass.php Class Class source

  Files folder image Files (25)  /  cms  /  css  
File Role Description
  Accessible without login Plain text file blog.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file signin.css Data Auxiliary data

  Files folder image Files (25)  /  cms  /  js  
File Role Description
Files folder imagesummernote (3 files)
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data

  Files folder image Files (25)  /  cms  /  js  /  summernote  
File Role Description
  Accessible without login Plain text file summernote-ext-beagle.js Data Auxiliary data
  Accessible without login Plain text file summernote.css Data Auxiliary data
  Accessible without login Plain text file summernote.min.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:738
This week:0
All time:4,528
This week:41Up