D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
team
/
Filename :
update-team-details.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); $l_id = $_GET['id']; $sqlAssign1 = "SELECT * FROM `team` WHERE `team`.`id`='$l_id'"; $resultAssign1 = mysqli_query($conn, $sqlAssign1); if (mysqli_num_rows($resultAssign1) > 0) { while($rows = mysqli_fetch_assoc($resultAssign1)) { $id = $rows['id']; $name = $rows['name']; $designation = $rows['designation']; $url = $rows['url']; $team_details = $rows['team_details']; $image = $rows['image']; $meta_title = $rows['meta_title']; $meta_keyword = $rows['meta_keyword']; $meta_desc = $rows['meta_desc']; $fb_link = $rows['fb_link']; $instagram_link = $rows['instagram_link']; $twitter_link = $rows['twitter_link']; $skype_id = $rows['skype_id']; $linkedin_link = $rows['linkedin_link']; $youtube_link = $rows['youtube_link']; } } ?> <style> #my_team ul li:nth-child(3) { background-color: #eb6a4e; } #my_team ul li:nth-child(3) a { color: #fff; } #my_team ul li:nth-child(3) a:hover { background-color: #eb6a4e; } #srkproperty_details .course-detailsa img { width: 100% !important; max-height: 250px !important; } </style> <script> window.onload = function() { document.getElementById('my_team').classList.add("active"); document.getElementById('my_team1').classList.add("in"); }; </script> <div class="small-header"> <div class="hpanel"> <div class="panel-body"> <div id="hbreadcrumb" class="pull-right"> <ol class="hbreadcrumb breadcrumb"> <li><a href="<?php echo $admin_baseurl . 'dashboard.php';?>">Dashboard</a></li> <li class="active"> <span>Team</span> </li> </ol> </div> <h2 class="font-light m-b-xs"> Update Team Details </h2> </div> </div> </div> <div class="content"> <div class="hpanel"> <div class="hpanel"> <div class="panel-heading hbuilt"> <div class="panel-tools"> <a class="showhide"><i class="fa fa-chevron-up"></i></a> <a class="fullscreen"><i class="fa fa-expand"></i></a> </div> Update Team Details </div> <div class="panel-body"> <form class="form-horizontal" action="execute-details.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <div class="col-md-12"> <label class="control-label">Name</label> <input type="text" name="name" class="form-control" placeholder="Team Title" value="<?php echo $name;?>" required> </div> <div class="col-md-12"> <label class="control-label">Designation</label> <input type="text" name="designation" class="form-control" placeholder="designation " value="<?php echo $designation;?>" required> </div> <div class="col-md-12"> <label class="control-label">Custom Url</label> <input type="text" name="custom_url" class="form-control" placeholder="custom Url" value="<?php echo $url;?>"> </div> <div class="col-md-12"> <label class="control-label">Details</label> <textarea required class="textarea form-control " id="team_details" name="team_details" placeholder="Enter text ..." rows="10" data-height="80"><?php echo htmlspecialchars($team_details); ?></textarea> </div> <div class="col-md-6"> <label class="control-label">Image</label> <input type="file" id="file" class="form-control" name="image_a" multiple="multiple" accept="image/*" > </div> <div class="col-md-6"> <img src="<?php echo $admin_baseurl . 'team/upload/'. $image;?>" style="width:100px;"> </div> <div class="col-md-12"><br> <label>Seo Keywords</label> <input name="meta_keyword" class="form-control" placeholder="eg.Meta Keywords..." value="<?php echo $meta_keyword;?>"> </div> <div class="col-md-12"> <label>Meta Title</label> <input name="meta_title" class="form-control" placeholder="Meta Title" value="<?php echo $meta_title;?>"> </div> <div class="col-md-12"> <label>Meta Description</label> <input name="meta_desc" class="form-control" placeholder="Meta Description" value="<?php echo $meta_desc;?>"> </div> <div class="col-md-4"> <label>Facebook Link</label> <input type="text" name="fb_link" class="form-control" placeholder="Facebook link" value="<?php echo $fb_link;?>"> </div> <div class="col-md-4"> <label>Youtube Link</label> <input type="text" name="youtube_link" class="form-control" placeholder="youtube link" value="<?php echo $youtube_link;?>"> </div> <div class="col-md-4"> <label>Linkedin Link</label> <input type="text" name="linkedin_link" class="form-control" placeholder="Linkedin link" value="<?php echo $linkedin_link;?>"> </div> <div class="col-md-4"> <label>Instagram Link</label> <input type="text" name="instagram_link" class="form-control" placeholder="instagram link" value="<?php echo $instagram_link;?>"> </div> <div class="col-md-4"> <label>Twitter Link</label> <input type="text" name="twitter_link" class="form-control" placeholder="Twitter link" value="<?php echo $twitter_link;?>"> </div> <div class="col-md-4"> <label>Skype Id</label> <input type="text" name="skype_id" class="form-control" placeholder="Skype link" value="<?php echo $skype_id;?>"> </div> <div class="col-md-12"> <div class="form-group" style="padding:0 20px;"> <br> <div class="text-right"> <input type="hidden" name="team_id" value="<?php echo $id;?>"> <input type="hidden" name="team_img" value="<?php echo $image;?>"> <button type="reset" class="btn btn-default">Cancel</button> <button type="submit" name="update_team_details" class="btn btn-primary">Submit</button> </div> </div> </div> </div> </form> </div> </div> </div> </div> <script> $(function() { CKEDITOR.replace('team_details', { height: 250, filebrowserUploadUrl: "<?php echo $admin_baseurl . 'team/ckupload.php'; ?>", filebrowserUploadMethod: 'form' }); }); </script> <br> <?php include('../include/footer.php'); ?>