├── README.md ├── protected ├── .htaccess ├── yiic ├── data │ └── testdrive.db ├── runtime │ └── gii-1.1.16-dev │ │ ├── FormCode.php │ │ ├── CrudCode.php │ │ ├── ControllerCode.php │ │ └── ModelCode.php ├── views │ ├── pelanggantbl │ │ ├── transaksi_selesai.php │ │ ├── register.php │ │ ├── faktur_selesai.php │ │ ├── create.php │ │ ├── index.php │ │ ├── jumlah.php │ │ ├── keranjangtotal.php │ │ ├── hapus_transaksi.php │ │ ├── update.php │ │ ├── faktur.php │ │ ├── kerantang_total_selesai.php │ │ ├── cart.php │ │ ├── view.php │ │ ├── ubah_transaksi.php │ │ ├── _view.php │ │ ├── _regform.php │ │ ├── _search.php │ │ ├── admin.php │ │ ├── ambilcart.php │ │ └── _form.php │ ├── transaksitbl │ │ ├── transaksi_selesai.php │ │ ├── faktur_selesai.php │ │ ├── create.php │ │ ├── index.php │ │ ├── _view.php │ │ ├── update.php │ │ ├── kerantang_total_selesai.php │ │ ├── _search.php │ │ ├── view.php │ │ ├── _form.php │ │ └── admin.php │ ├── barangtbl │ │ ├── tampil.php │ │ ├── create.php │ │ ├── index.php │ │ ├── keranjangtotal.php │ │ ├── hapus_transaksi.php │ │ ├── update.php │ │ ├── cart.php │ │ ├── view.php │ │ ├── ubah_transaksi.php │ │ ├── produk.php │ │ ├── _view.php │ │ ├── admin.php │ │ └── _search.php │ ├── layouts │ │ ├── column1.php │ │ └── column2.php │ ├── site │ │ ├── error.php │ │ ├── pages │ │ │ └── about.php │ │ ├── index.php │ │ └── login.php │ ├── newstbl │ │ ├── create.php │ │ ├── index.php │ │ ├── _view.php │ │ ├── update.php │ │ ├── view.php │ │ ├── _search.php │ │ ├── admin.php │ │ └── _form.php │ ├── admintbl │ │ ├── create.php │ │ ├── index.php │ │ ├── _view.php │ │ ├── update.php │ │ ├── _search.php │ │ ├── view.php │ │ ├── _form.php │ │ └── admin.php │ ├── downloadtbl │ │ ├── create.php │ │ ├── index.php │ │ ├── update.php │ │ ├── _view.php │ │ ├── view.php │ │ ├── _search.php │ │ ├── admin.php │ │ └── _form.php │ ├── kategoritbl │ │ ├── create.php │ │ ├── _view.php │ │ ├── index.php │ │ ├── update.php │ │ ├── _search.php │ │ ├── view.php │ │ ├── _form.php │ │ └── admin.php │ ├── testimonialtbl │ │ ├── create.php │ │ ├── index.php │ │ ├── update.php │ │ ├── _view.php │ │ ├── view.php │ │ ├── _search.php │ │ ├── admin.php │ │ └── _form.php │ ├── Kategoritbl.php │ ├── Admintbl.php │ ├── Transaksitbl.php │ ├── Newstbl.php │ ├── Downloadtbl.php │ └── Testimonialtbl.php ├── yiic.php ├── tests │ ├── bootstrap.php │ ├── phpunit.xml │ ├── WebTestCase.php │ └── functional │ │ └── SiteTest.php ├── config │ ├── test.php │ └── console.php ├── components │ ├── submenu.php │ ├── WebUser.php │ ├── Controller.php │ └── UserIdentity.php ├── yiic.bat └── models │ ├── ContactForm.php │ └── LoginForm.php ├── themes ├── classic │ └── views │ │ └── .htaccess ├── 51_khaki │ ├── img │ │ ├── bgd.png │ │ ├── clock.gif │ │ ├── banner.jpg │ │ ├── comment.gif │ │ └── document.gif │ └── licence.txt └── Eshopper │ ├── images │ ├── 404 │ │ └── 404.png │ ├── Produk │ │ ├── 1.jpg │ │ ├── 10.jpg │ │ ├── 11.jpg │ │ ├── 12.jpg │ │ ├── 13.jpg │ │ ├── 14.jpg │ │ ├── 15.jpg │ │ ├── 16.jpg │ │ ├── 17.jpg │ │ ├── 18.JPG │ │ ├── 19.jpg │ │ ├── 2.jpg │ │ ├── 20.jpg │ │ ├── 21.jpg │ │ ├── 22.jpg │ │ ├── 23.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 8.jpg │ │ ├── 9.jpg │ │ ├── BB003.png │ │ ├── BC002.png │ │ ├── BE001.png │ │ ├── BJ005.png │ │ ├── BL004.png │ │ ├── kaos1.jpg │ │ ├── kaos2.jpg │ │ ├── kaos3.jpg │ │ ├── kaos4.jpg │ │ └── Polo01.png │ ├── cart │ │ ├── one.png │ │ ├── three.png │ │ └── two.png │ ├── home │ │ ├── Hapus.png │ │ ├── Ubah.png │ │ ├── bca.jpg │ │ ├── girl1.jpg │ │ ├── girl2.jpg │ │ ├── girl3.jpg │ │ ├── logo.png │ │ ├── map.png │ │ ├── new.png │ │ ├── sale.png │ │ ├── Header.jpg │ │ ├── iframe1.png │ │ ├── iframe2.png │ │ ├── iframe3.png │ │ ├── iframe4.png │ │ ├── mandiri.jpg │ │ ├── pricing.png │ │ ├── TCheckout.jpg │ │ ├── bg_border.png │ │ ├── gallery1.jpg │ │ ├── gallery2.jpg │ │ ├── gallery3.jpg │ │ ├── gallery4.jpg │ │ ├── partner1.png │ │ ├── partner2.png │ │ ├── partner3.png │ │ ├── partner4.png │ │ ├── product1.jpg │ │ ├── product2.jpg │ │ ├── product3.jpg │ │ ├── product4.jpg │ │ ├── product5.jpg │ │ ├── product6.jpg │ │ ├── recommend1.jpg │ │ ├── recommend2.jpg │ │ ├── recommend3.jpg │ │ ├── searchicon.png │ │ └── shipping.jpg │ ├── blog │ │ ├── man-one.jpg │ │ ├── man-two.jpg │ │ ├── socials.png │ │ ├── blog-one.jpg │ │ ├── blog-three.jpg │ │ ├── blog-two.jpg │ │ ├── man-four.jpg │ │ └── man-three.jpg │ ├── produkbaru │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.jpg │ │ ├── 5.jpg │ │ ├── 6.jpg │ │ ├── 7.jpg │ │ ├── 8.jpg │ │ ├── 9.jpg │ │ ├── 10.jpg │ │ ├── 11.jpg │ │ ├── 12.jpg │ │ ├── 13.jpg │ │ ├── 14.jpg │ │ ├── 15.jpg │ │ ├── 16.jpg │ │ ├── 17.jpg │ │ ├── 18.JPG │ │ ├── 19.jpg │ │ ├── 20.jpg │ │ ├── 21.jpg │ │ ├── 22.jpg │ │ └── 23.jpg │ ├── shop │ │ ├── product10.jpg │ │ ├── product11.jpg │ │ ├── product12.jpg │ │ ├── product7.jpg │ │ ├── product8.jpg │ │ ├── product9.jpg │ │ └── advertisement.jpg │ └── product-details │ │ ├── 1.jpg │ │ ├── new.jpg │ │ ├── rating.png │ │ ├── share.png │ │ ├── similar1.jpg │ │ ├── similar2.jpg │ │ └── similar3.jpg │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.woff │ └── glyphicons-halflings-regular.woff │ ├── views │ ├── layouts │ │ ├── tpl_footer.php │ │ ├── produk_detail.php │ │ ├── main.php │ │ ├── jumlah.php │ │ └── tpl_header.php │ ├── site │ │ ├── Produk │ │ │ ├── BB003.png │ │ │ ├── BC002.png │ │ │ ├── BE001.png │ │ │ ├── BJ005.png │ │ │ ├── BL004.png │ │ │ ├── Polo01.png │ │ │ ├── kaos1.jpg │ │ │ ├── kaos2.jpg │ │ │ ├── kaos3.jpg │ │ │ └── kaos4.jpg │ │ ├── error.php │ │ ├── pages │ │ │ └── about.php │ │ └── login.php │ ├── keranjangtotal.php │ ├── faktur.php │ ├── cart.php │ └── ambilcart.php │ ├── sendemail.php │ └── js │ ├── main.js │ └── contact.js ├── css ├── bg.gif ├── print.css └── ie.css ├── assets ├── 3e2c0bf7 │ ├── images │ │ └── logo.png │ ├── js │ │ └── fancybox │ │ │ ├── blank.gif │ │ │ ├── fancybox-x.png │ │ │ ├── fancybox-y.png │ │ │ ├── fancybox.png │ │ │ ├── fancy_close.png │ │ │ ├── fancy_loading.png │ │ │ ├── fancy_nav_left.png │ │ │ ├── fancy_nav_right.png │ │ │ ├── fancy_shadow_e.png │ │ │ ├── fancy_shadow_n.png │ │ │ ├── fancy_shadow_ne.png │ │ │ ├── fancy_shadow_nw.png │ │ │ ├── fancy_shadow_s.png │ │ │ ├── fancy_shadow_se.png │ │ │ ├── fancy_shadow_sw.png │ │ │ ├── fancy_shadow_w.png │ │ │ ├── fancy_title_left.png │ │ │ ├── fancy_title_main.png │ │ │ ├── fancy_title_over.png │ │ │ └── fancy_title_right.png │ └── css │ │ ├── print.css │ │ └── ie.css ├── 834cd437 │ ├── rating │ │ ├── star.gif │ │ ├── delete.gif │ │ └── jquery.rating.css │ ├── jquery.multifile.js │ ├── autocomplete │ │ ├── indicator.gif │ │ └── jquery.autocomplete.css │ ├── treeview │ │ └── images │ │ │ ├── file.gif │ │ │ ├── folder.gif │ │ │ ├── minus.gif │ │ │ ├── plus.gif │ │ │ ├── ajax-loader.gif │ │ │ ├── folder-closed.gif │ │ │ ├── treeview-gray.gif │ │ │ ├── treeview-red.gif │ │ │ ├── treeview-black.gif │ │ │ ├── treeview-default.gif │ │ │ ├── treeview-famfamfam.gif │ │ │ ├── treeview-gray-line.gif │ │ │ ├── treeview-red-line.gif │ │ │ ├── treeview-black-line.gif │ │ │ ├── treeview-default-line.gif │ │ │ └── treeview-famfamfam-line.gif │ ├── jui │ │ └── css │ │ │ └── base │ │ │ ├── images │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_454545_256x240.png │ │ │ ├── ui-icons_888888_256x240.png │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ │ ├── jquery.ui.selectable.css │ │ │ ├── jquery.ui.autocomplete.css │ │ │ ├── jquery.ui.progressbar.css │ │ │ ├── jquery.ui.tooltip.css │ │ │ ├── jquery.ui.accordion.css │ │ │ ├── jquery.ui.spinner.css │ │ │ ├── jquery.ui.tabs.css │ │ │ ├── jquery.ui.core.css │ │ │ ├── jquery.ui.resizable.css │ │ │ ├── jquery.ui.slider.css │ │ │ ├── jquery.ui.menu.css │ │ │ ├── jquery.ui.dialog.css │ │ │ └── jquery.ui.button.css │ ├── yiitab │ │ └── jquery.yiitab.css │ ├── jquery.yii.js │ ├── jquery.yiitab.js │ ├── jquery.treeview.edit.js │ └── jquery.bgiframe.js ├── c32db85 │ ├── gridview │ │ ├── bg.gif │ │ ├── down.gif │ │ ├── up.gif │ │ ├── view.png │ │ ├── delete.png │ │ ├── update.png │ │ └── loading.gif │ ├── listview │ │ ├── down.gif │ │ ├── up.gif │ │ ├── loading.gif │ │ └── styles.css │ └── detailview │ │ └── styles.css └── 9651d495 │ └── pager.css ├── home.php ├── index.php └── index-test.php /README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /protected/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /themes/classic/views/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /css/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/css/bg.gif -------------------------------------------------------------------------------- /protected/yiic: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 'default', 4 | 'viewPath' => 'application.views', 5 | ); 6 | -------------------------------------------------------------------------------- /themes/Eshopper/images/Produk/Polo01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/Produk/Polo01.png -------------------------------------------------------------------------------- /themes/Eshopper/images/blog/blog-one.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/blog/blog-one.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/blog/blog-three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/blog/blog-three.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/blog/blog-two.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/blog/blog-two.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/blog/man-four.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/blog/man-four.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/blog/man-three.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/blog/man-three.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/TCheckout.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/TCheckout.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/bg_border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/bg_border.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/gallery1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/gallery1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/gallery2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/gallery2.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/gallery3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/gallery3.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/gallery4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/gallery4.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/partner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/partner1.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/partner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/partner2.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/partner3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/partner3.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/partner4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/partner4.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product2.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product3.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product4.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product5.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/product6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/product6.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/recommend1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/recommend1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/recommend2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/recommend2.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/recommend3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/recommend3.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/home/searchicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/searchicon.png -------------------------------------------------------------------------------- /themes/Eshopper/images/home/shipping.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/home/shipping.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/10.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/11.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/12.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/13.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/14.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/15.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/16.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/17.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/18.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/18.JPG -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/19.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/19.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/20.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/20.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/21.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/21.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/22.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/22.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/produkbaru/23.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/produkbaru/23.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product10.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product11.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product12.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product7.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product8.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/product9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/product9.jpg -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_close.png -------------------------------------------------------------------------------- /protected/runtime/gii-1.1.16-dev/CrudCode.php: -------------------------------------------------------------------------------- 1 | 'default', 4 | 'baseControllerClass' => 'Controller', 5 | ); 6 | -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/views/layouts/tpl_footer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/layouts/tpl_footer.php -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/BB003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/BB003.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/BC002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/BC002.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/BE001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/BE001.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/BJ005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/BJ005.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/BL004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/BL004.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/Polo01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/Polo01.png -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/kaos1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/kaos1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/kaos2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/kaos2.jpg -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/kaos3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/kaos3.jpg -------------------------------------------------------------------------------- /themes/Eshopper/views/site/Produk/kaos4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/views/site/Produk/kaos4.jpg -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_loading.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_nav_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_nav_left.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_nav_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_nav_right.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_e.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_e.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_n.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_ne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_ne.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_nw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_nw.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_s.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_se.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_se.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_sw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_sw.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_shadow_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_shadow_w.png -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/ajax-loader.gif -------------------------------------------------------------------------------- /themes/Eshopper/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/new.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/new.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/shop/advertisement.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/shop/advertisement.jpg -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_title_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_title_left.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_title_main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_title_main.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_title_over.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_title_over.png -------------------------------------------------------------------------------- /assets/3e2c0bf7/js/fancybox/fancy_title_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/3e2c0bf7/js/fancybox/fancy_title_right.png -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/folder-closed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/folder-closed.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-gray.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-red.gif -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/rating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/rating.png -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/share.png -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-black.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-default.gif -------------------------------------------------------------------------------- /protected/views/pelanggantbl/transaksi_selesai.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/protected/views/pelanggantbl/transaksi_selesai.php -------------------------------------------------------------------------------- /protected/views/transaksitbl/transaksi_selesai.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/protected/views/transaksitbl/transaksi_selesai.php -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/similar1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/similar1.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/similar2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/similar2.jpg -------------------------------------------------------------------------------- /themes/Eshopper/images/product-details/similar3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/images/product-details/similar3.jpg -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-famfamfam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-famfamfam.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-gray-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-gray-line.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-red-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-red-line.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-black-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-black-line.gif -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-default-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-default-line.gif -------------------------------------------------------------------------------- /protected/runtime/gii-1.1.16-dev/ControllerCode.php: -------------------------------------------------------------------------------- 1 | 'default', 4 | 'baseClass' => 'Controller', 5 | 'actions' => 'index', 6 | ); 7 | -------------------------------------------------------------------------------- /themes/Eshopper/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/themes/Eshopper/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /assets/834cd437/treeview/images/treeview-famfamfam-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/treeview/images/treeview-famfamfam-line.gif -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /protected/views/pelanggantbl/register.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | renderPartial('_regform', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fandiahmadrizal/update-tokoonline/HEAD/assets/834cd437/jui/css/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /protected/yiic.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | renderPartial('produk_detail_info', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/barangtbl/tampil.php: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | renderPartial('tampilproduk', array('dataProvider'=>$dataProvider)); ?> 9 | -------------------------------------------------------------------------------- /protected/views/layouts/column1.php: -------------------------------------------------------------------------------- 1 | beginContent('//layouts/main'); ?> 2 |
3 |
4 | 5 |
6 |
7 | endContent(); ?> -------------------------------------------------------------------------------- /protected/views/site/error.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - Error'; 3 | $this->breadcrumbs=array( 4 | 'Error', 5 | ); 6 | ?> 7 | 8 |

Error

9 | 10 |
11 | 12 |
-------------------------------------------------------------------------------- /themes/Eshopper/views/site/error.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - Error'; 3 | $this->breadcrumbs=array( 4 | 'Error', 5 | ); 6 | ?> 7 | 8 |

Error

9 | 10 |
11 | 12 |
-------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.selectable.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.selectable.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black} -------------------------------------------------------------------------------- /protected/views/site/pages/about.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - About'; 3 | $this->breadcrumbs=array( 4 | 'About', 5 | ); 6 | ?> 7 |

About

8 | 9 |

This is a "static" page. You may change the content of this page 10 | by updating the file .

-------------------------------------------------------------------------------- /protected/runtime/gii-1.1.16-dev/ModelCode.php: -------------------------------------------------------------------------------- 1 | 'default', 4 | 'connectionId' => 'db', 5 | 'tablePrefix' => '', 6 | 'modelPath' => 'application.models', 7 | 'baseClass' => 'CActiveRecord', 8 | 'buildRelations' => '1', 9 | 'commentsAsLabels' => '0', 10 | ); 11 | -------------------------------------------------------------------------------- /themes/Eshopper/views/site/pages/about.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - About'; 3 | $this->breadcrumbs=array( 4 | 'About', 5 | ); 6 | ?> 7 |

