This file contains 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
<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.0"> | |
<title>Document</title> | |
</head> | |
<body> |
This file contains 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
if (isset($_SERVER['HTTP_ORIGIN'])){ | |
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}"); | |
header('Access-Control-Allow-Credentials: true'); | |
header('Access-Control-Max-Age: 86400'); // cache for 1 day | |
} | |
// Access-Control headers are received during OPTIONS requests | |
if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') | |
{ |
This file contains 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
YouthHub | |
================= | |
1.administrator (All Permission ) -- Superadmin | |
2.bayofplentyregion (Restricted permissions ) | |
3 - aucklandnorthshore (Restricted permissions ) | |
4 - aucklandaucklandcityopsadmin1 ( Permission to creates Admin roles & permission rights ) -- Superamdin | |
5 - rotoruadistrict_opsadmin_1_angel_1 ( Angel admin Organize the youth ) | |
6 - ricky pointing -- Youth | |
7)Thomas Jacob -- Youth |
This file contains 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
function AddPlayTime($times) { | |
foreach ($times as $time) { | |
$all_seconds=''; | |
list($hour, $minute, $second) = explode(':', $time); | |
$all_seconds += $hour * 3600; | |
$all_seconds += $minute * 60; | |
$all_seconds += $second; | |
} |
This file contains 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
/* API */ | |
Public function get_id(){ | |
$result = array(); | |
/* Check data already Present or not */ | |
$check_data = $this->db->order_by('id','desc')->get('student_list')->row_array(); | |
if(!empty($check_data)){ /* Already have data */ |
This file contains 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 charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains 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 | |
function converToTz($time="",$toTz='',$fromTz='') | |
{ | |
$date = new DateTime($time, new DateTimeZone($fromTz)); | |
$date->setTimezone(new DateTimeZone($toTz)); | |
$time= $date->format('Y-m-d H:i:s'); | |
return $time; | |
} |
This file contains 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
A11-3A Zeva Residence, | |
Persiaran Pinggiran Putra, | |
Taman Pingguran Putra, | |
Seri Kembangan, Selangor, | |
Malaysia – 43300. |
This file contains 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> | |
<title>Tamil Font </title> | |
</head> | |
<body> | |
<input type="text" name="" id="tamil"> | |
<script type="text/javascript" src="https://www.google.com/jsapi"></script> |
This file contains 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Customer_model extends CI_Model { | |
public $variable; | |
public function __construct() | |
{ | |
parent::__construct(); | |
NewerOlder