PHP Classes

File: WIAdmin/WIInc/site/modules/edit.php

Recommend this page to a friend!
  Classes of Jules Warner   WICMS   WIAdmin/WIInc/site/modules/edit.php   Download  
File: WIAdmin/WIInc/site/modules/edit.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
yet.
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: 7 years ago
Size: 2,384 bytes
 

Contents

Class file image Download
<style type="text/css">
  .hide{
    display: none;
  }

  .show{
    display: block;
  }
</style>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-lg-12">
              <h1> Edit Modules </h1>
              </div>
                     
                      <div class="col-md-3">

                            <div class="box box-primary">
                                <div class="box-header">
                                    <h4 class="box-title">Available Modules</h4>
                                </div>
                                <div class="box-body">
                                    <!-- the events -->
                                    <div id='external-events'>

                                    <?php

                                    $mod
->getActiveMods();

                                   
?>
                                    </div>
                                </div><!-- /.box-body -->
                            </div><!-- /. box -->
                          
                        </div><!-- /.col -->
                        <div class="col-md-9">
                            <div class="box box-primary">
                                <div class="box-body no-padding">
                                    <!-- THE CALENDAR -->
                                    <div id="modules">
                                    <div class="mid" id="droppable">
         <p>Drop here</p>
      </div></div>
                                </div><!-- /.box-body -->
                            </div><!-- /. box -->

                                   

                        </div><!-- /.col -->
                        <div class="col-md-9">
                        Module Name<input type="text" name="name" placeholder="Mod Name">
                        <button id="create_mod" class="col-md-9" onclick="WIMod.createMod()">Save Mod</button>
                        </div>

                        </div>

                      


                      <script>
  $( function() {
    $( "#draggable li" ).draggable({
  helper: 'clone'
});
    $( "#droppable" ).droppable({
      drop: function( event, ui ) {
        $( this )
            var mod_name = ui.draggable.attr('id')
            WIMod.editdrop(mod_name);
      }
    });
  } );
  </script>