About

8 | 9 |

This is a "static" page. You may change the content of this page 10 | by updating the file .

-------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.autocomplete.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.autocomplete.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-autocomplete{position:absolute;top:0;left:0;cursor:default}* html .ui-autocomplete{width:1px} -------------------------------------------------------------------------------- /protected/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /protected/tests/phpunit.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.tooltip.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.tooltip.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}* html .ui-tooltip{background-image:none}body .ui-tooltip{border-width:2px} -------------------------------------------------------------------------------- /protected/config/test.php: -------------------------------------------------------------------------------- 1 | array( 7 | 'fixture'=>array( 8 | 'class'=>'system.test.CDbFixtureManager', 9 | ), 10 | /* uncomment the following to provide test database connection 11 | 'db'=>array( 12 | 'connectionString'=>'DSN for test database', 13 | ), 14 | */ 15 | ), 16 | ) 17 | ); 18 | -------------------------------------------------------------------------------- /protected/components/submenu.php: -------------------------------------------------------------------------------- 1 | findAll(); 15 | $this->render('index',array('menu'=>$menu)); 16 | } 17 | } -------------------------------------------------------------------------------- /protected/yiic.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem ------------------------------------------------------------- 4 | rem Yii command line script for Windows. 5 | rem This is the bootstrap script for running yiic on Windows. 6 | rem ------------------------------------------------------------- 7 | 8 | @setlocal 9 | 10 | set BIN_PATH=%~dp0 11 | 12 | if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe 13 | 14 | "%PHP_COMMAND%" "%BIN_PATH%yiic.php" %* 15 | 16 | @endlocal -------------------------------------------------------------------------------- /protected/views/newstbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Newstbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Newstbl', 'url'=>array('index')), 12 | array('label'=>'Manage Newstbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Newstbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/admintbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Admintbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Admintbl', 'url'=>array('index')), 12 | array('label'=>'Manage Admintbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Admintbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/transaksitbl/faktur_selesai.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | $member = $username; 6 | $cari="select * from transaksitbl where username ='".$member."' and status ='1' order by notransaksi desc"; 7 | $query=Yii::app()->db->createCommand($cari)->query(); 8 | foreach($query as $hasil){} 9 | if($hasil > 0){ 10 | $faktur = $hasil['notransaksi']; 11 | } 12 | }else{ 13 | 14 | header("location:index.php"); 15 | } 16 | ?> -------------------------------------------------------------------------------- /protected/views/barangtbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Barangtbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Barangtbl', 'url'=>array('index')), 12 | array('label'=>'Manage Barangtbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Barangtbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/pelanggantbl/faktur_selesai.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | $member = Yii::app()->user->name; 6 | $cari="select * from transaksitbl where username ='".$member."' and status ='1' order by notransaksi desc"; 7 | $query=Yii::app()->db->createCommand($cari)->query(); 8 | foreach($query as $hasil){} 9 | if($hasil > 0){ 10 | $faktur = $hasil['notransaksi']; 11 | } 12 | }else{ 13 | 14 | header("location:index.php"); 15 | } 16 | ?> -------------------------------------------------------------------------------- /protected/views/downloadtbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Downloadtbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Downloadtbl', 'url'=>array('index')), 12 | array('label'=>'Manage Downloadtbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Downloadtbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/kategoritbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Kategoritbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Kategoritbl', 'url'=>array('index')), 12 | array('label'=>'Manage Kategoritbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Kategoritbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/kategoritbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('kategori')); ?>: 13 | kategori); ?> 14 |
15 | 16 | 17 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pelanggantbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Pelanggantbl', 'url'=>array('index')), 12 | array('label'=>'Manage Pelanggantbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Pelanggantbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/transaksitbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Transaksitbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Transaksitbl', 'url'=>array('index')), 12 | array('label'=>'Manage Transaksitbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Transaksitbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /home.php: -------------------------------------------------------------------------------- 1 | run(); 14 | -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | run(); 14 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/create.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Testimonialtbls'=>array('index'), 7 | 'Create', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Testimonialtbl', 'url'=>array('index')), 12 | array('label'=>'Manage Testimonialtbl', 'url'=>array('admin')), 13 | ); 14 | ?> 15 | 16 |

Create Testimonialtbl

17 | 18 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/newstbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Newstbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Newstbl', 'url'=>array('create')), 11 | array('label'=>'Manage Newstbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Newstbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/admintbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Admintbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Admintbl', 'url'=>array('create')), 11 | array('label'=>'Manage Admintbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Admintbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/barangtbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Barangtbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Barangtbl', 'url'=>array('create')), 11 | array('label'=>'Manage Barangtbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Barangtbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /index-test.php: -------------------------------------------------------------------------------- 1 | run(); 16 | -------------------------------------------------------------------------------- /protected/views/downloadtbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Downloadtbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Downloadtbl', 'url'=>array('create')), 11 | array('label'=>'Manage Downloadtbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Downloadtbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/kategoritbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Kategoritbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Kategoritbl', 'url'=>array('create')), 11 | array('label'=>'Manage Kategoritbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Kategoritbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/pelanggantbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pelanggantbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Pelanggantbl', 'url'=>array('create')), 11 | array('label'=>'Manage Pelanggantbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Pelanggantbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/transaksitbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Transaksitbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Transaksitbl', 'url'=>array('create')), 11 | array('label'=>'Manage Transaksitbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Transaksitbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/index.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Testimonialtbls', 7 | ); 8 | 9 | $this->menu=array( 10 | array('label'=>'Create Testimonialtbl', 'url'=>array('create')), 11 | array('label'=>'Manage Testimonialtbl', 'url'=>array('admin')), 12 | ); 13 | ?> 14 | 15 |

Testimonialtbls

