codeigniter_test2/application/views/add_barang.php

51 lines
1.5 KiB
PHP
Raw Normal View History

2020-01-02 23:07:40 +07:00
<!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>