Revonzy Mini Shell
<?php
include('../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
require_once(PATH_ADMIN_INCLUDE.'/header.php');
$db = new DBConn();
?>
<script type="text/javascript" src="team.js"></script>
<div id="loading"><!-- <img src="<?php echo PATH_IMG ?>/preloader.gif"> --></div>
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Add Team Member</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Add New </h2>
<ul class="nav navbar-right panel_toolbox">
<li>
<button class="btn btn-round btn-success" onclick="location.href='list.php';">View List</button>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form class="form-horizontal form-label-left" action="" method="post" id="teamFrm">
<input type="hidden" id="id" value="">
<div class="col-sm-12">
<!---Write here English Content Here-->
<div class="col-sm-8">
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Team Member Name <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" id="name" name="name" required="required" class="form-control col-md-7 col-xs-12 " placeholder="Name">
</div>
</div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="designation">Designation <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" id="designation" name="designation" required="required" class="form-control col-md-7 col-xs-12 " placeholder="Designation">
</div>
</div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="shortDescription">Short Description <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<textarea id="shortDescription" name="shortDescription" required="required" class="form-control col-md-7 col-xs-12 " rows="5" cols="10" placeholder="Write Here Something..."></textarea>
<span id="errmsg"></span>
</div>
</div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="description">Description <span class="required">*</span> </label>
<div class="col-md-6 col-sm-6 col-xs-12">
<textarea id="description" name="description" required="required" class="form-control col-md-7 col-xs-12 tinymce" rows="5" cols="10" placeholder="Write Here Something..."></textarea>
<span id="errmsg"></span>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="text-center profileImg"><img src="<?php echo PATH_IMAGE ?>/user.png" alt="Profile Image"></div>
<div class="item form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="fileupload">Upload <span class="required">*</span> </label>
<div class="col-md-9 col-sm-6 col-xs-12">
<input class="form-control col-md-7 col-xs-12" type="file" id="fileupload" name="fileupload" accept="image/jpg,image/png,image/jpeg,image/gif">
<span id="errmsg"></span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-md-offset-3">
<!-- <button type="submit" class="btn btn-primary">Cancel</button>-->
<button id="submit" type="button" class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
<div id="dialog1" title="Message" style="display:none; text-align:left;">
<p>Team Member Added Successfully!</p>
</div>
<div id="dialog2" title="Message" style="display:none; text-align:left;">
<p>Something is Wrong!</p>
</div>
</div>
</div>
</div>
</div>
</div>
<?php
require_once(PATH_ADMIN_INCLUDE.'/footer.php');
?>
<script type="text/javascript">
$(document).ready(function() {
//alert('hii');
tinyMCE.init({
// General options
mode : "textareas",
editor_selector : "tinymce",
theme : "advanced",
textarea_trigger : "convert_this",
plugins : "pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,advlist,autosave",
// Theme options
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak,restoredraft",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : "../examples/css/content.css",
// Drop lists for link/image/media/template dialogs
template_external_list_url : "../examples/lists/template_list.js",
external_link_list_url : "../examples/lists/link_list.js",
external_image_list_url : "images.php",
media_external_list_url : "../examples/lists/media_list.js",
// Style formats
style_formats : [
{title : 'Bold text', inline : 'b'},
{title : 'Red text', inline : 'span', styles : {color : '#ff0000'}},
{title : 'Red header', block : 'h1', styles : {color : '#ff0000'}},
{title : 'Example 1', inline : 'span', classes : 'example1'},
{title : 'Example 2', inline : 'span', classes : 'example2'},
{title : 'Table styles'},
{title : 'Table row 1', selector : 'tr', classes : 'tablerow1'}
],
// Replace values for the template plugin
template_replace_values : {
username : "Some User",
staffid : "991234"
}
});
});
</script>
EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com