// ADD CKEDITOR folder also by downloading
<!DOCTYPE html>
<html>
<head>
<!-- CKEDITOR Script Start -->
<script src="ckeditor/ckeditor.js"></script>
<link rel="stylesheet" href="sample.css">
<script>
var editor;
// The instanceReady event is fired, when an instance of CKEditor has finished
// its initialization.
CKEDITOR.on( 'instanceReady', function( ev ) {
editor = ev.editor;
// Show this "on" button.
document.getElementById( 'readOnlyOn' ).style.display = '';
// Event fired when the readOnly property changes.
editor.on( 'readOnly', function() {
document.getElementById( 'readOnlyOn' ).style.display = this.readOnly ? 'none' : '';
document.getElementById( 'readOnlyOff' ).style.display = this.readOnly ? '' : 'none';
});
});
function toggleReadOnly( isReadOnly ) {
// Change the read-only state of the editor.
// http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-setReadOnly
editor.setReadOnly( isReadOnly );
}
</script>
<!-- CKEDITOR Script Closed -->
<meta charset="UTF-8">
<title>Poison Information </title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- Bootstrap 3.3.2 -->
</head>
<body class="skin-blue">
<?php include("header.php");?>
<div class="content-wrapper">
<?php include("navbar.php");?>
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Poison Information
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Poison Information</a></li>
<li class="active"> Poison Information Form</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row form-group">
<!-- right column -->
<div class="col-md-12">
<!-- general form elements disabled -->
<div class="box box-warning">
<div class="box-body">
<!-- insert form here -->
<form method="post" action="main_poison_information_heading.php">
<div class="row form-group">
<div class="col-lg-12">
<div class="col-lg-6">
Main Poison Information Heading
</div>
<div class="col-lg-6">
<input type="text" name="main_heading" placeholder="Main Heading"class="form-control" id="exampleInputEmail1">
</div>
</div>
<!-- CKEDITOR TEXTAREA START -->
<div class="col-lg-12">
<div class="col-lg-12">
<textarea name="ckeditor" id="email_content" class="ckeditor" id="email_content" cols="100" rows="10"></textarea>
</div>
</div>
<!-- CKEDITOR TEATAREA Closed -->
<div class="col-lg-12">
<div class="col-lg-12">
<input type="submit"name="sub" value=" Add Poison Information Headings">
<a href="search.php"><input type="button" name="sub" value=" Search Poison"></a>
</div>
</div>
</div>
</form>
<!-- insert form here -->
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!--/.col (right) -->
</div> <!-- /.row -->
</section><!-- /.content -->
</div>
<?php
include("footer.php");
?>
</body>
</html>
No comments:
Post a Comment