├── .buildpath ├── .gitignore ├── .htaccess ├── .project ├── LICENSE ├── README.md ├── application ├── .htaccess ├── cache │ ├── .htaccess │ └── index.html ├── config │ ├── autoload.php │ ├── config.php │ ├── constants.php │ ├── database.php │ ├── doctypes.php │ ├── foreign_chars.php │ ├── hooks.php │ ├── index.html │ ├── memcached.php │ ├── migration.php │ ├── mimes.php │ ├── profiler.php │ ├── routes.php │ ├── smileys.php │ └── user_agents.php ├── controllers │ ├── Article.php │ ├── Cart.php │ ├── Home.php │ ├── Info.php │ ├── Order.php │ ├── Page.php │ ├── Product.php │ ├── Upload.php │ ├── User.php │ ├── Welcome.php │ ├── admin │ │ ├── Category.php │ │ ├── Dashboard.php │ │ ├── Order.php │ │ ├── Page.php │ │ ├── Product.php │ │ ├── Resize.php │ │ └── User.php │ ├── index.html │ └── shop │ │ ├── Category.php │ │ └── Product.php ├── core │ ├── MY_Controller.php │ ├── MY_Loader.php │ └── index.html ├── helpers │ ├── index.html │ └── shop_helper.php ├── hooks │ └── index.html ├── index.html ├── language │ ├── english │ │ └── index.html │ └── index.html ├── libraries │ ├── Firephp.php │ ├── Paginationlib.php │ ├── REST_Ongkir.php │ ├── Simpleimage.php │ ├── Uploadhandler.php │ └── index.html ├── logs │ └── index.html ├── models │ ├── Mcart.php │ ├── Mcategory.php │ ├── Mcategory_article.php │ ├── Mcustomer.php │ ├── Mhome.php │ ├── Minfo.php │ ├── Mmenu.php │ ├── Morder.php │ ├── Mpage.php │ ├── Mpasar.php │ ├── Mproduct.php │ ├── Muser.php │ ├── admin │ │ └── Mdashboard.php │ └── index.html ├── third_party │ └── index.html └── views │ ├── admin │ ├── admin_template │ │ ├── admin_footer.php │ │ ├── admin_header.php │ │ └── admin_sidebar.php │ ├── blank.php │ ├── category.php │ ├── category_list.php │ ├── dashboard.php │ ├── dashboard2.php │ ├── info.php │ ├── list_info.php │ ├── list_page_admin.php │ ├── order.php │ ├── order_details.php │ ├── page_admin.php │ ├── product.php │ ├── product_list.php │ ├── product_success.php │ ├── user.php │ └── user_list.php │ ├── errors │ ├── cli │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ ├── html │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_exception.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ └── index.html │ ├── home.php │ ├── index.html │ ├── shop │ ├── address.php │ ├── basket_list.php │ ├── blank.php │ ├── cart_list.php │ ├── categories.php │ ├── category.php │ ├── jne.php │ ├── jne_track.php │ ├── list_page.php │ ├── login.php │ ├── page │ │ ├── about.php │ │ ├── article.php │ │ ├── collaboration.php │ │ ├── contact.php │ │ ├── create-account.php │ │ ├── login.php │ │ ├── page.php │ │ ├── promo.php │ │ └── stockist.php │ ├── product.php │ ├── product0.php │ ├── product_detail.php │ ├── products.php │ ├── register.php │ ├── shop_template │ │ ├── index.html │ │ ├── shop_footer.php │ │ └── shop_header.php │ └── template │ │ ├── b002.php │ │ ├── b002_detail.php │ │ ├── b002_new.php │ │ ├── b021.php │ │ ├── product_old.php │ │ └── test.php │ ├── upload │ ├── delete_success.php │ └── upload_success.php │ └── welcome_message.php ├── assets ├── .gitignore ├── css │ ├── AdminLTE.css │ ├── AdminLTE.min.css │ ├── accordion.css │ ├── adminlte.css │ ├── blue.css │ ├── bootstrap-theme.css │ ├── bootstrap-theme.css.map │ ├── bootstrap-theme.min.css │ ├── bootstrap.css │ ├── bootstrap.css.map │ ├── bootstrap.min.css │ ├── bootstrap3-wysihtml5.min.css │ ├── campaign.css │ ├── carousel.css │ ├── custom.css │ ├── datepicker3.css │ ├── daterangepicker-bs3.css │ ├── flexslider.css │ ├── font-awesome.css │ ├── font-awesome.min.css │ ├── idangerous.swiper.css │ ├── ionicons.min.css │ ├── jquery-jvectormap-1.2.2.css │ ├── jquery-ui.css │ ├── jquery-ui.min.css │ ├── jquery.fileupload-ui.css │ ├── jquery.fileupload.css │ ├── jquery.ui.widget.js │ ├── memenu.css │ ├── menu.css │ ├── morris.css │ ├── navbar-fixed-top.css │ ├── normalize.css │ ├── skeleton.css │ ├── skins │ │ ├── _all-skins.css │ │ ├── _all-skins.min.css │ │ ├── skin-black-light.css │ │ ├── skin-black-light.min.css │ │ ├── skin-black.css │ │ ├── skin-black.min.css │ │ ├── skin-blue-light.css │ │ ├── skin-blue-light.min.css │ │ ├── skin-blue.css │ │ ├── skin-blue.min.css │ │ ├── skin-green-light.css │ │ ├── skin-green-light.min.css │ │ ├── skin-green.css │ │ ├── skin-green.min.css │ │ ├── skin-purple-light.css │ │ ├── skin-purple-light.min.css │ │ ├── skin-purple.css │ │ ├── skin-purple.min.css │ │ ├── skin-red-light.css │ │ ├── skin-red-light.min.css │ │ ├── skin-red.css │ │ ├── skin-red.min.css │ │ ├── skin-yellow-light.css │ │ ├── skin-yellow-light.min.css │ │ ├── skin-yellow.css │ │ └── skin-yellow.min.css │ ├── slide.css │ ├── style.css │ └── tab.css ├── db │ ├── alter.sql │ └── gogreen.sql ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ ├── fontawesome-webfont.woff2 │ ├── fontawesome.otf │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.svg │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ ├── glyphicons-halflings-regular.woff2 │ ├── ionicons.eot │ ├── ionicons.svg │ ├── ionicons.ttf │ └── ionicons.woff ├── img │ ├── Thumbs.db │ ├── banner.jpg │ ├── cart2-2.png │ ├── cart2.png │ ├── close.png │ ├── close_1.png │ ├── co.png │ ├── f1.jpg │ ├── f2.jpg │ ├── f3.jpg │ ├── h1.png │ ├── img-sprite1.png │ ├── n1.jpg │ ├── n2.jpg │ ├── n3.jpg │ ├── n4.jpg │ ├── n5.jpg │ ├── n6.jpg │ ├── n7.jpg │ ├── n8.jpg │ ├── pa.png │ ├── pi10.jpg │ ├── pi2.jpg │ ├── pi3.jpg │ ├── pi4.jpg │ ├── pi5.jpg │ ├── pi6.jpg │ ├── pi7.jpg │ ├── pi8.jpg │ ├── pi9.jpg │ ├── product.jpg │ ├── product1.jpg │ ├── product2.jpg │ ├── quotes.png │ ├── s1.jpg │ ├── s12.jpeg │ ├── s2.jpg │ ├── s3.jpeg │ ├── si.jpg │ ├── si1.jpeg │ ├── si2.jpeg │ ├── si3.jpeg │ ├── to-top1.png │ ├── user2-160x160.jpg │ ├── user3-128x128.jpg │ ├── user4-128x128.jpg │ ├── user5-128x128.jpg │ ├── user6-128x128.jpg │ ├── user7-128x128.jpg │ ├── user8-128x128.jpg │ ├── xbanner.jpg │ ├── xpi2.jpg │ ├── xpi3.jpg │ └── xpi4.jpg ├── js │ ├── Chart.min.js │ ├── app.js │ ├── app.min.js │ ├── bootstrap-datepicker.js │ ├── bootstrap.js │ ├── bootstrap.min.js │ ├── bootstrap3-wysihtml5.all.min.js │ ├── canvas-to-blob.min.js │ ├── chart.min.js │ ├── customize.min.js │ ├── dashboard.js │ ├── dashboard2.js │ ├── daterangepicker.js │ ├── demo.js │ ├── docs.min.js │ ├── easing.js │ ├── easyResponsiveTabs.js │ ├── fastclick.min.js │ ├── html5shiv.min.js │ ├── idangerous.swiper.min.js │ ├── ie-emulation-modes-warning.js │ ├── ie10-viewport-bug-workaround.js │ ├── ie8-responsive-file-warning.js │ ├── jackston.js │ ├── jquery-1.11.3.min.js │ ├── jquery-2.1.4.min.js │ ├── jquery-jvectormap-1.2.2.css │ ├── jquery-jvectormap-1.2.2.min.js │ ├── jquery-jvectormap-world-mill-en.js │ ├── jquery-ui.min.js │ ├── jquery.blockUI.js │ ├── jquery.easydropdown.js │ ├── jquery.fileupload-angular.js │ ├── jquery.fileupload-audio.js │ ├── jquery.fileupload-image.js │ ├── jquery.fileupload-jquery-ui.js │ ├── jquery.fileupload-process.js │ ├── jquery.fileupload-ui.js │ ├── jquery.fileupload-validate.js │ ├── jquery.fileupload-video.js │ ├── jquery.fileupload.js │ ├── jquery.flexslider.js │ ├── jquery.iframe-transport.js │ ├── jquery.knob.js │ ├── jquery.min.js │ ├── jquery.price_format.2.0.min.js │ ├── jquery.slimscroll.min.js │ ├── jquery.sparkline.min.js │ ├── jquery.ui.widget.js │ ├── jquery.wipetouch.js │ ├── load-image.all.min.js │ ├── main.js │ ├── memenu.js │ ├── modernizr.custom.js │ ├── moment.min.js │ ├── morris.min.js │ ├── move-top.js │ ├── mustache.min.js │ ├── npm.js │ ├── pages │ │ ├── dashboard.js │ │ └── dashboard2.js │ ├── product.js │ ├── raphael-min.js │ ├── raw-files.min.js │ ├── respond.min.js │ ├── responsiveslides.min.js │ ├── shop.js │ ├── simpleCart.min.js │ ├── simplecart.min.js │ ├── src │ │ ├── application.js │ │ └── customizer.js │ ├── upload.js │ └── vendor │ │ ├── Blob.js │ │ ├── FileSaver.js │ │ ├── ZeroClipboard.min.js │ │ ├── anchor.js │ │ ├── autoprefixer.js │ │ ├── blob.js │ │ ├── filesaver.js │ │ ├── holder.min.js │ │ ├── jquery.min.js │ │ ├── jszip.min.js │ │ ├── less.min.js │ │ ├── uglify.min.js │ │ └── zeroclipboard.min.js └── php │ ├── index.php │ └── resize.php ├── composer.json ├── contributing.md ├── index.php ├── license.txt ├── readme.rst ├── shop-access_log ├── shop-error_log ├── system ├── .htaccess ├── core │ ├── Benchmark.php │ ├── CodeIgniter.php │ ├── Common.php │ ├── Config.php │ ├── Controller.php │ ├── Exceptions.php │ ├── Hooks.php │ ├── Input.php │ ├── Lang.php │ ├── Loader.php │ ├── Log.php │ ├── Model.php │ ├── Output.php │ ├── Router.php │ ├── Security.php │ ├── URI.php │ ├── Utf8.php │ ├── compat │ │ ├── hash.php │ │ ├── index.html │ │ ├── mbstring.php │ │ ├── password.php │ │ └── standard.php │ └── index.html ├── database │ ├── DB.php │ ├── DB_cache.php │ ├── DB_driver.php │ ├── DB_forge.php │ ├── DB_query_builder.php │ ├── DB_result.php │ ├── DB_utility.php │ ├── drivers │ │ ├── cubrid │ │ │ ├── cubrid_driver.php │ │ │ ├── cubrid_forge.php │ │ │ ├── cubrid_result.php │ │ │ ├── cubrid_utility.php │ │ │ └── index.html │ │ ├── ibase │ │ │ ├── ibase_driver.php │ │ │ ├── ibase_forge.php │ │ │ ├── ibase_result.php │ │ │ ├── ibase_utility.php │ │ │ └── index.html │ │ ├── index.html │ │ ├── mssql │ │ │ ├── index.html │ │ │ ├── mssql_driver.php │ │ │ ├── mssql_forge.php │ │ │ ├── mssql_result.php │ │ │ └── mssql_utility.php │ │ ├── mysql │ │ │ ├── index.html │ │ │ ├── mysql_driver.php │ │ │ ├── mysql_forge.php │ │ │ ├── mysql_result.php │ │ │ └── mysql_utility.php │ │ ├── mysqli │ │ │ ├── index.html │ │ │ ├── mysqli_driver.php │ │ │ ├── mysqli_forge.php │ │ │ ├── mysqli_result.php │ │ │ └── mysqli_utility.php │ │ ├── oci8 │ │ │ ├── index.html │ │ │ ├── oci8_driver.php │ │ │ ├── oci8_forge.php │ │ │ ├── oci8_result.php │ │ │ └── oci8_utility.php │ │ ├── odbc │ │ │ ├── index.html │ │ │ ├── odbc_driver.php │ │ │ ├── odbc_forge.php │ │ │ ├── odbc_result.php │ │ │ └── odbc_utility.php │ │ ├── pdo │ │ │ ├── index.html │ │ │ ├── pdo_driver.php │ │ │ ├── pdo_forge.php │ │ │ ├── pdo_result.php │ │ │ ├── pdo_utility.php │ │ │ └── subdrivers │ │ │ │ ├── index.html │ │ │ │ ├── pdo_4d_driver.php │ │ │ │ ├── pdo_4d_forge.php │ │ │ │ ├── pdo_cubrid_driver.php │ │ │ │ ├── pdo_cubrid_forge.php │ │ │ │ ├── pdo_dblib_driver.php │ │ │ │ ├── pdo_dblib_forge.php │ │ │ │ ├── pdo_firebird_driver.php │ │ │ │ ├── pdo_firebird_forge.php │ │ │ │ ├── pdo_ibm_driver.php │ │ │ │ ├── pdo_ibm_forge.php │ │ │ │ ├── pdo_informix_driver.php │ │ │ │ ├── pdo_informix_forge.php │ │ │ │ ├── pdo_mysql_driver.php │ │ │ │ ├── pdo_mysql_forge.php │ │ │ │ ├── pdo_oci_driver.php │ │ │ │ ├── pdo_oci_forge.php │ │ │ │ ├── pdo_odbc_driver.php │ │ │ │ ├── pdo_odbc_forge.php │ │ │ │ ├── pdo_pgsql_driver.php │ │ │ │ ├── pdo_pgsql_forge.php │ │ │ │ ├── pdo_sqlite_driver.php │ │ │ │ ├── pdo_sqlite_forge.php │ │ │ │ ├── pdo_sqlsrv_driver.php │ │ │ │ └── pdo_sqlsrv_forge.php │ │ ├── postgre │ │ │ ├── index.html │ │ │ ├── postgre_driver.php │ │ │ ├── postgre_forge.php │ │ │ ├── postgre_result.php │ │ │ └── postgre_utility.php │ │ ├── sqlite │ │ │ ├── index.html │ │ │ ├── sqlite_driver.php │ │ │ ├── sqlite_forge.php │ │ │ ├── sqlite_result.php │ │ │ └── sqlite_utility.php │ │ ├── sqlite3 │ │ │ ├── index.html │ │ │ ├── sqlite3_driver.php │ │ │ ├── sqlite3_forge.php │ │ │ ├── sqlite3_result.php │ │ │ └── sqlite3_utility.php │ │ └── sqlsrv │ │ │ ├── index.html │ │ │ ├── sqlsrv_driver.php │ │ │ ├── sqlsrv_forge.php │ │ │ ├── sqlsrv_result.php │ │ │ └── sqlsrv_utility.php │ └── index.html ├── fonts │ ├── index.html │ └── texb.ttf ├── helpers │ ├── array_helper.php │ ├── captcha_helper.php │ ├── cookie_helper.php │ ├── date_helper.php │ ├── directory_helper.php │ ├── download_helper.php │ ├── email_helper.php │ ├── file_helper.php │ ├── form_helper.php │ ├── html_helper.php │ ├── index.html │ ├── inflector_helper.php │ ├── language_helper.php │ ├── number_helper.php │ ├── path_helper.php │ ├── security_helper.php │ ├── smiley_helper.php │ ├── string_helper.php │ ├── text_helper.php │ ├── typography_helper.php │ ├── url_helper.php │ └── xml_helper.php ├── index.html ├── language │ ├── english │ │ ├── calendar_lang.php │ │ ├── date_lang.php │ │ ├── db_lang.php │ │ ├── email_lang.php │ │ ├── form_validation_lang.php │ │ ├── ftp_lang.php │ │ ├── imglib_lang.php │ │ ├── index.html │ │ ├── migration_lang.php │ │ ├── number_lang.php │ │ ├── pagination_lang.php │ │ ├── profiler_lang.php │ │ ├── unit_test_lang.php │ │ └── upload_lang.php │ └── index.html └── libraries │ ├── Cache │ ├── Cache.php │ ├── drivers │ │ ├── Cache_apc.php │ │ ├── Cache_dummy.php │ │ ├── Cache_file.php │ │ ├── Cache_memcached.php │ │ ├── Cache_redis.php │ │ ├── Cache_wincache.php │ │ └── index.html │ └── index.html │ ├── Calendar.php │ ├── Cart.php │ ├── Driver.php │ ├── Email.php │ ├── Encrypt.php │ ├── Encryption.php │ ├── Form_validation.php │ ├── Ftp.php │ ├── Image_lib.php │ ├── Javascript.php │ ├── Javascript │ ├── Jquery.php │ └── index.html │ ├── Migration.php │ ├── Pagination.php │ ├── Parser.php │ ├── Profiler.php │ ├── Session │ ├── Session.php │ ├── SessionHandlerInterface.php │ ├── Session_driver.php │ ├── drivers │ │ ├── Session_database_driver.php │ │ ├── Session_files_driver.php │ │ ├── Session_memcached_driver.php │ │ ├── Session_redis_driver.php │ │ └── index.html │ └── index.html │ ├── Table.php │ ├── Trackback.php │ ├── Typography.php │ ├── Unit_test.php │ ├── Upload.php │ ├── User_agent.php │ ├── Xmlrpc.php │ ├── Xmlrpcs.php │ ├── Zip.php │ └── index.html └── test.php /.buildpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #ignore this configuration if not working add this "git rm -r --cached ." "git add ." "git commit -m 'fixed'" 2 | /shop-access_log 3 | /shop-error_log 4 | application/config/database* 5 | application/config/config.php 6 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | # !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading 4 | # slashes. 5 | # If your page resides at 6 | # http://www.example.com/mypage/test1 7 | # then use 8 | # RewriteBase /mypage/test1/ 9 | RewriteBase / 10 | RewriteCond %{REQUEST_FILENAME} !-f 11 | RewriteCond %{REQUEST_FILENAME} !-d 12 | RewriteRule ^(.*)$ index.php?/$1 [L] 13 | 14 | 15 | 16 | # If we don't have mod_rewrite installed, all 404's 17 | # can be sent to index.php, and everything works as normal. 18 | # Submitted by: ElliotHaughin 19 | 20 | ErrorDocument 404 /index.php 21 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | shop 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.wst.validation.validationbuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.dltk.core.scriptbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.php.core.PHPNature 21 | 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Simple Ecommerce 2 | Ecommerce / online shop using PHP 5.5, Codeigniter 3.0, Bootstrap 3.3.5, JQuery 2.1.4, Font Awesome 4.4.0 and some Bootstrap Template 3 | 4 | 5 | ## Demo 6 | http://www.jackstonofficial.com -------------------------------------------------------------------------------- /application/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/doctypes.php: -------------------------------------------------------------------------------- 1 | '', 6 | 'xhtml1-strict' => '', 7 | 'xhtml1-trans' => '', 8 | 'xhtml1-frame' => '', 9 | 'xhtml-basic11' => '', 10 | 'html5' => '', 11 | 'html4-strict' => '', 12 | 'html4-trans' => '', 13 | 'html4-frame' => '', 14 | 'mathml1' => '', 15 | 'mathml2' => '', 16 | 'svg10' => '', 17 | 'svg11' => '', 18 | 'svg11-basic' => '', 19 | 'svg11-tiny' => '', 20 | 'xhtml-math-svg-xh' => '', 21 | 'xhtml-math-svg-sh' => '', 22 | 'xhtml-rdfa-1' => '', 23 | 'xhtml-rdfa-2' => '' 24 | ); 25 | -------------------------------------------------------------------------------- /application/config/foreign_chars.php: -------------------------------------------------------------------------------- 1 | 'ae', 14 | '/ö|œ/' => 'oe', 15 | '/ü/' => 'ue', 16 | '/Ä/' => 'Ae', 17 | '/Ü/' => 'Ue', 18 | '/Ö/' => 'Oe', 19 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', 20 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', 21 | '/Б/' => 'B', 22 | '/б/' => 'b', 23 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', 24 | '/ç|ć|ĉ|ċ|č/' => 'c', 25 | '/Д/' => 'D', 26 | '/д/' => 'd', 27 | '/Ð|Ď|Đ|Δ/' => 'Dj', 28 | '/ð|ď|đ|δ/' => 'dj', 29 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', 30 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', 31 | '/Ф/' => 'F', 32 | '/ф/' => 'f', 33 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', 34 | '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', 35 | '/Ĥ|Ħ/' => 'H', 36 | '/ĥ|ħ/' => 'h', 37 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', 38 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', 39 | '/Ĵ/' => 'J', 40 | '/ĵ/' => 'j', 41 | '/Ķ|Κ|К/' => 'K', 42 | '/ķ|κ|к/' => 'k', 43 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', 44 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', 45 | '/М/' => 'M', 46 | '/м/' => 'm', 47 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', 48 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', 49 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', 50 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', 51 | '/П/' => 'P', 52 | '/п/' => 'p', 53 | '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', 54 | '/ŕ|ŗ|ř|ρ|р/' => 'r', 55 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', 56 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', 57 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', 58 | '/ț|ţ|ť|ŧ|т/' => 't', 59 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', 60 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', 61 | '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', 62 | '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', 63 | '/В/' => 'V', 64 | '/в/' => 'v', 65 | '/Ŵ/' => 'W', 66 | '/ŵ/' => 'w', 67 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', 68 | '/ź|ż|ž|ζ|з/' => 'z', 69 | '/Æ|Ǽ/' => 'AE', 70 | '/ß/' => 'ss', 71 | '/IJ/' => 'IJ', 72 | '/ij/' => 'ij', 73 | '/Œ/' => 'OE', 74 | '/ƒ/' => 'f', 75 | '/ξ/' => 'ks', 76 | '/π/' => 'p', 77 | '/β/' => 'v', 78 | '/μ/' => 'm', 79 | '/ψ/' => 'ps', 80 | '/Ё/' => 'Yo', 81 | '/ё/' => 'yo', 82 | '/Є/' => 'Ye', 83 | '/є/' => 'ye', 84 | '/Ї/' => 'Yi', 85 | '/Ж/' => 'Zh', 86 | '/ж/' => 'zh', 87 | '/Х/' => 'Kh', 88 | '/х/' => 'kh', 89 | '/Ц/' => 'Ts', 90 | '/ц/' => 'ts', 91 | '/Ч/' => 'Ch', 92 | '/ч/' => 'ch', 93 | '/Ш/' => 'Sh', 94 | '/ш/' => 'sh', 95 | '/Щ/' => 'Shch', 96 | '/щ/' => 'shch', 97 | '/Ъ|ъ|Ь|ь/' => '', 98 | '/Ю/' => 'Yu', 99 | '/ю/' => 'yu', 100 | '/Я/' => 'Ya', 101 | '/я/' => 'ya' 102 | ); 103 | -------------------------------------------------------------------------------- /application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

