<?php
error_reporting(0);
ob_start();
session_start();
include_once("../dbconnect.php");
?>
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
     <style type="text/css">

      /* Sticky footer styles
      -------------------------------------------------- */

     

    </style>
    	
   <?php include_once("title.php"); ?>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/logo-nav.css" rel="stylesheet">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body>
     <div id="wrap">
    <!-- Navigation -->
        <?php include_once("header.php"); ?>

    <!-- Page Content -->
    <div class="container">
        <div class="row">
            <div class="col-lg-12">

                 <div class="row">
        <h1> Edit Pages </h1>
        <div class="col-lg-3 col-sm-6"><div class="well">
          <table class="table table-striped table-bordered">
              <thead>
              <tr><th>Id</th><th>Page Name</th></tr>
              </thead>

              <tbody>
                  <tr><td>1</td><td>Page 1</td></tr>
                  <tr><td>2</td><td>Page 2</td></tr>
                  <tr><td>3</td><td>Page 3</td></tr>
                  <tr><td>4</td><td>Page 4</td></tr>
                  <tr><td>5</td><td>Page 5</td></tr>                  
              </tbody>
          </table>
        </div>
        </div>
        
        <div class="col-lg-9 col-sm-6">
            <div class="well">
                <table class="table table-striped table-condensed">
                    <thead><tr><th>th is 0</th></tr></thead>

                    <tbody>
                    <tr><td><div id="txtEditor"></div><script src="//cdn.ckeditor.com/4.5.6/full-all/ckeditor.js"></script>

 <textarea name="workdetails"></textarea>
        <script>
            CKEDITOR.replace( 'workdetails' );
        </script></td></tr>
                     <script type="text/javascript">
$(document).ready( function() {
$("#txtEditor").Editor();                    
});
</script>
                    <tr><td style="text-align: center;"><a class="btn btn-info" href="#"><i class="glyphicon glyphicon-edit"></i> Modifie</a></td></tr>
                    </tbody></table>
       
        </div>
        </div>
    </div>

                
               
    </div>

        </div>

  

            </div>
            
         <div id="push"></div>
    </div>

     <?php include_once("footer.php"); ?>
   

    
    <!-- /.container -->

    <!-- jQuery -->
    <script src="js/jquery.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

    <link href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<link href="../css/editor.css" type="text/css" rel="stylesheet"/>
<script src="../js/editor.js"></script>
</body>

</html>
