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
/* | |
* Resolve Google Map v3 without API Key | |
* since june 22 2016 | |
* Put on body and load before map render | |
*/ | |
(function (window) { | |
if (!window.document) { | |
return; | |
} |
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 | |
/** | |
* Registrasi Taxonomy | |
*/ | |
add_action( 'init', 'onphpid_taxonomy' , 0 ); | |
function onphpid_taxonomy() { | |
// registrasi category product | |
register_taxonomy( | |
'product_category', |
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php?/$1 [L] | |
</IfModule> |
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
<link rel="stylesheet" href="<?php echo site_url('assets/css/style.css');?>"> | |
<script src="<?php echo site_url('assets/js/script.js');?>"></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
$this->load->model('Model_Query'); | |
$this->Model_Query->method_query(); |
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
$http = isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on' ? 'https' : 'http'; | |
$config['base_url'] = $http.'://'.$_SERVER['HTTP_HOST'].'/'; |
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 | |
echo 'Hallo ONPHPID domain berhasil dibuat'; | |
?> |
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
<VirtualHost *:80> | |
ServerAdmin webmaster@onphpid.priv | |
DocumentRoot "C:/xampp/htdocs/onphpid.priv" | |
ServerName onphpid.priv | |
ServerAlias www.onphpid.prv | |
ErrorLog "logs/onphpid.priv-error.log" | |
CustomLog "logs/onphpid.priv-access.log" common | |
</VirtualHost> |
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
##<VirtualHost *:80> | |
##ServerAdmin webmaster@dummy-host2.example.com | |
##DocumentRoot "C:/xampp/htdocs/dummy-host2.example.com" | |
##ServerName dummy-host2.example.com | |
##ErrorLog "logs/dummy-host2.example.com-error.log" | |
##CustomLog "logs/dummy-host2.example.com-access.log" common | |
##</VirtualHost> |
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
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Dashboard</div> | |
<div class="panel-body"> |