codeigniter_test2/application/views/tes/login.php
2020-01-02 23:07:40 +07:00

38 lines
1.7 KiB
PHP

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
<link href="../../css/login.css" rel="stylesheet" type="text/css" />
</head>
<body class="bg">
<div class="login">
<!--
<h1 style="padding-left:20px;padding-top:30px">Login</h1>
<form action="validasi" method="post">
<table width="390" style="padding-left:15px;border-spacing:10px">
<tr><td width="70"><a3>Username</a3></td><td width="3">:</td><td width="144"><input type="text" name="username" /></td></tr>
<tr><td><a3>Password</a3></td><td>:</td><td><input type="password" name="password" /></td></tr>
<tr><td></td></td><td></td><td width="151" style="padding-left:100px"><input type="submit" name="login" onclick="halo" /></td></tr>
</table>
</form>
-->
<form id="form1" action="validasi" method="post">
<fieldset>
<legend><h3 style="font-family:'Palatino Linotype', 'Book Antiqua', Palatino, serif">Login</h3></legend>
<table width="200" style="border-spacing:10px;margin-left:10%">
<tr>
<td><input type="text" name="username" value="Username" onfocus="{this.value = '';}" onblur="if (this.value == '') {this.value = 'Username';}"/></td>
</tr>
<tr>
<td><input type="password" name="password" value="password" onfocus="{this.value = '';}" onblur="if (this.value == '') {this.value = 'Password';}/></td>
<tr>
<td colspan="2"><p class="submit"><button type="submit">Login</button></p><td>
</tr>
</table>
</fieldset>
</form>
</div>
</body>
</html>