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 | |
if (! function_exists('setting')) | |
{ | |
function setting($index = false) | |
{ | |
if (file_exists("./setting.json") AND $index) { | |
$json = file_get_contents('./setting.json'); | |
$data = json_decode($json,true); | |
return (isset($data[$index])) ? $data[$index] : false; | |
} |
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
<div class="box box-primary"> | |
<div class="box-header with-border"> | |
<div class="box-title">Just title </div> | |
<div class="box-tools pull-right"> | |
<a href="" class="btn btn-primary btn-sm"><i class="fa fa-plus-circle"></i> add</a> | |
</div> | |
</div> | |
<div class="box-body"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod | |
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, |
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
<div class="nav-tabs-custom"> | |
<ul class="nav nav-tabs pull-right"> | |
<li class="active"><a href="#tab_1-1" data-toggle="tab">Tab 1</a></li> | |
<li><a href="#tab_2-2" data-toggle="tab">Tab 2</a></li> | |
<li><a href="#tab_3-2" data-toggle="tab">Tab 3</a></li> | |
<li class="dropdown"> | |
<a class="dropdown-toggle" data-toggle="dropdown" href="#"> | |
Dropdown <span class="caret"></span> | |
</a> | |
<ul class="dropdown-menu"> |
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 | |
// Data 1 | |
$data [] = array( | |
'no' => 1, | |
'nama' => 'Rudi', | |
'alamat' => 'Nganjuk' | |
); | |
// Data 2 | |
$data [] = array( |
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 | |
// File json yang akan dibaca (full path file) | |
$file = "anggota.json"; | |
// Mendapatkan file json | |
$anggota = file_get_contents($file); | |
// Mendecode anggota.json | |
$data = json_decode($anggota, true); |
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 | |
// File json yang akan dibaca | |
$file = "anggota.json"; | |
// Mendapatkan file json | |
$anggota = file_get_contents($file); | |
// Mendecode anggota.json | |
$data = json_decode($anggota, true); |
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 | |
// File json yang akan dibaca | |
$file = "anggota.json"; | |
// Mendapatkan file json | |
$anggota = file_get_contents($file); | |
// Mendecode anggota.json | |
$data = json_decode($anggota, true); |
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 | |
// File json yang akan dibaca | |
$file = "anggota.json"; | |
// Mendapatkan file json | |
$anggota = file_get_contents($file); | |
// Mendecode anggota.json | |
$data = json_decode($anggota, true); |
OlderNewer