16 | 17 | widget('zii.widgets.CListView', array( 18 | 'dataProvider'=>$dataProvider, 19 | 'itemView'=>'_view', 20 | )); ?> 21 | -------------------------------------------------------------------------------- /themes/Eshopper/views/keranjangtotal.php: -------------------------------------------------------------------------------- 1 | db->createCommand($query)->query(); 7 | foreach($hasil as $data); 8 | if ($hasil > 0) 9 | { 10 | echo "".number_format($data['total'], 0, ',','.').",-"; 11 | } 12 | } 13 | 14 | ?> -------------------------------------------------------------------------------- /protected/views/barangtbl/keranjangtotal.php: -------------------------------------------------------------------------------- 1 | db->createCommand($query)->query(); 8 | foreach($hasil as $data); 9 | if ($hasil > 0) 10 | { 11 | echo "".number_format($data['total'], 0, ',','.').",-"; 12 | } 13 | } 14 | 15 | ?> -------------------------------------------------------------------------------- /protected/views/pelanggantbl/jumlah.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | $user = $username; 6 | $query = "select sum(jumlah) as jumlahitem from transaksirincitbl inner join barangtbl on barangtbl.id = transaksirincitbl.id inner join transaksitbl on transaksitbl.notransaksi = transaksirincitbl.notransaksi WHERE transaksirincitbl.username='".$user."' AND transaksitbl.status ='0'"; 7 | $hasil = Yii::app()->db->createCommand($query)->query(); 8 | foreach($hasil as $data){} 9 | if ($hasil > 0) 10 | { 11 | echo "" .number_format($data['jumlahitem'], 0, ',','.').""; 12 | } 13 | } 14 | ?> -------------------------------------------------------------------------------- /themes/Eshopper/views/layouts/jumlah.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | $user = $username; 6 | $query = "select sum(jumlah) as jumlahitem from transaksirincitbl inner join barangtbl on barangtbl.id = transaksirincitbl.id inner join transaksitbl on transaksitbl.notransaksi = transaksirincitbl.notransaksi WHERE transaksirincitbl.username='".$user."' AND transaksitbl.status ='0'"; 7 | $hasil = Yii::app()->db->createCommand($query)->query(); 8 | foreach($hasil as $data); 9 | if ($hasil > 0) 10 | { 11 | echo "" .number_format($data['jumlahitem'], 0, ',','.')"."; 12 | } 13 | } 14 | ?> -------------------------------------------------------------------------------- /protected/views/admintbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('username')); ?>: 13 | username); ?> 14 |
15 | 16 | getAttributeLabel('password')); ?>: 17 | password); ?> 18 |
19 | 20 | 21 |
-------------------------------------------------------------------------------- /protected/views/newstbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('judul')); ?>: 9 | judul), array('view', 'id'=>$data->judul)); ?> 10 |
11 | 12 | getAttributeLabel('tanggal')); ?>: 13 | tanggal); ?> 14 |
15 | 16 | getAttributeLabel('news')); ?>: 17 | news); ?> 18 |
19 | 20 | 21 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/keranjangtotal.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | $user = $username; 6 | $query = "select sum(subtotal) as total from transaksirincitbl inner join barangtbl on barangtbl.id = transaksirincitbl.id inner join transaksitbl on transaksitbl.notransaksi = transaksirincitbl.notransaksi WHERE transaksirincitbl.username='".$user."' AND transaksitbl.status ='0'"; 7 | $hasil = Yii::app()->db->createCommand($query)->query(); 8 | foreach($hasil as $data); 9 | if ($hasil > 0) 10 | { 11 | echo "Rp ".number_format($data['total'], 0, ',','.').",-"; 12 | } 13 | } 14 | 15 | ?> -------------------------------------------------------------------------------- /protected/views/barangtbl/hapus_transaksi.php: -------------------------------------------------------------------------------- 1 | db->createCommand($cek)->query(); 5 | $result =$hasil->rowCount; 6 | foreach($hasil as $data){} 7 | if ($result > 0){ 8 | $faktur =$data['notransaksi']; 9 | if(isset($_GET['id'])){$id = $_GET['id']; } 10 | $query="delete from transaksirincitbl where notransaksi = $faktur AND id =$id"; 11 | $hapus=Yii::app()->db->createCommand($query)->query(); 12 | if($query){ 13 | header("location:cart.php"); 14 | }else{ 15 | echo"Data gagal dihapus"; 16 | } 17 | } 18 | ?> -------------------------------------------------------------------------------- /protected/views/layouts/column2.php: -------------------------------------------------------------------------------- 1 | beginContent('//layouts/main'); ?> 2 |
3 |
4 |
5 | 6 |
7 |
8 |
9 |
10 | beginWidget('zii.widgets.CPortlet', array( 12 | 'title'=>'Operations', 13 | )); 14 | $this->widget('zii.widgets.CMenu', array( 15 | 'items'=>$this->menu, 16 | 'htmlOptions'=>array('class'=>'operations'), 17 | )); 18 | $this->endWidget(); 19 | ?> 20 |
21 |
22 |
23 | endContent(); ?> -------------------------------------------------------------------------------- /protected/views/transaksitbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('notransaksi')); ?>: 9 | notransaksi), array('view', 'id'=>$data->notransaksi)); ?> 10 |
11 | 12 | getAttributeLabel('username')); ?>: 13 | username); ?> 14 |
15 | 16 | getAttributeLabel('status')); ?>: 17 | status); ?> 18 |
19 | 20 | 21 |
-------------------------------------------------------------------------------- /protected/views/admintbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Admintbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Admintbl', 'url'=>array('index')), 13 | array('label'=>'Create Admintbl', 'url'=>array('create')), 14 | array('label'=>'View Admintbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Admintbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Admintbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/newstbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Newstbls'=>array('index'), 7 | $model->judul=>array('view','id'=>$model->judul), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Newstbl', 'url'=>array('index')), 13 | array('label'=>'Create Newstbl', 'url'=>array('create')), 14 | array('label'=>'View Newstbl', 'url'=>array('view', 'id'=>$model->judul)), 15 | array('label'=>'Manage Newstbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Newstbl judul; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/barangtbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Barangtbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Barangtbl', 'url'=>array('index')), 13 | array('label'=>'Create Barangtbl', 'url'=>array('create')), 14 | array('label'=>'View Barangtbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Barangtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Barangtbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/pelanggantbl/hapus_transaksi.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | $cek="Select * from transaksitbl where username = '".$user."' AND status ='0'"; 4 | $hasil = Yii::app()->db->createCommand($cek)->query(); 5 | $result =$hasil->rowCount; 6 | foreach($hasil as $data){} 7 | if ($result > 0) 8 | { 9 | $faktur =$data['notransaksi']; 10 | if(isset($_GET['id'])){$id = $_GET['id']; } 11 | $query="delete from transaksirincitbl where notransaksi = '".$faktur."' AND id ='".$id."'"; 12 | $hapus=Yii::app()->db->createCommand($query)->query(); 13 | if($query){ 14 | $this->redirect(array('cart','id'=>Yii::app()->user->name)); 15 | }else{ 16 | echo"Data gagal dihapus"; 17 | } 18 | } 19 | ?> -------------------------------------------------------------------------------- /protected/views/downloadtbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Downloadtbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Downloadtbl', 'url'=>array('index')), 13 | array('label'=>'Create Downloadtbl', 'url'=>array('create')), 14 | array('label'=>'View Downloadtbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Downloadtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Downloadtbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/kategoritbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Kategoritbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Kategoritbl', 'url'=>array('index')), 13 | array('label'=>'Create Kategoritbl', 'url'=>array('create')), 14 | array('label'=>'View Kategoritbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Kategoritbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Kategoritbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.accordion.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.accordion.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;zoom:1}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto;zoom:1} -------------------------------------------------------------------------------- /protected/views/pelanggantbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pelanggantbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Pelanggantbl', 'url'=>array('index')), 13 | array('label'=>'Create Pelanggantbl', 'url'=>array('create')), 14 | array('label'=>'View Pelanggantbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Pelanggantbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Pelanggantbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /themes/Eshopper/views/faktur.php: -------------------------------------------------------------------------------- 1 | db->createCommand($cari)->query(); 5 | foreach ($query as $hasil){} 6 | if($hasil > 0){ 7 | $faktur = $hasil['notransaksi']; 8 | }else{ 9 | $query = "insert into transaksitbl (username,status) 10 | Values ('$member','0')"; 11 | $result = Yii::app()->db->createCommand($query)->query(); 12 | 13 | $cari="select * from transaksitbl order by notransaksi desc"; 14 | $query=Yii::app()->db->createCommand($cari)->query(); 15 | foreach($queri as $hasil){} 16 | if($hasil > 0){ 17 | $faktur = $hasil['notransaksi']; 18 | } 19 | } 20 | ?> -------------------------------------------------------------------------------- /protected/views/pelanggantbl/faktur.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | $cari="select * from transaksitbl where username ='".$member."' and status ='0' order by notransaksi desc"; 4 | $query=Yii::app()->db->createCommand($cari)->query(); 5 | foreach ($query as $hasil){} 6 | if($hasil > 0){ 7 | $faktur = $hasil['notransaksi']; 8 | }else{ 9 | $query = "insert into transaksitbl (username,status) 10 | Values ('$member','0')"; 11 | $result = Yii::app()->db->createCommand($query)->query(); 12 | 13 | $cari="select * from transaksitbl order by notransaksi desc"; 14 | $query=Yii::app()->db->createCommand($cari)->query(); 15 | foreach($queri as $hasil){} 16 | if($hasil > 0){ 17 | $faktur = $hasil['notransaksi']; 18 | } 19 | } 20 | ?> -------------------------------------------------------------------------------- /assets/c32db85/detailview/styles.css: -------------------------------------------------------------------------------- 1 | table.detail-view .null 2 | { 3 | color: pink; 4 | } 5 | 6 | table.detail-view 7 | { 8 | background: white; 9 | border-collapse: collapse; 10 | width: 100%; 11 | margin: 0; 12 | } 13 | 14 | table.detail-view th, table.detail-view td 15 | { 16 | font-size: 0.9em; 17 | border: 1px white solid; 18 | padding: 0.3em 0.6em; 19 | vertical-align: top; 20 | } 21 | 22 | table.detail-view th 23 | { 24 | text-align: right; 25 | width: 160px; 26 | } 27 | 28 | table.detail-view tr.odd 29 | { 30 | background:#E5F1F4; 31 | } 32 | 33 | table.detail-view tr.even 34 | { 35 | background:#F8F8F8; 36 | } 37 | 38 | table.detail-view tr.odd th 39 | { 40 | } 41 | 42 | table.detail-view tr.even th 43 | { 44 | } 45 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Testimonialtbls'=>array('index'), 7 | $model->id=>array('view','id'=>$model->id), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Testimonialtbl', 'url'=>array('index')), 13 | array('label'=>'Create Testimonialtbl', 'url'=>array('create')), 14 | array('label'=>'View Testimonialtbl', 'url'=>array('view', 'id'=>$model->id)), 15 | array('label'=>'Manage Testimonialtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Testimonialtbl id; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/config/console.php: -------------------------------------------------------------------------------- 1 | dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 7 | 'name'=>'My Console Application', 8 | // application components 9 | 'components'=>array( 10 | 'db'=>array( 11 | 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db', 12 | ), 13 | // uncomment the following to use a MySQL database 14 | /* 15 | 'db'=>array( 16 | 'connectionString' => 'mysql:host=localhost;dbname=testdrive', 17 | 'emulatePrepare' => true, 18 | 'username' => 'root', 19 | 'password' => '', 20 | 'charset' => 'utf8', 21 | ), 22 | */ 23 | ), 24 | ); -------------------------------------------------------------------------------- /protected/views/site/index.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name; ?> 2 | 3 |

Welcome to name); ?>

4 | 5 |

Congratulations! You have successfully created your Yii application.

6 | 7 |

You may change the content of this page by modifying the following two files:

8 | 12 | 13 |

For more details on how to further develop this application, please read 14 | the documentation. 15 | Feel free to ask in the forum, 16 | should you have any questions.

