first commit

This commit is contained in:
alazhar
2020-01-02 23:07:40 +07:00
commit 06d138977d
387 changed files with 83476 additions and 0 deletions

View File

@ -0,0 +1,68 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="../../css/css2.css">
<script>
function myFunction(id)
{
var url="<?php echo base_url();?>";
var r=confirm("Do you want to delete this?");
if (r==true)
{
window.location = url+"index.php/barang_controller/delete/"+id;
}
else
{
return false;
}
}
</script>
</head>
<body>
<div class="wrapper">
<div class="header"><img src="../../image/Untitled-2.png"class="img" />
<a href="<?php echo base_url().'index.php/user_controller/logout'; ?>" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li id="menuchoosen"><a href="">Dashboard</a></li>
<li id="menuunchoosen"><a href="add_barang">Tambah Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="border">
<div class="bordhead"><p>Data Barang</p>
<table class="tabel" width=700 >
<tr>
<th>Nama Barang</th>
<th>Harga Barang</th>
<th colspan="2">Aksi</th>
</tr>
<tbody>
<?php
foreach($daftar_barang as $barang){
?>
<tr>
<td><?php echo $barang->nama; ?></td>
<td><?php echo $barang->harga; ?></td>
<td><?php echo '<a href="'.base_url().'index.php/barang_controller/edit/'.$barang->id.'"><button id="bt">Edit</button></a>' ?>
<button id="bt" onclick="myFunction(<?php echo $barang->id;?>)">Delete</button>
</td>
</tr>
<?php } ?>
</tbody>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="../../css/css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><img src="image/Untitled-2.png"class="img" />
<a href="" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="<?php echo base_url().'index.php/barang_controller/barang'; ?>">Dashboard</a></li>
<li><a href="">Tambah Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="border">
<div class="bordhead"><p>Tambah Data</p></div>
<form action="http://localhost/cirestful/api/barang/add_barang" method="post">
<table class="add" cellspacing="20">
<tr>
<td>Nama Barang</td>
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
</tr>
<tr>
<td>Harga</td>
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
</tr>
<tr><td></td>
<td></td>
<td><input type="submit" name="submit" value="Simpan"/></td>
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
</tr>
</table>
</form>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>css/css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><img src="image/Untitled-2.png"class="img" />
<a href="<?php echo base_url().'index.php/user_controller/logout'; ?>" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li id="menuunchoosen"><a href="<?php echo base_url().'index.php/barang_controller/barang'; ?>">Dashboard</a></li>
<li id="menuchoosen"><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
<?php
$att = array('id' => 'biodata-form');
echo form_open('barang_controller/simpan_update_barang', $att);
echo form_hidden('id',$edit->id);
?>
<div class="border">
<div class="bordhead"><p>Edit Data</p></div>
<table class="add" cellspacing="20">
<tr>
<td>Nama Barang</td>
<td colspan="3"><input type="text" name="nama_barang" value="<?php echo $edit->nama; ?>" class="input"/></td>
</tr>
<tr>
<td>Harga</td>
<td colspan="3"><input type="text" name="harga" value="<?php echo $edit->harga; ?>" class="input"/></td>
</tr>
<tr><td></td>
<td></td>
<td><input type="submit" name="submit" value="Simpan"/></td>
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p>Directory access is forbidden.</p>
</body>
</html>

