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
| { | |
| "countries": [ | |
| { | |
| "country": "Afghanistan", | |
| "states": ["Badakhshan", "Badghis", "Baghlan", "Balkh", "Bamian", "Daykondi", "Farah", "Faryab", "Ghazni", "Ghowr", "Helmand", "Herat", "Jowzjan", "Kabul", "Kandahar", "Kapisa", "Khost", "Konar", "Kondoz", "Laghman", "Lowgar", "Nangarhar", "Nimruz", "Nurestan", "Oruzgan", "Paktia", "Paktika", "Panjshir", "Parvan", "Samangan", "Sar-e Pol", "Takhar", "Vardak", "Zabol"] | |
| }, | |
| { | |
| "country": "Albania", | |
| "states": ["Berat", "Dibres", "Durres", "Elbasan", "Fier", "Gjirokastre", "Korce", "Kukes", "Lezhe", "Shkoder", "Tirane", "Vlore"] | |
| }, |
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 | |
| ############################################################# | |
| # 47 counties of Kenya # | |
| ############################################################# | |
| $config['counties'] = [ | |
| 'BARINGO' => 'Baringo County', | |
| 'BOMET' => 'Bomet County', | |
| 'BUNGOMA' => 'Bungoma County', | |
| 'BUSIA' => 'Busia County', | |
| 'ELGEYO-MARAKWET' => 'Elgeyo-Marakwet County', |
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
| <select> | |
| <option value="baringo">Baringo</option> | |
| <option value="bomet">Bomet</option> | |
| <option value="bungoma">Bungoma</option> | |
| <option value="busia">Busia</option> | |
| <option value="elgeyo marakwet">Elgeyo Marakwet</option> | |
| <option value="embu">Embu</option> | |
| <option value="garissa">Garissa</option> | |
| <option value="homa bay">Homa Bay</option> | |
| <option value="isiolo">Isiolo</option> |
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
| <table id="datatable-buttons" class="table table-striped table-bordered"> | |
| <thead> | |
| <tr> | |
| <th>#</th> | |
| <th>Name</th> | |
| <th>Date</th> | |
| <th>Action</th> | |
| </tr> | |
| </thead> | |
| <tbody> |
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
| -- phpMyAdmin SQL Dump | |
| -- version 4.8.4 | |
| -- https://www.phpmyadmin.net/ | |
| -- | |
| -- Host: localhost | |
| -- Generation Time: Jan 13, 2020 at 09:25 AM | |
| -- Server version: 10.1.37-MariaDB | |
| -- PHP Version: 7.2.14 | |
| SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; |
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 | |
| public function process($amount,$phone,$account) | |
| { | |
| $phone2= '254'.substr($phone, 1); | |
| $path = url('callback_url'); | |
| $url = 'https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest'; | |
| $curl = curl_init(); | |
| curl_setopt($curl, CURLOPT_URL, $url); | |
| $token=$this->generate_token(); | |
| curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-Type:application/json','Authorization:Bearer '.$token)); //setting custom header |
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
| /* Import SDK classes */ | |
| import com.africastalking.Callback; | |
| import com.africastalking.AfricasTalking; | |
| import com.africastalking.PaymentService; | |
| import com.africastalking.payment.response.WalletBalanceResponse; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| import java.io.IOException; |
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 | |
| namespace App\Http\Controllers; | |
| use Illuminate\Http\Request; | |
| use PHPMailer\PHPMailer\PHPMailer; | |
| class MailController extends Controller | |
| { | |
| // |
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> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>Active Customers</title> | |
| <style type="text/css"> | |
| /* reset */ | |
| * |
NewerOlder