File: WIAdmin/WIInc/pages.php

Recommend this page to a friend!
  Classes of Jules Warner  >  WICMS  >  WIAdmin/WIInc/pages.php  >  Download  
File: WIAdmin/WIInc/pages.php
Role: Example script
Content type: text/plain
Description: Example script
Class: WICMS
Database driven content management system with PDO
Author: By
Last change: WI CMS

I am in process of building up my own cms system, its not quiet complete
There are multiple PDO classes, database driven, in process of making an
installer package for it.
The back end is being built UI with drag and drop, for a simple set up
Date: 3 years ago
Size: 3,685 bytes


Class file image Download
<style type="text/css">
        list-style: none;

    width: 44%;
    height: 44px;
    margin-left: 378px;


            width: 50%;
    margin-left: 297px;

    .close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 10px #000;
    filter: alpha(opacity=20);
    opacity: .5;

  display: block;

  display: none;
 <aside class="right-side">
                <!-- Content Header (Page header) -->
                <section class="content-header">
                        <small>Control panel</small>
                    <ol class="breadcrumb">
                        <li><a href="dashboard.php"><i class="fa fa-dashboard"></i> Home</a></li>
                        <li class="active">Pages</li>


                <!-- Main content -->
                <section class="content">
                    <!-- Small boxes (Stat box) -->
                    <div class="col-lg-8 col-dm-3 col-xs-3 col-sm-3">
                    <button class="btn" onclick="window.location.href='WINewPage.php'">New Page</button>
                    <div class="row">
                        <div class="col-lg-3 col-xs-6 col-xl-12">
                            <!-- input box's box -->
                          <div class="wrap">
                              <ul class="wrapper">
                                  <li class="col-lg-4 col-dm-3 col-xs-3 col-sm-3">Name</li>
                                  <li class="col-lg-4 col-dm-3 col-xs-3 col-sm-3">Edit</li>
                                  <li class="col-lg-4 col-dm-3 col-xs-3 col-sm-3">Delete</li>
                    <?php $page->PageListings();?>

                        </div><!-- ./col -->

                      <div class="modal off" id="modal-delete">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-header">
                  <button type="button" class="close" onclick="WIPage.Close()" data-dismiss="modal" aria-hidden="true">&times;</button>
                  <h4 class="modal-title" id="modal-username">
                    <?php echo WILang::get('Delete_page'); ?>

                <div class="modal-body" id="details-body">

                <div align="center" class="ajax-loading"><img src="<?php echo $WI['theme_dir'] ?><?php echo $WI['img_admin'] ?>ajax_loader.gif" /></div>
                <div class="modal-footer">
              </div><!-- /.modal-content -->
            </div><!-- /.modal-dialog -->
          </div><!-- /.modal -->


 <script type="text/javascript">
     $(document).ready(function () {
    //button click
    $("").click(function () {
      // alert('item submitted');
            //validation passed
            var page_id =;
            //$.cookie.set("page_id", "page_id");

             var date = new Date();
 var minutes = 30;
 date.setTime(date.getTime() + (minutes * 60 * 1000));
            $.cookie("page_id", page_id, {expires: date});


<script type="text/javascript" src="WICore/WIJ/WIPages.js"></script>

For more information send a message to info at phpclasses dot org.