View File

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Form</title>
<link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div class="user-icon"></div>
<div class="pass-icon"></div>
<form name="loginform" class="form" action="validasi" method="post">
<div class="header">
<h1>Login</h1>
</div>
<div class="content">
<p>Email</p>
<input name="username" type="text" class="input" value="Username" onfocus="{this.value = '';}" onblur="if (this.value == '') {this.value = 'Username';}"/> <br /><br />
<p>Password</p>
<input name="password" type="password" class="input" value="Password" onfocus="{this.value = '';}" onblur="if (this.value == '') {this.value = 'Password'}" />
</div>
<div class="footer">
<input type="submit" name="submit" value="Login" class="button" />
</div>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,55 @@
<!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><?php echo $judul; ?></title>
<link href="../../css/barang.css" rel="stylesheet" type="text/css" />
<script>
function myFunction(id)
{
var url="<?php echo base_url();?>";
var r=confirm("Do you want to delete this?");
if (r==true)
{
window.location = url+"index.php/barang_controller/delete/"+id;
}
else
{
return false;
}
}
</script>
</head>
<body class="bg">
<div class="content">
<a href="<?php echo base_url().'index.php/user_controller/logout'; ?>">Logout</a>
<div class="barang">
<h3>Daftar Barang</h3>
<table border="5">
<thead>
<tr>
<th>Nama Barang</th>
<th>Harga</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
foreach($daftar_barang as $barang){
?>
<tr>
<td><?php echo $barang->nama; ?></td>
<td><?php echo $barang->harga; ?></td>
<td><?php echo '<a href="'.base_url().'index.php/barang_controller/edit/'.$barang->id.'"><button id="bt">Edit</button></a>' ?>
<button id="bt" onclick="myFunction(<?php echo $barang->id;?>)">Delete</button>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Form</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div class="user-icon"></div>
<div class="pass-icon"></div>
<form name="loginform" class="form" action="validasi" method="post">
<div class="header">
<h1>Login</h1>
</div>
<div class="content">
<p>Email</p>
<input name="username" type="text" class="input" value="email" onfocus="[this.value='']"/> <br /><br />
<p>Password</p>
<input name="password" type="password" class="input" value="Password" onfocus="[this.value='']" />
</div>
<div class="footer">
<input type="submit" name="submit" value="Login" class="button" />
</div>
</form>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1,38 @@
<!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>

View File

@ -0,0 +1,29 @@
<!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>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</style></head>
<body>
<div class="wrapper">
<div class="header"></a>
</div>
<div class="header2"></a>
</div>
<div class="sidebar1">
<br />
<ul class="nav">
<li><a href="">Kelola Data Admin</a></li>
</ul>
</div>
<div class="content">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,28 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><a href="v_admin.php"><img src="image/Untitled-3.png" /></a>
</div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,118 @@
<html>
<head>
<title>Admin Pemesanan Tiket</title>
<base href="<?php echo base_url() ?>" />
<link type="text/css" rel="stylesheet" href="file:///C|/wamp/www/tiket_rai/application/views/admin/css/smoothness/jquery-ui-1.8.2.custom.css" />
<link type="text/css" rel="stylesheet" href="styles.css">
</head>
<body>
<div id="ajaxLoadAni">
<img src="file:///C|/wamp/www/tiket_rai/application/views/admin/images/ajax-loader.gif" alt="Ajax Loading Animation" />
<span>Loading...</span>
</div>
<center><h1>List Admin</h1></center>
<div id="tabs">
<ul>
<li><a href="#read">List Admin</a></li>
<li><a href="#create">Admin Baru</a></li>
</ul>
<div id="read">
<div class="testing"></div>
<table id="records">
<thead>
<tr>
<td>ID Admin</td><td>Nama Admin</td><td>Email</td><td>Aksi</td>
</tr>
</thead>
</table>
</div>
<div id="create">
<form action="http://localhost/tiket_rai/index.php/admin/admin/insert" method="post">
<table>
<tr>
<td width="300px"><label for="id_admin">ID Admin</label></td>
<td><input type="text" name="id_admin" /></td>
</tr>
<tr>
<td><label for="nama_admin">Nama</label></td>
<td><input type="text" name="nama_admin" /></td>
</tr>
<tr>
<td><label for="email">Email</label></td>
<td><input type="text" name="email" /></td>
</tr>
<tr>
<td><label for="sandi">Sandi</label></td>
<td><input type="password" name="sandi" /></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Tambah"></td>
</tr>
</table>
</form>
</div>
</div> <!-- end tabs -->
<!-- update form in dialog box -->
<div id="updateDialog" title="Update">
<div>
<form action="" method="post">
<p>
<label for="nama_admin">Nama:</label>
<input type="text" id="nama_admin" name="nama_admin" />
</p>
<p>
<label for="email">Email:</label>
<input type="text" id="email" name="email" />
</p>
<p>
<label for="sandi">Sandi:</label>
<input type="password" id="sandi" name="sandi" />
</p>
<input type="hidden" id="id_admin" name="id_admin" />
</form>
</div>
</div>
<!-- delete confirmation dialog box -->
<div id="delConfDialog" title="Confirm">
<p>Apakah Anda Yakin</p>
</div>
<!-- message dialog box -->
<div id="msgDialog"><p></p></div>
<script type="text/javascript" src="file:///C|/wamp/www/tiket_rai/application/views/admin/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="file:///C|/wamp/www/tiket_rai/application/views/admin/js/jquery-ui-1.8.2.min.js"></script>
<script type="text/javascript" src="file:///C|/wamp/www/tiket_rai/application/views/admin/js/jquery-templ.js"></script>
<script type="text/template" id="readTemplate">
<tr id="${id_admin}">
<td>${id_admin}</td>
<td>${nama_admin}</td>
<td>${email}</td>
<td><a class="updateBtn" href="${updateLink}">Ubah</a> | <a class="deleteBtn" href="${deleteLink}">Hapus</a></td>
</tr>
</script>
<script type="text/javascript" src="file:///C|/wamp/www/tiket_rai/application/views/admin/js/adminall.js"></script>
</body>
</html>

View File

@ -0,0 +1,73 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $judul; ?></title>
<link rel="stylesheet" type="text/css" href="../../css/css2.css">
<script>
function myFunction(id)
{
var url="<?php echo base_url();?>";
var r=confirm("Do you want to delete this?");
if (r==true)
{
window.location = url+"index.php/barang_controller/delete/"+id;
}
else
{
return false;
}
}
</script>
</head>
<body>
<div class="wrapper">
<div class="header"><a href="v_admin.php"><img src="../../image/Untitled-3.png" /></a>
</div>
<div class="header2">
<a href="<?php echo base_url().'index.php/user_controller/logout'; ?>"><button id="bt2">Logout</button></a>
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="barang">
<h3>Daftar Barang</h3>
<table border="3">
<thead>
<tr>
<th>Nama Barang</th>
<th>Harga</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php
foreach($daftar_barang as $barang){
?>
<tr>
<td><?php echo $barang->nama; ?></td>
<td><?php echo $barang->harga; ?></td>
<td><?php echo '<a href="'.base_url().'index.php/barang_controller/edit/'.$barang->id.'"><button id="bt">Edit</button></a>' ?>
<button id="bt" onclick="myFunction(<?php echo $barang->id;?>)">Delete</button>
</td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login Form</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div class="user-icon"></div>
<div class="pass-icon"></div>
<form name="loginform" class="form" action="" method="post">
<div class="header">
<h1>Login</h1>
</div>
<div class="content">
<p>Email</p>
<input name="email" type="text" class="input" value="email" onfocus="[this.value='']"/> <br /><br />
<p>Password</p>
<input name="password" type="password" class="input" value="Password" onfocus="[this.value='']" />
</div>
<div class="footer">
<input type="submit" name="submit" value="Login" class="button" />
</div>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,237 @@
* {
margin: 0;
padding: 0;
border: 1;
}
ul, ol, dl {
padding: 0;
margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
margin-top: 0;
padding-right: 15px;
padding-left: 15px;
}
body {
background-color: #ededed;
margin: 0;
padding: 0;
color: #000;
font:"Segoe UI";
}
.wrapper {
width: 100%;
min-height: 596px;
background-color: #efefef;
margin: 0 auto;
}
.wrapper .header {
background-color: #2f2f2f;
min-height:45px;
min-width:100%;
float:left;
}
.wrapper .header .img{
margin-top:12px;
margin-left:15px;
}
.wrapper .header .link {
float:right;
margin-right:23px;
margin-top:14px;
font-size:13px;
color:#d1d1d1;
text-decoration:none;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper .header .link:hover {
background-color:#5f5f5f;
}
.wrapper .header2 {
background-color: #dadde1;
min-height:15px;
min-width:100%;
float:left;
}
.wrapper .sidebar1 {
float: left;
width: 200px;
min-height:530px;
background-color: #dadde1;
padding-bottom: 10px;
}
ul.nav {
list-style: none;
float:left;
font-size:12px;
width: 200px;
}
/*ul.nav li {
border-top: 1px solid #cecccc;
border-bottom: 1px solid #cecccc;
}*/
ul.nav a, ul.nav a:visited {
font-weight:bold;
color: #D1D1D1;
display: block;
text-decoration:none;
padding:10px 10px 10px 10px;
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
background-image: linear-gradient(top, #eeeeee, #cccccc);
border: 1px solid #ccc;
border-bottom: 1px solid #bbb;
border-right: 1px solid #bbb;
color: #333;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 0 1px 0 #eee;
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus {
font-weight:bold;
width:215px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #ffffff;
padding: 10px 10px 10px 15px;
background: -moz-linear-gradient(
top,
#439bff 0%,
#2b7cff 50%,
#2b7cff 50%,
#0062ff);
background: -webkit-gradient(
linear, left top, left bottom,
from(#439bff),
color-stop(0.50, #2b7cff),
color-stop(0.50, #2b7cff),
to(#0062ff));
border: 1px solid #a3a3a3;
-moz-box-shadow:
0px 0px 0px rgba(000,000,000,0),
inset 0px 0px 0px rgba(255,255,255,0);
-webkit-box-shadow:
0px 0px 0px rgba(000,000,000,0),
inset 0px 0px 0px rgba(255,255,255,0);
box-shadow:
0px 0px 0px rgba(000,000,000,0),
inset 0px 0px 0px rgba(255,255,255,0);
text-shadow:
0px -1px 0px rgba(000,000,000,0),
0px 1px 0px rgba(255,255,255,0);
}
.wrapper .content {
background:#efefef;
min-width: 85%;
min-height:538px;
float: left;
}
.wrapper .content .border{
border-left: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
border-radius:3px;
width : 90%;
min-height : 30%;
margin-left: 50px;
margin-top: 35px;
}
.wrapper .content .border .bordhead{
border: 1px solid #F00;
width : 100%;
min-height:35px;
max-height: 35px;
display: block;
text-decoration:none;
background-color: #eeeeee;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc));
background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
background-image: linear-gradient(top, #eeeeee, #cccccc);
border: 1px solid #ccc;
border-bottom: 1px solid #bbb;
border-right: 1px solid #bbb;
border-radius:3px;
color: #333;
font-family: Arial, Helvetica, sans-serif;
text-shadow: 0 1px 0 #eee;
}
.wrapper .content .border .bordhead p{
font-size:12px;
font-weight:bold;
color:#333;
padding: 9px 10px 10px 10px;
}
.wrapper .content .border th{
font-size:12px;
font-weight:bold;
color:#333;
text-align:center;
}
.wrapper .content .add{
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:Bold;
color: #333;
margin-left:30px;
margin-top:20px;
border: 1px
}
.wrapper .content .add .input{
width: 188px;
padding: 5px 10px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 400;
font-size: 12px;
color: #9d9e9e;
background: #ffffff;
}
.wrapper .footer {
padding: 10px 0;
background-color: #CCC49F;
position: relative;
clear: both;
}
.clearfloat {
clear:both;
height:0;
font-size: 1px;
line-height: 0px;
}

View File

@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><?php echo $judul; ?></title>
<link href="../../css/edit_barang.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-color:#CF9">
<div style="background-color:#FFF;border-radius:10px 10px 10px 10px;width:40%;height:180px;margin-top:5%;margin-left:30%;position:fixed">
<?php
$att = array('id' => 'biodata-form');
echo form_open('barang_controller/simpan_update_barang', $att);
echo form_hidden('id',$edit->id);
?>
<fieldset style="margin:5% 5% 5% 5%">
<legend>Update Data Barang</legend>
<table>
<tr>
<td>Nama Barang</td>
<td><input type="text" name="nama_barang" value="<?php echo $edit->nama; ?>"/></td>
</tr>
<tr>
<td>Harga</td>
<td><input type="text" name="harga" value="<?php echo $edit->harga; ?>"/></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Simpan" alert("Berhasil");/></td>
</tr>
</table>
</fieldset>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,143 @@
* {
margin: 0;
padding: 0;
border: 0;
}
body {
background-color:#f9f9f9;
font-weight:300;
text-align: left;
text-decoration: none;
}
#wrapper {
width: 300px;
height: 400px;
position: absolute;
left: 50%;
top: 50%;
margin-left: -150px;
margin-top: -200px;
}
.form {
width: 300px;
margin: 0 auto;
position: relative;
z-index: 5;
background: #eaeaea;
box-shadow: 0 3px 3px rgba(0,0,0,0.50);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}
.form .header {
padding: 30px 30px 15px 30px;
background: #eaeaea;
}
.form .header h1 {
font-family: 'Sylfaen';
font-weight: 300;
font-size: 28px;
line-height:34px;
color: #7f7f7f;
margin-bottom: 10px;
}
.form .header span {
font-size: 11px;
line-height: 16px;
color: #678889;
text-shadow: 1px 1px 0 rgba(256,256,256,1.0);
}
.form .content {
padding: 20px 30px 25px 30px;
}
.form .content p {
font-size: 16px;
font-family: 'Sylfaen';
color: #7f7f7f;
}
.form .content .input {
width: 188px;
padding: 15px 25px;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-weight: 400;
font-size: 14px;
color: #9d9e9e;
background: #ffffff;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.50);
}
.form .content .input:hover {
background: #ffffff;
color: #414848;
}
.form .content .input:focus {
background: #fff9d9;
color: #414848;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.25);
}
.input {
transition: all 0.5s;
-moz-transition: all 0.5s;
-webkit-transition: all 0.5s;
-o-transition: all 0.5s;
-ms-transition: all 0.5s;
}
.form .footer {
padding: 20px 30px 20px 30px;
overflow: auto;
}
.form .footer .button {
float:right;
padding: 8px 15px;
font-family: 'Bree Serif', serif;
font-weight: 300;
font-size: 18px;
color: #ffffff;
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
background: #438BFF;
cursor: pointer;
}
.form .footer .button:hover {
background: #438BFF;
text-shadow: 0px 2px 2px rgba(0,0,0,0.25);
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.form .footer .button:focus {
position: relative;
bottom: -1px;
color: #5e5e5e;
background: #438BFF;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
-webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
transition: all 0.2s;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
-o-transition: all 0.2s;
-ms-transition: all 0.2s;
}

View File

@ -0,0 +1,40 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><img src="image/Untitled-2.png"class="img" />
<a href="" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="">Dashboard</a></li>
<li><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="border">
<div class="bordhead"><p>Data Barang</p></div>
<table class="tabel" width=700 >
<tr>
<th>ID Barang</th>
<th>Nama Barang</th>
<th>Harga Barang</th>
<th colspan="2">Aksi</th>
</tr>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><img src="image/Untitled-2.png"class="img" />
<a href="" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="">Dashboard</a></li>
<li><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="border">
<div class="bordhead"><p>Tambah Data</p></div>
<table class="add" cellspacing="20">
<tr>
<td>Nama Barang</td>
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
</tr>
<tr>
<td>Harga</td>
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
</tr>
<tr><td></td>
<td></td>
<td><input type="submit" name="submit" value="Simpan"/></td>
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Halaman Admin</title>
<link rel="stylesheet" type="text/css" href="css2.css">
</head>
<body>
<div class="wrapper">
<div class="header"><img src="image/Untitled-2.png"class="img" />
<a href="" class="link">logout</a></div>
<div class="header2">
</div>
<div class="sidebar1">
<ul class="nav">
<li><a href="">Dashboard</a></li>
<li><a href="">Kelola Data Barang</a></li>
</ul>
</div>
<div class="content">
<div class="border">
<div class="bordhead"><p>Edit Data</p></div>
<table class="add" cellspacing="20">
<tr>
<td>Nama Barang</td>
<td colspan="3"><input type="text" name="nama_barang" value="" class="input"/></td>
</tr>
<tr>
<td>Harga</td>
<td colspan="3"><input type="text" name="harga" value="" class="input"/></td>
</tr>
<tr><td></td>
<td></td>
<td><input type="submit" name="submit" value="Simpan"/></td>
<td><button type="button" name="Cancel" value="OK">Cancel</button></td>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,42 @@
<html>
<head>
<title><?php echo $judul; ?></title>
<link href="../../css/user.css" rel="stylesheet" type="text/css">
</head>
<body class="bg">
<div class="reg">
<h3 style="padding-left:20px;padding-top:30px">Insert Data User</h3>
<form id="form" action"simpan_user" method="post">
<fieldset >
<table class="tabel">
<tr>
<td>Nama Lengkap</td>
<td><input type="text" name="nama_lengkap"/></td>
</tr>
<tr>
<td>Username</td>
<td><input type="text" name="username"/></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password"/></td>
</tr>
<tr>
<td>Email</td>
<td><input type="text" name="email"/></td>
</tr>
<tr>
<td>Alamat</td>
<td><textarea name="alamat" style="height: 80px;"></textarea></td>
</tr>
<tr>
<td></td>
<td><button>SUBMIT</button></td>
</tr>
</table>
</fieldset>
</form>
</div>
</body>
</html>

View File

@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Welcome to CodeIgniter</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#body{
margin: 0 15px 0 15px;
}
p.footer{
text-align: right;
font-size: 11px;
border-top: 1px solid #D0D0D0;
line-height: 32px;
padding: 0 10px 0 10px;
margin: 20px 0 0 0;
}
#container{
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
</style>
</head>
<body>
<div id="container">
<h1>Welcome to CodeIgniter!</h1>
<div id="body">
<a href="http://localhost/kepra/index.php/user_controller/login ">Main Site</a>
<p>The page you are looking at is being generated dynamically by CodeIgniter.</p>
<p>If you would like to edit this page you'll find it located at:</p>
<code>application/views/welcome_message.php</code>
<p>The corresponding controller for this page is found at:</p>
<code>application/controllers/welcome.php</code>
<p>If you are exploring CodeIgniter for the very first time, you should start by reading the <a href="user_guide/">User Guide</a>.</p>
</div>
<p class="footer">Page rendered in <strong>{elapsed_time}</strong> seconds</p>
</div>
</body>
</html>