Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/public_html/adminpanel/clients/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/public_html/adminpanel/clients/edit.php

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

//Get Client details
$sql="SELECT Client_Id, Client_Name, Location, Project, Short_Description, Description, Website FROM clients WHERE Client_Id=".$_REQUEST['id'];
$getClient=$db->ExecuteQuery($sql);

?>
<script type="text/javascript" src="client.js"></script>

<div class="">
  <div class="page-title">
    <div class="title_left">
      <h3>Edit Client</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>Edit Form</h2>
          <ul class="nav navbar-right panel_toolbox">
            <li>
              <button class="btn btn-round btn-success" onclick="location.href='index.php';">Add New</button>
            </li>
          </ul>
          <div class="clearfix"></div>
        </div>
        <div class="x_content">
          <form class="form-horizontal form-label-left" action="" method="post" id="clientFrm">
            <input type="hidden" id="id" value="<?php echo $_REQUEST['id']; ?>">
            <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">Client's 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" value="<?php echo $getClient[1]['Client_Name']; ?>">
                  </div>
                </div>

                <div class="item form-group">
                  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="location">Client Location <span class="required">*</span> </label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input type="text" id="location" name="location" required="required" class="form-control col-md-7 col-xs-12 " placeholder="Ex: Durg, Raipur etc." value="<?php echo $getClient[1]['Location']; ?>">
                  </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" required="required" class="form-control col-md-7 col-xs-12 " placeholder="Ex: House Design, Interior Design etc." value="<?php echo $getClient[1]['Project']; ?>">
                  </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..."><?php echo $getClient[1]['Short_Description']; ?></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 "  rows="5" cols="10" placeholder="Write Here Something..."><?php echo $getClient[1]['Description']; ?></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="website">Website URL</label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input type="text" id="website" name="website" required="required" class="form-control col-md-7 col-xs-12" placeholder="http://websitename.com" value="<?php echo $getClient[1]['Website']; ?>">
                  </div>
                </div>

              </div>
              <!---Close Here English --> 
              
            </div>
            <div class="clearfix"></div>
            <div class="ln_solid"></div>
            <div class="form-group">
              <div class="col-md-6 col-md-offset-3"> 
                <button id="update" type="button" class="btn btn-success">Update</button>
              </div>
            </div>
          </form>
        </div>
        <div id="dialog1" title="Message" style="display:none; text-align:left;">
          <p>Client Updated 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');

?>

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