-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit dc6243e
Showing
226 changed files
with
15,030 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<?php | ||
@session_start(); | ||
include("koneksi.php"); | ||
|
||
?> | ||
|
||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>e-fish</title> | ||
</head> | ||
<link href="css/style.css" type="text/css" rel="stylesheet"> | ||
<body> | ||
|
||
</body> | ||
<div id="canvas"> | ||
<div id="header"> | ||
</div> | ||
|
||
<div id="menu"> | ||
<ul> | ||
<li class="utama"><a href="index.php">Beranda</a></li> | ||
<li class="utama"><a href="bibitikan.php">Bibit Ikan</a></li> | ||
<li class="utama"><a href="pakanikan.php">Pakan Ikan</a></li> | ||
<li class="utama"><a href="carapemesanan.php">Cara Pemesanan</a></li> | ||
<li class="utama"><a href="">Pesan</a> | ||
<ul> | ||
<li><a href="pesanikan.php">Bibit Ikan</a></li> | ||
<li><a href="pesanpakan.php">Pakan Ikan</a></li> | ||
</ul> | ||
</li> | ||
<li class="utama" style="float: right;"><a href="login.php">Administrator</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div id="isi"> | ||
<div id="contents"> | ||
<h1 style="padding-bottom: 10px">Daftar Bibit Ikan</h1> | ||
<div id="kiri"> | ||
<h2 align="center">Tentang Kami</h2> | ||
<p align="justify" style="font-size: 12px;">e-fish adalah kelompok budidaya ikan air tawar di Indonesia yang menyediakan segala jenis bibit ikan air tawar. Kami siap melayani pemesanan dan pembelian benih ke seluruh Indonesia dengan kualitas ikan unggulan dan harga terjangkau.</p> | ||
|
||
<hr size="12px" style="border-color: #336666;"> | ||
<h2 align="center">Hubungi Kami</h2> | ||
<p align="left"> Kontak : 085861940810</p> | ||
<p align="left">Alamat : Jl. A.H. Nasution no 18 RT 002/008 kel cipadung kec cibiru 40614</p> | ||
<p align="left"> </p> | ||
<p align="center"><a href="http://facebook.com/"><img align="center" src="img/1480923675_online_social_media_facebook.png" width="40"></a> | ||
<a href="http://twitter.com/"><img align="center" src="img/1480923720_twitter_online_social_media.png" width="40"></a> | ||
<a href="http://googleplus.com/"><img align="center" src="img/1480923698_social-circle-google-plus.png" width="40"></p></a> | ||
</div> | ||
<?php | ||
$sql = mysql_query("select * from tb_ikan") or die (mysql_error()); | ||
while($data = mysql_fetch_array($sql)) { | ||
?> | ||
<table border="1px solid #336666"> | ||
<tr><br /> | ||
<td width="300" style="text-align:center; "><img src="img/<?php echo $data['gambar']; ?>" width = "100px" height = "100px"></td> | ||
<td style="vertical-align: top" width="300"> | ||
<?php echo $data['nama_ikan'];?><br /><br /> | ||
Harga 1 inchi Rp. <?php echo $data['harga'];?>/Ekor<br /><br /> | ||
Harga 2 inchi Rp. <?php echo $data['harga2'];?>/Ekor<br /><br /> | ||
Harga 3 inchi Rp. <?php echo $data['harga3'];?>/Ekor | ||
</td> | ||
</tr> | ||
</table> | ||
<?php | ||
} | ||
?> | ||
</div> | ||
</div> | ||
|
||
<div id="footer"> | ||
Copyright 2016 e-fish | ||
</div> | ||
</div> | ||
|
||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
require_once ("fpdf/fpdf.php"); | ||
$pdf = new FPDF('P','cm','A5'); | ||
$pdf->AddPage(); | ||
|
||
$pdf->SetFont('Arial','B',14); | ||
$pdf->Image('img/240_F_83110044_tY6a1Y99glDLVubAUvRRH1SZiBJDq81a.jpg',1,1,2,2); | ||
$pdf->SetX(3); | ||
$pdf->MultiCell(19.5,0.5,'E-FISH',0,'L'); | ||
$pdf->SetX(3); | ||
$pdf->MultiCell(19.5,0.5,'WEB PEMESANAN BIBIT & PAKAN IKAN',0,'L'); | ||
$pdf->SetFont('Arial','B',10); | ||
$pdf->SetX(3); | ||
$pdf->MultiCell(10.5,0.5,'Jl. A.H. Nasution no 18 RT 002/008 kel cipadung kec cibiru 40614, Telepon : 0227813484',0,'L'); | ||
$pdf->SetX(3); | ||
$pdf->Line(1,3.1,14.5,3.1); | ||
$pdf->SetLineWidth(0.1); | ||
$pdf->Line(1,3.2,14.5,3.2); | ||
$pdf->SetLineWidth(0); | ||
$pdf->Ln(); | ||
$pdf->SetFont('Arial','B',16); | ||
$pdf->Cell(10,1,'Bukti Pemesanan'); | ||
$pdf->SetX(1); | ||
$pdf->SetFont('Times','',10); | ||
$pdf->Cell(10,3,'Ini merupakan tanda bukti bahwa Anda telah melakukan transaksi.'); | ||
$pdf->SetX(1); | ||
$pdf->SetFont('Times','',10); | ||
$pdf->Cell(10,4,'Tanda bukti ini ditunjukan saat pesanan Anda diterima, silakan untuk dicetak.'); | ||
$pdf->SetX(1); | ||
$pdf->SetFont('Arial','B',10); | ||
$pdf->Cell(10,6,'Isi Data Diri Anda'); | ||
$pdf->SetX(1); | ||
$pdf->Image('img/-Barcode_32896.jpg',1,7,4,1); | ||
$pdf->SetX(1); | ||
$pdf->SetFont('Times','',10); | ||
$pdf->Cell(10,10,'Nama Lengkap :'); | ||
$pdf->SetX(1); | ||
$pdf->SetFont('Times','',10); | ||
$pdf->Cell(10,12,'Alamat :'); | ||
$pdf->SetX(11); | ||
$pdf->SetFont('Times','',10); | ||
$pdf->Cell(10,15,'Tanda Penerima'); | ||
$pdf->Output(); | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
@session_start(); | ||
include("koneksi.php"); | ||
|
||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Bukti Pembelian</title> | ||
</head> | ||
<body> | ||
<h1>Bukti Pemesanan Bibit Ikan</h1> | ||
<table border="1px solid" style="border-color: #336666;" width="200px"> | ||
<tr><br /> | ||
<td>Transaksi</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>Nama Pembeli</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>Alamat</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>No Telepon</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>Bibit Ikan</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>Jumlah Beli</td> | ||
<td></td> | ||
</tr> | ||
<tr><br /> | ||
<td>Total Bayar</td> | ||
<td></td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<?php | ||
@session_start(); | ||
include("koneksi.php"); | ||
|
||
?> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>e-fish</title> | ||
</head> | ||
<link href="css/style.css" type="text/css" rel="stylesheet"> | ||
<body> | ||
|
||
</body> | ||
<div id="canvas"> | ||
<div id="header"> | ||
</div> | ||
<div id="menu"> | ||
<ul> | ||
<li class="utama"><a href="index.php">Beranda</a></li> | ||
<li class="utama"><a href="bibitikan.php">Bibit Ikan</a></li> | ||
<li class="utama"><a href="pakanikan.php">Pakan Ikan</a></li> | ||
<li class="utama"><a href="carapemesanan.php">Cara Pemesanan</a></li> | ||
<li class="utama"><a href="">Pesan</a> | ||
<ul> | ||
<li><a href="pesanikan.php">Bibit Ikan</a></li> | ||
<li><a href="pesanpakan.php">Pakan Ikan</a></li> | ||
</ul> | ||
</li> | ||
<li class="utama" style="float: right;"><a href="login.php">Administrator</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div id="isi"> | ||
<div id="contents"> | ||
|
||
<h1 style="padding-bottom: 10px">Cara Pemesanan</h1> | ||
<div id="kiri"> | ||
<h2 align="center">Tentang Kami</h2> | ||
<p align="justify" style="font-size: 12px;">e-fish adalah kelompok budidaya ikan air tawar di Indonesia yang menyediakan segala jenis bibit ikan air tawar. Kami siap melayani pemesanan dan pembelian benih ke seluruh Indonesia dengan kualitas ikan unggulan dan harga terjangkau.</p> | ||
|
||
<hr size="12px" style="border-color: #336666;"> | ||
<h2 align="center">Hubungi Kami</h2> | ||
<p align="left"> Kontak : 085861940810</p> | ||
<p align="left">Alamat : Jl. A.H. Nasution no 18 RT 002/008 kel cipadung kec cibiru 40614</p> | ||
<p align="left"> </p> | ||
<p align="center"><a href="http://facebook.com/"><img align="center" src="img/1480923675_online_social_media_facebook.png" width="40"></a> | ||
<a href="http://twitter.com/"><img align="center" src="img/1480923720_twitter_online_social_media.png" width="40"></a> | ||
<a href="http://googleplus.com/"><img align="center" src="img/1480923698_social-circle-google-plus.png" width="40"></p></a> | ||
</div> | ||
<ol> | ||
<li style="padding-bottom: 10px">Buka Web e-fish pada web browser anda</li> | ||
<li style="padding-bottom: 10px">Masuk ke form pemesanan, pilih pesan bibit ikan atau pakan ikan</li> | ||
<li style="padding-bottom: 10px">Selanjutnya isi data pribadi dan juga data pemesanan</li> | ||
<li style="padding-bottom: 10px">Klik pesan hingga muncul notifikasi</li> | ||
<li style="padding-bottom: 10px">Cetak tanda bukti pemesanan sebagai bukti bahwa Anda telah memesan</li> | ||
<li style="padding-bottom: 10px">Anda tinggal menunggu pesanan untuk dikirim kelokasi yang ditujukan</li> | ||
</ol> | ||
<h1 style="padding-bottom: 10px">Pengiriman</h1> | ||
<ol> | ||
<li style="padding-bottom: 10px">Pengiriman antar pulau dan propinsi dilakukan via pesawat terbang.</li> | ||
<li style="padding-bottom: 10px">Pengiriman akan dilakukan melalui jalan darat jika mampu dijangkau dalam waktu maksimum untuk pengiriman antar wilayah.</li> | ||
<li style="padding-bottom: 10px">Benih dikemas dalam plastik dan bok sterofoam.</li> | ||
<li style="padding-bottom: 10px">Benih akan langsung dikirim ke alamat Anda</li> | ||
</ol> | ||
</div> | ||
</div> | ||
<div id="footer"> | ||
© 2016 by e-fish. All Rights Reserved | ||
</div> | ||
</div> | ||
|
||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?php | ||
//koneksi ke database | ||
mysql_connect("localhost","root",""); | ||
mysql_select_db("db_ikan"); | ||
|
||
//mengambil data dari tabel | ||
$sql=mysql_query("SELECT t.id_transaksi, t.nama_pembeli, t.alamat, t.bibit_ikan, t.ukuran, t.harga, t.jumlah, t.total FROM transaksi t order by id_transaksi asc"); | ||
$data = array(); | ||
while ($row = mysql_fetch_assoc($sql)) { | ||
array_push($data, $row); | ||
} | ||
|
||
//mengisi judul dan header tabel | ||
$judul = "LAPORAN TRANSAKSI PEMESANAN IKAN"; | ||
$header = array( | ||
array("label"=>"TRANSAKSI", "length"=>20, "align"=>"L"), | ||
array("label"=>"NAMA PEMBELI", "length"=>30, "align"=>"L"), | ||
array("label"=>"ALAMAT", "length"=>40, "align"=>"L"), | ||
array("label"=>"BIBIT IKAN", "length"=>20, "align"=>"L"), | ||
array("label"=>"UKURAN", "length"=>20, "align"=>"L"), | ||
array("label"=>"HARGA", "length"=>20, "align"=>"L"), | ||
array("label"=>"JUMLAH", "length"=>20, "align"=>"L"), | ||
array("label"=>"TOTAL", "length"=>20, "align"=>"L"), | ||
); | ||
|
||
//memanggil fpdf | ||
require_once ("fpdf/fpdf.php"); | ||
$pdf = new FPDF; | ||
$pdf->AddPage(); | ||
|
||
//tampilan Judul Laporan | ||
$pdf->SetFont('Arial','B','16'); //Font Arial, Tebal/Bold, ukuran font 1 | ||
$pdf->Cell(0,20, $judul, '0', 1, 'C'); | ||
|
||
//Header Table | ||
$pdf->SetFont('Arial','','9'); | ||
$pdf->SetFillColor(46, 139, 87); //warna dalam kolom header | ||
$pdf->SetTextColor(255); //warna tulisan putih | ||
$pdf->SetDrawColor(0, 100, 0); //warna border | ||
foreach ($header as $kolom) { | ||
$pdf->Cell($kolom['length'], 5, $kolom['label'], 1, '0', $kolom['align'], true); | ||
} | ||
$pdf->Ln(); | ||
|
||
//menampilkan data table | ||
$pdf->SetFillColor(245, 222, 179); //warna dalam kolom data | ||
$pdf->SetTextColor(0); //warna tulisan hitam | ||
$pdf->SetFont(''); | ||
$fill=false; | ||
foreach ($data as $baris) { | ||
$i = 0; | ||
foreach ($baris as $cell) { | ||
$pdf->Cell($header[$i]['length'], 5, $cell, 1, '0', $kolom['align'], $fill); | ||
$i++; | ||
} | ||
$fill = !$fill; | ||
$pdf->Ln(); | ||
} | ||
|
||
//output file pdf | ||
$pdf->Output(); | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?php | ||
//koneksi ke database | ||
mysql_connect("localhost","root",""); | ||
mysql_select_db("db_ikan"); | ||
|
||
//mengambil data dari tabel | ||
$sql=mysql_query("SELECT t.id_transaksi, t.nama_pembeli, t.alamat, t.pakan, t.harga, t.jumlah, t.total FROM transaksip t order by id_transaksi asc"); | ||
$data = array(); | ||
while ($row = mysql_fetch_assoc($sql)) { | ||
array_push($data, $row); | ||
} | ||
|
||
//mengisi judul dan header tabel | ||
$judul = "LAPORAN TRANSAKSI PEMESANAN PAKAN IKAN"; | ||
$header = array( | ||
array("label"=>"TRANSAKSI", "length"=>20, "align"=>"L"), | ||
array("label"=>"NAMA PEMBELI", "length"=>30, "align"=>"L"), | ||
array("label"=>"ALAMAT", "length"=>30, "align"=>"L"), | ||
array("label"=>"PAKAN IKAN", "length"=>40, "align"=>"L"), | ||
array("label"=>"HARGA", "length"=>20, "align"=>"L"), | ||
array("label"=>"JUMLAH", "length"=>20, "align"=>"L"), | ||
array("label"=>"TOTAL", "length"=>30, "align"=>"L"), | ||
); | ||
|
||
//memanggil fpdf | ||
require_once ("fpdf/fpdf.php"); | ||
$pdf = new FPDF; | ||
$pdf->AddPage(); | ||
|
||
//tampilan Judul Laporan | ||
$pdf->SetFont('Arial','B','16'); //Font Arial, Tebal/Bold, ukuran font 1 | ||
$pdf->Cell(0,20, $judul, '0', 1, 'C'); | ||
|
||
//Header Table | ||
$pdf->SetFont('Arial','','9'); | ||
$pdf->SetFillColor(46, 139, 87); //warna dalam kolom header | ||
$pdf->SetTextColor(255); //warna tulisan putih | ||
$pdf->SetDrawColor(0, 100, 0); //warna border | ||
foreach ($header as $kolom) { | ||
$pdf->Cell($kolom['length'], 5, $kolom['label'], 1, '0', $kolom['align'], true); | ||
} | ||
$pdf->Ln(); | ||
|
||
//menampilkan data table | ||
$pdf->SetFillColor(245, 222, 179); //warna dalam kolom data | ||
$pdf->SetTextColor(0); //warna tulisan hitam | ||
$pdf->SetFont(''); | ||
$fill=false; | ||
foreach ($data as $baris) { | ||
$i = 0; | ||
foreach ($baris as $cell) { | ||
$pdf->Cell($header[$i]['length'], 5, $cell, 1, '0', $kolom['align'], $fill); | ||
$i++; | ||
} | ||
$fill = !$fill; | ||
$pdf->Ln(); | ||
} | ||
|
||
//output file pdf | ||
$pdf->Output(); | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
$(document).ready(function(){ | ||
var placeholder = null; | ||
$('input[type=text]').focus(function(){ | ||
placeholder = $(this).attr("placeholder"); | ||
$(this).attr("placeholder",""); | ||
}); | ||
$('input[type=text]').blur(function(){ | ||
$(this).attr("placeholder", placeholder); | ||
}); | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.