Cara mengenerate sel tabel secara fleksibel dapat kita lakukan dengan membuat dua buah file yang berektensi *.html dan *.php. Source Codenya seperti dibawah ini :
Source Code *.html :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<title>Tabel Generate</title>
<style type="text/css">
<!--
#a1 {
width: 180px;
height: 25px;
z-index: 1;
left: 285px;
top: 190px;
}
color: white;
.b1 {
font-weight: bold;
}
-->
</style>
</head>
<body>
<script language="JavaScript" type="text/javascript">
function getmax() {
var R = parseInt(document.getElementById('JumlahRow').value);
var C = parseInt(document.getElementById('JumlahColum').value);
var X = parseInt(document.getElementById('JumlahCell').value);
var cellmax = document.getElementById('maxcells');
var total = 'N/A';
total = R * C;
cellmax.value = new String(total);
if (X > total)
{
alert('Cell Total Yang Anda Masukkan Terlalu Besar, Nilai Maksimum Cells = ' + total);
document.getElementById('CellsTotal').value = new String();
}
}
</script>
<form method="post" action="generate.php">
<h3 class="b1">Program Generate Sel Tabel Secara Fleksibel</h3>
<div>
<table width="300" border="0" bgcolor=blue>
<tr bgcolor="white">
<td width="120" style="text-align:center">Jumlah Baris</td>
<td width="189"><strong>= </strong>
<input name="JumlahRow" type="text" id="JumlahRow" onKeyUp="getmax();" onfocus="this.select();"/></td>
</tr>
<tr bgcolor="white">
<td style="text-align:center"><label>Jumlah Kolom</label></td>
<td><strong>= </strong>
<input name="JumlahColum" type="text" id="JumlahColum" onKeyUp="getmax();" onfocus="this.select();"/></td>
</tr>
<tr bgcolor="white">
<td style="text-align:center">Jumlah Sel Total </td>
<td><strong>= </strong>
<input name="JumlahCell" type="text" id="JumlahCell" onKeyUp="getmax();" onFocus="this.select();"/></td>
</tr>
<tr bgcolor="white">
<td style="text-align:center">Tampilkan Jumlah Maks Sel </td>
<td><strong>= </strong>
<input name="maxcells" type="text" id="maxcells" readonly="readonly" style="text-align:center"/></td>
</tr>
</table>
</div>
<div id="a1">
<input type="submit" name="Generate" value="Generate"/>
<input type="reset" name="Reset" value="Reset"/>
</div>
</form>
</body>
</html>
Source Code *.php :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<html>
<head>
<title>Hasil Generate</title>
</head>
<body>
<div align="center">
<?php
$rows = 1;
$columns = 1;
$cells = 1;
?>
<?php $rows = (int) $_POST["JumlahRow"]; ?>
<?php $columns = (int) $_POST["JumlahColum"]; ?>
<?php $cells = (int) $_POST["JumlahCell"]; ?>
<strong>Anda Membuat</strong> <?php echo $rows; ?> <em>baris,</em><br />
<strong>Anda Membuat</strong> <?php echo $columns; ?> <em>kolom,</em><br />
<strong>Dan Anda Menampilkan</strong> <?php echo $cells; ?> <em>sel tabel,</em><br />
<br />
<br />
<?php
$width = $columns * 75;
echo "<table width=".$width." border=1>";
$rw = 0;
$cel = 1;
while ($rw < $rows && $cel <= $cells)
{
echo "<tr>";
$cl = 0;
while ($cl < $columns)
{
if ($cel <= $cells)
{
echo "<td><div align=center>".$cel."</div></td>";
$cel++;
}
$cl++;
}
echo "</tr>";
$rw++;
}
echo "</table>";
?>
</div>
</body>
</html>
Tampilan programnya seperti dibawah ini :
Tampilan program setelah dieksekusi :
Selasa, 08 Maret 2011
Selasa, 01 Maret 2011
Praktikum 5-Warung Makan
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Warung Makan Suka-Suka</title>
<script type="text/javascript" src="warung.js"></script>
</head>
<body>
<script language="JavaScript" type="text/javascript">
</script><h3>PEMESANAN MAKANAN WARUNG SUKA-SUKA</h3>
<form name="form2" action="#">
<table border="1px">
<tr>
<th>No</th>
<th>Makanan/Minuman</th>
<th>Harga</th>
<th>Pesan</th>
</tr>
<tr>
<td width="15">1</td>
<td width="200">Bakso Istimewa</td>
<td width="90">@ <input type="text" name="bakso" value="Rp.12000" size="6" disabled="true"/></td>
<td width="110"><input type="text" name="Bakso" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>2</td>
<td>Soto Spesial</td>
<td>@ <input type="text" name="soto" value="Rp.10000" size="6" disabled="true"/></td>
<td><input type="text" name="Soto" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>3</td>
<td>Mie Ayam Super</td>
<td>@ <input type="text" name="mie" value="Rp.15000" size="6" disabled="true"/></td>
<td><input type="text" name="Mie" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>4</td>
<td>Es Degan</td>
<td>@ <input type="text" name="degan" value="Rp.5000" size="6" disabled="true"/></td>
<td><input type="text" name="Degan" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>5</td>
<td>Es Campur</td>
<td>@ <input type="text" name="campur" value="Rp.7000" size="6" disabled="true"/></td>
<td><input type="text" name="Campur" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td colspan="3" align="right">Jumlah Total</td>
<td>@.<input type="text" name="Total" size="10" disabled="true" /></td>
</tr>
<tr>
<td colspan="3" align="right">Diskon</td>
<td>@.<input type="text" name="Diskon" size="10" disabled="true" /></td>
</tr>
<tr>
<td colspan="3" align="right">Jumlah Dibayar</td>
<td>@.<input type="text" name="Bayar" disabled="true" size="10" align="right"/></td>
</tr>
</table><br/>
<input type="button" value="BATAL" onClick="resetForm()" />
</form>
</body>
</html>
--->> Buat file baru dengan nama warung.js
function hitungPesan(){
var nota = document.form2;
var hargaBakso = 12000 * eval(nota.Bakso.value);
var hargaSoto = 10000 * eval(nota.Soto.value);
var hargaMie = 15000 * eval(nota.Mie.value);
var hargaDegan = 5000 * eval(nota.Degan.value);
var hargaCampur = 7000 * eval(nota.Campur.value);
var jumlahTotal = hargaBakso + hargaSoto + hargaMie + hargaDegan + hargaCampur;
if (jumlahTotal > 50000){
nota.Total.value = jumlahTotal;
nota.Diskon.value = 10000;
nota.Bayar.value = jumlahTotal - eval(nota.Diskon.value);
} else {
nota.Total.value = jumlahTotal;
nota.Diskon.value = 0;
nota.Bayar.value = jumlahTotal - eval(nota.Diskon.value);
}
}
function resetForm(){
document.form2.reset();
}
<html>
<head>
<title>Warung Makan Suka-Suka</title>
<script type="text/javascript" src="warung.js"></script>
</head>
<body>
<script language="JavaScript" type="text/javascript">
</script><h3>PEMESANAN MAKANAN WARUNG SUKA-SUKA</h3>
<form name="form2" action="#">
<table border="1px">
<tr>
<th>No</th>
<th>Makanan/Minuman</th>
<th>Harga</th>
<th>Pesan</th>
</tr>
<tr>
<td width="15">1</td>
<td width="200">Bakso Istimewa</td>
<td width="90">@ <input type="text" name="bakso" value="Rp.12000" size="6" disabled="true"/></td>
<td width="110"><input type="text" name="Bakso" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>2</td>
<td>Soto Spesial</td>
<td>@ <input type="text" name="soto" value="Rp.10000" size="6" disabled="true"/></td>
<td><input type="text" name="Soto" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>3</td>
<td>Mie Ayam Super</td>
<td>@ <input type="text" name="mie" value="Rp.15000" size="6" disabled="true"/></td>
<td><input type="text" name="Mie" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>4</td>
<td>Es Degan</td>
<td>@ <input type="text" name="degan" value="Rp.5000" size="6" disabled="true"/></td>
<td><input type="text" name="Degan" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td>5</td>
<td>Es Campur</td>
<td>@ <input type="text" name="campur" value="Rp.7000" size="6" disabled="true"/></td>
<td><input type="text" name="Campur" size="14" value="0" onChange="hitungPesan()"/></td>
</tr>
<tr>
<td colspan="3" align="right">Jumlah Total</td>
<td>@.<input type="text" name="Total" size="10" disabled="true" /></td>
</tr>
<tr>
<td colspan="3" align="right">Diskon</td>
<td>@.<input type="text" name="Diskon" size="10" disabled="true" /></td>
</tr>
<tr>
<td colspan="3" align="right">Jumlah Dibayar</td>
<td>@.<input type="text" name="Bayar" disabled="true" size="10" align="right"/></td>
</tr>
</table><br/>
<input type="button" value="BATAL" onClick="resetForm()" />
</form>
</body>
</html>
--->> Buat file baru dengan nama warung.js
function hitungPesan(){
var nota = document.form2;
var hargaBakso = 12000 * eval(nota.Bakso.value);
var hargaSoto = 10000 * eval(nota.Soto.value);
var hargaMie = 15000 * eval(nota.Mie.value);
var hargaDegan = 5000 * eval(nota.Degan.value);
var hargaCampur = 7000 * eval(nota.Campur.value);
var jumlahTotal = hargaBakso + hargaSoto + hargaMie + hargaDegan + hargaCampur;
if (jumlahTotal > 50000){
nota.Total.value = jumlahTotal;
nota.Diskon.value = 10000;
nota.Bayar.value = jumlahTotal - eval(nota.Diskon.value);
} else {
nota.Total.value = jumlahTotal;
nota.Diskon.value = 0;
nota.Bayar.value = jumlahTotal - eval(nota.Diskon.value);
}
}
function resetForm(){
document.form2.reset();
}
Praktikum 5-Studi Kasus
<!DOCTYPE html>
<html lang="en">
<head>
<title>Kalkulator Sederhana</title>
<script type="text/javascript" src="rumus.js"></script>
</head>
<p>
<h2>Program Kalkulator Sederhana</h2>
</p>
<body>
<form name="form1" action="#"><input type="text" name="a"/>
<select name="opt">
<option value="+">+</option>
<option value="-">-</option>
<option value="*">*</option>
<option value="/">/</option>
</select>
<input type="text" name="b"/>
<input type="button" value="=" onClick="hitung()"/>
<input type="text" name="hasil" disabled="true"/><br/>
<input type="button" value="clear" onClick="resetForm()"/>
</form>
</body>
</html>
---->> Buat file baru dengan nama rumus.js
function hitung(){
var myForm = document.form1;
var a=eval(myForm.a.value);
var b=eval(myForm.b.value);
var pil= myForm.opt.value;
if (pil == "+") {
var c = a + b;
}else if (pil == "-") {
var c = a - b;
} else if (pil == "*") {
var c = a * b;
} else if (pil == "/") {
var c = a / b;
}
myForm.hasil.value = c;
}
function resetForm(){
document.form1.reset();
}
//-->
<html lang="en">
<head>
<title>Kalkulator Sederhana</title>
<script type="text/javascript" src="rumus.js"></script>
</head>
<p>
<h2>Program Kalkulator Sederhana</h2>
</p>
<body>
<form name="form1" action="#"><input type="text" name="a"/>
<select name="opt">
<option value="+">+</option>
<option value="-">-</option>
<option value="*">*</option>
<option value="/">/</option>
</select>
<input type="text" name="b"/>
<input type="button" value="=" onClick="hitung()"/>
<input type="text" name="hasil" disabled="true"/><br/>
<input type="button" value="clear" onClick="resetForm()"/>
</form>
</body>
</html>
---->> Buat file baru dengan nama rumus.js
function hitung(){
var myForm = document.form1;
var a=eval(myForm.a.value);
var b=eval(myForm.b.value);
var pil= myForm.opt.value;
if (pil == "+") {
var c = a + b;
}else if (pil == "-") {
var c = a - b;
} else if (pil == "*") {
var c = a * b;
} else if (pil == "/") {
var c = a / b;
}
myForm.hasil.value = c;
}
function resetForm(){
document.form1.reset();
}
//-->
Selasa, 22 Februari 2011
Tugas Praktikum 4
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>mbah</title>
<style type="text/css">
body{
margin : 10px auto;
width: 1000px;
float: center;
}
header,logo,teknik,home,newsmedia,tutorial,search,tipstricks,
downloads,nav,article,section,footer,aside,aside2{
display:block;
border: 1px;}
header {
width: 1000px;
height: 100px;
margin-top:10px;
border: 1px;
background-color:#1589ff;}
logo{}
teknik{
margin-left:100px;
margin-top:-60px;}
nav{
width:1000px;
height:35px;
border:1px solid green;
background-color:#3bb9ff;
}
search{
margin-left:10px;
margin-top:10px;
}
home{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
newsmedia{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
tutorial{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
tipstricks{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
downloads{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
section{
width:1000px;
height:450px;
display:block;
border:1px solid black;
}
article {
width:250px;
height:350px;
border: 10px solid black;
}
aside{
margin-top:-340px;
margin-left:300px;
width :650px;
height :200px;
border : 0px dashed red;
}
aside2{
margin-top:40px;
margin-left:300px;
width :650px;
height :150px;
border : 0px dashed red;
background-color:#3bb9ff;
}
footer{
width:1000px;
height:30px;
display:block;
border:0px solid red;
background-color:#1589ff;
}
</style>
</head>
<body>
<header>
<logo><img src="UM2.jpg"></logo>
<teknik><FONT FACE="Tahoma" SIZE="20" color=white><b>TEKNIK ELEKTRO</b></font></teknik>
</header>
<nav>
<downloads><a href=""><font color=white>Downloads</font></a></downloads>
<tipstricks><a href=""><font color=white>Tips&Tricks</font></a></tipstricks>
<tutorial><a href=""><font color=white>tutorials</font></a></tutorial>
<newsmedia><a href=""><font color=white>News&Media</font></a></newsmedia>
<home><a href=""><font color=white>Home</font></a></home>
<search>
<label><font size = "gen.jpg"><b>Search</b></label></font>
<input type="text" name="email">
</search>
</nav>
<section>
<article>
<img src="gen.jpg" height=350 width=250></article>
<aside>Generator listrik adalah sebuah alat yang memproduksi energi listrik dari sumber energi mekanikal, biasanya dengan menggunakan induksi elektromagnetik. Proses ini dikenal sebagai pembangkit listrik. Walau generator dan motor punya banyak kesamaan, tapi motor adalah alat yang mengubah energi listrik menjadi energi mekanik. Generator mendorong muatan listrik untuk bergerak melalui sebuah sirkuit listrik eksternal, tapi generator tidak menciptakan listrik yang sudah ada di dalam kabel lilitannya. Hal ini bisa dianalogikan dengan sebuah pompa air, yang menciptakan aliran air tapi tidak menciptakan air di dalamnya. Sumber enegi mekanik bisa berupa resiprokat maupun turbin mesin uap, air yang jatuh melakui sebuah turbin maupun kincir air, mesin pembakaran dalam, turbin angin, engkol tangan, energi surya atau matahari, udara yang dimampatkan, atau apapun sumber energi mekanik yang lain. (source: wikipedia)</aside>
<aside2>
<b>Terlaris Dibaca</b><hr>
<ul>
<li><a href="">Lampu Jalan Tenaga Surya</a></li>
<li><a href="">PLTA</a></li>
<li><a href="">Robot Pembersih</a></li></ul>
</aside2>
</section>
<footer><center>
| <a href="">Home</a>| <a href="">News&Media</a> | <a href="">Tutorials</a>
| <a href="">Tips&Tricks</a> | <a href="">Downloads</a> |</center>
</footer>
</body>
</html>
<html lang="en">
<head>
<title>mbah</title>
<style type="text/css">
body{
margin : 10px auto;
width: 1000px;
float: center;
}
header,logo,teknik,home,newsmedia,tutorial,search,tipstricks,
downloads,nav,article,section,footer,aside,aside2{
display:block;
border: 1px;}
header {
width: 1000px;
height: 100px;
margin-top:10px;
border: 1px;
background-color:#1589ff;}
logo{}
teknik{
margin-left:100px;
margin-top:-60px;}
nav{
width:1000px;
height:35px;
border:1px solid green;
background-color:#3bb9ff;
}
search{
margin-left:10px;
margin-top:10px;
}
home{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
newsmedia{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
tutorial{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
tipstricks{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
downloads{
float:right;
margin-left:10px;
margin-top:10px;
border:0px solid green;
background-color:#3090c7;
}
section{
width:1000px;
height:450px;
display:block;
border:1px solid black;
}
article {
width:250px;
height:350px;
border: 10px solid black;
}
aside{
margin-top:-340px;
margin-left:300px;
width :650px;
height :200px;
border : 0px dashed red;
}
aside2{
margin-top:40px;
margin-left:300px;
width :650px;
height :150px;
border : 0px dashed red;
background-color:#3bb9ff;
}
footer{
width:1000px;
height:30px;
display:block;
border:0px solid red;
background-color:#1589ff;
}
</style>
</head>
<body>
<header>
<logo><img src="UM2.jpg"></logo>
<teknik><FONT FACE="Tahoma" SIZE="20" color=white><b>TEKNIK ELEKTRO</b></font></teknik>
</header>
<nav>
<downloads><a href=""><font color=white>Downloads</font></a></downloads>
<tipstricks><a href=""><font color=white>Tips&Tricks</font></a></tipstricks>
<tutorial><a href=""><font color=white>tutorials</font></a></tutorial>
<newsmedia><a href=""><font color=white>News&Media</font></a></newsmedia>
<home><a href=""><font color=white>Home</font></a></home>
<search>
<label><font size = "gen.jpg"><b>Search</b></label></font>
<input type="text" name="email">
</search>
</nav>
<section>
<article>
<img src="gen.jpg" height=350 width=250></article>
<aside>Generator listrik adalah sebuah alat yang memproduksi energi listrik dari sumber energi mekanikal, biasanya dengan menggunakan induksi elektromagnetik. Proses ini dikenal sebagai pembangkit listrik. Walau generator dan motor punya banyak kesamaan, tapi motor adalah alat yang mengubah energi listrik menjadi energi mekanik. Generator mendorong muatan listrik untuk bergerak melalui sebuah sirkuit listrik eksternal, tapi generator tidak menciptakan listrik yang sudah ada di dalam kabel lilitannya. Hal ini bisa dianalogikan dengan sebuah pompa air, yang menciptakan aliran air tapi tidak menciptakan air di dalamnya. Sumber enegi mekanik bisa berupa resiprokat maupun turbin mesin uap, air yang jatuh melakui sebuah turbin maupun kincir air, mesin pembakaran dalam, turbin angin, engkol tangan, energi surya atau matahari, udara yang dimampatkan, atau apapun sumber energi mekanik yang lain. (source: wikipedia)</aside>
<aside2>
<b>Terlaris Dibaca</b><hr>
<ul>
<li><a href="">Lampu Jalan Tenaga Surya</a></li>
<li><a href="">PLTA</a></li>
<li><a href="">Robot Pembersih</a></li></ul>
</aside2>
</section>
<footer><center>
| <a href="">Home</a>| <a href="">News&Media</a> | <a href="">Tutorials</a>
| <a href="">Tips&Tricks</a> | <a href="">Downloads</a> |</center>
</footer>
</body>
</html>
Selasa, 15 Februari 2011
Tugas Modul 3
<!DOCTYPE html public "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"lang="en">
<head>
<title>Selamat Datang di Face-mu - Masuk, Daftar, atau Pelajari Selengkapnya</title>
<link rel="Shortcut Icon" href="icon.png">
<style type="text/css">
<!--
.utama {
background-image:url(bg.jpg);
padding: 15px;
height: 470px;}
.utama1 {
position:absolute;
left:250px;
top:100px;
padding: 15px;
height: 300px;
width: 450px;
}
.utama2 {
position:absolute;
left:760px;
top:100px;
padding: 15px;
height: 450px;
width: 450px;
}
.utama2a {
position:absolute;
top:380px;
height: 50px;
width: 450px;
}
.utama2b {
position:absolute;
top:75px;
padding: 15px;
height: 250px;
width: 100px;
}
.utama2c {
line-height: 11px;
position:absolute;
top:75px;
left:130px;
padding: 15px;
height: 250px;
width: 250px;
}
.utama1a {
background-image:url(file:///C:/wamp/www/wamphtml/BFOd681AL3h.png);
position:absolute;
top:200px;
padding: 15px;
height: 100px;
width: 450px;
}
.logo {
position:absolute;
left:250px;
top:30px;
padding: 15px;
height: 28px;
width: 150px;
}
.katasandi {
position:absolute;
right:100px;
top:10px;
padding: 15px;
height: 28px;
width: 300px;
}
.mendaftar {
background-color: "blue";
position:absolute;
top:268px;
padding: 10px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-bottomleft: 6px;
-moz-border-radius-bottomright: 6px;
-moz-box-shadow: 0px 2px 2px black;
border: 1px groove white;
height: 10px;
width: 100px;
}
.masuk {
background-color: #6495ED;
position:absolute;
top:40px;
right:200px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-bottomleft: 2px;
-moz-border-radius-bottomright: 2px;
-moz-box-shadow: 0px 2px 2px black;
border: 1px groove white;
height: 18px;
width: 50px;
}
.email {
position:absolute;
top:10px;
right:400px;
padding: 15px;
height: 28px;
width: 170px;
}
.kepala {
background-color:#3b5998;
padding: 15px;
height: 50px;
}
.bawah {
background-color:#3b5998;
padding: 0.1cm;
height: 17px;
}
-->
</style>
</head>
<body>
<div class="kepala">
<img src="facemu.png" />
<div class="logo">
</div>
<div class="email">
<FONT FACE="Tahoma" SIZE="2" color="white">
email:</br>
<input type="text" name="nama"></br>
<input type="checkbox" name="msk"><FONT FACE="Tahoma" SIZE="1" color="white"><SUP>Biarkan saya tetap masuk</sup></font></font><br/></div>
<div class="katasandi">
<FONT FACE="Tahoma" SIZE="2" color="white">
kata sandi:</br>
<input type="text" name="pasword"></br>
<FONT FACE="Tahoma" SIZE="1" color="white">Lupa kata sandi Anda?</font></font></div>
<div class="masuk" align="center">
<FONT FACE="Tahoma" SIZE="2" color="black"><b style="text-shadow: black 0px 0px 3px; color:white;">Masuk</b></font>
</div>
</div>
<div class="utama">
<div class="utama1">
<FONT FACE="Tahoma" SIZE="4" color=#6495ED><b>FACE-MU management production mempersembahkan</b></font>
<img src="2.jpg" align = "left" width="500" height= "300"/>
<div class="utama1a">
</div></div>
<div class="utama2" >
<FONT FACE="Tahoma" SIZE="4" color="blue"><b>Mendaftar</b></font></br>
<FONT FACE="Tahoma" SIZE="3" color="blue">Gratis, sampai kapanpun</font><hr color="blue"/><br/>
<div class="utama2b" align="right">
<FONT FACE="Tahoma" SIZE="2" color="blue">
Nama Depan: </br></br>
Nama Belakang: </br></br>
Email Anda: </br></br>
Masukkan Ulang Email:</br></br>
Kata sandi Baru: </br></br>
Saya seorang: </br></br>
Tanggal Lahir:</br></br></font>
</div>
<div class="utama2c" >
<input type="text" name="namad"></br></br>
<input type="text" name="namab"></br></br>
<input type="text" name="email"></br></br>
<input type="text" name="ktsandi"></br></br></br>
<input type="text" name="ktsandibr"></br></br>
<select name="pilihan"> <option value="Pria">Pria</option> <option value="Wanita">Wanita</option> </select></br></br>
<select name="tgl"> <option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option> </select>
<select name="bln"> <option value="januari">januari</option><option value="februari">februari</option><option value="maret">maret</option><option value="april">april</option><option value="mei">mei</option><option value="juni">juni</option><option value="juli">juli</option><option value="agustus">agustus</option><option value="septembet">September</option><option value="oktober">oktober</option><option value="nopember">nopember</option><option value="desember">desember</option> </select>
<select name="thn"> <option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option> </select></br>
<FONT FACE="Tahoma" SIZE="1" color="blue">Mengapa saya perlu mengisinya?</font></br>
<div class="mendaftar" align="center" valign="middle">
<FONT FACE="Tahoma" SIZE="3" color="blue"><b style="text-shadow: black 0px 0px 3px; color:white;">Mendaftar</b></font>
</div>
</div>
<div class="utama2a" align="center" >
<hr color="blue"/>
<FONT FACE="Tahoma" SIZE="1" color="blue">Buat halaman </font>
<FONT FACE="Tahoma" SIZE="1" color="black">untuk selebritis, grup music atau bisnis</font>
</div>
</div>
</div>
<div class="bawah">
<FONT FACE="Tahoma" SIZE="2" color="black"> Face-mu © 2011, andyjefri corporation</font>
</div>
</body>
</html>
"http://www.w3.org/TR/xhtml/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"lang="en">
<head>
<title>Selamat Datang di Face-mu - Masuk, Daftar, atau Pelajari Selengkapnya</title>
<link rel="Shortcut Icon" href="icon.png">
<style type="text/css">
<!--
.utama {
background-image:url(bg.jpg);
padding: 15px;
height: 470px;}
.utama1 {
position:absolute;
left:250px;
top:100px;
padding: 15px;
height: 300px;
width: 450px;
}
.utama2 {
position:absolute;
left:760px;
top:100px;
padding: 15px;
height: 450px;
width: 450px;
}
.utama2a {
position:absolute;
top:380px;
height: 50px;
width: 450px;
}
.utama2b {
position:absolute;
top:75px;
padding: 15px;
height: 250px;
width: 100px;
}
.utama2c {
line-height: 11px;
position:absolute;
top:75px;
left:130px;
padding: 15px;
height: 250px;
width: 250px;
}
.utama1a {
background-image:url(file:///C:/wamp/www/wamphtml/BFOd681AL3h.png);
position:absolute;
top:200px;
padding: 15px;
height: 100px;
width: 450px;
}
.logo {
position:absolute;
left:250px;
top:30px;
padding: 15px;
height: 28px;
width: 150px;
}
.katasandi {
position:absolute;
right:100px;
top:10px;
padding: 15px;
height: 28px;
width: 300px;
}
.mendaftar {
background-color: "blue";
position:absolute;
top:268px;
padding: 10px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-bottomleft: 6px;
-moz-border-radius-bottomright: 6px;
-moz-box-shadow: 0px 2px 2px black;
border: 1px groove white;
height: 10px;
width: 100px;
}
.masuk {
background-color: #6495ED;
position:absolute;
top:40px;
right:200px;
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-bottomleft: 2px;
-moz-border-radius-bottomright: 2px;
-moz-box-shadow: 0px 2px 2px black;
border: 1px groove white;
height: 18px;
width: 50px;
}
.email {
position:absolute;
top:10px;
right:400px;
padding: 15px;
height: 28px;
width: 170px;
}
.kepala {
background-color:#3b5998;
padding: 15px;
height: 50px;
}
.bawah {
background-color:#3b5998;
padding: 0.1cm;
height: 17px;
}
-->
</style>
</head>
<body>
<div class="kepala">
<img src="facemu.png" />
<div class="logo">
</div>
<div class="email">
<FONT FACE="Tahoma" SIZE="2" color="white">
email:</br>
<input type="text" name="nama"></br>
<input type="checkbox" name="msk"><FONT FACE="Tahoma" SIZE="1" color="white"><SUP>Biarkan saya tetap masuk</sup></font></font><br/></div>
<div class="katasandi">
<FONT FACE="Tahoma" SIZE="2" color="white">
kata sandi:</br>
<input type="text" name="pasword"></br>
<FONT FACE="Tahoma" SIZE="1" color="white">Lupa kata sandi Anda?</font></font></div>
<div class="masuk" align="center">
<FONT FACE="Tahoma" SIZE="2" color="black"><b style="text-shadow: black 0px 0px 3px; color:white;">Masuk</b></font>
</div>
</div>
<div class="utama">
<div class="utama1">
<FONT FACE="Tahoma" SIZE="4" color=#6495ED><b>FACE-MU management production mempersembahkan</b></font>
<img src="2.jpg" align = "left" width="500" height= "300"/>
<div class="utama1a">
</div></div>
<div class="utama2" >
<FONT FACE="Tahoma" SIZE="4" color="blue"><b>Mendaftar</b></font></br>
<FONT FACE="Tahoma" SIZE="3" color="blue">Gratis, sampai kapanpun</font><hr color="blue"/><br/>
<div class="utama2b" align="right">
<FONT FACE="Tahoma" SIZE="2" color="blue">
Nama Depan: </br></br>
Nama Belakang: </br></br>
Email Anda: </br></br>
Masukkan Ulang Email:</br></br>
Kata sandi Baru: </br></br>
Saya seorang: </br></br>
Tanggal Lahir:</br></br></font>
</div>
<div class="utama2c" >
<input type="text" name="namad"></br></br>
<input type="text" name="namab"></br></br>
<input type="text" name="email"></br></br>
<input type="text" name="ktsandi"></br></br></br>
<input type="text" name="ktsandibr"></br></br>
<select name="pilihan"> <option value="Pria">Pria</option> <option value="Wanita">Wanita</option> </select></br></br>
<select name="tgl"> <option value="1">1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option> </select>
<select name="bln"> <option value="januari">januari</option><option value="februari">februari</option><option value="maret">maret</option><option value="april">april</option><option value="mei">mei</option><option value="juni">juni</option><option value="juli">juli</option><option value="agustus">agustus</option><option value="septembet">September</option><option value="oktober">oktober</option><option value="nopember">nopember</option><option value="desember">desember</option> </select>
<select name="thn"> <option value="1990">1990</option><option value="1991">1991</option><option value="1992">1992</option><option value="1993">1993</option><option value="1994">1994</option><option value="1995">1995</option> </select></br>
<FONT FACE="Tahoma" SIZE="1" color="blue">Mengapa saya perlu mengisinya?</font></br>
<div class="mendaftar" align="center" valign="middle">
<FONT FACE="Tahoma" SIZE="3" color="blue"><b style="text-shadow: black 0px 0px 3px; color:white;">Mendaftar</b></font>
</div>
</div>
<div class="utama2a" align="center" >
<hr color="blue"/>
<FONT FACE="Tahoma" SIZE="1" color="blue">Buat halaman </font>
<FONT FACE="Tahoma" SIZE="1" color="black">untuk selebritis, grup music atau bisnis</font>
</div>
</div>
</div>
<div class="bawah">
<FONT FACE="Tahoma" SIZE="2" color="black"> Face-mu © 2011, andyjefri corporation</font>
</div>
</body>
</html>
Langganan:
Postingan (Atom)