diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..e69de29 diff --git a/db/progin_13510025.sql b/db/progin_13510025.sql new file mode 100644 index 0000000..3e75c07 --- /dev/null +++ b/db/progin_13510025.sql @@ -0,0 +1,91 @@ +-- MySQL dump 10.13 Distrib 5.5.8, for Win32 (x86) +-- +-- Host: localhost Database: progin_13510025 +-- ------------------------------------------------------ +-- Server version 5.5.8 + +/*!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 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Table structure for table `customer_table` +-- + +DROP TABLE IF EXISTS `customer_table`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `customer_table` ( + `id` int(6) NOT NULL AUTO_INCREMENT, + `username` varchar(100) NOT NULL, + `password` varchar(100) NOT NULL, + `nama_lengkap` varchar(100) NOT NULL, + `email` varchar(100) NOT NULL, + `alamat` varchar(200) NOT NULL, + `provinsi` varchar(100) NOT NULL, + `kecamatan` varchar(100) NOT NULL, + `kode_pos` varchar(5) NOT NULL, + `nomor_hp` varchar(100) NOT NULL, + `jumlah_transaksi` int(8) DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `email` (`email`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `customer_table` +-- + +LOCK TABLES `customer_table` WRITE; +/*!40000 ALTER TABLE `customer_table` DISABLE KEYS */; +INSERT INTO `customer_table` VALUES (1,'dummy_is_me','dumdumdummy','Dummy bin Dammi','dumdummy@dummy.dum','Jl. Dummy Selatan no. 13 Kota Dummy','Dummiez','Dummies','00000','0800110011',0); +/*!40000 ALTER TABLE `customer_table` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `item_table` +-- + +DROP TABLE IF EXISTS `item_table`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_table` ( + `id` varchar(6) NOT NULL, + `img` varchar(100) NOT NULL, + `kategori` varchar(100) NOT NULL, + `nama` varchar(100) NOT NULL, + `harga` decimal(3,2) NOT NULL, + `deskripsi` varchar(300) NOT NULL, + `req_user` varchar(300) NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `img` (`img`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `item_table` +-- + +LOCK TABLES `item_table` WRITE; +/*!40000 ALTER TABLE `item_table` DISABLE KEYS */; +INSERT INTO `item_table` VALUES ('BD001','imagesBD001.png','BumbuDapur','Kecap Manis',9.99,'Kecap manis tradisional yang manisnya memabukkan. Dijual dalam satuan botolan',''),('BD002','imagesBD002.png','BumbuDapur','Kecap Asin',9.99,'Kecap asin impor yang diproduksi secara mutakhir. Dijual dalam satuan botolan',''),('BD003','imagesBD003.png','BumbuDapur','Gula',9.99,'Gula yang sangat manis seperti senyummu, tapi tidak membuat diabetes. Dijual dalam satuan kilogram',''),('BD004','imagesBD004.png','BumbuDapur','Garam',9.99,'Garam yang diproses secara modern dari air laut. Rasanya asin. Dijual dalam satuan sachet',''),('BD005','imagesBD005.png','BumbuDapur','Merica',9.99,'Merica. Apabila ditambahkan pada makanan akan menjadi terasa seperti ditambahkan merica. Dijual dalam satuan sachet',''),('BE001','imagesBE001.png','Beras','Beras Rojolele',9.99,'Beras Rojolele. Kualitas unggul, dijual dalam satuan kilo',''),('BE002','imagesBE002.png','Beras','Beras C4',9.99,'Beras C4 yang kualitas sedikit di bawah Rojolele. Dijual dalam satuan kilogram',''),('BE003','imagesBE003.png','Beras','Beras Menthik Wangi',9.99,'Beras yang apabila ditanak menjadi nasi mengeluarkan aroma yang menggoda. Dijual dalam satuan kilogram',''),('BE004','imagesBE004.png','Beras','Beras Basmati',9.99,'Beras impor dari Bangladesh. Dijual dalam satuan kilogram',''),('BE005','imagesBE005.png','Beras','Beras Cianjur',9.99,'Beras lokal dari Cianjur dengan kualitas yang unggul. Dijual dalam satuan kilogram',''),('DA001','imagesDA001.png','Daging','Daging Sapi',9.99,'Daging sapi yang rasanya seperti daging sapi. Dijual dalam satuan kilogram',''),('DA002','imagesDA002.png','Daging','Daging Kambing',9.99,'Daging kambing yang rasanya seperti daging kambing. Dijual dalam satuan kilogram',''),('DA003','imagesDA003.png','Daging','Daging Ayam',9.99,'Daging ayam yang rasanya seperti daging ayam. Dijual dalam satuan kilogram',''),('DA004','imagesDA004.png','Daging','Daging Babi',9.99,'Daging babi yang rasanya seperti daging babi. Awas mengandung babi! Dijual dalam satuan kilogram',''),('DA005','imagesDA005.png','Daging','Daging Kerbau',9.99,'Daging kerbau yang rasanya seperti daging kerbau. Dijual dalam satuan kilogram',''),('FF001','imagesFF001.png','FrozenFood','Chicken Nugget',9.99,'Chicken nugget yang dibekukan. Dijual per kemasan',''),('FF002','imagesFF002.png','FrozenFood','Sosis sapi',9.99,'Sosis sapi yang dibekukan. Dijual per kemasan',''),('FF003','imagesFF003.png','FrozenFood','Sosis ayam',9.99,'Sosis ayam yang dibekukan. Dijual per kemasan',''),('FF004','imagesFF004.png','FrozenFood','Korned sapi',9.99,'Korned sapi yang dibekukan. Dijual per kemasan',''),('FF005','imagesFF005.png','FrozenFood','Sarden Kalengan',9.99,'Sarden kalengan yang dibekukan. Dijual per kemasan',''),('MN001','imagesMN001.png','Minuman','Teh',9.99,'Minuman teh siap saji. Rasanya seperti teh. Dijual per kemasan',''),('MN002','imagesMN002.png','Minuman','Kopi',9.99,'Minuman kopi siap saji. Rasanya seperti kopi. Dijual per kemasan',''),('MN003','imagesMN003.png','Minuman','Susu',9.99,'Minuman susu siap saji. Rasanya seperti susu. Dijual per kemasan',''),('MN004','imagesMN004.png','Minuman','Sirup',9.99,'Minuman sirup siap saji. Rasanya seperti sirup. Dijual per kemasan',''),('MN005','imagesMN005.png','Minuman','Air Mineral',9.99,'Air mineral siap saji. Rasanya seperti air mineral. Dijual per kemasan',''); +/*!40000 ALTER TABLE `item_table` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!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 */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2013-10-29 19:07:25 diff --git a/src/Profile.js b/src/Profile.js new file mode 100644 index 0000000..ff7c123 --- /dev/null +++ b/src/Profile.js @@ -0,0 +1,25 @@ +function editProfile(){ + var address = document.getElementById("atributaddress"); + var fullname = document.getElementById("atributfullname"); + var provinsi = document.getElementById("atributprovinsi"); + var kota = document.getElementById("atributkota"); + var kodepos = document.getElementById("atributkodepos"); + var noHP = document.getElementById("atributHP"); + var button = document.getElementById("editProfilebutton"); + + var ava = document.getElementById("atributavatar"); + var password = document.getElementById("atributpassword"); + var confirmpassword = document.getElementById("atributconfirmpassword"); + + fullname.innerHTML=""; + address.innerHTML=""; + provinsi.innerHTML=""; + kota.innerHTML=""; + noHP.innerHTML=""; + + button.value="Save Changes"; + + ava.innerHTML=""; + password.innerHTML=""; + confirmpassword.innerHTML=""; +} \ No newline at end of file diff --git a/src/ajax/addtocart.php b/src/ajax/addtocart.php new file mode 100644 index 0000000..886a9ab --- /dev/null +++ b/src/ajax/addtocart.php @@ -0,0 +1,24 @@ +define('INCLUDE_CHECK',1); +require "../connect.php"; + +if(!$_POST['img']) die("There is no such product!"); + +$img=mysql_real_escape_string(end(explode('/',$_POST['img']))); +$row=mysql_fetch_assoc(mysql_query("SELECT * FROM item_table WHERE img='".$img."'")); + +echo '{ +status:1,id:'.$row['id'].',price:'.$row['harga'].',txt:\'\ +\ +\ +\ +\ +\ +\ +\ +\ +
'.$row['nama'].''.$row['harga'].'\ +\ +remove
\'}'; diff --git a/src/ajax/tips.php b/src/ajax/tips.php new file mode 100644 index 0000000..a208f80 --- /dev/null +++ b/src/ajax/tips.php @@ -0,0 +1,13 @@ +define('INCLUDE_CHECK',1); +require "../connect.php" + +if(!$_POST['img']) die("There is no such product!"); + +$img=mysql_fetch_assoc(mysql_query("SELECT * FROM internet_shop WHERE img='".$img"'")); + +if(!$row) die("There is no such product!"); + +echo ''.$row['nama'].' +

