D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
shubmkcj
/
designpitara.com
/
admin
/
team
/
Filename :
view-team.php
back
Copy
<?php include("../include/config.php"); include("../include/sessionhandle.php"); include("../include/header.php"); ?> <style> #my_team ul li:nth-child(2) { background-color: #eb6a4e; } #my_team ul li:nth-child(2) a { color: #fff; } #my_team ul li:nth-child(2) 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="content"> <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> View All Team Member </div> <div class="panel-body"> <div class="table-responsive"> <table id="userPermission_dataTable" class="table table-striped table-bordered table-hover"> <thead> <tr> <th>#</th> <th>Name</th> <th>Designiation</th> <th>Picture</th> <th>Details</th> <th>Action</th> </tr> </thead> <tbody> <?php $srno = 0; $sqlAssign1 = "SELECT * FROM `team` ORDER BY `team`.`id` DESC"; // echo $sqlAssign1; $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']; $team_details = $rows['team_details']; $image = $rows['image']; $t_status = $rows['status']; ?> <tr> <th scope="row"><?php echo $srno += 1;?></th> <td class="text-left"> <p><b>Name : </b><?php echo $name;?></p> </td> <td> <p><?php echo $designation;?></p> </td> <td><img src="<?php echo $admin_baseurl . 'team/upload/'. $image;?>" style="width:100px;"></td> <td> <a type="button" course-details='<?php echo $team_details;?>' data-toggle="modal" data-target="#srkproperty_details" class="btn theme-btn show_property_details" style="cursor: pointer;">More Detail</a> </td> <td> <div class="action_btns"> <form method="post" action="update-team-details.php?id=<?php echo $id;?>"> <button type="submit" class="actionbtn"><i class="fa fa-pencil-square-o text-success" aria-hidden="true"></i></button> </form> <form method="post" action="execute-details.php?id=<?php echo $id;?>"> <button type="submit" name="delete_details" class="actionbtn" onclick="return confirm('Do you want to delete this data?')"><i class="fa fa-trash text-danger" aria-hidden="true"></i></button> </form> <?php if($t_status == 'active'){?> <form method="post" action="execute-details.php?id=<?php echo $id;?>"> <button type="submit" name="status_deactive_team" class="actionbtn"><i class="fa fa-toggle-on text-success" aria-hidden="true"></i></button> </form> <?php }else{?> <form method="post" action="execute-details.php?id=<?php echo $id;?>"> <button type="submit" name="status_active_team" class="actionbtn"><i class="fa fa-toggle-off text-danger" aria-hidden="true"></i></button> </form> <?php }?> </div> </td> </tr> <?php }}?> </tbody> </table> </div> </div> </div> </div> <br> <?php include('../include/footer.php'); ?>