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 | |
session_start(); | |
if (isset($_GET['bahasa']) and !empty($_GET['bahasa'])) { | |
$_SESSION['bahasa'] = $_GET['bahasa']; | |
} else if (!isset($_SESSION['bahasa'])) { | |
$_SESSION['bahasa'] = 'id'; | |
} |
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 | |
// array of thumbnail images | |
$thumbnails = array('1_a.jpg','2_b.jpg','3_c.jpg','4_d.jpg','5_e.jpg', | |
'6_f.jpg','7_g.jpg','8_h.jpg','9_i.jpg','10_j.jpg'); | |
// set thumbnail path | |
$thumb_dir = '../share/images/'; | |
// set width and height of image output | |
$out_width = 0; |
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> | |
<meta charset="utf-8"/> | |
<meta name="description" content="Menggunakan CSS Sprite"/> | |
<title>Menggunakan CSS Sprite</title> | |
<style> | |
/* Main Styling */ | |
.thumb { | |
background-image:url(thumbs21.php); |
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 | |
/** | |
* Kelas untuk memanipulasi data yang berkaitan dengan rupiah. | |
* | |
* Catatan: Saya lupa darimana contoh fungsi terbilang awalnya! | |
* | |
* @version 0.0.1 | |
* @author Anggiajuang Patria <[email protected]> | |
* @copyright (c) 2009-2010 http://www.segellabs.com/ | |
* @license http://www.gnu.org/licenses/gpl-3.0.txt |
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 | |
$engines = array( | |
'google' => '#', | |
'yahoo' => '#', | |
'bing' => '#', | |
'ask' => '#', | |
'alltheweb' => '#', | |
'aol' => '#', | |
'lycos' => '#', |
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 | |
$engines = array( | |
'google' => '#', | |
'yahoo' => '#', | |
'bing' => '#', | |
'ask' => '#', | |
'alltheweb' => '#', | |
'aol' => '#', | |
'lycos' => '#', |