Revonzy Mini Shell

Şuanki Dizin: /home/shrishtiarchitec/www/adminpanel/gallery/image-upload/
Dosya Yükle :
Şuanki Dosya : /home/shrishtiarchitec/www/adminpanel/gallery/image-upload/index.php

<?php 
include('../../../config.php');
require_once(PATH_LIBRARIES.'/classes/DBConn.php');
require_once(PATH_ADMIN_INCLUDE.'/header.php');
$db = new DBConn();

//Get Here Langauge List
//$getLang=$db->ExecuteQuery("SELECT * FROM langauge");
//echo base64_encode('umax123');
//Get here Gategory name
$category=$db->ExecuteQuery("SELECT * FROM category");

$clients=$db->ExecuteQuery("SELECT * FROM clients");
?>
<script type="text/javascript" src="imageuplaod.js"></script>
<div id="loading"></div>
<div class="">
  <div class="page-title">
    <div class="title_left">
      <h3>Image Uplaod </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="window.history.back();">Back</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">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="category">Category <span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <select id="category" class="form-control col-md-7 col-xs-12" name="category">
                  <option value="">Select Category</option>
                  <?php foreach($category as $val){ ?>
                  <option value="<?php echo $val['Category_Id']?>"><?php echo $val['Category_Name']?></option>
                  <?php } ?>
                </select>
              </div>
            </div>

            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="subcategory">Subcategory <span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <select id="subcategory" class="form-control col-md-7 col-xs-12" name="subcategory">
                  <option value="">Select Subcategory</option>
                </select>
              </div>
            </div>

            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="clientId">Client Name <span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <select id="clientId" class="form-control col-md-7 col-xs-12" name="clientId">
                  <option value="">Select Client</option>
                  <?php foreach ($clients as $key => $value) {
                    echo '<option value="'.$value['Client_Id'].'">'.$value['Client_Name'].'</option>';
                  }?>
                </select>
              </div>
            </div>

            <div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="project">Project <span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <input type="text" id="project" name="project" class="form-control" placeholder="Ex: House Design, Interior Design, etc.">
              </div>
            </div>

            
            <!--<div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="imageupload">Section Name <span class="required">*</span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <input type="text" id="imagename" name="imagename" required="required" class="form-control col-md-7 col-xs-12 "  placeholder="Ex. Villa"/>
              </div>
            </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-6 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" multiple>
                <span id="errmsg"></span> (Note : Image size must be geater than 500*300  and you can also upload multiple images also.) </div>
            </div>
            <!--<div class="item form-group">
              <label class="control-label col-md-3 col-sm-3 col-xs-12" for="position">Description <span class="required"></span> </label>
              <div class="col-md-6 col-sm-6 col-xs-12">
                <textarea id="desc" name="desc"  class="form-control col-md-7 col-xs-12 " placeholder="Write Here Something... " rows="5"></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>
      <!-- GEt HEre All The Image -->
      <div id="imageShow"> </div>
      <div id="dialog1" title="Message" style="display:none; text-align:left;">
        <p>Data Successfully Submitted</p>
      </div>
      <div id="dialog2" title="Message" style="display:none; text-align:left;">
        <p>Something is Wrong </p>
      </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