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> | |
<head> | |
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> | |
<script type="text/javascript" src="vhgrid.main.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("#mybutton").click(function(){ | |
$("#mytable").createTable(); |
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
/* | |
add this to your config.php | |
*/ | |
$config['css']='css_style.css'; |
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 '<h2>yyyy/mm/dd</h2>'; | |
preg_match('/(19[5-9][0-9]|20[0-9][0-9])[\/-](0[1-9]|1[0-2])[\/-](0[1-9]|1[0-9]|2[0-9]|3[01])/','2011/12/30',$match); | |
foreach($match as $key=>$val){ | |
echo $key . ' => ' . $val . '<br>'; | |
} | |
echo '<h2>dd/mm/yyyy</h2>'; | |
preg_match('/(0[1-9]|1[0-9]|2[0-9]|3[01])[\/-](0[1-9]|1[0-2])[\/-](19[5-9][0-9]|20[0-9][0-9])/','30/12/2011',$match); | |
foreach($match as $key=>$val){ |
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> | |
<head> | |
<link rel='stylesheet' href='http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css' /> | |
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet"> | |
<style> | |
h2{ | |
font-weight:bold; | |
} | |
table#tbl1{ | |
width:100%; |
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
#!/bin/bash | |
#mysql -h localhost -u root -p --execute "create database teknis" | |
mysql -h localhost -u root -p <doquery.sql |
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
/** | |
* Ajax upload | |
* Project page - http://valums.com/ajax-upload/ | |
* Copyright (c) 2008 Andris Valums, http://valums.com | |
* Licensed under the MIT license (http://valums.com/mit-license/) | |
* Version 3.5 (23.06.2009) | |
*/ | |
/** | |
* Changes from the previous version: |
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> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | |
</head> | |
<body> | |
<table id="myTable"> | |
<tr myid=1> | |
<td> hullo 1</td> | |
<td class="clickable"> hullo 1</td> | |
</tr> |
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
var options = { | |
theme: true, | |
header: { | |
left: 'prev,next today', | |
center: 'title', | |
right: 'month,agendaWeek,agendaDay' | |
}, | |
timeFormat: { | |
agenda: 'h(:mm)t{ - h(:mm)t}', | |
'': 'h(:mm)t{-h(:mm)t }' |
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> | |
<head>bercanda</head> | |
<body> | |
<form action="index.php" method="post"> | |
Nama <input type="text" name="name"/><br /> | |
Pass <input type="text" name="pass"/> | |
<input type="submit" value="LOGIN"> | |
</form> | |
<?php | |
$users = 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
<html> | |
<head> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> | |
</head> | |
<body> | |
<div> | |
<input type="text" name="user" id="user"><br /> | |
<input type="text" name="pass" id="pass"><br /> | |
<button id="submit" >Login</button> | |
</div> |
OlderNewer