
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: notifications.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
$type=1;
$alertmsg=&quot;My Test Notification On Fastly&quot;;
$mess='MY TEST Message On Notifications';

///////////User Device ID//////////
//$id='fERi0gbtMXY:APA91bHoFQNqgIXBM6vQoleTvIb-9UD_DF_o9G2Y4fSra-Ya8tDt-8aObqoKRiT9ljX07ivZcNEnV-c9V2jyvjogBH-a39cEYSEUtNsdQ0IF8YEVAMw4L_cErSKUJzEadrmOWPMEnwyR';

/////////////////Driver Device ID
$id='evQznhzt8ug:APA91bGr9uHggf5j3isUhTivc9-trcrSRvaTRb3oCSlln8crPrKVv2VbwbDNhlu-m4WUr9YC5VMk7DMamAdxsbnaocSFBVggYeC8Plyhuu7MXzjoDxN9VRHj4e9o0EK4tQbpSOHVVzhQ';
$body = array('type'=&gt;$type,'alertmsg'=&gt;$alertmsg,'message'=&gt;$mess);
        $body = json_encode($body);
        $url = 'https://fcm.googleapis.com/fcm/send';
        $fields = array (
               'to' =&gt; $id,
               'data' =&gt; array (
                       &quot;body&quot; =&gt; $body,
                       &quot;title&quot; =&gt; 'Fastly',
                       &quot;type&quot; =&gt; $type,
                       &quot;icon&quot; =&gt; 'grubIcon'
               )
        );
        $fields = json_encode ( $fields );
        //print_r($fields);
        /////////////////User Key////////
        /*$headers = array (
               'Authorization: key=' . &quot;AAAApRFOhDo:APA91bGK8_2Cj-OnBlH7k-GSb7vaTNYoJWR7IDvZp1a-t9T3GjCKn-rDRKEueZXjG9uI5ful000t4Z90zooLxEhxrTYjfAt94CLdLgBHBJv0xpRYSvMjqK1fuvNLr65eMhNt8fquYEfT&quot;,
                   'Content-Type: application/json'
        );*/
        ///////////////////Driver Key////////
        $headers = array (
               'Authorization: key=' . &quot;AAAAn2YXv2c:APA91bESc1XW15Ac3_PXn7nWoU3pP9HfDMpD84i4WVkSM99N17RKYI2v8BxO1mfvy1j25riGLswJe_wUya9k9SIcXK-0NWSvD_xLZ325QWDBh8ZfCJ9EMtae5j5oof7srJVIdEJYvt3B&quot;,
                   'Content-Type: application/json'
        );

        

        $ch = curl_init ();
        curl_setopt ( $ch, CURLOPT_URL, $url );
        curl_setopt ( $ch, CURLOPT_POST, true );
        curl_setopt ( $ch, CURLOPT_HTTPHEADER, $headers );
        curl_setopt ( $ch, CURLOPT_RETURNTRANSFER, true );
        curl_setopt ( $ch, CURLOPT_POSTFIELDS, $fields );
        $result = curl_exec ( $ch );
        curl_close ( $ch );     
        print_r($result);
?&gt;</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://satyadevaresidency.com/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-gallery-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-posts-testimonial-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-post_tag-1.xml</loc></sitemap><sitemap><loc>https://satyadevaresidency.com/wp-sitemap-taxonomies-gallery_cat-1.xml</loc></sitemap></sitemapindex>
