|
|
<style>
|
|
|
#div_addreport{ margin: 0 auto; width: 100%; padding-bottom: 10px}
|
|
|
#div_addreport .row_reg{margin-top: 2px; border: 0px solid #0070a3}
|
|
|
#div_addreport .row_reg label{float: left; width: 100px; text-align: right; padding-right: 5px; border: 0px solid #1cc; line-height: 25px}
|
|
|
#div_addreport .row_reg input{float: left; width: 400px; line-height: 25px}
|
|
|
</style>
|
|
|
<script type="text/javascript">
|
|
|
$(function(){
|
|
|
$('#btnSave').click(function(){
|
|
|
$('#frm_addArea').submit();
|
|
|
});
|
|
|
});
|
|
|
</script>
|
|
|
<?php include("../fckeditor/fckeditor.php"); ?>
|
|
|
<div class="toolbar_right">
|
|
|
<ul>
|
|
|
<li><a>Cancel</a></li>
|
|
|
<li><a href="#" id="btnSave">Save</a></li>
|
|
|
</ul>
|
|
|
<div style="clear: both; overflow: hidden"></div>
|
|
|
</div>
|
|
|
<div style="margin: 0 auto; width: 100%;">
|
|
|
<form name="frm_addArea" id="frm_addArea" method="post" action="index.php">
|
|
|
<span style="">
|
|
|
<label class="title_form" style="text-transform: uppercase; padding-left: 10px; margin-bottom: 10px; letter-spacing: 0.1em">
|
|
|
<?php echo $frm_title; ?>
|
|
|
</label>
|
|
|
</span>
|
|
|
<div id="div_addreport">
|
|
|
<div class="row_reg">
|
|
|
<label for="lblTitle">Title:</label>
|
|
|
<input type="text" name="txtTitle" value="" class="form_input" />
|
|
|
<div style="clear: both; overflow: hidden"></div>
|
|
|
</div>
|
|
|
<div class="row_reg_content">
|
|
|
<label style="vertical-align: top;">Description:</label>
|
|
|
<span>
|
|
|
<?php
|
|
|
$oFCKeditor = new FCKeditor('description') ;
|
|
|
//$oFCKeditor->BasePath = $sBasePath ;
|
|
|
$oFCKeditor->BasePath = '../fckeditor/';
|
|
|
$oFCKeditor->ToolbarSet = 'Basic';
|
|
|
$oFCKeditor->Width = '100%';
|
|
|
$oFCKeditor->Height = '200';
|
|
|
$oFCKeditor->Create();
|
|
|
?>
|
|
|
</span>
|
|
|
<div style="clear: both; overflow: hidden"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<input type="hidden" name="type" value="<?php echo $type; ?>" />
|
|
|
<input type="hidden" name="option" value="com_areas" />
|
|
|
<input type="hidden" name="controller" value="areas" />
|
|
|
<input type="hidden" name="action" value="save" />
|
|
|
</form>
|
|
|
</div>
|
|
|
|