-------------------------------------------------------------------------------- /protected/views/transaksitbl/update.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Transaksitbls'=>array('index'), 7 | $model->notransaksi=>array('view','id'=>$model->notransaksi), 8 | 'Update', 9 | ); 10 | 11 | $this->menu=array( 12 | array('label'=>'List Transaksitbl', 'url'=>array('index')), 13 | array('label'=>'Create Transaksitbl', 'url'=>array('create')), 14 | array('label'=>'View Transaksitbl', 'url'=>array('view', 'id'=>$model->notransaksi)), 15 | array('label'=>'Manage Transaksitbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

Update Transaksitbl notransaksi; ?>

20 | 21 | renderPartial('_form', array('model'=>$model)); ?> -------------------------------------------------------------------------------- /protected/views/downloadtbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('judul')); ?>: 13 | judul); ?> 14 |
15 | 16 | getAttributeLabel('deskripsi')); ?>: 17 | deskripsi); ?> 18 |
19 | 20 | getAttributeLabel('url')); ?>: 21 | url); ?> 22 |
23 | 24 | 25 |
-------------------------------------------------------------------------------- /protected/tests/WebTestCase.php: -------------------------------------------------------------------------------- 1 | setBrowserUrl(TEST_BASE_URL); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /protected/views/transaksitbl/kerantang_total_selesai.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | require "faktur_selesai.php"; 6 | $user = $username; 7 | $query = "select sum(subtotal) as total from transaksirincitbl inner join barangtbl on barangtbl.id = transaksirincitbl.id inner join transaksitbl on transaksitbl.notransaksi = transaksirincitbl.notransaksi WHERE transaksirincitbl.username='".$user."' AND transaksitbl.status ='1' and transaksirincitbl.notransaksi ='".$faktur."' order by transaksitbl.notransaksi desc"; 8 | $hasil = Yii::app()->db->createCommand($query)->query(); 9 | foreach($hasil as $data){} 10 | if ($hasil > 0) 11 | { 12 | echo "".number_format($data['total'], 0, ',','.').",-"; 13 | } 14 | }else{ 15 | header("location:index.php"); 16 | } 17 | ?> -------------------------------------------------------------------------------- /protected/views/pelanggantbl/kerantang_total_selesai.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | if (ISSET($username)) 4 | { 5 | include "faktur_selesai.php"; 6 | $user = Yii::app()->user->name; 7 | $query = "select sum(subtotal) as total from transaksirincitbl inner join barangtbl on barangtbl.id = transaksirincitbl.id inner join transaksitbl on transaksitbl.notransaksi = transaksirincitbl.notransaksi WHERE transaksirincitbl.username='".$user."' AND transaksitbl.status ='1' and transaksirincitbl.notransaksi ='".$faktur."' order by transaksitbl.notransaksi desc"; 8 | $hasil = Yii::app()->db->createCommand($query)->query(); 9 | foreach($hasil as $data); 10 | if ($hasil > 0) 11 | { 12 | echo "".number_format($data['total'], 0, ',','.').",-"; 13 | } 14 | }else{ 15 | header("location:index.php"); 16 | } 17 | ?> -------------------------------------------------------------------------------- /protected/views/admintbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
18 | 19 |
20 | label($model,'username'); ?> 21 | textField($model,'username',array('size'=>35,'maxlength'=>35)); ?> 22 |
23 | 24 |
25 | 26 |
27 | 28 | endWidget(); ?> 29 | 30 |
-------------------------------------------------------------------------------- /themes/Eshopper/views/cart.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
ItemPriceQuantityTotal
25 |
26 |
27 |
-------------------------------------------------------------------------------- /protected/views/kategoritbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
18 | 19 |
20 | label($model,'kategori'); ?> 21 | textField($model,'kategori',array('size'=>25,'maxlength'=>25)); ?> 22 |
23 | 24 |
25 | 26 |
27 | 28 | endWidget(); ?> 29 | 30 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/cart.php: -------------------------------------------------------------------------------- 1 |
2 |
3 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
ItemPriceQuantityTotal
25 |
26 |


27 |
-------------------------------------------------------------------------------- /themes/Eshopper/sendemail.php: -------------------------------------------------------------------------------- 1 | 'success', 5 | 'message'=>'Thank you for contact us. As early as possible we will contact you ' 6 | ); 7 | 8 | $name = @trim(stripslashes($_POST['name'])); 9 | $email = @trim(stripslashes($_POST['email'])); 10 | $subject = @trim(stripslashes($_POST['subject'])); 11 | $message = @trim(stripslashes($_POST['message'])); 12 | 13 | $email_from = $email; 14 | $email_to = 'email@email.com';//replace with your email 15 | 16 | $body = 'Name: ' . $name . "\n\n" . 'Email: ' . $email . "\n\n" . 'Subject: ' . $subject . "\n\n" . 'Message: ' . $message; 17 | 18 | $success = @mail($email_to, $subject, $body, 'From: <'.$email_from.'>'); 19 | 20 | echo json_encode($status); 21 | die; -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.spinner.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.spinner.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:none;background:none;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:none;border-bottom:none;border-right:none}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px} -------------------------------------------------------------------------------- /assets/834cd437/rating/jquery.rating.css: -------------------------------------------------------------------------------- 1 | /* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */ 2 | div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden} 3 | div.rating-cancel,div.rating-cancel a{background:url(delete.gif) no-repeat 0 -16px} 4 | div.star-rating,div.star-rating a{background:url(star.gif) no-repeat 0 0px} 5 | div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0} 6 | div.star-rating-on a{background-position:0 -16px!important} 7 | div.star-rating-hover a{background-position:0 -32px} 8 | /* Read Only CSS */ 9 | div.star-rating-readonly a{cursor:default !important} 10 | /* Partial Star CSS */ 11 | div.star-rating{background:transparent!important;overflow:hidden!important} 12 | /* END jQuery.Rating Plugin CSS */ -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.tabs.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.tabs.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-tabs{position:relative;padding:.2em;zoom:1}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:none} -------------------------------------------------------------------------------- /protected/components/WebUser.php: -------------------------------------------------------------------------------- 1 | _model===null) 8 | { 9 | if($id!==null) 10 | $this->_model=Pelanggantbl::model()->findByPk($id); 11 | } 12 | return $this->_model; 13 | } 14 | 15 | public function isAdmin() 16 | { 17 | $user = $this->loadUser(Yii::app()->user->id); 18 | if($user) 19 | { 20 | return ($user->id) == 1; 21 | } 22 | } 23 | 24 | public function isMember() 25 | { 26 | $user = $this->loadUser(Yii::app()->user->id); 27 | if($user) 28 | { 29 | return ($user->id) >= 1; 30 | } 31 | } 32 | 33 | public function notMember() 34 | { 35 | $user = $this->loadUser(Yii::app()->user->id); 36 | if($user) 37 | { 38 | return ($user->username)==null; 39 | } 40 | } 41 | } 42 | ?> -------------------------------------------------------------------------------- /protected/views/admintbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Admintbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Admintbl', 'url'=>array('index')), 12 | array('label'=>'Create Admintbl', 'url'=>array('create')), 13 | array('label'=>'Update Admintbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Admintbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Admintbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Admintbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'username', 26 | 'password', 27 | ), 28 | )); ?> 29 | -------------------------------------------------------------------------------- /protected/views/newstbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Newstbls'=>array('index'), 7 | $model->judul, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Newstbl', 'url'=>array('index')), 12 | array('label'=>'Create Newstbl', 'url'=>array('create')), 13 | array('label'=>'Update Newstbl', 'url'=>array('update', 'id'=>$model->judul)), 14 | array('label'=>'Delete Newstbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->judul),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Newstbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Newstbl #judul; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'tanggal', 25 | 'judul', 26 | 'news', 27 | ), 28 | )); ?> 29 | -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.core.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.core.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{zoom:1}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-state-disabled{cursor:default!important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%} -------------------------------------------------------------------------------- /protected/views/kategoritbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Kategoritbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Kategoritbl', 'url'=>array('index')), 12 | array('label'=>'Create Kategoritbl', 'url'=>array('create')), 13 | array('label'=>'Update Kategoritbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Kategoritbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Kategoritbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Kategoritbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'kategori', 26 | ), 27 | )); ?> 28 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('nama')); ?>: 13 | nama); ?> 14 |
15 | 16 | getAttributeLabel('email')); ?>: 17 | email); ?> 18 |
19 | 20 | getAttributeLabel('tanggal')); ?>: 21 | tanggal); ?> 22 |
23 | 24 | getAttributeLabel('testimonial')); ?>: 25 | testimonial); ?> 26 |
27 | 28 | 29 |
-------------------------------------------------------------------------------- /themes/Eshopper/views/site/login.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 18 |
19 |
20 |

OR

21 |
22 |
23 |
24 |
25 | 26 | -------------------------------------------------------------------------------- /protected/views/downloadtbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Downloadtbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Downloadtbl', 'url'=>array('index')), 12 | array('label'=>'Create Downloadtbl', 'url'=>array('create')), 13 | array('label'=>'Update Downloadtbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Downloadtbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Downloadtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Downloadtbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'judul', 26 | 'deskripsi', 27 | 'url', 28 | ), 29 | )); ?> 30 | -------------------------------------------------------------------------------- /protected/views/barangtbl/cart.php: -------------------------------------------------------------------------------- 1 | 7 |
8 |
9 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
ItemPriceQuantityTotal
31 |
32 |
33 |
-------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.resizable.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.resizable.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:0.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px} -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.slider.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.slider.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0} -------------------------------------------------------------------------------- /protected/views/newstbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'tanggal'); ?> 16 | textField($model,'tanggal'); ?> 17 |
18 | 19 |
20 | label($model,'judul'); ?> 21 | textField($model,'judul',array('size'=>50,'maxlength'=>50)); ?> 22 |
23 | 24 |
25 | label($model,'news'); ?> 26 | textArea($model,'news',array('rows'=>6, 'cols'=>50)); ?> 27 |
28 | 29 |
30 | 31 |
32 | 33 | endWidget(); ?> 34 | 35 |
-------------------------------------------------------------------------------- /protected/views/transaksitbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'notransaksi'); ?> 16 | textField($model,'notransaksi'); ?> 17 |
18 | 19 |
20 | label($model,'username'); ?> 21 | textField($model,'username',array('size'=>20,'maxlength'=>20)); ?> 22 |
23 | 24 |
25 | label($model,'status'); ?> 26 | textField($model,'status'); ?> 27 |
28 | 29 |
30 | 31 |
32 | 33 | endWidget(); ?> 34 | 35 |
-------------------------------------------------------------------------------- /assets/c32db85/listview/styles.css: -------------------------------------------------------------------------------- 1 | .list-view-loading 2 | { 3 | background:url(loading.gif) no-repeat; 4 | } 5 | 6 | .list-view .summary 7 | { 8 | margin: 0 0 5px 0; 9 | text-align: right; 10 | } 11 | 12 | .list-view .sorter 13 | { 14 | margin: 0 0 5px 0; 15 | text-align: right; 16 | } 17 | 18 | .list-view .pager 19 | { 20 | margin: 5px 0 0 0; 21 | text-align: right; 22 | } 23 | 24 | .list-view .sorter 25 | { 26 | font-size: 0.9em; 27 | } 28 | 29 | .list-view .sorter ul 30 | { 31 | display: inline; 32 | list-style-image:none; 33 | list-style-position:outside; 34 | list-style-type:none; 35 | margin:0; 36 | padding:0; 37 | } 38 | 39 | .list-view .sorter li 40 | { 41 | display: inline; 42 | margin: 0 0 0 5px; 43 | padding: 0; 44 | } 45 | 46 | .list-view .sorter a.asc 47 | { 48 | background:url(up.gif) right center no-repeat; 49 | padding-right: 10px; 50 | } 51 | 52 | .list-view .sorter a.desc 53 | { 54 | background:url(down.gif) right center no-repeat; 55 | padding-right: 10px; 56 | } 57 | -------------------------------------------------------------------------------- /protected/views/transaksitbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Transaksitbls'=>array('index'), 7 | $model->notransaksi, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Transaksitbl', 'url'=>array('index')), 12 | array('label'=>'Create Transaksitbl', 'url'=>array('create')), 13 | array('label'=>'Update Transaksitbl', 'url'=>array('update', 'id'=>$model->notransaksi)), 14 | array('label'=>'Delete Transaksitbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->notransaksi),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Transaksitbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Transaksitbl #notransaksi; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'notransaksi', 25 | 'username', 26 | 'status', 27 | ), 28 | )); ?> 29 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Testimonialtbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Testimonialtbl', 'url'=>array('index')), 12 | array('label'=>'Create Testimonialtbl', 'url'=>array('create')), 13 | array('label'=>'Update Testimonialtbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Testimonialtbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Testimonialtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Testimonialtbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'nama', 26 | 'email', 27 | 'tanggal', 28 | 'testimonial', 29 | ), 30 | )); ?> 31 | -------------------------------------------------------------------------------- /protected/views/barangtbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Barangtbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Barangtbl', 'url'=>array('index')), 12 | array('label'=>'Create Barangtbl', 'url'=>array('create')), 13 | array('label'=>'Update Barangtbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Barangtbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Barangtbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Barangtbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'nama', 26 | 'deskripsi', 27 | 'warna', 28 | 'ukuran', 29 | 'kategori', 30 | 'harga', 31 | 'stock', 32 | 'gambar', 33 | ), 34 | )); ?> 35 | -------------------------------------------------------------------------------- /protected/views/pelanggantbl/view.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pelanggantbls'=>array('index'), 7 | $model->id, 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Pelanggantbl', 'url'=>array('index')), 12 | array('label'=>'Create Pelanggantbl', 'url'=>array('create')), 13 | array('label'=>'Update Pelanggantbl', 'url'=>array('update', 'id'=>$model->id)), 14 | array('label'=>'Delete Pelanggantbl', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')), 15 | array('label'=>'Manage Pelanggantbl', 'url'=>array('admin')), 16 | ); 17 | ?> 18 | 19 |

