Revonzy Mini Shell

Şuanki Dizin: /home/shrishtiarchitec/www/adminpanel/pages/
Dosya Yükle :
Şuanki Dosya : /home/shrishtiarchitec/www/adminpanel/pages/addnew.php

<?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="pages.js"></script>
<script type="text/javascript">
$('.tinymce').ready(function() {
	//alert('hii');
    tinyMCE.init({
        // General options
        mode : "textareas",
        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>

<div class="">
  <div class="page-title">
    <div class="title_left">
      <h3> Pages </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><a href="<?php echo LINK_CONTROL ?>/pages/addnew.php" >Add New</a> </h2>
       <!--   <h2>View List</h2>-->
          <ul class="nav navbar-right panel_toolbox">
            <li>
              <button class="btn btn-round btn-success" onclick="location.href='index.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="categoryform">
          	<input type="hidden" id="id" value="">
           <div class="item form-group">
              <center><h2>English Section  </h2></center>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="imageupload">Image Upload <span class="required">*</span> </label>
              <div class="col-md-3 col-sm-6 col-xs-12">
                <input type="file" id="imageupload" name="imageupload" required="required" class="form-control col-md-7 col-xs-12 " accept="image/jpg,image/png,image/jpeg,image/gif" />
                <span id="errmsg"></span>
                (Note: Copy image path link and paste in image url )
                <br/>
               <div id="imagepath"></div> 
              </div>
              <div class="col-md-3 col-sm-6 col-xs-12">
                <button type="button" id="imagesave" name="imagesave" required="required" class="btn btn-primary"  >Image Save</button>
              </div>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="title">Title <span class="required">*</span> </label>
              <div class="col-md-8 col-sm-6 col-xs-12">
                <input type="text" id="title" class="form-control col-md-7 col-xs-12" name="title" placeholder="Ex. About-us" required type="text">
              </div>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="filename">File Name <span class="required">*</span> </label>
              <div class="col-md-8 col-sm-6 col-xs-12">
                <input type="text" id="filename" name="filename" required="required" class="form-control col-md-7 col-xs-12 " placeholder="about-us.php">
              </div>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="details">Details <span class="required">*</span> </label>
              <div class="col-md-8 col-sm-6 col-xs-12">
                <textarea  id="details" name="details" required="required" class="form-control col-md-7 col-xs-12 tinymce" cols="10" rows="10" placeholder="Write Here Page Details..."></textarea>
              </div>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="menushow">Do You Want To Show It In User Menu List:<span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
              <select id="menushow" name="menushow"  class="form-control col-md-2 " style="width:68px;">
              		<option value="1">Yes</option>
                    <option value="0">No</option>
              	
              </select>
              	
              </div>
            </div>
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for=" menuorder">Menu Position </label>
              <div class="col-md-2 col-sm-6 col-xs-12">
                <input type="text" id=" menuorder" name=" menuorder" placeholder="1" class="form-control col-md-7 col-xs-12 number"  />
              </div>
            </div>
            <!-- Hindi sections-->
            
             <div class="item form-group">
              <center><h2>Hindi Section  </h2></center>
              
            </div> 
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="title">Title <span class="required">*</span> </label>
              <div class="col-md-8 col-sm-6 col-xs-12">
                <input type="text" id="h_title" class="form-control col-md-7 col-xs-12" name="h_title" placeholder="अबाउट - उस " required type="text">
              </div>
            </div>
            
            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="details">Details <span class="required">*</span> </label>
              <div class="col-md-8 col-sm-6 col-xs-12">
                <textarea  id="h_details" name="h_details"  class="form-control col-md-7 col-xs-12 tinymce" cols="10" rows="10" placeholder="यहाँ लिख पृष्ठ विवरण ..."></textarea>
              </div>
            </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="dialog" title="Message" style="display:none; text-align:left;">
          	<p>Successfully Added Pages</p>
    	</div>
        <div id="dialog_image" title="Image Uploaded Path" style="display:none; text-align:left;">
    	</div>
        </div>
      </div>
    </div>
  </div>
</div>
<?php 
require_once(PATH_ADMIN_INCLUDE.'/footer.php');

?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42