Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tugas Pengembangan Aplikasi Berbasis Web - SemuaBahagiaSejahtera #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1. Hidupkan XAMPP
2. Pindahkan keseluruhan folder ini ke dalam suatu folder (contoh folder: martin_kece) dalam xampp/htdocs
3. Buka browser favorit
4. masukkan URL localhost/martin_kece
5. Feel free to enjoy.
3 changes: 3 additions & 0 deletions MEMEBER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
13510023 Aurelia H B Matondang
13510095 Everaldo Sembiring
13510104 Mahdan Ahmad Fauzi Al-Hasan
200 changes: 200 additions & 0 deletions db/progin_13510023.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
-- phpMyAdmin SQL Dump
-- version 4.0.4.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Oct 29, 2013 at 03:09 PM
-- Server version: 5.5.32
-- PHP Version: 5.4.19

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `progin_13510023`
--
CREATE DATABASE IF NOT EXISTS `progin_13510023` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci;
USE `progin_13510023`;

-- --------------------------------------------------------

--
-- Table structure for table `cart`
--

CREATE TABLE IF NOT EXISTS `cart` (
`profil_ID` varchar(20) NOT NULL,
`cart_goods` varchar(50) NOT NULL,
`cart_count` int(4) NOT NULL DEFAULT '0',
`cart_note` varchar(255) DEFAULT NULL,
KEY `profil_ID` (`profil_ID`,`cart_goods`,`cart_count`,`cart_note`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Table structure for table `category`
--

CREATE TABLE IF NOT EXISTS `category` (
`cata_ID` varchar(8) NOT NULL,
`cata_name` varchar(30) NOT NULL,
`cata_detail` varchar(255) DEFAULT NULL,
PRIMARY KEY (`cata_ID`),
KEY `cata_name` (`cata_name`,`cata_detail`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `category`
--

INSERT INTO `category` (`cata_ID`, `cata_name`, `cata_detail`) VALUES
('cata0001', 'Makanan', NULL),
('cata0002', 'Minuman', NULL),
('cata0003', 'Perawatan Anak-Anak', NULL),
('cata0004', 'Perawatan Pribadi', NULL),
('cata0005', 'Perlengkapan Rumah', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `categorymeetup`
--

CREATE TABLE IF NOT EXISTS `categorymeetup` (
`cata_ID` varchar(8) NOT NULL,
`goods_ID` varchar(8) NOT NULL,
PRIMARY KEY (`cata_ID`,`goods_ID`),
KEY `goods_ID` (`goods_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `categorymeetup`
--

INSERT INTO `categorymeetup` (`cata_ID`, `goods_ID`) VALUES
('cata0001', 'goods001'),
('cata0001', 'goods002'),
('cata0001', 'goods003'),
('cata0001', 'goods004'),
('cata0001', 'goods005'),
('cata0002', 'goods006'),
('cata0002', 'goods007'),
('cata0002', 'goods008'),
('cata0002', 'goods009'),
('cata0002', 'goods010'),
('cata0003', 'goods011'),
('cata0003', 'goods012'),
('cata0003', 'goods013'),
('cata0003', 'goods014'),
('cata0003', 'goods015'),
('cata0004', 'goods016'),
('cata0004', 'goods017'),
('cata0004', 'goods018'),
('cata0004', 'goods019'),
('cata0004', 'goods020'),
('cata0005', 'goods021'),
('cata0005', 'goods022'),
('cata0005', 'goods023'),
('cata0005', 'goods024'),
('cata0005', 'goods025');

-- --------------------------------------------------------

--
-- Table structure for table `goods`
--

CREATE TABLE IF NOT EXISTS `goods` (
`goods_ID` varchar(8) NOT NULL,
`goods_name` varchar(50) NOT NULL,
`goods_price` int(9) NOT NULL DEFAULT '0',
`goods_detail` varchar(255) DEFAULT NULL,
`goods_available` int(3) NOT NULL DEFAULT '0',
`goods_sold` int(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`goods_ID`),
KEY `goods_name` (`goods_name`,`goods_price`,`goods_detail`,`goods_available`),
KEY `goods_sold` (`goods_sold`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `goods`
--

INSERT INTO `goods` (`goods_ID`, `goods_name`, `goods_price`, `goods_detail`, `goods_available`, `goods_sold`) VALUES
('goods001', 'astor', 8320, 'Astor Double Coklat 150gr**Chocolate 150 GR x 1', 13, 2),
('goods002', 'oreo reguler', 6500, 'Oreo Reguler Bonus Pack 137 Gr**Reguler 137 GR x 1', 19, 12),
('goods003', 'selamat wafer chocolate', 11300, 'Selamat Wafer 198gr*Chocolate 198 GR x 1', 3, 0),
('goods004', 'twister', 4690, 'Selamat Twister Choco 45grTwist Choco 45g 45 GR x 1', 4, 4),
('goods005', 'tango chocolate', 6250, 'Tango Wafer Chocolate 114gr*Chocolate 114 GR x 1', 21, 0),
('goods006', 'buavita-orange', 23600, 'Buavita Orange T/p 1l*Orange 1000 ML x 1', 56, 0),
('goods007', 'fanta strawberry', 28030, 'Fanta Strawberry Can 6x250ml*Strawberry 250 ML x 6', 31, 0),
('goods008', 'sprite kaleng', 28030, 'Sprite Can 6x250 Ml*Lemon Lime 250 ML x 6', 82, 0),
('goods009', 'pepsi cola', 6150, 'Pepsi Cola Btl 500mlCola 500 ML x 1', 45, 0),
('goods010', 'luwak white coffee', 5510, 'Luwak Kopi White Koffie 5x20grKopi White 50 GR x 5', 67, 0),
('goods011', 'cerelac beras merah', 6850, 'Nestle Blue Beras Merah 120g*Rice 120 GR x 1', 14, 21),
('goods012', 'cussons maild gentle', 2130, 'Cussons Baby Soap 75g*Maild Gentle 75 GR x 1', 34, 0),
('goods013', 'dancow batita', 11950, 'Dancow Batita Vanilla Box 150 GrVanilla 150 GR x 1', 78, 0),
('goods014', 'johnson baby oil', 8240, 'Johnsons Baby Oil 50ml*Original 50 ML x 1', 64, 0),
('goods015', 'milna toodler', 11500, 'Milna Todler Coklat 110gr*Chocolate 110 GR x 1', 43, 0),
('goods016', 'axe-twist', 16690, 'Axe Deo Body Spray Twist 50ml*Twist 50 ML x 1', 27, 0),
('goods017', 'citra pearly white', 11740, 'Citra Hand Body Pearly White Uv 120ml**Pearly White 120 ML x 1', 29, 0),
('goods018', 'detol pine', 3400, 'Dettol Soap 70 Gr*Pine 70 GR x 1', 43, 0),
('goods019', 'nice', 9080, 'Nice Softpack Yellow 250s*Original 250 S x 1', 26, 0),
('goods020', 'paseo', 8960, 'Paseo Smart 250s *Softpack Reff 250 S x 1', 15, 0),
('goods021', 'rinso-original', 24250, 'Rinso Anti Noda 1400 Gr**Anti Noda 1400 GR x 1', 12, 0),
('goods022', 'wings-blue', 5180, 'Wings Creamw-900 690gr*Blue 690 GR x 1', 34, 0),
('goods023', 'baygon-yellow', 36850, 'Baygon Aerosol Yellow 750ml*Yellow 750 ML x 1', 56, 0),
('goods024', 'stellamatic-orange', 20300, 'Stella Matic Orange Refill 225 Ml*Orange 225 ML x 1', 68, 0),
('goods025', 'superpell-lemon', 17600, 'Superpell Floor Cleaner 1600ml*Lemon G 1600 ML x 1', 34, 0);

-- --------------------------------------------------------

--
-- Table structure for table `userprofil`
--

CREATE TABLE IF NOT EXISTS `userprofil` (
`profil_ID` varchar(20) NOT NULL,
`profil_name` varchar(30) NOT NULL,
`profil_password` varchar(50) NOT NULL,
`profil_email` varchar(50) NOT NULL,
`profil_address` varchar(255) DEFAULT NULL,
`profil_province` varchar(20) DEFAULT NULL,
`profil_district` varchar(20) DEFAULT NULL,
`profil_zipcode` int(6) DEFAULT NULL,
`profil_mobile` int(12) DEFAULT NULL,
`profil_transaction` int(4) NOT NULL DEFAULT '0',
PRIMARY KEY (`profil_ID`),
KEY `profil_name` (`profil_name`,`profil_password`,`profil_email`,`profil_address`,`profil_province`,`profil_district`,`profil_zipcode`,`profil_mobile`),
KEY `profil_transaction` (`profil_transaction`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `userprofil`
--

INSERT INTO `userprofil` (`profil_ID`, `profil_name`, `profil_password`, `profil_email`, `profil_address`, `profil_province`, `profil_district`, `profil_zipcode`, `profil_mobile`, `profil_transaction`) VALUES
('aldo.sem', 'Everaldo Sembiring', 'aldosembiring', '[email protected]', NULL, NULL, NULL, NULL, NULL, 0),
('aurel.ma', 'Aurelia Matondang', 'aurelaurel', '[email protected]', '', '', '', 123, 0, 0);

--
-- Constraints for dumped tables
--

--
-- Constraints for table `categorymeetup`
--
ALTER TABLE `categorymeetup`
ADD CONSTRAINT `categorymeetup_ibfk_1` FOREIGN KEY (`goods_ID`) REFERENCES `goods` (`goods_ID`) ON DELETE CASCADE ON UPDATE CASCADE,
ADD CONSTRAINT `categorymeetup_ibfk_2` FOREIGN KEY (`cata_ID`) REFERENCES `category` (`cata_ID`) ON DELETE CASCADE ON UPDATE CASCADE;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
3 changes: 3 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
header("Location: src/page/index.php");
?>
Binary file added src/image/goods/astor.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/axe-twist.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/baygon-yellow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/buavita-orange.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/cerelac beras merah.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/citra pearly white.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/cussons maild gentle.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/dancow batita.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/detol pine.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/fanta strawberry.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/johnson baby oil.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/luwak white coffee.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/milna toodler.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/nice.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/oreo reguler.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/paseo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/pepsi cola.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/rinso-original.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/selamat wafer chocolate.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/sprite kaleng.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/stellamatic-orange.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/superpell-lemon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/tango chocolate.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/twister.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/goods/wings-blue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/image/header.jpg
Binary file added src/image/header.png
Binary file added src/image/headerm.jpg
Binary file added src/image/logo.png
Binary file added src/image/logo_lain.png
Binary file added src/image/taskcomment.jpg
Binary file added src/image/taskcomment_.jpg
Binary file added src/image/taskcommentm.jpg
Binary file added src/image/taskpage.jpg
Binary file added src/image/taskpage.png
Binary file added src/image/taskpagem.jpg
Binary file added src/image/title.png
105 changes: 105 additions & 0 deletions src/page/calendar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/* calendar style */
#calendarDiv table, #calendarDiv th, #calendarDiv td, #calendarDiv, #calendarDiv a {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-weight: inherit;
font-style: inherit;
font-size: 12px;
font-family: inherit;
vertical-align: baseline;
}

div#calendarDiv {
display: block;
display: none;
position: relative;
border: 1px solid #777;
}
div#calendarDiv a {
cursor: pointer;
cursor: hand;
color: #000;
}
table#calendar {
background: #ddd;
clear: both;
text-align: center;
font-size: 105%;
}
table#calendar, #linksTable {
width: 180px;
}
table#calendar .calendarHeader {
background: #0F0A0A url(../../img/fadeto333.gif) top repeat-x;
border-bottom: 1px solid #444;
color: #fff;
}
table#calendar tr.weekDaysTitleRow td {
background: #777;
color: #fff;
}
table#calendar tr.weekDaysRow {
background: #eee;
color: #666;
}
table#calendar td.weekDaysCell {
color: #000;
border: 1px solid #ddd;
}
table#calendar td.weekDaysCellOver {
background: #fff;
border: 1px solid #777;
}
a#closeCalender {
position: absolute;
right: 0;
bottom: 100%;
margin-bottom: 1px;
display: block;
padding: 2px;
cursor: pointer;
cursor: hand;
font-size: 60%;
letter-spacing: 1px;
}
a#closeCalender:hover {
background: #000;
color: #fff;
}
div#calendarDiv table#linksTable td {
background: #000;
}
table#linksTable a {
display: block;
color: #fff;
letter-spacing: 1px;
font-weight: bold;
font-size: 80%;
padding: 2px 5px;
}
table#linksTable a:hover {
background: #ddd;
color: #333;
}
a#prevMonth {
float: left;
}
a#nextMonth {
float: right;
}
td#today {
background: #999;
}
#calendar_cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 193px; /*must have to match width and borders*/
height: 200px; /*must have to match maximum height*/
}
Loading