ok
Direktori : /proc/thread-self/root/home2/selectio/www/y1jobportal.in/ |
Current File : //proc/thread-self/root/home2/selectio/www/y1jobportal.in/payment-success.php |
<?php ob_start(); session_start(); include "config/config.php"; include_once('config/custom-functions.php'); $session_id = $_SESSION['y1_jobs']['id']; $date = date("Y-m-d"); $updated_at = date("Y-m-d H:i:s"); $fn = new custom_functions; /*Push Notification Start */ $statementss = $pdo->prepare("SELECT * FROM `customer` WHERE id=?"); $statementss->execute(array(1)); $cus_res = $statementss->fetchAll(PDO::FETCH_ASSOC); if($cus_res){ $id=0;$type='Payment Success'; $title="Hi ".$cus_res[0]['cust_firstname'].", Your Interview Have Been Scheduled"; $message="Kindly attend the interview,Date: ".$date; $fn->send_notification($cus_res[0]['fcm_id'], $title,$message,$type,$id); } /*Push Notification End */ ?>