This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Contact Form 7 - Hook For MSG91 */ | |
function msg91_api($cf7) { | |
$wpcf = WPCF7_ContactForm::get_current(); | |
if ($wpcf->id() == 4) { | |
if (get_option('enable') == '1') { | |
$authKey = get_option('authKey'); | |
$mobiles = get_option('mobiles'); | |
$senderId = get_option('senderId'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Dynamic Time Zones Dropdown Using Moment.js</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moment = require('moment-timezone'); // moment-timezone | |
console.log(moment.tz.names()); // Get list of all available time zone names |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Clash of Clans Official API Integration on PHP | |
//Refer : http://sivasankar.in/ | |
$curl = curl_init(); | |
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); | |
curl_setopt($curl, CURLOPT_URL, 'https://api.clashofclans.com/v1/clans/%23LRQ0PJL9'); //Clan Tag | |
curl_setopt($curl, CURLOPT_HTTPHEADER, array( | |
'Accept: application/json', | |
'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4YTMxOGY3LTAwMDAtYTFlYi03ZmExLTJjNzQzM2M2Y2NhNSJ9.eyJpc3MiOiJzdXBlcmNlbGwiLCJhdWQiOiJzdXBlcmNlbGw6Z2FtZWFwaSIsImp0aSI6ImVkM2UzMjEwLTVkYmItNDQ0Ni05YzA3LTZhNjhmMDExMTc1NCIsImlhdCI6MTQ1NjUwOTI4NCwic3ViIjoiZGV2ZWxvcGVyL2Y4ZTA0MGUwLTcxNzYtMjgzYi1jY2YwLTc5NzkyMWYzN2NiYSIsInNjb3BlcyI6WyJjbGFzaCJdLCJsaW1pdHMiOlt7InRpZXIiOiJkZXZlbG9wZXIvc2lsdmVyIiwidHlwZSI6InRocm90dGxpbmcifSx7ImNpZHJzIjpbIjEyMi4xNzQuMTgzLjIxMiJdLCJ0eXBlIjoiY2xpZW50In1dfQ.x_Nhtmg6MPyEGjnMNqpG0mTwAwv8x2kAuvcnvsAGN2u1AbXFTusF1mBJvqpbsHCM7eccKFySug9BKdlOSMV_9Q' |
NewerOlder