View Pelanggantbl #id; ?>

20 | 21 | widget('zii.widgets.CDetailView', array( 22 | 'data'=>$model, 23 | 'attributes'=>array( 24 | 'id', 25 | 'nama', 26 | 'alamat', 27 | 'email', 28 | 'telepon', 29 | 'username', 30 | 'password', 31 | ), 32 | )); ?> 33 | -------------------------------------------------------------------------------- /protected/views/barangtbl/ubah_transaksi.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | $cek="Select * from transaksitbl where username = '$user' AND status ='0'"; 4 | $hasil = Yii::app()->db->createCommand($cek)->query(); 5 | $result = $hasil->rowCount; 6 | foreach($hasil as $data){} 7 | if ($result > 0){ 8 | $faktur =$data['notransaksi']; 9 | 10 | for ($i=1; $i<=$_POST['n']; $i++) 11 | { 12 | $idp = $_POST['id'.$i]; 13 | $cari2="select * from barangtbl where id='$idp'"; 14 | $hasil2=Yii::app()->db->createCommand($cari2)->query(); 15 | foreach($hasil2 as $row2){} 16 | $har=$row2['harga']; 17 | if($hasil2){ 18 | $jmlubah = $_POST['jumlah'.$i]; 19 | $totubah = $jmlubah*$har; 20 | $query = "UPDATE transaksirincitbl SET jumlah = $jmlubah, subtotal=$totubah WHERE id ='$idp' and username = '$user' And notransaksi =$faktur"; 21 | Yii::app()->db->createCommand($query)->query();; 22 | } 23 | } 24 | 25 | 26 | } 27 | $this->redirect(array('cart','id'=>Yii::app()->user->name)); 28 | ?> 29 | 30 | -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.menu.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.menu.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:none}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;zoom:1;width:100%}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;zoom:1;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right} -------------------------------------------------------------------------------- /protected/views/pelanggantbl/ubah_transaksi.php: -------------------------------------------------------------------------------- 1 | user->name; 3 | $cek="Select * from transaksitbl where username = '$user' AND status ='0'"; 4 | $hasil = Yii::app()->db->createCommand($cek)->query(); 5 | $result = $hasil->rowCount; 6 | foreach($hasil as $data){} 7 | if ($result > 0){ 8 | $faktur =$data['notransaksi']; 9 | 10 | for ($i=1; $i<=$_POST['n']; $i++) 11 | { 12 | $idp = $_POST['id'.$i]; 13 | $cari2="select * from barangtbl where id='$idp'"; 14 | $hasil2=Yii::app()->db->createCommand($cari2)->query(); 15 | foreach($hasil2 as $row2){} 16 | $har=$row2['harga']; 17 | if($hasil2){ 18 | $jmlubah = $_POST['jumlah'.$i]; 19 | $totubah = $jmlubah*$har; 20 | $query = "UPDATE transaksirincitbl SET jumlah = $jmlubah, subtotal=$totubah WHERE id ='$idp' and username = '$user' And notransaksi =$faktur"; 21 | Yii::app()->db->createCommand($query)->query();; 22 | 23 | } 24 | } 25 | 26 | 27 | } 28 | $this->redirect(array('cart','id'=>Yii::app()->user->name)); 29 | ?> 30 | 31 | -------------------------------------------------------------------------------- /assets/834cd437/autocomplete/jquery.autocomplete.css: -------------------------------------------------------------------------------- 1 | .ac_results { 2 | padding: 0px; 3 | border: 1px solid black; 4 | background-color: white; 5 | overflow: hidden; 6 | z-index: 99999; 7 | } 8 | 9 | .ac_results ul { 10 | width: 100%; 11 | list-style-position: outside; 12 | list-style: none; 13 | padding: 0; 14 | margin: 0; 15 | } 16 | 17 | .ac_results li { 18 | margin: 0px; 19 | padding: 2px 5px; 20 | cursor: default; 21 | display: block; 22 | /* 23 | if width will be 100% horizontal scrollbar will apear 24 | when scroll mode will be used 25 | */ 26 | /*width: 100%;*/ 27 | font: menu; 28 | font-size: 12px; 29 | /* 30 | it is very important, if line-height not setted or setted 31 | in relative units scroll will be broken in firefox 32 | */ 33 | line-height: 16px; 34 | overflow: hidden; 35 | } 36 | 37 | .ac_loading { 38 | background: white url('indicator.gif') right center no-repeat; 39 | } 40 | 41 | .ac_odd { 42 | background-color: #eee; 43 | } 44 | 45 | .ac_over { 46 | background-color: #0A246A; 47 | color: white; 48 | } 49 | -------------------------------------------------------------------------------- /themes/51_khaki/licence.txt: -------------------------------------------------------------------------------- 1 | KHAKI template courtesy of www.mitchinson.net (Amended on 30/04/07) 2 | ------------------- 3 | TERMS OF USE 4 | ------------------- 5 | PLEASE DO: 6 | 7 | * download and use any of these templates free of charge to create a personal/business website. 8 | * make changes to the templates to suit your needs. 9 | 10 | 11 | PLEASE DO NOT: 12 | 13 | * remove the link back to www.mitchinson.net that appears at the bottom of all of my templates. 14 | * use these templates to create a website promoting hatred against any particular race, gender, or class. 15 | * use these templates for pornographic, unlawful or other immoral purposes. 16 | * use these templates in a way that can give a bad name to www.mitchinson.net. 17 | 18 | * Selling of the templates is STRICTLY FORBIDDEN! 19 | 20 | ----------------------------------------------------------------------- 21 | Licensed under a Creative Commons Attribution 3.0 License 22 | ----------------------------------------------------------------------- 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /protected/components/Controller.php: -------------------------------------------------------------------------------- 1 | user->isAdmin()) 26 | Yii::app()->theme = 'classic'; 27 | else 28 | Yii::app()->theme = 'Eshopper'; 29 | parent::init(); 30 | } 31 | } -------------------------------------------------------------------------------- /protected/views/Kategoritbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'kategoritbl-Kategoritbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'kategori'); ?> 24 | textField($model,'kategori'); ?> 25 | error($model,'kategori'); ?> 26 |
27 | 28 | 29 |
30 | 31 |
32 | 33 | endWidget(); ?> 34 | 35 |
-------------------------------------------------------------------------------- /protected/models/ContactForm.php: -------------------------------------------------------------------------------- 1 | !CCaptcha::checkRequirements()), 28 | ); 29 | } 30 | 31 | /** 32 | * Declares customized attribute labels. 33 | * If not declared here, an attribute would have a label that is 34 | * the same as its name with the first letter in upper case. 35 | */ 36 | public function attributeLabels() 37 | { 38 | return array( 39 | 'verifyCode'=>'Verification Code', 40 | ); 41 | } 42 | } -------------------------------------------------------------------------------- /protected/views/downloadtbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
18 | 19 |
20 | label($model,'judul'); ?> 21 | textArea($model,'judul',array('rows'=>6, 'cols'=>50)); ?> 22 |
23 | 24 |
25 | label($model,'deskripsi'); ?> 26 | textArea($model,'deskripsi',array('rows'=>6, 'cols'=>50)); ?> 27 |
28 | 29 |
30 | label($model,'url'); ?> 31 | textArea($model,'url',array('rows'=>6, 'cols'=>50)); ?> 32 |
33 | 34 |
35 | 36 |
37 | 38 | endWidget(); ?> 39 | 40 |
-------------------------------------------------------------------------------- /assets/834cd437/yiitab/jquery.yiitab.css: -------------------------------------------------------------------------------- 1 | .yiiTab ul.tabs 2 | { 3 | padding: 2px 0; 4 | margin: 0; 5 | border-bottom: 1px solid #4F81BD; 6 | font: bold 12px Verdana, sans-serif; 7 | } 8 | 9 | .yiiTab ul.tabs li 10 | { 11 | list-style: none; 12 | margin: 0; 13 | display: inline; 14 | } 15 | 16 | .yiiTab ul.tabs a 17 | { 18 | -moz-border-radius-topleft:5px; 19 | -moz-border-radius-topright:5px; 20 | padding: 2px 0.5em; 21 | margin: 0 0 0 3px; 22 | border: 1px solid #4F81BD; 23 | border-bottom: none; 24 | background: #d3dfee; 25 | text-decoration: none; 26 | } 27 | 28 | .yiiTab ul.tabs a:link 29 | { 30 | color: #667; 31 | } 32 | 33 | .yiiTab ul.tabs a:visited 34 | { 35 | color: #667; 36 | } 37 | 38 | .yiiTab ul.tabs a:hover 39 | { 40 | color: #000; 41 | background: #E6F2FF; 42 | border-color: #227; 43 | } 44 | 45 | .yiiTab ul.tabs a.active 46 | { 47 | background: white; 48 | border-bottom: 1px solid white; 49 | } 50 | 51 | .yiiTab div.view 52 | { 53 | border-left: 1px solid #4F81BD; 54 | border-right: 1px solid #4F81BD; 55 | border-bottom: 1px solid #4F81BD; 56 | padding: 8px; 57 | margin: 0; 58 | } -------------------------------------------------------------------------------- /assets/9651d495/pager.css: -------------------------------------------------------------------------------- 1 | /** 2 | * CSS styles for CLinkPager. 3 | * 4 | * @author Qiang Xue 5 | * @link http://www.yiiframework.com/ 6 | * @copyright 2008-2010 Yii Software LLC 7 | * @license http://www.yiiframework.com/license/ 8 | * @since 1.0 9 | */ 10 | 11 | ul.yiiPager 12 | { 13 | font-size:11px; 14 | border:0; 15 | margin:0; 16 | padding:0; 17 | line-height:100%; 18 | display:inline; 19 | } 20 | 21 | ul.yiiPager li 22 | { 23 | display:inline; 24 | } 25 | 26 | ul.yiiPager a:link, 27 | ul.yiiPager a:visited 28 | { 29 | border:solid 1px #9aafe5; 30 | font-weight:bold; 31 | color:#0e509e; 32 | padding:1px 6px; 33 | text-decoration:none; 34 | } 35 | 36 | ul.yiiPager .page a 37 | { 38 | font-weight:normal; 39 | } 40 | 41 | ul.yiiPager a:hover 42 | { 43 | border:solid 1px #0e509e; 44 | } 45 | 46 | ul.yiiPager .selected a 47 | { 48 | background:#2e6ab1; 49 | color:#FFFFFF; 50 | font-weight:bold; 51 | } 52 | 53 | ul.yiiPager .hidden a 54 | { 55 | border:solid 1px #DEDEDE; 56 | color:#888888; 57 | } 58 | 59 | /** 60 | * Hide first and last buttons by default. 61 | */ 62 | ul.yiiPager .first, 63 | ul.yiiPager .last 64 | { 65 | display:none; 66 | } -------------------------------------------------------------------------------- /assets/834cd437/jui/css/base/jquery.ui.dialog.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.9.2 - 2012-11-23 2 | * http://jqueryui.com 3 | * Includes: jquery.ui.dialog.css 4 | * Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ 5 | .ui-dialog{position:absolute;top:0;left:0;padding:.2em;width:300px;overflow:hidden}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 16px .1em 0}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:19px;margin:-10px 0 0 0;padding:1px;height:18px}.ui-dialog .ui-dialog-titlebar-close span{display:block;margin:1px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:0}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:none;overflow:auto;zoom:1}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin:.5em 0 0 0;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:14px;height:14px;right:3px;bottom:3px}.ui-draggable .ui-dialog-titlebar{cursor:move} -------------------------------------------------------------------------------- /protected/views/kategoritbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'kategoritbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'kategori'); ?> 24 | textField($model,'kategori',array('size'=>25,'maxlength'=>25)); ?> 25 | error($model,'kategori'); ?> 26 |
27 | 28 |
29 | isNewRecord ? 'Create' : 'Save'); ?> 30 |
31 | 32 | endWidget(); ?> 33 | 34 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('nama')); ?>: 13 | nama); ?> 14 |
15 | 16 | getAttributeLabel('alamat')); ?>: 17 | alamat); ?> 18 |
19 | 20 | getAttributeLabel('email')); ?>: 21 | email); ?> 22 |
23 | 24 | getAttributeLabel('telepon')); ?>: 25 | telepon); ?> 26 |
27 | 28 | getAttributeLabel('username')); ?>: 29 | username); ?> 30 |
31 | 32 | getAttributeLabel('password')); ?>: 33 | password); ?> 34 |
35 | 36 | 37 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/_regform.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 23 |
24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /protected/views/Admintbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'admintbl-Admintbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'username'); ?> 24 | textField($model,'username'); ?> 25 | error($model,'username'); ?> 26 |
27 | 28 |
29 | labelEx($model,'password'); ?> 30 | textField($model,'password'); ?> 31 | error($model,'password'); ?> 32 |
33 | 34 | 35 |
36 | 37 |
38 | 39 | endWidget(); ?> 40 | 41 |
-------------------------------------------------------------------------------- /protected/views/Transaksitbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'transaksitbl-Transaksitbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'username'); ?> 24 | textField($model,'username'); ?> 25 | error($model,'username'); ?> 26 |
27 | 28 |
29 | labelEx($model,'status'); ?> 30 | textField($model,'status'); ?> 31 | error($model,'status'); ?> 32 |
33 | 34 | 35 |
36 | 37 |
38 | 39 | endWidget(); ?> 40 | 41 |
-------------------------------------------------------------------------------- /protected/views/testimonialtbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
18 | 19 |
20 | label($model,'nama'); ?> 21 | textField($model,'nama',array('size'=>35,'maxlength'=>35)); ?> 22 |
23 | 24 |
25 | label($model,'email'); ?> 26 | textField($model,'email',array('size'=>50,'maxlength'=>50)); ?> 27 |
28 | 29 |
30 | label($model,'tanggal'); ?> 31 | textField($model,'tanggal'); ?> 32 |
33 | 34 |
35 | label($model,'testimonial'); ?> 36 | textArea($model,'testimonial',array('rows'=>6, 'cols'=>50)); ?> 37 |
38 | 39 |
40 | 41 |
42 | 43 | endWidget(); ?> 44 | 45 |
-------------------------------------------------------------------------------- /themes/Eshopper/js/main.js: -------------------------------------------------------------------------------- 1 | /*price range*/ 2 | 3 | $('#sl2').slider(); 4 | 5 | var RGBChange = function() { 6 | $('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')') 7 | }; 8 | 9 | /*scroll to top*/ 10 | 11 | $(document).ready(function(){ 12 | $(function () { 13 | $.scrollUp({ 14 | scrollName: 'scrollUp', // Element ID 15 | scrollDistance: 300, // Distance from top/bottom before showing element (px) 16 | scrollFrom: 'top', // 'top' or 'bottom' 17 | scrollSpeed: 300, // Speed back to top (ms) 18 | easingType: 'linear', // Scroll to top easing (see http://easings.net/) 19 | animation: 'fade', // Fade, slide, none 20 | animationSpeed: 200, // Animation in speed (ms) 21 | scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object 22 | //scrollTarget: false, // Set a custom target element for scrolling to the top 23 | scrollText: '', // Text for element, can contain HTML 24 | scrollTitle: false, // Set a custom title if required. 25 | scrollImg: false, // Set true to use image 26 | activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF' 27 | zIndex: 2147483647 // Z-Index for the overlay 28 | }); 29 | }); 30 | }); 31 | -------------------------------------------------------------------------------- /assets/834cd437/jquery.yii.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery Yii plugin file. 3 | * 4 | * @author Qiang Xue 5 | * @link http://www.yiiframework.com/ 6 | * @copyright 2008-2010 Yii Software LLC 7 | * @license http://www.yiiframework.com/license/ 8 | */ 9 | 10 | ;(function($) { 11 | 12 | $.yii = { 13 | version : '1.0', 14 | 15 | submitForm : function (element, url, params) { 16 | var f = $(element).parents('form')[0]; 17 | if (!f) { 18 | f = document.createElement('form'); 19 | f.style.display = 'none'; 20 | element.parentNode.appendChild(f); 21 | f.method = 'POST'; 22 | } 23 | if (typeof url == 'string' && url != '') { 24 | f.action = url; 25 | } 26 | if (element.target != null) { 27 | f.target = element.target; 28 | } 29 | 30 | var inputs = []; 31 | $.each(params, function(name, value) { 32 | var input = document.createElement("input"); 33 | input.setAttribute("type", "hidden"); 34 | input.setAttribute("name", name); 35 | input.setAttribute("value", value); 36 | f.appendChild(input); 37 | inputs.push(input); 38 | }); 39 | 40 | // remember who triggers the form submission 41 | // this is used by jquery.yiiactiveform.js 42 | $(f).data('submitObject', $(element)); 43 | 44 | $(f).trigger('submit'); 45 | 46 | $.each(inputs, function() { 47 | f.removeChild(this); 48 | }); 49 | } 50 | }; 51 | 52 | })(jQuery); 53 | -------------------------------------------------------------------------------- /css/print.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 1.0.1 5 | http://blueprintcss.org 6 | 7 | * Copyright (c) 2007-Present. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* print.css */ 15 | body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} 16 | .container {background:none;} 17 | hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} 18 | hr.space {background:#fff;color:#fff;visibility:hidden;} 19 | h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} 20 | code {font:.9em "Courier New", Monaco, Courier, monospace;} 21 | a img {border:none;} 22 | p img.top {margin-top:0;} 23 | blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} 24 | .small {font-size:.9em;} 25 | .large {font-size:1.1em;} 26 | .quiet {color:#999;} 27 | .hide {display:none;} 28 | a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} 29 | a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;} -------------------------------------------------------------------------------- /protected/views/transaksitbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'transaksitbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'username'); ?> 24 | textField($model,'username',array('size'=>20,'maxlength'=>20)); ?> 25 | error($model,'username'); ?> 26 |
27 | 28 |
29 | labelEx($model,'status'); ?> 30 | textField($model,'status'); ?> 31 | error($model,'status'); ?> 32 |
33 | 34 |
35 | isNewRecord ? 'Create' : 'Save'); ?> 36 |
37 | 38 | endWidget(); ?> 39 | 40 |
-------------------------------------------------------------------------------- /assets/3e2c0bf7/css/print.css: -------------------------------------------------------------------------------- 1 | /* ----------------------------------------------------------------------- 2 | 3 | 4 | Blueprint CSS Framework 0.9 5 | http://blueprintcss.org 6 | 7 | * Copyright (c) 2007-Present. See LICENSE for more info. 8 | * See README for instructions on how to use Blueprint. 9 | * For credits and origins, see AUTHORS. 10 | * This is a compressed file. See the sources in the 'src' directory. 11 | 12 | ----------------------------------------------------------------------- */ 13 | 14 | /* print.css */ 15 | body {line-height:1.5;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;color:#000;background:none;font-size:10pt;} 16 | .container {background:none;} 17 | hr {background:#ccc;color:#ccc;width:100%;height:2px;margin:2em 0;padding:0;border:none;} 18 | hr.space {background:#fff;color:#fff;visibility:hidden;} 19 | h1, h2, h3, h4, h5, h6 {font-family:"Helvetica Neue", Arial, "Lucida Grande", sans-serif;} 20 | code {font:.9em "Courier New", Monaco, Courier, monospace;} 21 | a img {border:none;} 22 | p img.top {margin-top:0;} 23 | blockquote {margin:1.5em;padding:1em;font-style:italic;font-size:.9em;} 24 | .small {font-size:.9em;} 25 | .large {font-size:1.1em;} 26 | .quiet {color:#999;} 27 | .hide {display:none;} 28 | a:link, a:visited {background:transparent;font-weight:700;text-decoration:underline;} 29 | a:link:after, a:visited:after {content:" (" attr(href) ")";font-size:90%;} -------------------------------------------------------------------------------- /assets/834cd437/jquery.yiitab.js: -------------------------------------------------------------------------------- 1 | /** 2 | * jQuery Yii plugin file. 3 | * 4 | * @author Qiang Xue 5 | * @link http://www.yiiframework.com/ 6 | * @copyright 2008-2010 Yii Software LLC 7 | * @license http://www.yiiframework.com/license/ 8 | */ 9 | 10 | ;(function($) { 11 | 12 | $.extend($.fn, { 13 | yiitab: function() { 14 | 15 | function activate(id) { 16 | var pos = id.indexOf("#"); 17 | if (pos>=0) { 18 | id = id.substring(pos); 19 | } 20 | var $tab=$(id); 21 | var $container=$tab.parent(); 22 | $container.find('>ul a').removeClass('active'); 23 | $container.find('>ul a[href="'+id+'"]').addClass('active'); 24 | $container.children('div').hide(); 25 | $tab.show(); 26 | } 27 | 28 | this.find('>ul a').click(function(event) { 29 | var href=$(this).attr('href'); 30 | var pos=href.indexOf('#'); 31 | activate(href); 32 | if(pos==0 || (pos>0 && (window.location.pathname=='' || window.location.pathname==href.substring(0,pos)))) 33 | return false; 34 | }); 35 | 36 | // activate a tab based on the current anchor 37 | var url = decodeURI(window.location); 38 | var pos = url.indexOf("#"); 39 | if (pos >= 0) { 40 | var id = url.substring(pos); 41 | if (this.find('>ul a[href="'+id+'"]').length > 0) { 42 | activate(id); 43 | return; 44 | } 45 | } 46 | } 47 | }); 48 | 49 | })(jQuery); 50 | -------------------------------------------------------------------------------- /protected/views/admintbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'admintbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'username'); ?> 24 | textField($model,'username',array('size'=>35,'maxlength'=>35)); ?> 25 | error($model,'username'); ?> 26 |
27 | 28 |
29 | labelEx($model,'password'); ?> 30 | textArea($model,'password',array('rows'=>6, 'cols'=>50)); ?> 31 | error($model,'password'); ?> 32 |
33 | 34 |
35 | isNewRecord ? 'Create' : 'Save'); ?> 36 |
37 | 38 | endWidget(); ?> 39 | 40 |
-------------------------------------------------------------------------------- /protected/views/site/login.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - Login'; 3 | $this->breadcrumbs=array( 4 | 'Login', 5 | ); 6 | ?> 7 | 8 |

