]]jkjjgdjffksdkdxdsghfghdfghfgdfsdsdfsdfsfdsbcxvxcbccwewqeqwewqskfgj
במ12[cxvbcxvbxcvbcxvcxvbcvxcvbsdfsdfsdfsdfsdfsdfxcvbxcvxbbxqwqewqewv;'
/
home
/
u506006416
/
domains
/
crystalmiracle.co.in
/
public_html
/
admin
/
Upload FileeE
HOME
<?php include("header.php"); $ins_obj= new config(); if(isset($_POST['update'])) { $insertdata = array( 'facebook' => $ins_obj->validation($_POST['facebook']), 'twitter' => $ins_obj->validation($_POST['twitter']), 'instagram' => $ins_obj->validation($_POST['instagram']), 'linkedin' => $ins_obj->validation($_POST['linkedin']), 'whatsapp' => $ins_obj->validation($_POST['whatsapp']), 'mobile' => $ins_obj->validation($_POST['mobile']), 'email' => $ins_obj->validation($_POST['email']), ); // print_r($insertdata); die(); $where_condition=array('id'=> '1'); $update_query=$ins_obj->update("social_communication",$insertdata,$where_condition); if($update_query=='TRUE') { echo "<script> swal({ title: 'Updated Successfully', text: 'Redirecting...', icon: 'success', timer: 2000, buttons: false, }) </script>"; } } /*------ Get Date ------*/ $condition1="`id`=1"; $query=$ins_obj->display_rcd('social_communication',$condition1); if(is_array($query) || !empty($query)) { foreach($query as $data) { } } // print_r($data); die(); /*---------------------*/ ?> <!-- Main Sidebar Container --> <?php include("sidebar.php");?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0 text-dark">Social Communication</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="dashboard.php">Home</a></li> <li class="breadcrumb-item active">Social Communication</li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <!-- Small boxes (Stat box) --> <!-- /.row --> <!-- Main row --> <div class="row"> <div class="col-md-12"> <div class="card card-primary card-tabs"> <div class="card-header p-0 pt-1"> <ul class="nav nav-tabs" id="custom-tabs-five-tab" role="tablist"> <li class="nav-item"> <!-- <a class="nav-link active" id="custom-tabs-five-normal-tab" data-toggle="pill" href="#general" role="tab" aria-controls="custom-tabs-five-normal" aria-selected="false">General</a> --> </li> </ul> </div> <form class="form-horizontal" action="" method="post" enctype="multipart/form-data"> <div class="card-body"> <div class="tab-content" id="custom-tabs-five-tabContent"> <div class="tab-pane fade active show" id="general" > <div class="card-body"> <div class="form-group row"> <label for="facebook" class="col-sm-2 col-form-label">Facebook</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['facebook'];?>" name="facebook" class="form-control" id="facebook"> </div> </div> <div class="form-group row"> <label for="twitter" class="col-sm-2 col-form-label">Twitter</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['twitter'];?>" name="twitter" class="form-control" id="twitter"> </div> </div> <div class="form-group row"> <label for="instagram" class="col-sm-2 col-form-label">Instagram</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['instagram'];?>" name="instagram" class="form-control" id="instagram"> </div> </div> <div class="form-group row"> <label for="linkedin" class="col-sm-2 col-form-label">Linkedin</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['linkedin'];?>" name="linkedin" class="form-control" id="linkedin"> </div> </div> <div class="form-group row"> <label for="whatsapp" class="col-sm-2 col-form-label">Whatsapp</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['whatsapp'];?>" name="whatsapp" class="form-control" id="whatsapp"> </div> </div> <div class="form-group row"> <label for="mobile" class="col-sm-2 col-form-label">Mobile</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['mobile'];?>" name="mobile" class="form-control" id="mobile"> </div> </div> <div class="form-group row"> <label for="email" class="col-sm-2 col-form-label">Email</label> <div class="col-sm-10"> <input type="text" value="<?php echo @$data['email'];?>" name="email" class="form-control" id="email"> </div> </div> </div> <!-- /.card-body --> </div> </div> </div> <div class="card-footer"> <button type="submit" name="update" class="btn btn-primary">Update</button> </div> </form> </div> </div> </div> <!-- /.row (main row) --> </div><!-- /.container-fluid --> </section> <!-- /.content --> </div> <!-- /.content-wrapper --> <?php include("footer.php");?>