Directory access is forbidden.

9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/config/memcached.php: -------------------------------------------------------------------------------- 1 | array( 15 | 'hostname' => '127.0.0.1', 16 | 'port' => '11211', 17 | 'weight' => '1', 18 | ), 19 | ); 20 | -------------------------------------------------------------------------------- /application/config/profiler.php: -------------------------------------------------------------------------------- 1 | my_controller/index 50 | | my-controller/my-method -> my_controller/my_method 51 | */ 52 | 53 | 54 | $route['upload'] = 'upload/do_upload'; 55 | 56 | $route['product/(:any)'] = 'product/cat/$1'; 57 | $route['admin/product/list'] = 'admin/product/product_list'; 58 | $route['admin/product/list/(:num)'] = 'admin/product/product_list/$1'; 59 | $route['admin/product/list/(:any)'] = 'admin/product/product_list/$1'; 60 | $route['admin/product/list/(:any)/(:any)'] = 'admin/product/product_list/$1/$2'; 61 | $route['admin/category/list'] = 'admin/category/category_list'; 62 | $route['admin/user/list'] = 'admin/user/user_list'; 63 | $route['cart/list'] = 'cart/cart_list'; 64 | #$route['cart/'] = 'basket/'; 65 | $route['admin'] = 'admin/dashboard/home'; 66 | $route['dashboard'] = 'admin/dashboard/home'; 67 | 68 | 69 | $route['default_controller'] = 'home'; 70 | $route['404_override'] = ''; 71 | $route['translate_uri_dashes'] = FALSE; 72 | -------------------------------------------------------------------------------- /application/controllers/Article.php: -------------------------------------------------------------------------------- 1 | load->model('mpage', TRUE); 12 | $this->mpage = new MPage(); 13 | } 14 | 15 | public function index() { 16 | $this->list_article(); 17 | } 18 | 19 | public function list_article() { 20 | echo 'list'; 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /application/controllers/Home.php: -------------------------------------------------------------------------------- 1 | load->model('mhome'); 10 | $this->mhome = new MHome(); 11 | $this->load->model('mproduct'); 12 | $this->mproduct = new MProduct(); 13 | } 14 | 15 | public function index() { 16 | $this->show(); 17 | } 18 | 19 | public function show() { 20 | $data['title'] = 'Home'; 21 | $data['products'] = $this->mproduct->getAllProductCat($cat=NULL,4); 22 | $this->load->shop_template('home', $data); 23 | } 24 | 25 | public function promo() { 26 | $data['title'] = 'Promo'; 27 | $this->load->shop_template('shop/promo', $data); 28 | } 29 | 30 | public function info() { 31 | phpinfo(); 32 | } 33 | } -------------------------------------------------------------------------------- /application/controllers/Info.php: -------------------------------------------------------------------------------- 1 | load->model('minfo'); 10 | $this->minfo = new minfo(); 11 | } 12 | 13 | public function index(){ 14 | $this->get_all(); 15 | } 16 | 17 | public function get_all(){ 18 | $order = $this->minfo->getAllInfo(); 19 | header('Access-Control-Allow-Headers: Content-Type'); 20 | header('Access-Control-Allow-Methods: GET, POST, OPTIONS'); 21 | header('Access-Control-Allow-Origin: *'); 22 | echo json_encode($order); 23 | } 24 | } -------------------------------------------------------------------------------- /application/controllers/Page.php: -------------------------------------------------------------------------------- 1 | load->model('mpage', TRUE); 12 | $this->mpage = new MPage(); 13 | } 14 | 15 | public function index() { 16 | $this->list_page(); 17 | } 18 | 19 | public function list_page(){ 20 | $data['title'] = "List Page"; 21 | $data['pages'] = $this->mpage->listPage(); 22 | $this->load->template('shop/list_page', $data); 23 | } 24 | 25 | public function get($slug) { 26 | $data['title'] = $slug; 27 | $data['page'] = $this->mpage->getPage($slug); 28 | $this->load->template('shop/page', $data); 29 | } 30 | 31 | public function get_id($page_id) { 32 | $data['title'] = "Page"; 33 | $data['page'] = $this->mpage->getPageId($page_id); 34 | $this->load->template('shop/page', $data); 35 | } 36 | 37 | public function promo() { 38 | $data['title'] = "Promo"; 39 | $this->load->shop_template('shop/page/promo', $data); 40 | } 41 | 42 | public function login() { 43 | $data['title'] = "Login"; 44 | $this->load->shop_template($this->folder.'login', $data); 45 | } 46 | 47 | public function contact() { 48 | $data['title'] = "contact"; 49 | $this->load->shop_template($this->folder.'contact', $data); 50 | } 51 | 52 | public function stockist() { 53 | $data['title'] = "Stockist"; 54 | $this->load->shop_template($this->folder.'stockist', $data); 55 | } 56 | 57 | // public function back_in_stock() { 58 | // $data['title'] = "Stockist"; 59 | // $this->load->shop_template($this->folder.'back_in_stock', $data); 60 | // } 61 | 62 | public function collaboration() { 63 | $data['title'] = "contact"; 64 | $this->load->shop_template($this->folder.'collaboration', $data); 65 | 66 | } 67 | 68 | 69 | } -------------------------------------------------------------------------------- /application/controllers/Product.php: -------------------------------------------------------------------------------- 1 | load->controller('page', 'admin'); 15 | $this->load->model('mhome'); 16 | $this->load->model('mproduct'); 17 | $this->mhome = new MHome(); 18 | $this->mproduct = new MProduct(); 19 | } 20 | 21 | public function index() { 22 | $this->cat('tanaman-hias'); 23 | } 24 | 25 | public function calling() { 26 | echo 'calling'; 27 | $this->page = new Page(); 28 | $this->page->list_page(); 29 | } 30 | 31 | public function detail($id) { 32 | $data['title'] = 'Details'; 33 | $data['product'] = $this->mproduct->getProduct($id); 34 | $data['images'] = $this->mproduct->getAllProductImg($id); 35 | $this->load->shop_template('shop/product_detail', $data); 36 | } 37 | 38 | public function cat($cat = NULL, $page = NULL) { 39 | $this->load->library('pagination'); 40 | $data['title'] = "Product"; 41 | $config['base_url'] = site_url() . 'product/cat/' . $cat; 42 | $config['total_rows'] = $this->mproduct->countAllProductCat($cat); 43 | // echo $config['total_rows'];exit; 44 | $config['per_page'] = "16"; 45 | // $config["uri_segment"] = 3; 46 | $choice = $config["total_rows"] / $config["per_page"]; 47 | $config["num_links"] = floor($choice); 48 | // config for bootstrap pagination class integration 49 | $config['full_tag_open'] = ''; 51 | $config['first_link'] = false; 52 | $config['last_link'] = false; 53 | $config['first_tag_open'] = '
  • '; 54 | $config['first_tag_close'] = '
  • '; 55 | $config['prev_link'] = '«'; 56 | $config['prev_tag_open'] = ''; 58 | $config['next_link'] = '»'; 59 | $config['next_tag_open'] = '
  • '; 60 | $config['next_tag_close'] = '
  • '; 61 | $config['last_tag_open'] = '
  • '; 62 | $config['last_tag_close'] = '
  • '; 63 | $config['cur_tag_open'] = '
  • '; 64 | $config['cur_tag_close'] = '
  • '; 65 | $config['num_tag_open'] = '
  • '; 66 | $config['num_tag_close'] = '
  • '; 67 | $this->pagination->initialize($config); 68 | $data['page'] = ($page) ? $page : 0; 69 | $data['product'] = $this->mproduct->getAllProductCat($cat, $config["per_page"], $page); 70 | $data['mproduct'] = $this->mproduct; 71 | $data['sizes'] = $this->mproduct->getProductSize(); 72 | $data['pagination'] = $this->pagination->create_links(); 73 | $this->load->shop_template('shop/product', $data); 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /application/controllers/Welcome.php: -------------------------------------------------------------------------------- 1 | 19 | * @see http://codeigniter.com/user_guide/general/urls.html 20 | */ 21 | public function index() 22 | { 23 | $this->load->view('welcome_message'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /application/controllers/admin/Category.php: -------------------------------------------------------------------------------- 1 | mcategory = new MCategory(); 14 | $this->mproduct = new MProduct(); 15 | } 16 | 17 | /** Redirect to product_list 18 | * 19 | */ 20 | public function index() { 21 | $this->category_list(); 22 | } 23 | 24 | /** List All Product 25 | * 26 | * @param string Category slug 27 | */ 28 | public function category_list() { 29 | $data['title'] = "Admin Category List"; 30 | $data['getAll'] = $this->mcategory->getAllCategories(); 31 | $this->load->admin_template('admin/category_list', $data); 32 | 33 | } 34 | 35 | /** 36 | * For Insert View 37 | * And execute insert 38 | */ 39 | public function insert() { 40 | $data['title'] = "Admin Create Category"; 41 | $data['action'] = 'insert'; 42 | $post = $this->input->post(); 43 | if ($post) { 44 | $post['slug'] = $this->mcategory->checkSlug($post['category_name']); 45 | $insertCategoryId = $this->mcategory->insertCategory($post); 46 | redirect(site_url() . 'admin/category/category_list'); 47 | } 48 | $this->load->admin_template('admin/category', $data); 49 | } 50 | 51 | /** 52 | * For Edit / Update Product 53 | * 54 | * @param int $id 55 | */ 56 | public function update($id = NULL) { 57 | $data['title'] = "Admin Edit Category"; 58 | $data['action'] = 'update'; 59 | $post = $this->input->post(); 60 | if ($post) { 61 | print_r($post); 62 | $this->mcategory->updateCategory($post, $post['category_id']); 63 | redirect(site_url() . 'admin/category/category_list'); 64 | } else { 65 | $data['category'] = $this->mcategory->getCategory($id); 66 | $this->load->admin_template('admin/category', $data); 67 | } 68 | } 69 | 70 | } -------------------------------------------------------------------------------- /application/controllers/admin/Dashboard.php: -------------------------------------------------------------------------------- 1 | load->model('admin/mdashboard'); 10 | $this->mdashboard = new MDashboard(); 11 | $this->mproduct = new MProduct(); 12 | $this->mcategory = new MCategory(); 13 | } 14 | 15 | public function index() { 16 | $this->home(); 17 | } 18 | 19 | public function home() { 20 | $data['title'] = "Dashboard Admin"; 21 | $data['chart'] = true; 22 | $data['version'] = null; 23 | $data['productDraft'] = $this->mproduct->getProductDraft(); 24 | if (! $data['productDraft']) { 25 | $dataDraft['name'] = 'draft'; 26 | $insertProductId = $this->mproduct->insertQuickProduct($dataDraft); 27 | $dataImgDraft['product_id'] = $insertProductId; 28 | $dataImgDraft['name'] = 'draft'; 29 | // $insertProductImageId = $this->mproduct->insertQuickProductImg($dataImgDraft); 30 | $data['productDraft'] = $this->mproduct->getLatestProductDraft($insertProductId); 31 | $data['productImgDraft'] = null; 32 | } 33 | $data['productImgDraft'] = $this->mproduct->getProductImgDraft($data['productDraft']->product_id); 34 | $data['categories'] = $this->mcategory->getAllCategories(); 35 | $this->load->admin_template('admin/dashboard', $data); 36 | } 37 | 38 | public function insert_quick_product() { 39 | $post = $this->input->post(); 40 | unset($post['_wysihtml5_mode']); 41 | // print_r($post); 42 | $post['slug'] = $this->checkSlug($post['name']); 43 | $this->mproduct->editProduct($post, $post['product_id']); 44 | // echo json_encode($post); 45 | $this->insert_draft_product(); 46 | } 47 | 48 | public function insert_draft_product() { 49 | $post = $this->input->post(); 50 | $dataDraft['name'] = 'draft'; 51 | $product_id = $this->mproduct->insertQuickProduct($dataDraft); 52 | $dataImgDraft['product_id'] = $product_id; 53 | $dataImgDraft['name'] = 'draft'; 54 | // $image_id = $this->mproduct->insertQuickProductImg($dataImgDraft); 55 | $data['product_id'] = $product_id; 56 | $data['image_id'] = null; 57 | echo json_encode($data); 58 | } 59 | 60 | public function checkSlug($slug) { 61 | $slugify = slugify($slug); 62 | $checkSlug = $this->mproduct->checkSlug($slug); 63 | if ($checkSlug) { 64 | return $checkSlug; 65 | } else { 66 | return $slugify; 67 | } 68 | } 69 | 70 | public function other(){ 71 | $data['title'] = "None"; 72 | $data['version'] = 2; 73 | $data['chart'] = true; 74 | $this->load->admin_template('admin/dashboard2', $data); 75 | 76 | } 77 | 78 | } -------------------------------------------------------------------------------- /application/controllers/admin/Order.php: -------------------------------------------------------------------------------- 1 | mcategory = new MCategory(); 10 | $this->mproduct = new MProduct(); 11 | $this->morder = new MOrder(); 12 | $this->muser = new MUser(); 13 | } 14 | 15 | public function index() { 16 | $this->get_all_new(); 17 | } 18 | 19 | /** Get User Confirm Checktou 20 | * 21 | */ 22 | public function get_all_new() { 23 | $data['title'] = "List Order New"; 24 | $data['getAll'] = $this->morder->getAllNewOrder(); 25 | $this->load->admin_template('admin/order', $data); 26 | } 27 | 28 | /** Get User Draft Cart 29 | * 30 | */ 31 | public function get_all_draft() { 32 | $data['title'] = "List Order Draft"; 33 | $data['getAll'] = $this->morder->getAllDraftOrder(); 34 | $this->load->admin_template('admin/order', $data); 35 | } 36 | 37 | /** Last History Transcation 38 | * 39 | */ 40 | public function get_all_done() { 41 | $data['title'] = "List Order History"; 42 | $data['getAll'] = $this->morder->getAllDoneOrder(); 43 | $this->load->admin_template('admin/order', $data); 44 | } 45 | 46 | /** View Details Order 47 | * @param unknown $order_id 48 | */ 49 | public function detail($order_id) { 50 | $data['title'] = "Admin Order Details"; 51 | $data['user'] = $this->muser->getUserOrderId($order_id); 52 | $data['allOrder'] = $this->morder->getOrderItem($order_id); 53 | $this->load->admin_template('admin/order_details', $data); 54 | } 55 | 56 | /** Confirm if payment recieved 57 | * @param unknown $order_id 58 | */ 59 | public function confirm($order_id) { 60 | $order_id = $post['order_id']; 61 | $data['action'] = '1'; 62 | $this->morder->updateOrder($data, $order_id); 63 | } 64 | 65 | } -------------------------------------------------------------------------------- /application/controllers/admin/Page.php: -------------------------------------------------------------------------------- 1 | load->model('mpage', TRUE); 10 | $this->mpage = new MPage(); 11 | } 12 | 13 | public function index() { 14 | $this->list_page(); 15 | } 16 | 17 | public function list_page(){ 18 | $data['title'] = "List Page"; 19 | $data['pages'] = $this->mpage->listPage(); 20 | $this->load->admin_template('admin/list_page_admin', $data); 21 | } 22 | 23 | public function add() { 24 | $data['title'] = "Add Page"; 25 | $this->load->admin_template('shop/page_admin', $data); 26 | } 27 | 28 | public function update($page_id) { 29 | $data['title'] = "Page"; 30 | $data['page'] = $this->mpage->getPageId($page_id); 31 | $this->load->admin_template('shop/page_admin', $data); 32 | } 33 | 34 | 35 | } -------------------------------------------------------------------------------- /application/controllers/admin/Resize.php: -------------------------------------------------------------------------------- 1 | load->model('mproduct', TRUE); 10 | $this->mproduct = new MProduct(); 11 | } 12 | 13 | public function index() { 14 | $this->testing(); 15 | } 16 | 17 | public function testing() { 18 | echo 'testing'; 19 | } 20 | 21 | public function resize_all($ori, $new) { 22 | $this->load->library('image_lib'); 23 | $config['image_library'] = 'gd2'; 24 | $config['source_image'] = $ori; 25 | $config['create_thumb'] = false; 26 | $config['file_permissions'] = 0777; 27 | $config['maintain_ratio'] = TRUE; 28 | list($width, $height) = getimagesize($config['source_image']); 29 | $this->mproduct->resize_all($config, $new, min_percent($width,10), min_percent($height,10), 85, $type="ori"); 30 | $this->mproduct->resize_all($config, $new, 460, 460, 85, $type="small"); 31 | $this->mproduct->resize_all($config, $new, 200, 200, 85, $type="thumb"); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /application/controllers/admin/User.php: -------------------------------------------------------------------------------- 1 | muser = new MUser(); 14 | $this->mproduct = new MProduct(); 15 | } 16 | 17 | /** Redirect to product_list 18 | * 19 | */ 20 | public function index() { 21 | $this->user_list(); 22 | } 23 | 24 | /** List All Product 25 | * 26 | * @param string Category slug 27 | */ 28 | public function user_list() { 29 | $data['title'] = "Admin Category List"; 30 | $data['getAll'] = $this->muser->getAllUser(); 31 | $this->load->admin_template('admin/user_list', $data); 32 | 33 | } 34 | 35 | /** 36 | * For Insert View 37 | * And execute insert 38 | */ 39 | public function insert() { 40 | $data['title'] = "Admin Create Category"; 41 | $data['action'] = 'insert'; 42 | $post = $this->input->post(); 43 | if ($post) { 44 | $insertCategoryId = $this->muser->insertUser($post); 45 | redirect(site_url() . 'admin/user/user_list'); 46 | } 47 | $this->load->admin_template('admin/user', $data); 48 | } 49 | 50 | /** 51 | * For Edit / Update Product 52 | * 53 | * @param int $id 54 | */ 55 | public function update($id = NULL) { 56 | $data['title'] = "Admin Edit Category"; 57 | $data['action'] = 'update'; 58 | $post = $this->input->post(); 59 | if ($post) { 60 | // print_r($post); 61 | if($post['password'] == $post['re_password']) { 62 | if(!empty($post['password'])) { 63 | $post['password'] = md5($post['password']); 64 | } else { 65 | unset($post['password']); 66 | } 67 | unset($post['re_password']); 68 | $post['username'] = $post['email']; 69 | $this->muser->updateUser($id, $post); 70 | redirect(site_url() . 'admin/user/user_list'); 71 | } else { 72 | redirect(site_url() . 'admin/user/update/'.$id); 73 | } 74 | } else { 75 | $data['user'] = $this->muser->getUser($id); 76 | $this->load->admin_template('admin/user', $data); 77 | } 78 | } 79 | 80 | } -------------------------------------------------------------------------------- /application/controllers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/controllers/shop/Category.php: -------------------------------------------------------------------------------- 1 | load->model('mcategory'); 10 | $this->mcategory = new MCategory(); 11 | } 12 | 13 | public function index() { 14 | $this->all_category(); 15 | } 16 | 17 | public function categories() { 18 | $data['categories'] = $this->mcategory->getAllCategories(); 19 | $this->load->shop_template('shop/categories', $data); 20 | } 21 | 22 | public function category($slug) { 23 | $data['category'] = $this->mcategory->getCategorySlug($slug); 24 | $this->load->shop_template('shop/category', $data); 25 | } 26 | 27 | } -------------------------------------------------------------------------------- /application/controllers/shop/Product.php: -------------------------------------------------------------------------------- 1 | load->model('mproduct'); 10 | $this->mproduct = new MProduct(); 11 | } 12 | 13 | public function index() { 14 | $this->products(); 15 | } 16 | 17 | public function products() { 18 | $data['title'] = "All Products"; 19 | $data['products'] = $this->mproduct->getAllProduct(); 20 | $this->load->shop_template('shop/products', $data); 21 | } 22 | 23 | public function product($slug) { 24 | $data['title'] = "Product Info"; 25 | $data['product'] = $this->mproduct->getProductSlug($slug); 26 | $data['images'] = $this->mproduct->getProductImg($data['product']->product_id); 27 | $this->load->shop_template('shop/product', $data); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /application/core/MY_Controller.php: -------------------------------------------------------------------------------- 1 | load->model('mmenu'); 9 | $this->load->model('mpage'); 10 | $this->load->model('mproduct'); 11 | $this->load->model('mcategory'); 12 | $this->load->model('mcart'); 13 | $this->load->model('morder'); 14 | $this->load->model('muser'); 15 | $this->mmenu = new MMenu(); 16 | $this->mpage = new Mpage(); 17 | $this->mproduct = new MProduct(); 18 | $this->muser = new MUser(); 19 | $this->mcategory = new MCategory(); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /application/core/MY_Loader.php: -------------------------------------------------------------------------------- 1 | view('shop/shop_template/shop_header', $vars, $return); 8 | // $content .= $this->view('shop/shop_template/sidebar', $vars, $return); 9 | $content .= $this->view($template_name, $vars, $return); 10 | $content .= $this->view('shop/shop_template/shop_footer', $vars, $return); 11 | return $content; 12 | else : 13 | $this->view('shop/shop_template/shop_header', $vars); 14 | // $this->view('shop/shop_template/sidebar', $vars); 15 | $this->view($template_name, $vars); 16 | $this->view('shop/shop_template/shop_footer', $vars); 17 | endif; 18 | } 19 | 20 | public function admin_template($template_name, $vars = array(), $return = FALSE) { 21 | checkAdminUser(); 22 | if ($return) : 23 | $content = $this->view('admin/admin_template/admin_header', $vars, $return); 24 | $content .= $this->view('admin/admin_template/admin_sidebar', $vars, $return); 25 | $content .= $this->view($template_name, $vars, $return); 26 | $content .= $this->view('admin/admin_template/admin_footer', $vars, $return); 27 | 28 | return $content; 29 | else : 30 | $this->view('admin/admin_template/admin_header', $vars); 31 | $this->view('admin/admin_template/admin_sidebar', $vars); 32 | $this->view($template_name, $vars); 33 | $this->view('admin/admin_template/admin_footer', $vars); 34 | endif; 35 | } 36 | 37 | public function controller($name, $folder = null) { 38 | $className = str_replace(' ', '', ucwords(str_replace(['-', '_'], ' ', $name))) . '.php'; 39 | $classPath = ($folder) ? trim($folder, '/') . '/' . $className : $className; 40 | 41 | require_once __DIR__ . '/../controllers/' . $classPath; 42 | } 43 | 44 | } -------------------------------------------------------------------------------- /application/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/helpers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/hooks/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/english/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/language/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/libraries/Paginationlib.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/models/Mcart.php: -------------------------------------------------------------------------------- 1 | db->get('category'); 14 | return checkRes($query); 15 | } 16 | 17 | function getCategory($id) { 18 | $query = $this->db->get('category'); 19 | return checkRow($query); 20 | } 21 | 22 | function getCategorySlug($slug) { 23 | $query = $this->db->get_where('category', array('slug' => $slug)); 24 | return checkRow($query); 25 | } 26 | 27 | function getAllProduct() { 28 | 29 | } 30 | 31 | function checkSlug($slug) { 32 | $this->db->like('slug', $slug); 33 | $query = $this->db->get('product'); 34 | if (checkRes($query)) { 35 | return $this->getLatestExistsSlug($slug); 36 | } else { 37 | return slugify($slug); 38 | } 39 | } 40 | 41 | function getAllUnit() { 42 | $query = $this->db->get('unit'); 43 | return checkRes($query); 44 | } 45 | 46 | function insertCategory($data) { 47 | unset($data['category_id']); 48 | $query = $this->db->insert('category', $data); 49 | return $this->db->insert_id(); 50 | } 51 | 52 | function updateCategory($data, $id) { 53 | unset($data['category_id']); 54 | $query = $this->db->update('category', $data, array('category_id' => $id)); 55 | return $query; 56 | } 57 | 58 | } 59 | -------------------------------------------------------------------------------- /application/models/Mcategory_article.php: -------------------------------------------------------------------------------- 1 | db->get('category_article'); 14 | return checkRes($query); 15 | } 16 | 17 | function getCategory($id) { 18 | $query = $this->db->get('category_article'); 19 | return checkRow($query); 20 | } 21 | 22 | function getCategorySlug($slug) { 23 | $query = $this->db->get_where('category_article', array( 'slug' => $slug )); 24 | return checkRow($query); 25 | } 26 | 27 | function getAllProduct() { 28 | } 29 | 30 | function getAllUnit() { 31 | $query = $this->db->get('unit'); 32 | return checkRes($query); 33 | } 34 | 35 | function insertCategory($data) { 36 | unset($data['category_id']); 37 | $query = $this->db->insert('category_article', $data); 38 | return $this->db->insert_id(); 39 | } 40 | 41 | function updateCategory($data, $id) { 42 | unset($data['category_id']); 43 | $query = $this->db->update('category_article', $data, array( 'category_id' => $id )); 44 | return $query; 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /application/models/Mcustomer.php: -------------------------------------------------------------------------------- 1 | db->get('category'); 14 | return checkRes($query); 15 | } 16 | 17 | function getCategory($id) { 18 | $query = $this->db->get_where('product', array('product_id', $id)); 19 | return checkRow($query); 20 | } 21 | 22 | 23 | } -------------------------------------------------------------------------------- /application/models/Mhome.php: -------------------------------------------------------------------------------- 1 | db->get('info'); 14 | return checkRes($query); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /application/models/Mmenu.php: -------------------------------------------------------------------------------- 1 | db->get_where('page'); 11 | return $query->result(); 12 | } 13 | 14 | function getPage($slug) { 15 | $query = $this->db->get_where('page', array('slug'=>$slug)); 16 | return $query->row(); 17 | } 18 | 19 | function getPageId($page_id) { 20 | $query = $this->db->get_where('page', array('id'=>page_id)); 21 | return $query->row(); 22 | } 23 | 24 | function insertPage($data) { 25 | $query = $this->db->insert('page',$data); 26 | return $this->db->insert_id(); 27 | } 28 | 29 | function updatePage($data,$page_id) { 30 | $query = $this->db->update('page', $data, array('page_id'=>$page_id)); 31 | return $query; 32 | } 33 | 34 | } -------------------------------------------------------------------------------- /application/models/Mpasar.php: -------------------------------------------------------------------------------- 1 | db->get('product'); 14 | return checkRes($query); 15 | } 16 | 17 | function getProductCat($category_id) { 18 | $query = $this->db->get_where('product', array('category_id' => $category_id)); 19 | return checkRes($query); 20 | } 21 | 22 | function insertCheckout($data) { 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /application/models/admin/Mdashboard.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/third_party/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/admin/admin_template/admin_sidebar.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /application/views/admin/blank.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 | 4 |
    5 |

    6 | Blank page 7 | it all starts here 8 |

    9 | 14 |
    15 | 16 | 17 |
    18 | 19 | 20 |
    21 |
    22 |

    Title

    23 |
    24 | 25 | 26 |
    27 |
    28 |
    29 | Start creating your amazing application! 30 |
    31 | 34 |
    35 | 36 |
    37 |
    -------------------------------------------------------------------------------- /application/views/admin/info.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/application/views/admin/info.php -------------------------------------------------------------------------------- /application/views/admin/list_info.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/application/views/admin/list_info.php -------------------------------------------------------------------------------- /application/views/admin/list_page_admin.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | Upload Form 4 | 5 | 6 | 7 |

    Your file was successfully uploaded!

    8 | 9 | 14 | 15 |

    16 | 17 | 18 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | An uncaught Exception was encountered 6 | 7 | Type: 8 | Message: 9 | Filename: getFile(); ?> 10 | Line Number: getLine(); ?> 11 | 12 | 13 | 14 | Backtrace: 15 | getTrace() as $error): ?> 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /application/views/errors/cli/error_general.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | A PHP Error was encountered 6 | 7 | Severity: 8 | Message: 9 | Filename: 10 | Line Number: 11 | 12 | 13 | 14 | Backtrace: 15 | 16 | 17 | 18 | File: 19 | Line: 20 | Function: 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /application/views/errors/cli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/html/error_404.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 404 Page Not Found 8 | 57 | 58 | 59 |
    60 |

    61 | 62 |
    63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_db.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Database Error 8 | 57 | 58 | 59 |
    60 |

    61 | 62 |
    63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_exception.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
    6 | 7 |

    An uncaught Exception was encountered

    8 | 9 |

    Type:

    10 |

    Message:

    11 |

    Filename: getFile(); ?>

    12 |

    Line Number: getLine(); ?>

    13 | 14 | 15 | 16 |

    Backtrace:

    17 | getTrace() as $error): ?> 18 | 19 | 20 | 21 |

    22 | File:
    23 | Line:
    24 | Function: 25 |

    26 | 27 | 28 | 29 | 30 | 31 | 32 |
    -------------------------------------------------------------------------------- /application/views/errors/html/error_general.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Error 8 | 57 | 58 | 59 |
    60 |

    61 | 62 |
    63 | 64 | -------------------------------------------------------------------------------- /application/views/errors/html/error_php.php: -------------------------------------------------------------------------------- 1 | 4 | 5 |
    6 | 7 |

    A PHP Error was encountered

    8 | 9 |

    Severity:

    10 |

    Message:

    11 |

    Filename:

    12 |

    Line Number:

    13 | 14 | 15 | 16 |

    Backtrace:

    17 | 18 | 19 | 20 | 21 |

    22 | File:
    23 | Line:
    24 | Function: 25 |

    26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
    -------------------------------------------------------------------------------- /application/views/errors/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/errors/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /application/views/shop/cart_list.php: -------------------------------------------------------------------------------- 1 | 3 |
    4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | getOneProductImg($items['id']); 16 | //print_r($img); 17 | //print_r($items); 18 | ?> 19 | 20 | 21 | 22 | 23 | 25 | 31 | 36 | 37 | 38 | 39 | 40 | 41 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 |
    QTYSizeImageItem PriceSub-Total
    30 | 32 | 33 |

    34 | 35 |
    cart->format_number($items['price']); ?>cart->format_number($items['subtotal']); ?>
    Totalcart->format_number($this->cart->total()); ?>
    52 |

     

    53 |
    54 | 55 | 60 | -------------------------------------------------------------------------------- /application/views/shop/categories.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tutorial Sederhana Parsing Harga Pengiriman JNE - Adiputra 6 | 7 | 8 |
    9 |

    Cek Harga

    10 |
    11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
    Demo Parsing Harga Pengiriman JNE
    Masukan Kota Asal Pengiriman
    Masukan Kota Tujuan Pengiriman
    Masukan berat barang [integer] per kilo
    31 |
    32 |
    33 | 34 | -------------------------------------------------------------------------------- /application/views/shop/jne_track.php: -------------------------------------------------------------------------------- 1 | Lacak resi JNE di sini
    2 |
    3 | 4 | 5 |
    6 | Lacak resi TIKI di sini: 7 |
    8 |
    9 |
    10 | Lacak resi POS Indonesia: 11 |
    12 |
    -------------------------------------------------------------------------------- /application/views/shop/list_page.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |

    The Ring Trade BASKO x JACKSTON

    6 |

    By : Basko

    7 |

    December 2014

    8 |
    9 |
    10 |
    11 |

    More of Culture evolves from lifestyle, a new breed emerges every time it claches. Jackston has to be one of those opposed to simply just a brand or fashion label. insipred by color, culture, roots & the basic foundation of happiness, we dwell in the Irie felling & inhale the richest sativa to embrace & be part of the culture clash “STAG blends the best of many unique elements and ideas into an emporium of essentials for leading the life of a modern gentleman. We include style icons like Steve McQueen, James Dean, Keith Richards, and Willie Nelson into that definition.” - STAG website.
    12 | We couldn’t have put a description together any better.
    13 | Not only have we been huge fans of this Austin-based powerhouse since they came onto the retail scene, but we’ve been proud to have them part of the RP family of stockists since our beginning. 2010 to be. Owners Steve Schuck and Don Weir have created a menswear mecca for discerning clients. These are the guys that call on them for the tried and true brands that they collect but look to them for up-and-coming lines that they are able to discover for the first time and weave into their closets as well.

    14 |
    15 |
    16 | 17 | 18 | 19 |
    20 |
    21 |

    Our Creative Director, Joe Tornatzky and myself recently took a drive up to Abbot Kinney in Venice and spent some time with the very welcoming staff of Stag’s West Coast flagship location. Every piece in the store is perfectly placed, the product/brand mix and merchandising is impeccably curated and the store build-out is a visual dream. Even with all that...the store is extremely approachable, inviting and just a comfortable place that exudes the vibe of "come hang out with us and have a beer." (Which we most definitely did!).

    22 |
    23 |
    24 |
    25 |
    26 |
    27 | -------------------------------------------------------------------------------- /application/views/shop/page/create-account.php: -------------------------------------------------------------------------------- 1 | 2 | 4 |
    5 |
    6 |
    CREATE AN ACCOUNT
    7 |
    8 |
    9 |
    PERSONAL INFORMATION
    10 |
    11 |
    12 |
    13 |
    14 | Prefix
    15 | 19 |
    20 |
    21 | First Name**
    22 | 23 |
    24 |
    25 | Last Name**
    26 | 27 |
    28 |
    29 |
    30 |
    31 | Email***
    32 | 33 |
    34 |
    35 | Sign up to our newsletter
    36 | * Signing up to our newsletter will keep you up to date with the latest offers and promotions. 37 |
    38 |
    39 |
    40 |
    41 |
    PASSWORD INFORMATION
    42 |
    43 |
    44 |
    45 |
    46 | Password**
    47 | 48 |
    49 |
    50 | Confirm Password**
    51 | 52 |
    53 |
    54 | *** Required Fields

    55 |
    56 |
    57 | 58 |
    59 |
    60 | 61 |
    62 |
    63 |
    64 |
    65 | -------------------------------------------------------------------------------- /application/views/shop/page/page.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    4 |
    5 |
    6 |
    7 |
    8 |
    9 |
    10 |
    11 |
    12 |
    13 |
    14 |
    15 |
    16 |
    17 |
    18 |
    19 |
    20 |
    21 |
    22 |
    23 |
    24 |
    25 |
    26 |
    27 |
    28 |
    29 |
    30 |
    31 |
    32 |
    33 |
    34 |
    35 |
    36 |
    37 |
    38 |
    39 |
    40 |
    41 |
    42 |
    43 |
    44 |
    45 |
    46 |
    47 |
    48 |
    49 | -------------------------------------------------------------------------------- /application/views/shop/page/stockist.php: -------------------------------------------------------------------------------- 1 | 3 |
    4 |
    5 |

    Øur Støckist

    6 |
    Bandung
    7 |
    8 |
    9 |
    Linoleum
    10 | Tommy - 087821733752
    11 | Jl. Sarijadi No21 Bandung
    12 | linoleum_shop21@yahoo.co.id
    13 |
    14 |
    15 |
    Blackjack
    16 | NOVI - 089619748284
    17 | Jl. Trunojoyo No 28 Bandung
    18 | blackjackadmintoko@gmail.com
    19 |
    20 |
    21 |
    BadPaper
    22 | Arin - 0856xxxxx
    23 | Jl. Jalaprang No 15 Bandung
    24 | linoleum_shop21@yahoo.co.id
    25 |
    26 |
    27 |
    Bogor
    28 |
    29 |
    30 |
    Wordz
    31 | Arie - 0817 766 767
    32 | Jl. Dadali No. 10, Tanah Sareal Bogor
    33 | yougotwordz@gmail.com
    34 |
    35 |
    36 |
    HeloRain
    37 | Hendrick - 08116820494
    38 | Jl. Durian Raya No 24 Bogor
    39 | helorain.bogor@gmail.com
    40 |
    41 |
    42 |
    Jakarta
    43 |
    44 |
    45 |
    SIXPAX Tebet
    46 | Febri pin bb : 7EBDD8A1
    47 | Sansan pin bb : 25be6730
    48 | Jl. Tebet Utara Dalam 24C Jakarta Tlp. 021-83787171
    49 | beatbox.distro@gmail.com
    50 |
    51 |
    52 |
    SIXPAX Bintaro
    53 | Abay 08811692801
    54 | Dony 088801865995
    55 | pin: 3112AD1A
    56 | Jl. Bintaro Utama J3 No. 12 Sektor 1 Bintaro Jaya - Jakarta
    57 | beatbox.distro@gmail.com
    58 |
    59 |
    60 |
    Bali
    61 |
    62 |
    63 |
    SIXPAX Tebet
    64 | Alung - / 0361 - 240223
    65 | Jl. Teuku Umar No. 41 Denpasar - Bali
    66 | beatbox.distro@gmail.com
    67 |
    68 |
    69 |
    70 |
    -------------------------------------------------------------------------------- /application/views/shop/products.php: -------------------------------------------------------------------------------- 1 | 2 |
    3 |
    CREATE AN ACCOUNT
    4 |
    5 |
    6 |
    PERSONAL INFORMATION
    7 |
    8 |
    9 |
    10 |
    11 | Prefix
    12 |
    13 | 17 |
    18 |
    19 | First Name**
    20 | 21 |
    22 |
    23 | Last Name**
    24 | 25 |
    26 |
    27 |
    28 |
    29 | Email***
    30 | 31 |
    32 |
    33 | Sign up to our newsletter
    34 | * Signing up to our newsletter will keep you up to date with the latest offers and promotions. 35 |
    36 |
    37 |
    38 |
    39 |
    PASSWORD INFORMATION
    40 |
    41 |
    42 |
    43 |
    44 | Password**
    45 | 46 |
    47 |
    48 | Confirm Password**
    49 | 50 |
    51 |
    52 | *** Required Fields

    53 |
    54 |
    55 | 56 |
    57 |
    58 | 59 |
    60 | 61 |
    62 |
    63 | -------------------------------------------------------------------------------- /application/views/shop/template/product_old.php: -------------------------------------------------------------------------------- 1 | 2 | 4 |
    5 |
    6 |
    7 |
    8 | 9 |
    10 |

    Deftly tailored from very fine woven egyptian cotton, these 11 | shirts are smooth to the touch, though still maintain their 12 | elegant shape. Essential pieces that easily cross from the week 13 | into the weekend.

    14 |
    15 |
    16 | 17 |
    18 |
    19 |
    20 | 21 | 23 |
    24 |
    25 | 55 |
    56 | 57 |
    58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /application/views/upload/delete_success.php: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /application/views/upload/upload_success.php: -------------------------------------------------------------------------------- 1 | 4 |


    5 | name: ' .$upload_data['file_name'] .'
    size: ' .$upload_data['file_size'] .' k' ?> 6 | -------------------------------------------------------------------------------- /application/views/welcome_message.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | Welcome to CodeIgniter 8 | 9 | 67 | 68 | 69 | 70 |
    71 |

    Welcome to CodeIgniter!

    72 | 73 |
    74 |

    The page you are looking at is being generated dynamically by CodeIgniter.

    75 | 76 |

    If you would like to edit this page you'll find it located at:

    77 | application/views/welcome_message.php 78 | 79 |

    The corresponding controller for this page is found at:

    80 | application/controllers/Welcome.php 81 | 82 |

    If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.

    83 |
    84 | 85 | 86 |
    87 | 88 | 89 | -------------------------------------------------------------------------------- /assets/.gitignore: -------------------------------------------------------------------------------- 1 | /files/ 2 | /product/ 3 | -------------------------------------------------------------------------------- /assets/css/accordion.css: -------------------------------------------------------------------------------- 1 | .containeracc { 2 | display: block; 3 | width: 100%; 4 | height: auto; 5 | margin: 0 auto; 6 | } 7 | 8 | .item { 9 | display: block; 10 | height: 40px; 11 | line-height: 40px; 12 | border-top: 2px solid grey; 13 | cursor: pointer; 14 | color: #000; 15 | background-image: url('../img/arr/rights.png'); 16 | background-repeat: no-repeat; 17 | background-position: right; 18 | ba 19 | } 20 | 21 | .item-data { 22 | display: none; 23 | height: auto; 24 | border-top: 1px solid grey; 25 | } 26 | 27 | .active { 28 | color: #000; 29 | } 30 | 31 | .item-data div { 32 | margin: 10px; 33 | } 34 | 35 | #accordion { 36 | width: 300px; 37 | margin: 50px auto; 38 | background-color: silver; 39 | border: 2px solid black; 40 | } 41 | 42 | #accordion h2.accordion-header { 43 | cursor: pointer; 44 | background-color: black; 45 | font: bold 12px Arial, Sans-Serif; 46 | color: white; 47 | padding: 5px 15px; 48 | margin: 0 0; 49 | border-bottom: 1px solid #292929; 50 | } 51 | 52 | #accordion h2.active { 53 | background-color: orange; 54 | color: black; 55 | } 56 | 57 | #accordion div { 58 | height: 150px; 59 | padding: 10px 15px; 60 | } -------------------------------------------------------------------------------- /assets/css/blue.css: -------------------------------------------------------------------------------- 1 | /* iCheck plugin Flat skin, blue 2 | ----------------------------------- */ 3 | .icheckbox_flat-blue, .iradio_flat-blue { 4 | display: inline-block; 5 | *display: inline; 6 | vertical-align: middle; 7 | margin: 0; 8 | padding: 0; 9 | width: 20px; 10 | height: 20px; 11 | background: url(blue.png) no-repeat; 12 | border: none; 13 | cursor: pointer; 14 | } 15 | 16 | .icheckbox_flat-blue { 17 | background-position: 0 0; 18 | } 19 | 20 | .icheckbox_flat-blue.checked { 21 | background-position: -22px 0; 22 | } 23 | 24 | .icheckbox_flat-blue.disabled { 25 | background-position: -44px 0; 26 | cursor: default; 27 | } 28 | 29 | .icheckbox_flat-blue.checked.disabled { 30 | background-position: -66px 0; 31 | } 32 | 33 | .iradio_flat-blue { 34 | background-position: -88px 0; 35 | } 36 | 37 | .iradio_flat-blue.checked { 38 | background-position: -110px 0; 39 | } 40 | 41 | .iradio_flat-blue.disabled { 42 | background-position: -132px 0; 43 | cursor: default; 44 | } 45 | 46 | .iradio_flat-blue.checked.disabled { 47 | background-position: -154px 0; 48 | } 49 | 50 | /* Retina support */ 51 | @media only screen and (-webkit-min-device-pixel-ratio: 1.5) , only screen and 52 | (-moz-min-device-pixel-ratio: 1.5) , only screen and 53 | (-o-min-device-pixel-ratio: 3/2) , only screen and 54 | (min-device-pixel-ratio: 1.5) { 55 | .icheckbox_flat-blue, .iradio_flat-blue { 56 | background-image: url(blue@2x.png); 57 | -webkit-background-size: 176px 22px; 58 | background-size: 176px 22px; 59 | } 60 | } -------------------------------------------------------------------------------- /assets/css/campaign.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #fff url(../gmb/campaign/campaign.JPG); 3 | position: relative; 4 | } 5 | 6 | img:hover { 7 | opacity: 1; 8 | } 9 | 10 | .gamb { 11 | width: 100%; 12 | height: auto; 13 | margin-top: 10%; 14 | } 15 | 16 | .gamb img { 17 | width: 100%; 18 | height: auto; 19 | } 20 | /*#homeJ{ 21 | position: relative; 22 | opacity: 0.7; 23 | left: 0; 24 | z-index: 9999999; 25 | margin: 0; 26 | padding: 0; 27 | text-align: left; 28 | }*/ 29 | #homeJ { 30 | position: absolute; 31 | z-index: 20; 32 | left: 10px; 33 | bottom: 10px; 34 | } 35 | 36 | #BasicDemo { 37 | background-color: #CCCCFF; 38 | padding: 10px; 39 | height: 180px; 40 | text-align: center; 41 | } 42 | 43 | html { 44 | height: 100%; 45 | } 46 | 47 | body { 48 | margin: 0; 49 | font-family: Arial, Helvetica, sans-serif; 50 | font-size: 13px; 51 | line-height: 1.5; 52 | position: relative; 53 | height: 100%; 54 | } 55 | 56 | .swiper-container { 57 | width: 100%; 58 | height: 100%; 59 | color: #fff; 60 | text-align: center; 61 | } 62 | 63 | .swiper-slide .title { 64 | font-style: italic; 65 | font-size: 42px; 66 | margin-top: 80px; 67 | margin-bottom: 0; 68 | line-height: 45px; 69 | } 70 | 71 | .pagination { 72 | position: absolute; 73 | z-index: 20; 74 | left: 10px; 75 | top: 10px; 76 | } 77 | 78 | .swiper-pagination-switch { 79 | display: inline-block; 80 | width: 8px; 81 | height: 8px; 82 | border-radius: 8px; 83 | background: #222; 84 | margin-right: 5px; 85 | opacity: 0.1; 86 | border: 1px solid #fff; 87 | cursor: pointer; 88 | } 89 | 90 | .swiper-pagination-switch:hover { 91 | opacity: 1; 92 | } 93 | 94 | .swiper-visible-switch { 95 | background: #aaa; 96 | } 97 | 98 | .swiper-active-switch { 99 | background: #aaa; 100 | opacity: 1; 101 | } -------------------------------------------------------------------------------- /assets/css/jquery-jvectormap-1.2.2.css: -------------------------------------------------------------------------------- 1 | .jvectormap-label { 2 | position: absolute; 3 | display: none; 4 | border: solid 1px #CDCDCD; 5 | -webkit-border-radius: 3px; 6 | -moz-border-radius: 3px; 7 | border-radius: 3px; 8 | background: #292929; 9 | color: white; 10 | font-size: 10px !important; 11 | padding: 3px; 12 | z-index: 9999; 13 | } 14 | 15 | .jvectormap-zoomin, .jvectormap-zoomout { 16 | position: absolute; 17 | top: 100%; 18 | margin-top: -25px; 19 | -webkit-border-radius: 2px; 20 | -moz-border-radius: 2px; 21 | border-radius: 2px; 22 | background: #d2d6de; // rgba (0,0,0,0.4); 23 | padding: 5px; 24 | color: #444; 25 | cursor: pointer; 26 | line-height: 10px; 27 | text-align: center; 28 | font-weight: bold; 29 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 30 | } 31 | 32 | .jvectormap-zoomin { 33 | left: 100%; 34 | margin-left: -50px; 35 | } 36 | 37 | .jvectormap-zoomout { 38 | left: 100%; 39 | margin-left: -30px; 40 | } -------------------------------------------------------------------------------- /assets/css/jquery.fileupload-ui.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload UI Plugin CSS 9.0.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2010, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | .fileupload-buttonbar .btn, .fileupload-buttonbar .toggle { 13 | margin-bottom: 5px; 14 | } 15 | 16 | .progress-animated .progress-bar, .progress-animated .bar { 17 | background: url("../img/progressbar.gif") !important; 18 | filter: none; 19 | } 20 | 21 | .fileupload-process { 22 | float: right; 23 | display: none; 24 | } 25 | 26 | .fileupload-processing .fileupload-process, .files .processing .preview 27 | { 28 | display: block; 29 | width: 32px; 30 | height: 32px; 31 | background: url("../img/loading.gif") center no-repeat; 32 | background-size: contain; 33 | } 34 | 35 | .files audio, .files video { 36 | max-width: 300px; 37 | } 38 | 39 | @media ( max-width : 767px) { 40 | .fileupload-buttonbar .toggle, .files .toggle, .files .btn span { 41 | display: none; 42 | } 43 | .files .name { 44 | width: 80px; 45 | word-wrap: break-word; 46 | } 47 | .files audio, .files video { 48 | max-width: 80px; 49 | } 50 | .files img, .files canvas { 51 | max-width: 100%; 52 | } 53 | } -------------------------------------------------------------------------------- /assets/css/jquery.fileupload.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | /* 3 | * jQuery File Upload Plugin CSS 1.3.0 4 | * https://github.com/blueimp/jQuery-File-Upload 5 | * 6 | * Copyright 2013, Sebastian Tschan 7 | * https://blueimp.net 8 | * 9 | * Licensed under the MIT license: 10 | * http://www.opensource.org/licenses/MIT 11 | */ 12 | .fileinput-button { 13 | position: relative; 14 | overflow: hidden; 15 | display: inline-block; 16 | } 17 | 18 | .fileinput-button input { 19 | position: absolute; 20 | top: 0; 21 | right: 0; 22 | margin: 0; 23 | opacity: 0; 24 | -ms-filter: 'alpha(opacity=0)'; 25 | font-size: 200px; 26 | direction: ltr; 27 | cursor: pointer; 28 | } 29 | 30 | /* Fixes for IE < 8 */ 31 | @media screen\9 { 32 | .fileinput-button input { 33 | filter: alpha(opacity = 0); 34 | font-size: 100%; 35 | height: 100%; 36 | } 37 | } -------------------------------------------------------------------------------- /assets/css/morris.css: -------------------------------------------------------------------------------- 1 | .morris-hover { 2 | position: absolute; 3 | z-index: 1090; 4 | } 5 | 6 | .morris-hover.morris-default-style { 7 | border-radius: 10px; 8 | padding: 6px; 9 | color: #f9f9f9; 10 | background: rgba(0, 0, 0, 0.8); 11 | border: solid 2px rgba(0, 0, 0, 0.9); 12 | font-weight: 600; 13 | font-size: 14px; 14 | text-align: center; 15 | } 16 | 17 | .morris-hover.morris-default-style .morris-hover-row-label { 18 | font-weight: bold; 19 | margin: 0.25em 0; 20 | } 21 | 22 | .morris-hover.morris-default-style .morris-hover-point { 23 | white-space: nowrap; 24 | margin: 0.1em 0; 25 | } -------------------------------------------------------------------------------- /assets/css/navbar-fixed-top.css: -------------------------------------------------------------------------------- 1 | body { 2 | min-height: 2000px; 3 | padding-top: 70px; 4 | } -------------------------------------------------------------------------------- /assets/css/slide.css: -------------------------------------------------------------------------------- 1 | div[id*='slider'] { 2 | position: relative; 3 | overflow: hidden; 4 | margin: 20px auto 0 auto; 5 | border-radius: 4px; 6 | } 7 | 8 | div[id*='slider'] ul { 9 | position: relative; 10 | margin: 0; 11 | padding: 0; 12 | height: auto; 13 | list-style: none; 14 | } 15 | 16 | div[id*='slider'] ul li { 17 | position: relative; 18 | display: block; 19 | float: left; 20 | margin: 0; 21 | padding: 0; 22 | /*width: 500px; 23 | height: 300px;*/ 24 | background: none; 25 | /*line-height: 300px;*/ 26 | } 27 | 28 | li { 29 | 30 | } 31 | 32 | a.control_prev, a.control_next { 33 | position: absolute; 34 | top: 40%; 35 | z-index: 999; 36 | display: block; 37 | padding: 5px; 38 | width: auto; 39 | height: auto; 40 | background: #7a7a7a; 41 | color: #fff; 42 | text-decoration: none; 43 | font-weight: 600; 44 | font-size: 18px; 45 | opacity: 0.2; 46 | cursor: pointer; 47 | line-height: 1; 48 | } 49 | 50 | a.control_prev:hover, a.control_next:hover { 51 | opacity: 1; 52 | -webkit-transition: all 0.2s ease; 53 | } 54 | 55 | a.control_prev { 56 | border-radius: 0 2px 2px 0; 57 | } 58 | 59 | a.control_next { 60 | right: 0; 61 | border-radius: 2px 0 0 2px; 62 | } 63 | 64 | /*.slider_option { 65 | position: relative; 66 | margin: 10px auto; 67 | width: 160px; 68 | font-size: 18px; 69 | }*/ -------------------------------------------------------------------------------- /assets/css/tab.css: -------------------------------------------------------------------------------- 1 | .tab_link { 2 | text-decoration: none; 3 | } 4 | 5 | .tab_link img { 6 | width: 100%; 7 | } 8 | 9 | .tab_link_selected { 10 | color: #2d9827; 11 | } /* just a different tab link bg color when it's selected */ 12 | .tab_text { 13 | display: none; 14 | } 15 | 16 | .closetab { 17 | cursor: pointer; 18 | } -------------------------------------------------------------------------------- /assets/db/alter.sql: -------------------------------------------------------------------------------- 1 | RENAME TABLE image TO product_image; 2 | 3 | ALTER TABLE `product` CHANGE `long_desc` `description` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL; 4 | 5 | ALTER TABLE `product_image` CHANGE `default` `status` TINYINT(1) NULL DEFAULT '1' COMMENT '1=active, 0=not_active'; 6 | 7 | ALTER TABLE `product_image` ADD `compress_img_url` VARCHAR(2000) NOT NULL AFTER `url`; 8 | 9 | 10 | 11 | 12 | 13 | 14 | CREATE TRIGGER setFileName 15 | AFTER INSERT ON `product_image` 16 | FOR EACH ROW 17 | UPDATE `product_image` SET `order` = NEW.id WHERE `id` = NEW.id; 18 | 19 | 20 | CREATE TABLE `product_image` ( 21 | `image_id` int(11) NOT NULL, 22 | `product_id` int(11) NOT NULL, 23 | `name` varchar(255) NOT NULL, 24 | `default` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1=default, 0=not_show', 25 | `extension` varchar(20) NOT NULL, 26 | `size` varchar(40) NOT NULL, 27 | `type` varchar(20) NOT NULL, 28 | `url` varchar(255) NOT NULL, 29 | `medium_url` varchar(255) NOT NULL, 30 | `thumbnail_url` varchar(255) NOT NULL, 31 | PRIMARY KEY (`image_id`) 32 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; 33 | 34 | 35 | ALTER TABLE `product_image` CHANGE `ext` `ext` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `size` `size` FLOAT NULL, CHANGE `width` `width` INT(11) NULL, CHANGE `height` `height` INT(11) NULL, CHANGE `type` `type` VARCHAR(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `path` `path` VARCHAR(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL, CHANGE `thumbnail_url` `thumbnail_url` VARCHAR(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL; 36 | 37 | CREATE TABLE `product` ( 38 | `product_id` int(11) NOT NULL AUTO_INCREMENT, 39 | `category_id` int(3) NOT NULL, 40 | `name` varchar(300) NOT NULL, 41 | `slug` varchar(255) NOT NULL, 42 | `shortdesc` varchar(255) NOT NULL, 43 | `longdesc` text NOT NULL, 44 | `product_order` int(11) NOT NULL, 45 | `class` varchar(255) NOT NULL, 46 | `grouping` varchar(16) NOT NULL, 47 | `status` enum('active','inactive') NOT NULL DEFAULT 'active', 48 | `featured` enum('none','front','webshop') NOT NULL, 49 | `other_feature` enum('none','most sold','new product') NOT NULL, 50 | `image` varchar(255) NOT NULL, 51 | `thumbnail` varchar(255) NOT NULL, 52 | `price` double DEFAULT NULL, 53 | `stock` int(4) NOT NULL, 54 | `create_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, 55 | `stock_status` varchar(45) DEFAULT 'in-stock', 56 | `ship_restrict` varchar(45) DEFAULT NULL, 57 | PRIMARY KEY (`product_id`), 58 | KEY `slug` (`slug`) 59 | ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; 60 | /*!40101 SET character_set_client = @saved_cs_client */; 61 | -------------------------------------------------------------------------------- /assets/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /assets/fonts/fontawesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/fontawesome.otf -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /assets/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/ionicons.eot -------------------------------------------------------------------------------- /assets/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/ionicons.ttf -------------------------------------------------------------------------------- /assets/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/fonts/ionicons.woff -------------------------------------------------------------------------------- /assets/img/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/Thumbs.db -------------------------------------------------------------------------------- /assets/img/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/banner.jpg -------------------------------------------------------------------------------- /assets/img/cart2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/cart2-2.png -------------------------------------------------------------------------------- /assets/img/cart2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/cart2.png -------------------------------------------------------------------------------- /assets/img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/close.png -------------------------------------------------------------------------------- /assets/img/close_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/close_1.png -------------------------------------------------------------------------------- /assets/img/co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/co.png -------------------------------------------------------------------------------- /assets/img/f1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/f1.jpg -------------------------------------------------------------------------------- /assets/img/f2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/f2.jpg -------------------------------------------------------------------------------- /assets/img/f3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/f3.jpg -------------------------------------------------------------------------------- /assets/img/h1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/h1.png -------------------------------------------------------------------------------- /assets/img/img-sprite1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/img-sprite1.png -------------------------------------------------------------------------------- /assets/img/n1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n1.jpg -------------------------------------------------------------------------------- /assets/img/n2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n2.jpg -------------------------------------------------------------------------------- /assets/img/n3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n3.jpg -------------------------------------------------------------------------------- /assets/img/n4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n4.jpg -------------------------------------------------------------------------------- /assets/img/n5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n5.jpg -------------------------------------------------------------------------------- /assets/img/n6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n6.jpg -------------------------------------------------------------------------------- /assets/img/n7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n7.jpg -------------------------------------------------------------------------------- /assets/img/n8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/n8.jpg -------------------------------------------------------------------------------- /assets/img/pa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pa.png -------------------------------------------------------------------------------- /assets/img/pi10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi10.jpg -------------------------------------------------------------------------------- /assets/img/pi2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi2.jpg -------------------------------------------------------------------------------- /assets/img/pi3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi3.jpg -------------------------------------------------------------------------------- /assets/img/pi4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi4.jpg -------------------------------------------------------------------------------- /assets/img/pi5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi5.jpg -------------------------------------------------------------------------------- /assets/img/pi6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi6.jpg -------------------------------------------------------------------------------- /assets/img/pi7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi7.jpg -------------------------------------------------------------------------------- /assets/img/pi8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi8.jpg -------------------------------------------------------------------------------- /assets/img/pi9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/pi9.jpg -------------------------------------------------------------------------------- /assets/img/product.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/product.jpg -------------------------------------------------------------------------------- /assets/img/product1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/product1.jpg -------------------------------------------------------------------------------- /assets/img/product2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/product2.jpg -------------------------------------------------------------------------------- /assets/img/quotes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/quotes.png -------------------------------------------------------------------------------- /assets/img/s1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/s1.jpg -------------------------------------------------------------------------------- /assets/img/s12.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/s12.jpeg -------------------------------------------------------------------------------- /assets/img/s2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/s2.jpg -------------------------------------------------------------------------------- /assets/img/s3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/s3.jpeg -------------------------------------------------------------------------------- /assets/img/si.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/si.jpg -------------------------------------------------------------------------------- /assets/img/si1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/si1.jpeg -------------------------------------------------------------------------------- /assets/img/si2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/si2.jpeg -------------------------------------------------------------------------------- /assets/img/si3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/si3.jpeg -------------------------------------------------------------------------------- /assets/img/to-top1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/to-top1.png -------------------------------------------------------------------------------- /assets/img/user2-160x160.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user2-160x160.jpg -------------------------------------------------------------------------------- /assets/img/user3-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user3-128x128.jpg -------------------------------------------------------------------------------- /assets/img/user4-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user4-128x128.jpg -------------------------------------------------------------------------------- /assets/img/user5-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user5-128x128.jpg -------------------------------------------------------------------------------- /assets/img/user6-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user6-128x128.jpg -------------------------------------------------------------------------------- /assets/img/user7-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user7-128x128.jpg -------------------------------------------------------------------------------- /assets/img/user8-128x128.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/user8-128x128.jpg -------------------------------------------------------------------------------- /assets/img/xbanner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/xbanner.jpg -------------------------------------------------------------------------------- /assets/img/xpi2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/xpi2.jpg -------------------------------------------------------------------------------- /assets/img/xpi3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/xpi3.jpg -------------------------------------------------------------------------------- /assets/img/xpi4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/img/xpi4.jpg -------------------------------------------------------------------------------- /assets/js/canvas-to-blob.min.js: -------------------------------------------------------------------------------- 1 | !function(a){"use strict";var b=a.HTMLCanvasElement&&a.HTMLCanvasElement.prototype,c=a.Blob&&function(){try{return Boolean(new Blob)}catch(a){return!1}}(),d=c&&a.Uint8Array&&function(){try{return 100===new Blob([new Uint8Array(100)]).size}catch(a){return!1}}(),e=a.BlobBuilder||a.WebKitBlobBuilder||a.MozBlobBuilder||a.MSBlobBuilder,f=(c||e)&&a.atob&&a.ArrayBuffer&&a.Uint8Array&&function(a){var b,f,g,h,i,j;for(b=a.split(",")[0].indexOf("base64")>=0?atob(a.split(",")[1]):decodeURIComponent(a.split(",")[1]),f=new ArrayBuffer(b.length),g=new Uint8Array(f),h=0;h",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document); -------------------------------------------------------------------------------- /assets/js/ie-emulation-modes-warning.js: -------------------------------------------------------------------------------- 1 | // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT 2 | // IT'S JUST JUNK FOR OUR DOCS! 3 | // ++++++++++++++++++++++++++++++++++++++++++ 4 | /*! 5 | * Copyright 2014-2015 Twitter, Inc. 6 | * 7 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For 8 | * details, see https://creativecommons.org/licenses/by/3.0/. 9 | */ 10 | // Intended to prevent false-positive bug reports about Bootstrap not working properly in old versions of IE due to folks testing using IE's unreliable emulation modes. 11 | (function () { 12 | 'use strict'; 13 | 14 | function emulatedIEMajorVersion() { 15 | var groups = /MSIE ([0-9.]+)/.exec(window.navigator.userAgent) 16 | if (groups === null) { 17 | return null 18 | } 19 | var ieVersionNum = parseInt(groups[1], 10) 20 | var ieMajorVersion = Math.floor(ieVersionNum) 21 | return ieMajorVersion 22 | } 23 | 24 | function actualNonEmulatedIEMajorVersion() { 25 | // Detects the actual version of IE in use, even if it's in an older-IE emulation mode. 26 | // IE JavaScript conditional compilation docs: https://msdn.microsoft.com/library/121hztk3%28v=vs.94%29.aspx 27 | // @cc_on docs: https://msdn.microsoft.com/library/8ka90k2e%28v=vs.94%29.aspx 28 | var jscriptVersion = new Function('/*@cc_on return @_jscript_version; @*/')() // jshint ignore:line 29 | if (jscriptVersion === undefined) { 30 | return 11 // IE11+ not in emulation mode 31 | } 32 | if (jscriptVersion < 9) { 33 | return 8 // IE8 (or lower; haven't tested on IE<8) 34 | } 35 | return jscriptVersion // IE9 or IE10 in any mode, or IE11 in non-IE11 mode 36 | } 37 | 38 | var ua = window.navigator.userAgent 39 | if (ua.indexOf('Opera') > -1 || ua.indexOf('Presto') > -1) { 40 | return // Opera, which might pretend to be IE 41 | } 42 | var emulated = emulatedIEMajorVersion() 43 | if (emulated === null) { 44 | return // Not IE 45 | } 46 | var nonEmulated = actualNonEmulatedIEMajorVersion() 47 | 48 | if (emulated !== nonEmulated) { 49 | window.alert('WARNING: You appear to be using IE' + nonEmulated + ' in IE' + emulated + ' emulation mode.\nIE emulation modes can behave significantly differently from ACTUAL older versions of IE.\nPLEASE DON\'T FILE BOOTSTRAP BUGS based on testing in IE emulation modes!') 50 | } 51 | })(); 52 | -------------------------------------------------------------------------------- /assets/js/ie10-viewport-bug-workaround.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * IE10 viewport hack for Surface/desktop Windows 8 bug 3 | * Copyright 2014-2015 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | // See the Getting Started docs for more information: 8 | // http://getbootstrap.com/getting-started/#support-ie10-width 9 | 10 | (function () { 11 | 'use strict'; 12 | 13 | if (navigator.userAgent.match(/IEMobile\/10\.0/)) { 14 | var msViewportStyle = document.createElement('style') 15 | msViewportStyle.appendChild( 16 | document.createTextNode( 17 | '@-ms-viewport{width:auto!important}' 18 | ) 19 | ) 20 | document.querySelector('head').appendChild(msViewportStyle) 21 | } 22 | 23 | })(); 24 | -------------------------------------------------------------------------------- /assets/js/ie8-responsive-file-warning.js: -------------------------------------------------------------------------------- 1 | // NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT 2 | // IT'S JUST JUNK FOR OUR DOCS! 3 | // ++++++++++++++++++++++++++++++++++++++++++ 4 | /*! 5 | * Copyright 2011-2015 Twitter, Inc. 6 | * 7 | * Licensed under the Creative Commons Attribution 3.0 Unported License. For 8 | * details, see https://creativecommons.org/licenses/by/3.0/. 9 | */ 10 | // Intended to prevent false-positive bug reports about responsive styling supposedly not working in IE8. 11 | if (window.location.protocol == 'file:') { 12 | window.alert('ERROR: Bootstrap\'s responsive CSS is disabled!\nSee getbootstrap.com/getting-started/#respond-file-proto for details.') 13 | } 14 | -------------------------------------------------------------------------------- /assets/js/jquery-jvectormap-1.2.2.css: -------------------------------------------------------------------------------- 1 | .jvectormap-label { 2 | position: absolute; 3 | display: none; 4 | border: solid 1px #CDCDCD; 5 | -webkit-border-radius: 3px; 6 | -moz-border-radius: 3px; 7 | border-radius: 3px; 8 | background: #292929; 9 | color: white; 10 | font-size: 10px !important; 11 | padding: 3px; 12 | z-index: 9999; 13 | } 14 | 15 | .jvectormap-zoomin, .jvectormap-zoomout { 16 | position: absolute; 17 | top: 100%; 18 | margin-top: -25px; 19 | -webkit-border-radius: 2px; 20 | -moz-border-radius: 2px; 21 | border-radius: 2px; 22 | background: #d2d6de; // rgba (0,0,0,0.4); 23 | padding: 5px; 24 | color: #444; 25 | cursor: pointer; 26 | line-height: 10px; 27 | text-align: center; 28 | font-weight: bold; 29 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); 30 | } 31 | 32 | .jvectormap-zoomin { 33 | left: 100%; 34 | margin-left: -50px; 35 | } 36 | 37 | .jvectormap-zoomout { 38 | left: 100%; 39 | margin-left: -30px; 40 | } -------------------------------------------------------------------------------- /assets/js/jquery.price_format.2.0.min.js: -------------------------------------------------------------------------------- 1 | (function(e){e.fn.priceFormat=function(t){var n={prefix:"US$ ",suffix:"",centsSeparator:".",thousandsSeparator:",",limit:false,centsLimit:2,clearPrefix:false,clearSufix:false,allowNegative:false,insertPlusSign:false,clearOnEmpty:false};var t=e.extend(n,t);return this.each(function(){function m(e){if(n.is("input"))n.val(e);else n.html(e)}function g(){if(n.is("input"))r=n.val();else r=n.html();return r}function y(e){var t="";for(var n=0;n0;m--){char_=h.substr(m-1,1);f++;if(f%3==0)char_=a+char_;i=char_+i}if(i.substr(0,1)==a)i=i.substring(1,i.length);r=l==0?i:i+u+c}if(p&&(h!=0||c!=0)){if(t.indexOf("-")!=-1&&t.indexOf("+")=48&&t<=57||t>=96&&t<=105)i=true;if(t==8)i=true;if(t==9)i=true;if(t==13)i=true;if(t==46)i=true;if(t==37)i=true;if(t==39)i=true;if(p&&(t==189||t==109||t==173))i=true;if(d&&(t==187||t==107||t==61))i=true;if(!i){e.preventDefault();e.stopPropagation();if(s!=o)m(o)}}function S(){var e=g();var t=w(e);if(e!=t)m(t);if(parseFloat(e)==0&&v)m("")}function x(){n.val(s+g())}function T(){n.val(g()+o)}function N(){if(e.trim(s)!=""&&c){var t=g().split(s);m(t[1])}}function C(){if(e.trim(o)!=""&&h){var t=g().split(o);m(t[0])}}var n=e(this);var r="";var i=/[0-9]/;if(n.is("input"))r=n.val();else r=n.html();var s=t.prefix;var o=t.suffix;var u=t.centsSeparator;var a=t.thousandsSeparator;var f=t.limit;var l=t.centsLimit;var c=t.clearPrefix;var h=t.clearSuffix;var p=t.allowNegative;var d=t.insertPlusSign;var v=t.clearOnEmpty;if(d)p=true;n.bind("keydown.price_format",E);n.bind("keyup.price_format",S);n.bind("focusout.price_format",S);if(c){n.bind("focusout.price_format",function(){N()});n.bind("focusin.price_format",function(){x()})}if(h){n.bind("focusout.price_format",function(){C()});n.bind("focusin.price_format",function(){T()})}if(g().length>0){S();N();C()}})};e.fn.unpriceFormat=function(){return e(this).unbind(".price_format")};e.fn.unmask=function(){var t;var n="";if(e(this).is("input"))t=e(this).val();else t=e(this).html();for(var r in t){if(!isNaN(t[r])||t[r]=="-")n+=t[r]}return n}})(jQuery) -------------------------------------------------------------------------------- /assets/js/main.js: -------------------------------------------------------------------------------- 1 | jQuery(document).ready(function($){ 2 | var tabItems = $('.cd-tabs-navigation a'), 3 | tabContentWrapper = $('.cd-tabs-content'); 4 | 5 | tabItems.on('click', function(event){ 6 | event.preventDefault(); 7 | var selectedItem = $(this); 8 | if( !selectedItem.hasClass('selected') ) { 9 | var selectedTab = selectedItem.data('content'), 10 | selectedContent = tabContentWrapper.find('li[data-content="'+selectedTab+'"]'), 11 | slectedContentHeight = selectedContent.innerHeight(); 12 | 13 | tabItems.removeClass('selected'); 14 | selectedItem.addClass('selected'); 15 | selectedContent.addClass('selected').siblings('li').removeClass('selected'); 16 | //animate tabContentWrapper height when content changes 17 | tabContentWrapper.animate({ 18 | 'height': slectedContentHeight 19 | }, 200); 20 | } 21 | }); 22 | 23 | //hide the .cd-tabs::after element when tabbed navigation has scrolled to the end (mobile version) 24 | checkScrolling($('.cd-tabs nav')); 25 | $(window).on('resize', function(){ 26 | checkScrolling($('.cd-tabs nav')); 27 | tabContentWrapper.css('height', 'auto'); 28 | }); 29 | $('.cd-tabs nav').on('scroll', function(){ 30 | checkScrolling($(this)); 31 | }); 32 | 33 | function checkScrolling(tabs){ 34 | var totalTabWidth = parseInt(tabs.children('.cd-tabs-navigation').width()), 35 | tabsViewport = parseInt(tabs.width()); 36 | if( tabs.scrollLeft() >= totalTabWidth - tabsViewport) { 37 | tabs.parent('.cd-tabs').addClass('is-ended'); 38 | } else { 39 | tabs.parent('.cd-tabs').removeClass('is-ended'); 40 | } 41 | } 42 | }); -------------------------------------------------------------------------------- /assets/js/memenu.js: -------------------------------------------------------------------------------- 1 | $.fn.memenu=function(e){function r(){$(".memenu").find("li, a").unbind();if(window.innerWidth<=768){o();s();if(n==0){$(".memenu > li:not(.showhide)").hide(0)}}else{u();i()}}function i(){$(".memenu li").bind("mouseover",function(){$(this).children(".dropdown, .mepanel").stop().fadeIn(t.interval)}).bind("mouseleave",function(){$(this).children(".dropdown, .mepanel").stop().fadeOut(t.interval)})}function s(){$(".memenu > li > a").bind("click",function(e){if($(this).siblings(".dropdown, .mepanel").css("display")=="none"){$(this).siblings(".dropdown, .mepanel").slideDown(t.interval);$(this).siblings(".dropdown").find("ul").slideDown(t.interval);n=1}else{$(this).siblings(".dropdown, .mepanel").slideUp(t.interval)}})}function o(){$(".memenu > li.showhide").show(0);$(".memenu > li.showhide").bind("click",function(){if($(".memenu > li").is(":hidden")){$(".memenu > li").slideDown(300)}else{$(".memenu > li:not(.showhide)").slideUp(300);$(".memenu > li.showhide").show(0)}})}function u(){$(".memenu > li").show(0);$(".memenu > li.showhide").hide(0)}var t={interval:250};var n=0;$(".memenu").prepend("
  • MENU
  • ");r();$(window).resize(function(){r()})} -------------------------------------------------------------------------------- /assets/js/move-top.js: -------------------------------------------------------------------------------- 1 | (function($){$.fn.UItoTop=function(options){var defaults={text:'To Top',min:200,inDelay:600,outDelay:400,containerID:'toTop',containerHoverID:'toTopHover',scrollSpeed:1200,easingType:'linear'},settings=$.extend(defaults,options),containerIDhash='#'+settings.containerID,containerHoverIDHash='#'+settings.containerHoverID;$('body').append(''+settings.text+'');$(containerIDhash).hide().on('click.UItoTop',function(){$('html, body').animate({scrollTop:0},settings.scrollSpeed,settings.easingType);$('#'+settings.containerHoverID,this).stop().animate({'opacity':0},settings.inDelay,settings.easingType);return false;}).prepend('').hover(function(){$(containerHoverIDHash,this).stop().animate({'opacity':1},600,'linear');},function(){$(containerHoverIDHash,this).stop().animate({'opacity':0},700,'linear');});$(window).scroll(function(){var sd=$(window).scrollTop();if(typeof document.body.style.maxHeight==="undefined"){$(containerIDhash).css({'position':'absolute','top':sd+$(window).height()-50});} 2 | if(sd>settings.min) 3 | $(containerIDhash).fadeIn(settings.inDelay);else 4 | $(containerIDhash).fadeOut(settings.Outdelay);});};})(jQuery); -------------------------------------------------------------------------------- /assets/js/npm.js: -------------------------------------------------------------------------------- 1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. 2 | require('../../js/transition.js') 3 | require('../../js/alert.js') 4 | require('../../js/button.js') 5 | require('../../js/carousel.js') 6 | require('../../js/collapse.js') 7 | require('../../js/dropdown.js') 8 | require('../../js/modal.js') 9 | require('../../js/tooltip.js') 10 | require('../../js/popover.js') 11 | require('../../js/scrollspy.js') 12 | require('../../js/tab.js') 13 | require('../../js/affix.js') -------------------------------------------------------------------------------- /assets/js/upload.js: -------------------------------------------------------------------------------- 1 | $('#fileupload') 2 | .fileupload( 3 | { 4 | url : site_url + "upload/do_upload/" + product_id + "/" + image_id, 5 | dataType : 'json', 6 | acceptFileTypes : /(\.|\/)(gif|jpe?g|png)$/i, 7 | maxFileSize : 999000, 8 | // Enable image resizing, except for Android and Opera, 9 | // which actually support image resizing, but fail to 10 | // send Blob objects via XHR requests: 11 | disableImageResize : /Android(?!.*Chrome)|Opera/ 12 | .test(window.navigator.userAgent), 13 | previewMaxWidth : 200, 14 | previewMaxHeight : 200, 15 | previewCrop : true 16 | }) 17 | .on('fileuploadadd', function(e, data) { 18 | data.context = $('
    ').appendTo('#files'); 19 | $.each(data.files, function(index, file) { 20 | var node = $('

    ').append($('').text(file.name)); 21 | if (!index) { 22 | node.append('
    '); 23 | } 24 | node.appendTo(data.context); 25 | }); 26 | }) 27 | .on( 28 | 'fileuploadprocessalways', 29 | function(e, data) { 30 | var index = data.index, file = data.files[index], node = $(data.context 31 | .children()[index]); 32 | if (file.preview) { 33 | node.prepend('
    ').prepend(file.preview); 34 | } 35 | if (file.error) { 36 | node.append('
    ').append( 37 | $('').text( 38 | file.error)); 39 | } 40 | if (index + 1 === data.files.length) { 41 | data.context.find('button').text('Upload').prop( 42 | 'disabled', !!data.files.error); 43 | } 44 | }).on('fileuploadprogressall', function(e, data) { 45 | var progress = parseInt(data.loaded / data.total * 100, 10); 46 | $('#progress .progress-bar').css('width', progress + '%'); 47 | }).on( 48 | 'fileuploaddone', 49 | function(e, data) { 50 | $.each(data.result.files, function(index, file) { 51 | if (file.url_upload) { 52 | var link = $('').attr('target', '_blank').prop( 53 | 'href', file.url_upload); 54 | $(data.context.children()[index]).wrap(link); 55 | } else if (file.error) { 56 | var error = $('').text( 57 | file.error); 58 | $(data.context.children()[index]).append('
    ') 59 | .append(error); 60 | } 61 | }); 62 | }).on( 63 | 'fileuploadfail', 64 | function(e, data) { 65 | $.each(data.files, function(index) { 66 | var error = $('').text( 67 | 'File upload failed.'); 68 | $(data.context.children()[index]).append('
    ') 69 | .append(error); 70 | }); 71 | }).prop('disabled', !$.support.fileInput).parent().addClass( 72 | $.support.fileInput ? undefined : 'disabled'); -------------------------------------------------------------------------------- /assets/js/vendor/autoprefixer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/assets/js/vendor/autoprefixer.js -------------------------------------------------------------------------------- /assets/php/index.php: -------------------------------------------------------------------------------- 1 | $file

    \n"); 20 | try { 21 | $img = new abeautifulsite\SimpleImage($ori); 22 | $img->resize(460, 460)->save($cat . $file); 23 | } catch (Exception $e) { 24 | echo 'Error: ' . $e->getMessage(); 25 | } 26 | } 27 | ?> 28 | -------------------------------------------------------------------------------- /assets/php/resize.php: -------------------------------------------------------------------------------- 1 | $file
    \n"); 20 | try { 21 | $img = new abeautifulsite\SimpleImage($ori); 22 | $img->resize(460, 460)->save($cat . $file); 23 | } catch (Exception $e) { 24 | echo 'Error: ' . $e->getMessage(); 25 | } 26 | } 27 | ?> 28 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "description" : "The CodeIgniter framework", 3 | "name" : "codeigniter/framework", 4 | "license": "MIT", 5 | "require": { 6 | "php": ">=5.2.4" 7 | }, 8 | "require-dev": { 9 | "mikey179/vfsStream": "1.1.*" 10 | } 11 | } -------------------------------------------------------------------------------- /license.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 - 2015, British Columbia Institute of Technology 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /readme.rst: -------------------------------------------------------------------------------- 1 | ################### 2 | What is CodeIgniter 3 | ################### 4 | 5 | CodeIgniter is an Application Development Framework - a toolkit - for people 6 | who build web sites using PHP. Its goal is to enable you to develop projects 7 | much faster than you could if you were writing code from scratch, by providing 8 | a rich set of libraries for commonly needed tasks, as well as a simple 9 | interface and logical structure to access these libraries. CodeIgniter lets 10 | you creatively focus on your project by minimizing the amount of code needed 11 | for a given task. 12 | 13 | ******************* 14 | Release Information 15 | ******************* 16 | 17 | This repo contains in-development code for future releases. To download the 18 | latest stable release please visit the `CodeIgniter Downloads 19 | `_ page. 20 | 21 | ************************** 22 | Changelog and New Features 23 | ************************** 24 | 25 | You can find a list of all changes for each release in the `user 26 | guide change log `_. 27 | 28 | ******************* 29 | Server Requirements 30 | ******************* 31 | 32 | PHP version 5.4 or newer is recommended. 33 | 34 | It should work on 5.2.4 as well, but we strongly advise you NOT to run 35 | such old versions of PHP, because of potential security and performance 36 | issues, as well as missing features. 37 | 38 | ************ 39 | Installation 40 | ************ 41 | 42 | Please see the `installation section `_ 43 | of the CodeIgniter User Guide. 44 | 45 | ******* 46 | License 47 | ******* 48 | 49 | Please see the `license 50 | agreement `_. 51 | 52 | ********* 53 | Resources 54 | ********* 55 | 56 | - `User Guide `_ 57 | - `Language File Translations `_ 58 | - `Community Forums `_ 59 | - `Community Wiki `_ 60 | - `Community IRC `_ 61 | 62 | Report security issues to our `Security Panel `_, thank you. 63 | 64 | *************** 65 | Acknowledgement 66 | *************** 67 | 68 | The CodeIgniter team would like to thank EllisLab, all the 69 | contributors to the CodeIgniter project and you, the CodeIgniter user. -------------------------------------------------------------------------------- /system/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | Require all denied 3 | 4 | 5 | Deny from all 6 | -------------------------------------------------------------------------------- /system/core/Model.php: -------------------------------------------------------------------------------- 1 | $key; 78 | } 79 | 80 | } 81 | -------------------------------------------------------------------------------- /system/core/compat/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/core/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/cubrid_utility.php: -------------------------------------------------------------------------------- 1 | db->data_cache['db_names'])) 57 | { 58 | return $this->db->data_cache['db_names']; 59 | } 60 | 61 | return $this->db->data_cache['db_names'] = cubrid_list_dbs($this->db->conn_id); 62 | } 63 | 64 | // -------------------------------------------------------------------- 65 | 66 | /** 67 | * CUBRID Export 68 | * 69 | * @param array Preferences 70 | * @return mixed 71 | */ 72 | protected function _backup($params = array()) 73 | { 74 | // No SQL based support in CUBRID as of version 8.4.0. Database or 75 | // table backup can be performed using CUBRID Manager 76 | // database administration tool. 77 | return $this->db->display_error('db_unsupported_feature'); 78 | } 79 | } 80 | -------------------------------------------------------------------------------- /system/database/drivers/cubrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/ibase_utility.php: -------------------------------------------------------------------------------- 1 | db->hostname, $this->db->username, $this->db->password)) 58 | { 59 | $res = ibase_backup($service, $this->db->database, $filename.'.fbk'); 60 | 61 | // Close the service connection 62 | ibase_service_detach($service); 63 | return $res; 64 | } 65 | 66 | return FALSE; 67 | } 68 | 69 | } 70 | -------------------------------------------------------------------------------- /system/database/drivers/ibase/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mssql/mssql_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/drivers/mysql/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/mysqli/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/oci8/oci8_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/odbc/odbc_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/pdo_forge.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 61 | } 62 | 63 | } 64 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/pdo/subdrivers/pdo_odbc_forge.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/postgre/postgre_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite/sqlite_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlite3/sqlite3_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 59 | } 60 | 61 | } 62 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/database/drivers/sqlsrv/sqlsrv_utility.php: -------------------------------------------------------------------------------- 1 | db->display_error('db_unsupported_feature'); 75 | } 76 | 77 | } 78 | -------------------------------------------------------------------------------- /system/database/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/fonts/texb.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haidarvm/shop/9139feb3da492486343f8c3daf7ed2bc2b901ea9/system/fonts/texb.ttf -------------------------------------------------------------------------------- /system/helpers/email_helper.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/helpers/language_helper.php: -------------------------------------------------------------------------------- 1 | lang->line($line); 67 | 68 | if ($for !== '') 69 | { 70 | $line = ''; 71 | } 72 | 73 | return $line; 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /system/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/ftp_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/language/english/migration_lang.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/drivers/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Javascript/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/SessionHandlerInterface.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/Session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /system/libraries/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 403 Forbidden 5 | 6 | 7 | 8 |

    Directory access is forbidden.

    9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /test.php: -------------------------------------------------------------------------------- 1 | test 2 | --------------------------------------------------------------------------------