Login

9 | 10 |

Please fill out the following form with your login credentials:

11 | 12 |
13 | beginWidget('CActiveForm', array( 14 | 'id'=>'login-form', 15 | 'enableClientValidation'=>true, 16 | 'clientOptions'=>array( 17 | 'validateOnSubmit'=>true, 18 | ), 19 | )); ?> 20 | 21 |

Fields with * are required.

22 | 23 |
24 | labelEx($model,'username'); ?> 25 | textField($model,'username'); ?> 26 | error($model,'username'); ?> 27 |
28 | 29 |
30 | labelEx($model,'password'); ?> 31 | passwordField($model,'password'); ?> 32 | error($model,'password'); ?> 33 |

34 | Hint: You may login with demo/demo or admin/admin. 35 |

36 |
37 | 38 |
39 | checkBox($model,'rememberMe'); ?> 40 | label($model,'rememberMe'); ?> 41 | error($model,'rememberMe'); ?> 42 |
43 | 44 |
45 | 46 |
47 | 48 | endWidget(); ?> 49 |
50 | -------------------------------------------------------------------------------- /protected/views/barangtbl/produk.php: -------------------------------------------------------------------------------- 1 | findByPk('id'); 3 | $id = $_GET['id']; 4 | $query = "select * from barangtbl where id = '".$id."'"; 5 | $hasil = Yii::app()->db->createCommand($query)->query(); 6 | $temukan = $hasil->rowCount; 7 | foreach($hasil as $data){} 8 | if($temukan==0){ 9 | }else{ 10 | ?> 11 | 12 | 13 |
14 |
15 |
16 |
17 |

18 |
19 |
20 | 21 | 22 |
23 |
24 |



25 | 26 |

27 |

28 |

29 | 30 |

33 |
34 |
35 |
36 |
37 |
38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /protected/views/Newstbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'newstbl-Newstbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'tanggal'); ?> 24 | textField($model,'tanggal'); ?> 25 | error($model,'tanggal'); ?> 26 |
27 | 28 |
29 | labelEx($model,'judul'); ?> 30 | textField($model,'judul'); ?> 31 | error($model,'judul'); ?> 32 |
33 | 34 |
35 | labelEx($model,'news'); ?> 36 | textField($model,'news'); ?> 37 | error($model,'news'); ?> 38 |
39 | 40 | 41 |
42 | 43 |
44 | 45 | endWidget(); ?> 46 | 47 |
-------------------------------------------------------------------------------- /protected/views/barangtbl/_view.php: -------------------------------------------------------------------------------- 1 | 5 | 6 |
7 | 8 | getAttributeLabel('id')); ?>: 9 | id), array('view', 'id'=>$data->id)); ?> 10 |
11 | 12 | getAttributeLabel('nama')); ?>: 13 | nama); ?> 14 |
15 | 16 | getAttributeLabel('deskripsi')); ?>: 17 | deskripsi); ?> 18 |
19 | 20 | getAttributeLabel('warna')); ?>: 21 | warna); ?> 22 |
23 | 24 | getAttributeLabel('ukuran')); ?>: 25 | ukuran); ?> 26 |
27 | 28 | getAttributeLabel('kategori')); ?>: 29 | kategori); ?> 30 |
31 | 32 | getAttributeLabel('harga')); ?>: 33 | harga); ?> 34 |
35 | 36 | getAttributeLabel('stock')); ?>: 38 | stock); ?> 39 |
40 | 41 | getAttributeLabel('gambar')); ?>: 42 | gambar); ?> 43 |
44 | 45 | */ ?> 46 | 47 |
-------------------------------------------------------------------------------- /protected/views/Downloadtbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'downloadtbl-Downloadtbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'judul'); ?> 24 | textField($model,'judul'); ?> 25 | error($model,'judul'); ?> 26 |
27 | 28 |
29 | labelEx($model,'deskripsi'); ?> 30 | textField($model,'deskripsi'); ?> 31 | error($model,'deskripsi'); ?> 32 |
33 | 34 |
35 | labelEx($model,'url'); ?> 36 | textField($model,'url'); ?> 37 | error($model,'url'); ?> 38 |
39 | 40 | 41 |
42 | 43 |
44 | 45 | endWidget(); ?> 46 | 47 |
-------------------------------------------------------------------------------- /protected/views/pelanggantbl/_search.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'action'=>Yii::app()->createUrl($this->route), 11 | 'method'=>'get', 12 | )); ?> 13 | 14 |
15 | label($model,'id'); ?> 16 | textField($model,'id'); ?> 17 |
18 | 19 |
20 | label($model,'nama'); ?> 21 | textField($model,'nama',array('size'=>35,'maxlength'=>35)); ?> 22 |
23 | 24 |
25 | label($model,'alamat'); ?> 26 | textArea($model,'alamat',array('rows'=>6, 'cols'=>50)); ?> 27 |
28 | 29 |
30 | label($model,'email'); ?> 31 | textArea($model,'email',array('rows'=>6, 'cols'=>50)); ?> 32 |
33 | 34 |
35 | label($model,'telepon'); ?> 36 | textField($model,'telepon',array('size'=>25,'maxlength'=>25)); ?> 37 |
38 | 39 |
40 | label($model,'username'); ?> 41 | textField($model,'username',array('size'=>20,'maxlength'=>20)); ?> 42 |
43 | 44 |
45 | 46 |
47 | 48 | endWidget(); ?> 49 | 50 |
-------------------------------------------------------------------------------- /protected/views/newstbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Newstbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Newstbl', 'url'=>array('index')), 12 | array('label'=>'Create Newstbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#newstbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Newstbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'newstbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'tanggal', 49 | 'judul', 50 | 'news', 51 | array( 52 | 'class'=>'CButtonColumn', 53 | ), 54 | ), 55 | )); ?> 56 | -------------------------------------------------------------------------------- /protected/views/admintbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Admintbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Admintbl', 'url'=>array('index')), 12 | array('label'=>'Create Admintbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#admintbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Admintbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'admintbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'username', 50 | 'password', 51 | array( 52 | 'class'=>'CButtonColumn', 53 | ), 54 | ), 55 | )); ?> 56 | -------------------------------------------------------------------------------- /protected/views/kategoritbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Kategoritbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Kategoritbl', 'url'=>array('index')), 12 | array('label'=>'Create Kategoritbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#kategoritbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Kategoritbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'kategoritbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'kategori', 50 | array( 51 | 'class'=>'CButtonColumn', 52 | ), 53 | ), 54 | )); ?> 55 | -------------------------------------------------------------------------------- /protected/views/downloadtbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Downloadtbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Downloadtbl', 'url'=>array('index')), 12 | array('label'=>'Create Downloadtbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#downloadtbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Downloadtbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'downloadtbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'judul', 50 | 'deskripsi', 51 | 'url', 52 | array( 53 | 'class'=>'CButtonColumn', 54 | ), 55 | ), 56 | )); ?> 57 | -------------------------------------------------------------------------------- /protected/views/transaksitbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Transaksitbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Transaksitbl', 'url'=>array('index')), 12 | array('label'=>'Create Transaksitbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#transaksitbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Transaksitbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'transaksitbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'notransaksi', 49 | 'username', 50 | 'status', 51 | array( 52 | 'class'=>'CButtonColumn', 53 | ), 54 | ), 55 | )); ?> 56 | -------------------------------------------------------------------------------- /protected/components/UserIdentity.php: -------------------------------------------------------------------------------- 1 | password 14 | 'demo'=>'demo', 15 | 'admin'=>'admin', 16 | ); 17 | if(!isset($users[$this->username])) 18 | $this->errorCode=self::ERROR_USERNAME_INVALID; 19 | else if($users[$this->username]!==$this->password) 20 | $this->errorCode=self::ERROR_PASSWORD_INVALID; 21 | else 22 | $this->errorCode=self::ERROR_NONE; 23 | return !$this->errorCode; 24 | }*/ 25 | private $_id; 26 | public function authenticate() 27 | { 28 | $model = new Pelanggantbl; 29 | $user= $model->findByAttributes(array('username'=>$this->username)); 30 | if($user===null){ 31 | $this->errorCode=self::ERROR_USERNAME_INVALID; 32 | }else{ 33 | if($user->password != ($user->result($this->password))){ 34 | $this->errorCode=self::ERROR_PASSWORD_INVALID; 35 | }else{ 36 | $this->_id = $user->id; 37 | $this->username = $user->username; 38 | $this->errorCode=self::ERROR_NONE; 39 | } 40 | } 41 | return !$this->errorCode; 42 | } 43 | 44 | public function getId() { 45 | return $this->_id; 46 | } 47 | } -------------------------------------------------------------------------------- /protected/views/newstbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'newstbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'tanggal'); ?> 24 | textField($model,'tanggal'); ?> 25 | error($model,'tanggal'); ?> 26 |
27 | 28 |
29 | labelEx($model,'judul'); ?> 30 | textField($model,'judul',array('size'=>50,'maxlength'=>50)); ?> 31 | error($model,'judul'); ?> 32 |
33 | 34 |
35 | labelEx($model,'news'); ?> 36 | textArea($model,'news',array('rows'=>6, 'cols'=>50)); ?> 37 | error($model,'news'); ?> 38 |
39 | 40 |
41 | isNewRecord ? 'Create' : 'Save'); ?> 42 |
43 | 44 | endWidget(); ?> 45 | 46 |
-------------------------------------------------------------------------------- /protected/tests/functional/SiteTest.php: -------------------------------------------------------------------------------- 1 | open(''); 8 | $this->assertTextPresent('Welcome'); 9 | } 10 | 11 | public function testContact() 12 | { 13 | $this->open('?r=site/contact'); 14 | $this->assertTextPresent('Contact Us'); 15 | $this->assertElementPresent('name=ContactForm[name]'); 16 | 17 | $this->type('name=ContactForm[name]','tester'); 18 | $this->type('name=ContactForm[email]','tester@example.com'); 19 | $this->type('name=ContactForm[subject]','test subject'); 20 | $this->click("//input[@value='Submit']"); 21 | $this->assertTextPresent('Body cannot be blank.'); 22 | } 23 | 24 | public function testLoginLogout() 25 | { 26 | $this->open(''); 27 | // ensure the user is logged out 28 | if($this->isTextPresent('Logout')) 29 | $this->clickAndWait('link=Logout (demo)'); 30 | 31 | // test login process, including validation 32 | $this->clickAndWait('link=Login'); 33 | $this->assertElementPresent('name=LoginForm[username]'); 34 | $this->type('name=LoginForm[username]','demo'); 35 | $this->click("//input[@value='Login']"); 36 | $this->assertTextPresent('Password cannot be blank.'); 37 | $this->type('name=LoginForm[password]','demo'); 38 | $this->clickAndWait("//input[@value='Login']"); 39 | $this->assertTextNotPresent('Password cannot be blank.'); 40 | $this->assertTextPresent('Logout'); 41 | 42 | // test logout process 43 | $this->assertTextNotPresent('Login'); 44 | $this->clickAndWait('link=Logout (demo)'); 45 | $this->assertTextPresent('Login'); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /protected/views/downloadtbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'downloadtbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'judul'); ?> 24 | textArea($model,'judul',array('rows'=>6, 'cols'=>50)); ?> 25 | error($model,'judul'); ?> 26 |
27 | 28 |
29 | labelEx($model,'deskripsi'); ?> 30 | textArea($model,'deskripsi',array('rows'=>6, 'cols'=>50)); ?> 31 | error($model,'deskripsi'); ?> 32 |
33 | 34 |
35 | labelEx($model,'url'); ?> 36 | textArea($model,'url',array('rows'=>6, 'cols'=>50)); ?> 37 | error($model,'url'); ?> 38 |
39 | 40 |
41 | isNewRecord ? 'Create' : 'Save'); ?> 42 |
43 | 44 | endWidget(); ?> 45 | 46 |
-------------------------------------------------------------------------------- /protected/views/testimonialtbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Testimonialtbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Testimonialtbl', 'url'=>array('index')), 12 | array('label'=>'Create Testimonialtbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#testimonialtbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Testimonialtbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'testimonialtbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'nama', 50 | 'email', 51 | 'tanggal', 52 | 'testimonial', 53 | array( 54 | 'class'=>'CButtonColumn', 55 | ), 56 | ), 57 | )); ?> 58 | -------------------------------------------------------------------------------- /themes/Eshopper/views/ambilcart.php: -------------------------------------------------------------------------------- 1 | findByPk('id'); 3 | $id = $_GET['id']; 4 | $cari_barang="select * from barangtbl where id=$id"; 5 | $hasil_barang=Yii::app()->db->createCommand($cari_barang)->query(); 6 | foreach($hasil_barang as $data_barang){} 7 | $ciri=$data_barang['id']; 8 | $nam=$data_barang['nama']; 9 | $har=$data_barang['harga']; 10 | $member = Yii::app()->user->name; 11 | if($hasil_barang){ 12 | require("faktur.php"); 13 | $cari_transaksi="select * from transaksirincitbl where username='".$member."' AND id = '".$id."' and notransaksi ='".$faktur."'"; 14 | $hasil_transaksi=Yii::app()->db->createCommand($cari_transaksi)->query(); 15 | $temukan = $hasil_transaksi->rowCount; 16 | foreach($hasil_transaksi as $data_transaksi){} 17 | if($temukan==0){ 18 | $query = "insert into transaksirincitbl (notransaksi,username,id,nama,harga,jumlah,subtotal) 19 | Values ('$faktur','$member', '$ciri','$nam', '$har', '1', '$har')"; 20 | $result = Yii::app()->db->createCommand($query)->query(); 21 | header("location:http://localhost/tokoonline/index.php?r=site/cart"); 22 | }else{ 23 | $jmllama = $data_transaksi['jumlah']; 24 | $jmltambah = $jmllama + 1; 25 | $subtotaltambah = $jmltambah * $har; 26 | $query = "update transaksirincitbl set jumlah = '".$jmltambah."',subtotal = '".$subtotaltambah."' where notransaksi ='".$faktur."' and id ='".$id."'"; 27 | $result=Yii::app()->db->createCommand($query)->query(); 28 | header("location:http://localhost/tokoonline/index.php?r=site/cart"); 29 | } 30 | }else{ 31 | echo"Data gagal diInput..!"; 32 | } 33 | } 34 | ?> 35 | -------------------------------------------------------------------------------- /protected/views/pelanggantbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Pelanggantbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Pelanggantbl', 'url'=>array('index')), 12 | array('label'=>'Create Pelanggantbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#pelanggantbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Pelanggantbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'pelanggantbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'nama', 50 | 'alamat', 51 | 'email', 52 | 'telepon', 53 | 'username', 54 | /* 55 | 'password', 56 | */ 57 | array( 58 | 'class'=>'CButtonColumn', 59 | ), 60 | ), 61 | )); ?> 62 | -------------------------------------------------------------------------------- /protected/views/barangtbl/admin.php: -------------------------------------------------------------------------------- 1 | breadcrumbs=array( 6 | 'Barangtbls'=>array('index'), 7 | 'Manage', 8 | ); 9 | 10 | $this->menu=array( 11 | array('label'=>'List Barangtbl', 'url'=>array('index')), 12 | array('label'=>'Create Barangtbl', 'url'=>array('create')), 13 | ); 14 | 15 | Yii::app()->clientScript->registerScript('search', " 16 | $('.search-button').click(function(){ 17 | $('.search-form').toggle(); 18 | return false; 19 | }); 20 | $('.search-form form').submit(function(){ 21 | $('#barangtbl-grid').yiiGridView('update', { 22 | data: $(this).serialize() 23 | }); 24 | return false; 25 | }); 26 | "); 27 | ?> 28 | 29 |

