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 lang="en"> | |
<head> | |
<title>..:: Buku Tamu ::..</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- Bootstrap --> | |
<link href="<?php echo $this->config->item('assets_url');?>css/bootstrap.css" rel="stylesheet" media="screen"> | |
<script type="text/javascript" src="<?php echo base_url();?>js/jquery-1.8.2.js"></script> | |
<script type="text/javascript" src="<?php echo base_url();?>js/bootstrap.js"></script> | |
<script type="text/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 | |
$host = '127.0.0.1'; // ini merupakan hostnya | |
$db = 'databasenya'; | |
$user = 'sa'; // user sql server | |
$pwd = 'sa'; // password sql server | |
//$dsn = "Driver={SQL Native Client};Server=$host;Database=$db; Uid=$user;Pwd=$pwd;"; | |
// This is a more generic one I use with to dev with, Windows 7 and SQL Server 2008 | |
$dsn = "Driver={SQL Server};Server=$host;Database=$db; Uid=$user;Pwd=$pwd;"; // only for dev. purposes | |
try{ |
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 | |
$active_group = 'default'; | |
$active_record = FALSE; | |
$db['default']['hostname'] = 'Driver={SQL Server};Server=127.0.0.1;Database=databasenya; Uid=sa;Pwd=sa;'; | |
$db['default']['username'] = 'sa'; | |
$db['default']['password'] = 'sa'; | |
$db['default']['database'] = 'databasenya'; | |
$db['default']['dbdriver'] = 'odbc'; | |
$db['default']['dbprefix'] = ''; | |
$db['default']['pconnect'] = 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Angular Binding</title> | |
<link rel="stylesheet" href="assets/foundation/foundation.css" /> | |
</head> | |
<body> | |
<div ng-app=""> | |
<input type="text" ng-model="data.message" /> | |
<h1>{{data.message + " World"}}</h1> |
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>Angular Binding</title> | |
<link rel="stylesheet" href="assets/foundation/foundation.css" /> | |
</head> | |
<body> | |
<div ng-app=""> | |
<div ng-controller="FirstCtrl"> | |
<h1>{{data.message + " World"}}</h1> |
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 FirstCtrl($scope) | |
{ | |
$scope.data = {message:"halow"} | |
} |
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>Angular Binding</title> | |
<link rel="stylesheet" href="assets/foundation/foundation.css" /> | |
</head> | |
<body> | |
<div ng-app="MyApp"> | |
<div ng-controller="AvengerCtrl"> | |
<input type="text" ng-model="search.$"/> |
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
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"require": { | |
"laravel/framework": "4.0.*", | |
"cartalyst/sentry": "2.0.*", | |
"dflydev/markdown": "v1.0.2", | |
"imagine/Imagine": "v0.4.1" |
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 | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateArticlesTable extends Migration { | |
/** | |
* Run the migrations. | |
* |
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 | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreatePagesTable extends Migration { | |
/** | |
* Run the migrations. | |
* |