:: **Zploit** v1.0 | Current Path: **/home/kreativepixelz/public_html/admin/pages/client/**
:: Editing File: attdance.php
<?php include ('../../include/config.php'); include ('../../auth.php'); $value = $_GET['lead']; $id = $_GET['id']; $data = ""; if($value=='true') { $data = 1; } else if($value=='false') { $data = 0; } $result1 ="update tbl_facebook_lead set attdance=$data WHERE id=$id" ; $stmt=$conn->query($result1); if($stmt) { //$_SESSION["message"] = "Seminar Attain"; echo '<script language="javascript" type="text/javascript"> location.reload(); window.location = "list.php"; </script>'; } else { //$_SESSION["message"] = "Seminar Attain Issue"; echo '<script language="javascript" type="text/javascript"> location.reload(); window.location = "list.php"; </script>'; } ?>