Manage Barangtbls

30 | 31 |

32 | You may optionally enter a comparison operator (<, <=, >, >=, <> 33 | or =) at the beginning of each of your search values to specify how the comparison should be done. 34 |

35 | 36 | 'search-button')); ?> 37 | 42 | 43 | widget('zii.widgets.grid.CGridView', array( 44 | 'id'=>'barangtbl-grid', 45 | 'dataProvider'=>$model->search(), 46 | 'filter'=>$model, 47 | 'columns'=>array( 48 | 'id', 49 | 'nama', 50 | 'deskripsi', 51 | 'warna', 52 | 'ukuran', 53 | 'kategori', 54 | /* 55 | 'harga', 56 | 'stock', 57 | 'gambar', 58 | */ 59 | array( 60 | 'class'=>'CButtonColumn', 61 | ), 62 | ), 63 | )); ?> 64 | -------------------------------------------------------------------------------- /protected/views/pelanggantbl/ambilcart.php: -------------------------------------------------------------------------------- 1 | db->createCommand($cari_barang)->query(); 6 | foreach($hasil_barang as $data_barang){} 7 | $ciri=$data_barang['id']; 8 | $nam=$data_barang['nama']; 9 | $har=$data_barang['harga']; 10 | $member = Yii::app()->user->name; 11 | if (ISSET($member)) 12 | { 13 | if($hasil_barang){ 14 | require("faktur.php"); 15 | $cari_transaksi="select * from transaksirincitbl where username='".$member."' AND id = '".$id."' and notransaksi ='".$faktur."'"; 16 | $hasil_transaksi=Yii::app()->db->createCommand($cari_transaksi)->query(); 17 | $temukan = $hasil_transaksi->rowCount; 18 | foreach($hasil_transaksi as $data_transaksi){ 19 | } 20 | if($temukan==0){ 21 | $query = "insert into transaksirincitbl (notransaksi,username,id,nama,harga,jumlah,subtotal) 22 | Values ('$faktur','$member', '$ciri','$nam', '$har', '1', '$har')"; 23 | $result = Yii::app()->db->createCommand($query)->query(); 24 | $this->redirect(array('cart','id'=>Yii::app()->user->name)); 25 | }else{ 26 | $jmllama = $data_transaksi['jumlah']; 27 | $jmltambah = $jmllama + 1; 28 | $subtotaltambah = $jmltambah * $har; 29 | $query = "update transaksirincitbl set jumlah = '".$jmltambah."',subtotal = '".$subtotaltambah."' where notransaksi ='".$faktur."' and id ='".$id."'"; 30 | $result=Yii::app()->db->createCommand($query)->query(); 31 | $this->redirect(array('cart','id'=>Yii::app()->user->name)); 32 | } 33 | 34 | }else{ 35 | echo"Data gagal diInput..!"; 36 | } 37 | } 38 | else 39 | { 40 | $this->redirect(array('site/index')); 41 | } 42 | ?> 43 | -------------------------------------------------------------------------------- /assets/834cd437/jquery.treeview.edit.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | var CLASSES = $.treeview.classes; 3 | var proxied = $.fn.treeview; 4 | $.fn.treeview = function(settings) { 5 | settings = $.extend({}, settings); 6 | if (settings.add) { 7 | return this.trigger("add", [settings.add]); 8 | } 9 | if (settings.remove) { 10 | return this.trigger("remove", [settings.remove]); 11 | } 12 | return proxied.apply(this, arguments).bind("add", function(event, branches) { 13 | $(branches).prev() 14 | .removeClass(CLASSES.last) 15 | .removeClass(CLASSES.lastCollapsable) 16 | .removeClass(CLASSES.lastExpandable) 17 | .find(">.hitarea") 18 | .removeClass(CLASSES.lastCollapsableHitarea) 19 | .removeClass(CLASSES.lastExpandableHitarea); 20 | $(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings, $(this).data("toggler")); 21 | }).bind("remove", function(event, branches) { 22 | var prev = $(branches).prev(); 23 | var parent = $(branches).parent(); 24 | $(branches).remove(); 25 | prev.filter(":last-child").addClass(CLASSES.last) 26 | .filter("." + CLASSES.expandable).replaceClass(CLASSES.last, CLASSES.lastExpandable).end() 27 | .find(">.hitarea").replaceClass(CLASSES.expandableHitarea, CLASSES.lastExpandableHitarea).end() 28 | .filter("." + CLASSES.collapsable).replaceClass(CLASSES.last, CLASSES.lastCollapsable).end() 29 | .find(">.hitarea").replaceClass(CLASSES.collapsableHitarea, CLASSES.lastCollapsableHitarea); 30 | if (parent.is(":not(:has(>))") && parent[0] != this) { 31 | parent.parent().removeClass(CLASSES.collapsable).removeClass(CLASSES.expandable); 32 | parent.siblings(".hitarea").andSelf().remove(); 33 | } 34 | }); 35 | }; 36 | 37 | })(jQuery); -------------------------------------------------------------------------------- /protected/views/Testimonialtbl.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'testimonialtbl-Testimonialtbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // See class documentation of CActiveForm for details on this, 14 | // you need to use the performAjaxValidation()-method described there. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'nama'); ?> 24 | textField($model,'nama'); ?> 25 | error($model,'nama'); ?> 26 |
27 | 28 |
29 | labelEx($model,'email'); ?> 30 | textField($model,'email'); ?> 31 | error($model,'email'); ?> 32 |
33 | 34 |
35 | labelEx($model,'tanggal'); ?> 36 | textField($model,'tanggal'); ?> 37 | error($model,'tanggal'); ?> 38 |
39 | 40 |
41 | labelEx($model,'testimonial'); ?> 42 | textField($model,'testimonial'); ?> 43 | error($model,'testimonial'); ?> 44 |
45 | 46 | 47 |
48 | 49 |
50 | 51 | endWidget(); ?> 52 | 53 |
-------------------------------------------------------------------------------- /themes/Eshopper/views/layouts/tpl_header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Home | E-Shopper 7 | theme->baseUrl; 9 | $cs = Yii::app()->getClientScript(); 10 | Yii::app()->clientScript->registerCoreScript('jquery'); 11 | ?> 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /protected/views/testimonialtbl/_form.php: -------------------------------------------------------------------------------- 1 | 6 | 7 |
8 | 9 | beginWidget('CActiveForm', array( 10 | 'id'=>'testimonialtbl-form', 11 | // Please note: When you enable ajax validation, make sure the corresponding 12 | // controller action is handling ajax validation correctly. 13 | // There is a call to performAjaxValidation() commented in generated controller code. 14 | // See class documentation of CActiveForm for details on this. 15 | 'enableAjaxValidation'=>false, 16 | )); ?> 17 | 18 |

Fields with * are required.

19 | 20 | errorSummary($model); ?> 21 | 22 |
23 | labelEx($model,'nama'); ?> 24 | textField($model,'nama',array('size'=>35,'maxlength'=>35)); ?> 25 | error($model,'nama'); ?> 26 |
27 | 28 |
29 | labelEx($model,'email'); ?> 30 | textField($model,'email',array('size'=>50,'maxlength'=>50)); ?> 31 | error($model,'email'); ?> 32 |
33 | 34 |
35 | labelEx($model,'tanggal'); ?> 36 | textField($model,'tanggal'); ?> 37 | error($model,'tanggal'); ?> 38 |
39 | 40 |
41 | labelEx($model,'testimonial'); ?> 42 | textArea($model,'testimonial',array('rows'=>6, 'cols'=>50)); ?> 43 | error($model,'testimonial'); ?> 44 |
45 | 46 |
47 | isNewRecord ? 'Create' : 'Save'); ?> 48 |
49 | 50 | endWidget(); ?> 51 | 52 |
-------------------------------------------------------------------------------- /assets/834cd437/jquery.bgiframe.js: -------------------------------------------------------------------------------- 1 | /*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) 2 | * Licensed under the MIT License (LICENSE.txt). 3 | * 4 | * Version 2.1.2 5 | */ 6 | 7 | (function($){ 8 | 9 | $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { 10 | s = $.extend({ 11 | top : 'auto', // auto == .currentStyle.borderTopWidth 12 | left : 'auto', // auto == .currentStyle.borderLeftWidth 13 | width : 'auto', // auto == offsetWidth 14 | height : 'auto', // auto == offsetHeight 15 | opacity : true, 16 | src : 'javascript:false;' 17 | }, s); 18 | var html = '