'.$row['deskripsi'].'

+price: $'.$row['price'].' +Geser ke shopping cart untuk membeli; \ No newline at end of file diff --git a/src/checklogin.php b/src/checklogin.php new file mode 100644 index 0000000..26ceaec --- /dev/null +++ b/src/checklogin.php @@ -0,0 +1,39 @@ + \ No newline at end of file diff --git a/src/connect.php b/src/connect.php new file mode 100644 index 0000000..90e798c --- /dev/null +++ b/src/connect.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/src/halamanprofil.php b/src/halamanprofil.php new file mode 100644 index 0000000..722ddde --- /dev/null +++ b/src/halamanprofil.php @@ -0,0 +1,72 @@ + + + + + + + Profil + + + + + + + +
+

+ RuSerBa +

+ + + + + LOGIN + REGISTER + SHOPPING BAG + Logout

+ + +
+
+
+

Halaman Profil.

+ + omgwat // @testing +
Nama Lengkap
+
herp derper mk-IV
+
+ +
Address
+
where
+
+ +
Provinsi
+
omg
+
+
Kota/Kabupaten
+
wtf
+
+
Kode Pos
+
999999
+
+
No. HP
+
12351235123
+
+ +
Password
+
(tidak ditampilkan)
+
+
Confirm Password
+
(tidak ditampilkan)
+
+ + + diff --git a/src/image/Logo.png b/src/image/Logo.png new file mode 100644 index 0000000..b52c5d0 Binary files /dev/null and b/src/image/Logo.png differ diff --git a/src/image/LogoPNG.png b/src/image/LogoPNG.png new file mode 100644 index 0000000..4adb86e Binary files /dev/null and b/src/image/LogoPNG.png differ diff --git a/src/image/item0.jpg b/src/image/item0.jpg new file mode 100644 index 0000000..214f5d4 Binary files /dev/null and b/src/image/item0.jpg differ diff --git a/src/image/item1.jpg b/src/image/item1.jpg new file mode 100644 index 0000000..ec4c33e Binary files /dev/null and b/src/image/item1.jpg differ diff --git a/src/image/item3.jpg b/src/image/item3.jpg new file mode 100644 index 0000000..65e530a Binary files /dev/null and b/src/image/item3.jpg differ diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..e75a1e6 --- /dev/null +++ b/src/index.css @@ -0,0 +1,172 @@ +body,h1,h2,h3,p,td,quote,small,form,input,ul,li,ol,label{ + /*reset*/ + margin:0px; + padding:0px; + font-family:Arial, Helvetica, sans-serif; +} +body{ + color:#555555; + font-size:13px; + background-color:#282828; +} +.clear{ + clear:both; +} +#main-container{ + width:700px; + margin:20px auto; +} +.container{ + margin-bottom:40px; +} +.top-label{ + background:url(img/label_bg.png) no-repeat; + display:inline-block; + margin-left:20px; + position:relative; + margin-bottom:-15px; +} +.label-txt{ + background:url(img/label_bg.png) no-repeat top right; + display:inline-block; + font-size:10px; + height:36px; + margin-left:10px; + padding:12px 15px 0 5px; + text-transform:uppercase; +} +.content-area{ + background:url(img/container_top.png) no-repeat #fcfcfc; + padding:15px 20px 0 20px; +} +.content{ + padding:10px; +} +.drag-desired{ + background:url(img/drag_desired_label.png) no-repeat top right; + padding:30px; +} +.drop-here{ + background:url(img/drop_here_label.png) no-repeat top right; +} +.bottom-container-border{ + background:url(img/container_bottom.png) no-repeat; + height:14px; +} +.product{ + border:2px solid #F5F5F5; + float:left; + margin:15px; + padding:10px; +} +.product img{ + cursor:move: +} +p.descr{ + padding:5px 0; +} +small{ + display:block; + margin-top:4px; +} +#cart-icon{ + width:128px; + float:left; + position:relative; +} +#ajax-loader{ + position:absolute; + top:0px; + left:0px; + visibility:hidden; +} +#item-list{ + float:left; + width:149px; + margin-left:20px; + padding-top:15px; +} +a.remove,a.remove:visited{ + color:red; + font-size:10px; + text-transform:uppercase; +} + +#total{ + clear:both; + float:right; + font-size:10px; + font-weight:bold; + padding:10px 12px; + text-transform:uppercase; +} + +#item-list table{ + background-color:#F7F7F7; + border:1px solid #EFEFEF; + margin-top:5px; + padding:4px; +} +a.button,a.button:visited{ + display:none; + + height:29px; + width:136px; + + padding-top:15px; + margin:0 auto; + overflow:hidden; + + color:white; + font-size:12px; + font-weight:bold; + text-align:center; + text-transform:uppercase; + + background:url(img/button.png) no-repeat center top; +} +a.button:hover{ + background-position:bottom; + text-decoration:none; +} + +a,a.visited{ + color:#00BBFF; + text-decoration:none; + outline:none; +} +a:hover{ + text-decoration:underline; +} +h1{ + font-size:28px; + font-weight:bold; + font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; +} +h2{ + font-weight:normal; + font-size:20px; + color:#666666; + text-indent:30px; + margin:20px 0; +} +.tutorialzine h1{ + color:white; + margin-bottom:10px; + font-size:48px; +} + +.tutorialzine h3{ + color:#F5F5F5; + font-size:10px; + font-weight:bold; + margin-bottom:30px; + text-transform:uppercase; +} + +.tutorial-info{ + color:white; + text-align:center; + padding:10px; + margin-top:-20px; +} \ No newline at end of file diff --git a/src/index.php b/src/index.php new file mode 100644 index 0000000..91e7269 --- /dev/null +++ b/src/index.php @@ -0,0 +1,99 @@ + + + + + + +RUSERBA DIRECTOR'S CUT EDITION 2097 + + + + + + +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout + +
+
+

TOP 3 BEST SELLING PRODUCTS +

+ +
+
+ Shopping Cart + + + +
+
+
+ shopping cart + loading... +
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ + Checkout +
+
+ +
+
+
+
+ +
+ + + \ No newline at end of file diff --git a/src/item1.php b/src/item1.php new file mode 100644 index 0000000..4869b81 --- /dev/null +++ b/src/item1.php @@ -0,0 +1,63 @@ + + + + + + + RUSERBA DIRECTOR'S CUT EDITION 2097 +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout +
+
+

MosquitoMissile

+ +
+

Description

+

The Mosquito Missile is the most commonly used light missile in space. The main purpose of this weapon is missile defence for crafts without rear gun turret. Excellent for destroying war drones. Because of this, most ships can use this missile.

+
+ Stats +
+
Speed: 590 m/s, +
Lifetime: 25 secs, +
Damage: 200, +
Radius: None, +

Price: 168 credits, +
Range: 14.7km, +
Warhead: Single, +
Tracking: Yes,

+
+ On reserve: 1000 +
+ Purchase quantity: +
+ +
+
+ User requirement: +
+ +
+ +
+ + + \ No newline at end of file diff --git a/src/item2.php b/src/item2.php new file mode 100644 index 0000000..0e99c6b --- /dev/null +++ b/src/item2.php @@ -0,0 +1,63 @@ + + + + + + + RUSERBA DIRECTOR'S CUT EDITION 2097 +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout +
+
+

Wasp Missile

+ +
+

Description

+

The Wasp Class Missile is a very powerful but light missile. The wasp missile is the first choice of small fighter craft. It is fast, accurate and very deadly. It's lethal reputation has even led it to be fitted to some destroyers. If fired in masses, the high speed makes it nearly impossible for a weapon system to defend against all incoming missiles.

+
+ Stats +
+
Speed: 560 m/s, +
Lifetime: 32 secs, +
Damage: 1,000 x 8, +
Radius: 2m, +

Price: 1.3k credits, +
Range: 18km, +
Warhead: Swarm (8), +
Tracking: Yes,

+
+ On reserve: 500 +
+ Purchase quantity: +
+ +
+
+ User requirement: +
+ +
+ +
+ + + \ No newline at end of file diff --git a/src/item3.php b/src/item3.php new file mode 100644 index 0000000..d724066 --- /dev/null +++ b/src/item3.php @@ -0,0 +1,63 @@ + + + + + + + RUSERBA DIRECTOR'S CUT EDITION 2097 +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout +
+
+

Silkworm Missile

+ +
+

Description

+

The Silkworm Missile combines the quantum technology with a warhead able to destroy even heavily protected targets. This missile will be typically used for attacks on large fighers or transports.

+
+ Stats +
+
Speed: 190 m/s, +
Lifetime: 150 secs, +
Damage: 19,000, +
Radius: 20m, +

Price: 5k credits, +
Range: 28.5km, +
Warhead: Single, +
Tracking: Yes,

+
+ On reserve: 350 +
+ Purchase quantity: +
+ +
+
+ User requirement: +
+ +
+ +
+ + + \ No newline at end of file diff --git a/src/logout.php b/src/logout.php new file mode 100644 index 0000000..1a99250 --- /dev/null +++ b/src/logout.php @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/src/order.php b/src/order.php new file mode 100644 index 0000000..886b351 --- /dev/null +++ b/src/order.php @@ -0,0 +1,38 @@ + + + + +$value) { + $key=str_replace('_cnt','',$key); + $products[]=$key; + $cnt[$key]=$value; +} + +$result = mysql_query("SELECT * FROM item_table WHERE id IN(".join($products,',').")"); + +if(!mysql_num_rows($result)) { + echo '

Ada yang salah nih gan!

'; +} else { + echo '

Agan memesan:

'; + while($row=mysql_fetch_assoc($result)) { + echo '

'.$cnt[$row['id']].' x '.$row['nama'].'

'; + $total+=$cnt[$row['id']]*$row['harga']; + } + echo '

Total: $'.$total.'

'; +} + +?> \ No newline at end of file diff --git a/src/popuplogin.php b/src/popuplogin.php new file mode 100644 index 0000000..e3d39df --- /dev/null +++ b/src/popuplogin.php @@ -0,0 +1,86 @@ + + + + Form Login + + + + + + + + + + + + + +
+ +
+

Login User

+
+
+ + + + + + + + + + + + + + + + +
+
+ + diff --git a/src/register.php b/src/register.php new file mode 100644 index 0000000..ff23871 --- /dev/null +++ b/src/register.php @@ -0,0 +1,176 @@ + + + + + + + RUSERBA DIRECTOR'S CUT EDITION 2097 +
+ Registrasi User Baru + + +
+
Username: +
+   +
Password:
+   +
Confirm Password:
+   +
Nama Lengkap:
+   +
Alamat e-mail:
+   +
Alamat
+   +
Provinsi:
+   +
Kota/Kabupaten:
+   +
No. HP:
+   +   +
+ + + \ No newline at end of file diff --git a/src/script.js b/src/script.js new file mode 100644 index 0000000..363f689 --- /dev/null +++ b/src/script.js @@ -0,0 +1,77 @@ +var purchased=new Array(); +var totalPrice=0; + +$(document).ready(function() { + tooltip(e,message); + + $("product img").draggable({ + containment:'document', + opacity:0.6, + revert:'invalid', + helper:'clone', + zIndex:100 + }); + + $("div.content.drop-here").droppable({ + drop: + function(e, ui) { + var param = $(ui.draggable).attr('src'); + addlist(param); + } + }); +}); + +function tooltip(e,message) { + var x=0; + var y=0; + var m; + var h; + if(!e) var e=window.event; + if(e.pageX||pageY) { + x=e.pageX; + y=e.pageY; + } else if(e.clientX||e.clientY) { + x=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft; + y=e.clientY+document.body.scrollTop+document.documentElement.scrollTop; + } + m=document.getElementById('mktipmsg'); + + if((Y>10)&&(y<450)) { + m.style.top=y-4+"px"; + } else { + m.style.top=y+4+"px"; + } + + var messageHeight=(message.length/20)*10+25; + + if((e.clientY+messageHeight)>510) { + m.style.top=y-messageHeight+"px"; + } else if (x<850) { + m.style.left=x+20+"px"; + } else { + m.style.left=x-170+"px"; + } + + m.innerHTML=message; + m.style.display="block"; + m.style.zIndex=203; + + onShow: function() { + var param = this.getParent().find('img').attr('src'); + this.load('ajax/tips.php',{img:param}); + } +} + +function hidetip() { + var m; + m=document.getElementById('mktipmsg'); + m.style.display="none"; +} + +function addlist(param) { + $.ajax({ + type:"POST", + url:"ajax/addtocart.php", + data:'img='+encodeURIComponent(param), dataType:'json', beforeSend: function(x) {$('ajax-loader').CSS('visibility','visible');},success: function(msg)'' +} + diff --git a/src/small-style.css b/src/small-style.css new file mode 100644 index 0000000..a5a9dcf --- /dev/null +++ b/src/small-style.css @@ -0,0 +1,229 @@ +@media only screen and (max-device-width: 320px; max-device-height:480 ) { + + body{ + margin: 0 auto 0 auto; + width: 300px; + font-family: calibri; + } + + +h1{ + font-family: calibri; + margin: 0px; +} + +h3{ + color:#8A0829; +} + +label{ + display: inline-block; + width: 67px; + height: 10px; +} + +a { + color: #636363; +} + +.namatugas { + font-size: 10px; + font-weight: bold; + color: darkslategrey; +} + +.commenttugas { + +} + +.atributtugas { + font-weight: bold; +} + + +.body { + width: 900px; + clear:both; +} + +.contents{ + width: 330px; + float: left; + padding: 3px; +} + +.catagories { + float: left; + width: 53px; + padding: 13px; +} + +#headerother{ + width: 100px; + height: 13px; +} + +header { + height : 8px; + width : 100px; + border-bottom: solid 2px #FE2E64; + border-top: solid 0px #FE2E64; + padding-top: 1px; + padding-bottom: 1px; +} + +footer{ + width : 300px; + text-align: center; + border-top: solid 2px #FE2E64; + clear: both; + padding:3px; +} + +.profpic { + + width:100px; + float:left; + clear: both; + margin-right: 6px; +} + +.dataUser{ + float:left; + width:133px; + clear: both; +} + +.task { + width: 76px; + float:left; + clear: both; + padding:6px; + +} + +.profile { + width:300px; + height:123px; +} + +.nama{ + padding-left: 3px; + font-size: 20px; +} + +.atribut{ + padding-left: 3px; + font-size: 10px; +} + +.sfield{ + margin:1px; + float:left; +} + +#loginbutton { + -moz-box-shadow:inset 0px 1px 0px 0px #97c4fe; + -webkit-box-shadow:inset 0px 1px 0px 0px #97c4fe; + box-shadow:inset 0px 1px 0px 0px #97c4fe; + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) ); + background:-moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0'); + background-color:#3d94f6; + -moz-border-radius:2px; + -webkit-border-radius:2px; + border-radius:2px; + border:1px solid #337fed; + display:inline-block; + color:#ffffff; + font-family:arial; + font-size:5px; + font-weight:bold; + padding:2px 8px; + text-decoration:none; + text-shadow:1px 1px 0px #1570cd; +}#loginbutton:hover { + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6) ); + background:-moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6'); + background-color:#1e62d0; +}#loginbutton:active { + position:relative; + top:1px; +} + +#registerbutton{ + -moz-box-shadow:inset 0px 1px 0px 0px #f7c5c0; + -webkit-box-shadow:inset 0px 1px 0px 0px #f7c5c0; + box-shadow:inset 0px 1px 0px 0px #f7c5c0; + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #FF0040), color-stop(1, #FE2E64) ); + background:-moz-linear-gradient( center top, #FF00405%, #FE2E64100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF0040', endColorstr='#FE2E64'); + background-color:#FF0040; + -moz-border-radius:1px; + -webkit-border-radius:1px; + border-radius:1px; + border:1px solid #d83526; + display:inline-block; + color:#ffffff; + font-family:arial; + font-size:5px; + font-weight:bold; + padding:2px 11px; + text-decoration:none; + text-shadow:1px 1px 0px #b23e35; +} +#registerbutton:hover { + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e4685d), color-stop(1, #fc8d83) ); + background:-moz-linear-gradient( center top, #e4685d 5%, #fc8d83 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e4685d', endColorstr='#fc8d83'); + background-color:#e4685d; +} +#registerbutton:active { + position:relative; + top:1px; +} + +#loginform { + width:133px; + float: left; + padding: 3px; +} + +.registerform { + width:11px; + float: none ; + padding: 3px; +} + +.logosmall{ + margin:1px; + float:left; + height:9px; + +} + +input { + border:1px solid #dadada; + border-radius:1px; + padding:1px; +} + +input:focus { + outline:none; + border-color:#9ecaed; + box-shadow:0 0 5px #9ecaed; +} + +#calender { + width: 141px; + padding: 0; + margin: 0; + border-left: 1px solid #A2ADBC; + font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + color: #616B76; + text-align: center; + background-color: #fff; +} + +} diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..cd769ef --- /dev/null +++ b/src/style.css @@ -0,0 +1,297 @@ +body{ + margin: 0 auto 0 auto; + width: 900px; + height: 1024px; + font-family: calibri; + + +} + +h1{ + font-family: calibri; + margin: 0px; +} + +h3{ + color: black; + font-family: cambria; +} + +label{ + display: inline-block; + width: 200px; + height: 30px; + +} + + +a { + color: #2E9AFE; +} + + +.namatugas { + font-size: 30px; + font-weight: bold; + color: darkslategrey; +} + +.commenttugas { + +} + +.atributtugas { + font-weight: bold; +} + +.atributprofile { + font-weight: bold; +} + + +.body { + width: 900px; + clear:both; +} + +.bodyla { + width: 900px; + height: 250px; + clear:both; +} + +.contents{ + width: 700px; + float: left; + padding: 10px; +} + +.catagories { + float: left; + width: 160px; + padding: 10px; +} + +#headerother{ + width: 900px; + height: 38px; + -moz-box-shadow:inset 0px 1px 0px 0px #1C1C1C; + -webkit-box-shadow:inset 0px 1px 0px 0px #1C1C1C; + box-shadow:inset 0px 1px 0px 0px #1C1C1C; + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1C1C1C), color-stop(1, #000000) ); + background:-moz-linear-gradient( center top, #1C1C1C 5%, #000000 100%); + background-color:#000000; + -moz-border-radius:7px; + -webkit-border-radius:7px; + border-radius:7px; + border:1px solid #000000; + display:inline-block; + color:white; + font-family:calibri; + font-size:15px; + font-weight:bold; + padding:3px 24px; +} + +header { + height : 75px; + width : 900px; + border-bottom: solid 2px #FE2E64; + border-top: solid 0px #FE2E64; + padding-top: 5px; + padding-bottom: 5px; +} + +footer{ + width : 900px; + text-align: center; + border-top: solid 2px #FE2E64; + clear: both; + padding:10px; +} + +.profpic { + width:300px; + float:left; + clear: both; + margin-right: 20px; +} + +.dataUser{ + float:left; + width:400px; + clear: both; +} + +.task { + width: 400px; + padding:5px; + +} + +.profile { + width:900px; + height:300px; +} + +.nama{ + background-color : black; + color : white; + padding-left: 10px; + font-size: 30px; + font-family: cambria; + +} + +.atribut{ + font-family: cambria; + padding-left: 10px; + font-size: 22px; +} + +.sfield{ + margin:5px; + float:left; +} + +#loginbutton { + -moz-box-shadow:inset 0px 1px 0px 0px #97c4fe; + -webkit-box-shadow:inset 0px 1px 0px 0px #97c4fe; + box-shadow:inset 0px 1px 0px 0px #97c4fe; + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0) ); + background:-moz-linear-gradient( center top, #3d94f6 5%, #1e62d0 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0'); + background-color:#3d94f6; + -moz-border-radius:6px; + -webkit-border-radius:6px; + border-radius:6px; + border:1px solid #337fed; + display:inline-block; + color:#ffffff; + font-family:arial; + font-size:15px; + font-weight:bold; + padding:6px 24px; + text-decoration:none; + text-shadow:1px 1px 0px #1570cd; +} + +#loginbutton:hover { + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1e62d0), color-stop(1, #3d94f6) ); + background:-moz-linear-gradient( center top, #1e62d0 5%, #3d94f6 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e62d0', endColorstr='#3d94f6'); + background-color:#1e62d0; +}#loginbutton:active { + position:relative; + top:1px; +} + +#registerbutton{ + -moz-box-shadow:inset 0px 1px 0px 0px #f7c5c0; + -webkit-box-shadow:inset 0px 1px 0px 0px #f7c5c0; + box-shadow:inset 0px 1px 0px 0px #f7c5c0; + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #FF0040), color-stop(1, #FE2E64) ); + background:-moz-linear-gradient( center top, #FF00405%, #FE2E64100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF0040', endColorstr='#FE2E64'); + background-color:#FF0040; + -moz-border-radius:3px; + -webkit-border-radius:3px; + border-radius:3px; + border:1px solid #d83526; + display:inline-block; + color:#ffffff; + font-family:arial; + font-size:15px; + font-weight:bold; + padding:6px 33px; + text-decoration:none; + text-shadow:1px 1px 0px #b23e35; +} +#registerbutton:hover { + background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e4685d), color-stop(1, #fc8d83) ); + background:-moz-linear-gradient( center top, #e4685d 5%, #fc8d83 100% ); + filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e4685d', endColorstr='#fc8d83'); + background-color:#e4685d; +} +#registerbutton:active { + position:relative; + top:1px; +} + +#loginform { + width:400px; + float: left; + padding: 10px; +} + +.registerform { + width:400px; + float: left; + padding: 10px; +} + +.logosmall{ + margin:5px; + float:left; + height:28px; + +} + +input { + border:1px solid #dadada; + border-radius:5px; + padding:3px; +} + +input:focus { + outline:none; + border-color:#9ecaed; + box-shadow:0 0 5px #9ecaed; +} + +#alltask{ + + position: fixed; +} + +#dapurtask{ + position: fixed; + visibility: hidden; +} + +#sekolahtask{ + position: fixed; + visibility: hidden; +} + +#personaltask{ + position: fixed; + visibility: hidden; +} + +#pentingtask{ + position: fixed; + visibility: hidden; +} + +#filterbox{ + opacity:0.9; + position: fixed; + width: 230px; + height: 73px; + background-color:black; + color:black; + border-radius:3px; + font-family:calibri; + font-size:15px; + font-weight:bold; + padding:9px 24px; + margin-left : 130px; + margin-top : 40px; + display : none; + float : none; + +} + + + diff --git a/src/validasikredit.php b/src/validasikredit.php new file mode 100644 index 0000000..3086bca --- /dev/null +++ b/src/validasikredit.php @@ -0,0 +1,77 @@ + + + + + +Login + + + + + +
+ +
+

REGISTRASI KARTU KREDIT

+
+ +
+
No. Kartu + +
+   +
Nama Pemilik + +
+   +
+ Tanggal Expire (dd/mm/yyyy) + + + +
+   +
+ +
+
+
+ + diff --git a/src/validasikreditprocess.php b/src/validasikreditprocess.php new file mode 100644 index 0000000..2d6aa5d --- /dev/null +++ b/src/validasikreditprocess.php @@ -0,0 +1,56 @@ + 0){ + for($i=0;$i<$countError;$i++){ + echo ucwords($message[$i]).'

'; + } +}else{ + $query="select * from user where NoKartu='$NoKartu' and dd='$dd' and mm='$mm' and yyyy='$yyyy' and + password='$password'"; + $res=mysql_query($query); + $checkUser=mysql_num_rows($res); + if($checkUser > 0){ + $_SESSION['LOGIN_STATUS']=true; + $_SESSION['NOKARTU']=$NoKartu; + $_SESSION['NAMEONCARD']=$NameOnCard; + $_SESSION['DD']=$dd; + $_SESSION['MM']=$mm; + $_SESSION['YYYY']=$yyyy; + echo 'correct'; + }else{ + echo ucwords('Entri kartu kredit salah. Silahkan isi ulang form secara benar.'); + } +} +?> \ No newline at end of file diff --git a/src/~tm7CC9.html b/src/~tm7CC9.html new file mode 100644 index 0000000..a489c69 --- /dev/null +++ b/src/~tm7CC9.html @@ -0,0 +1,63 @@ + + + + + +RUSERBA DIRECTOR'S CUT EDITION 2097 + + + + + + +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout + +
+
+

TOP 3 BEST SELLING PRODUCTS +

+ +
+ +
+ + + \ No newline at end of file diff --git a/src/~tmDFD3.html b/src/~tmDFD3.html new file mode 100644 index 0000000..91e7269 --- /dev/null +++ b/src/~tmDFD3.html @@ -0,0 +1,99 @@ + + + + + + +RUSERBA DIRECTOR'S CUT EDITION 2097 + + + + + + +
+ + RuSerBa + + + + + + LOGIN + REGISTER + SHOPPING BAG + + Logout + +
+
+

TOP 3 BEST SELLING PRODUCTS +

+ +
+
+ Shopping Cart + + + +
+
+
+ shopping cart + loading... +
+ +
+
+
+
+ +
+
+ +
+
+ +
+
+ + Checkout +
+
+ +
+
+
+
+ + + + + \ No newline at end of file