├── pages ├── ipn.php ├── logout.php ├── index.php ├── return.php ├── error.php ├── cancel.php ├── registered-failed.php ├── registered.php ├── activate.php ├── catalogue-item.php ├── orders.php ├── catalogue.php ├── basket.php └── summary.php ├── admin ├── pages │ ├── logout.php │ ├── clients │ │ ├── ._edit.php │ │ ├── ._list.php │ │ ├── ._edited.php │ │ ├── ._remove.php │ │ ├── ._edited-failed.php │ │ ├── edited-failed.php │ │ ├── edited.php │ │ ├── remove.php │ │ └── list.php │ ├── business │ │ ├── ._edit.php │ │ ├── ._edited.php │ │ ├── ._edited-failed.php │ │ ├── edited-failed.php │ │ ├── edited.php │ │ └── edit.php │ ├── error.php │ ├── categories │ │ ├── added-failed.php │ │ ├── edited-failed.php │ │ ├── added.php │ │ ├── edited.php │ │ ├── remove.php │ │ ├── list.php │ │ ├── add.php │ │ └── edit.php │ ├── orders │ │ ├── edited-failed.php │ │ ├── edited.php │ │ ├── remove.php │ │ ├── list.php │ │ └── invoice.php │ ├── products │ │ ├── added-failed.php │ │ ├── edited-failed.php │ │ ├── added.php │ │ ├── edited.php │ │ ├── added-no-upload.php │ │ ├── edited-no-upload.php │ │ ├── remove.php │ │ ├── list.php │ │ └── add.php │ ├── business.php │ ├── clients.php │ ├── orders.php │ ├── categories.php │ ├── products.php │ └── index.php ├── index.php └── template │ ├── .__footer.php │ ├── .__header.php │ ├── _footer.php │ └── _header.php ├── index.php ├── readme ├── css ├── ._core.css ├── ._invoice.css ├── invoice.css └── core.css ├── emails ├── ._1.php └── 1.php ├── images ├── sprite.png ├── ._sprite.png ├── ._loadinfo.net.gif └── loadinfo.net.gif ├── inc ├── ._config.php ├── ._autoload.php ├── autoload.php └── config.php ├── dbase └── ._ecommerce.sql ├── mod ├── basket_remove.php ├── basket_small_refresh.php ├── basket_qty.php ├── basket.php ├── basket_left.php ├── paypal.php └── basket_view.php ├── template ├── .__footer.php ├── .__header.php ├── _footer.php └── _header.php ├── classes ├── Application.php ├── Core.php ├── PHPMailer_v5.1 │ ├── ._LICENSE │ ├── ._README │ ├── ._aboutus.html │ ├── test │ │ ├── test.png │ │ ├── ._test.png │ │ ├── ._contents.html │ │ ├── ._testemail.php │ │ ├── phpmailerTest.php │ │ ├── ._phpmailerTest.php │ │ ├── ._test_callback.php │ │ ├── contents.html │ │ ├── testemail.php │ │ └── test_callback.php │ ├── ._PHPMailer.php │ ├── ._changelog.txt │ ├── ._class.pop3.php │ ├── ._class.smtp.php │ ├── docs │ │ ├── ._faq.html │ │ ├── extending.html │ │ ├── ._extending.html │ │ ├── ._use_gmail.txt │ │ ├── ._pop3_article.txt │ │ ├── ._DomainKeys_notes.txt │ │ ├── ._Callback_function_notes.txt │ │ ├── ._Note_for_SMTP_debugging.txt │ │ ├── Callback_function_notes.txt │ │ ├── Note_for_SMTP_debugging.txt │ │ ├── use_gmail.txt │ │ ├── DomainKeys_notes.txt │ │ └── faq.html │ ├── examples │ │ ├── ._index.html │ │ ├── ._contents.html │ │ ├── images │ │ │ ├── phpmailer.gif │ │ │ ├── ._phpmailer.gif │ │ │ ├── phpmailer_mini.gif │ │ │ └── ._phpmailer_mini.gif │ │ ├── ._test_mail_basic.php │ │ ├── ._test_smtp_basic.php │ │ ├── ._test_db_smtp_basic.php │ │ ├── ._test_mail_advanced.php │ │ ├── ._test_sendmail_basic.php │ │ ├── ._test_smtp_advanced.php │ │ ├── ._test_sendmail_advanced.php │ │ ├── ._test_smtp_gmail_basic.php │ │ ├── ._test_smtp_basic_no_auth.php │ │ ├── ._test_smtp_gmail_advanced.php │ │ ├── ._test_pop_before_smtp_basic.php │ │ ├── ._test_smtp_advanced_no_auth.php │ │ ├── ._test_pop_before_smtp_advanced.php │ │ ├── contents.html │ │ ├── test_mail_basic.php │ │ ├── test_sendmail_basic.php │ │ ├── test_mail_advanced.php │ │ ├── test_sendmail_advanced.php │ │ ├── test_pop_before_smtp_basic.php │ │ ├── test_pop_before_smtp_advanced.php │ │ ├── test_smtp_advanced_no_auth.php │ │ ├── test_smtp_basic_no_auth.php │ │ ├── test_smtp_advanced.php │ │ ├── test_smtp_gmail_advanced.php │ │ ├── test_smtp_basic.php │ │ ├── test_smtp_gmail_basic.php │ │ ├── test_db_smtp_basic.php │ │ └── index.html │ └── language │ │ ├── ._phpmailer.lang-ar.php │ │ ├── ._phpmailer.lang-br.php │ │ ├── ._phpmailer.lang-ca.php │ │ ├── ._phpmailer.lang-ch.php │ │ ├── ._phpmailer.lang-cz.php │ │ ├── ._phpmailer.lang-de.php │ │ ├── ._phpmailer.lang-dk.php │ │ ├── ._phpmailer.lang-es.php │ │ ├── ._phpmailer.lang-et.php │ │ ├── ._phpmailer.lang-fi.php │ │ ├── ._phpmailer.lang-fo.php │ │ ├── ._phpmailer.lang-fr.php │ │ ├── ._phpmailer.lang-hu.php │ │ ├── ._phpmailer.lang-it.php │ │ ├── ._phpmailer.lang-ja.php │ │ ├── ._phpmailer.lang-nl.php │ │ ├── ._phpmailer.lang-no.php │ │ ├── ._phpmailer.lang-pl.php │ │ ├── ._phpmailer.lang-ro.php │ │ ├── ._phpmailer.lang-ru.php │ │ ├── ._phpmailer.lang-se.php │ │ ├── ._phpmailer.lang-tr.php │ │ ├── ._phpmailer.lang-zh.php │ │ ├── ._phpmailer.lang-zh_cn.php │ │ ├── phpmailer.lang-zh.php │ │ ├── phpmailer.lang-zh_cn.php │ │ ├── phpmailer.lang-ch.php │ │ ├── phpmailer.lang-ja.php │ │ ├── phpmailer.lang-no.php │ │ ├── phpmailer.lang-cz.php │ │ ├── phpmailer.lang-pl.php │ │ ├── phpmailer.lang-se.php │ │ ├── phpmailer.lang-nl.php │ │ ├── phpmailer.lang-hu.php │ │ ├── phpmailer.lang-dk.php │ │ ├── phpmailer.lang-tr.php │ │ ├── phpmailer.lang-et.php │ │ ├── phpmailer.lang-ru.php │ │ ├── phpmailer.lang-es.php │ │ ├── phpmailer.lang-fr.php │ │ ├── phpmailer.lang-ar.php │ │ ├── phpmailer.lang-ca.php │ │ ├── phpmailer.lang-ro.php │ │ ├── phpmailer.lang-fo.php │ │ ├── phpmailer.lang-fi.php │ │ ├── phpmailer.lang-br.php │ │ ├── phpmailer.lang-it.php │ │ └── phpmailer.lang-de.php ├── Country.php ├── Admin.php ├── Business.php ├── Session.php ├── Upload.php ├── Url.php ├── Form.php ├── Basket.php ├── Email.php ├── Helper.php ├── Paging.php ├── Login.php └── User.php └── media └── catalogue ├── unavailable.png ├── ._unavailable.png ├── 41jvrdnqpcl.-ss500-.jpg ├── 41pw5c70m-l.-ss500-.jpg ├── 41tvgoec72l.-ss500-.jpg ├── 515htcskybl.-ss500-.jpg ├── 51c4k9pth4l.-ss500-.jpg ├── 51msk1xtdbl.-ss500-.jpg ├── 51s9-bneftl.-ss500-.jpg ├── 51xqyzh2hcl.-ss500-.jpg ├── 51yw-ak9hgl.-ss400-.jpg ├── ._41jvrdnqpcl.-ss500-.jpg ├── ._41pw5c70m-l.-ss500-.jpg ├── ._41tvgoec72l.-ss500-.jpg ├── ._515htcskybl.-ss500-.jpg ├── ._51c4k9pth4l.-ss500-.jpg ├── ._51msk1xtdbl.-ss500-.jpg ├── ._51s9-bneftl.-ss500-.jpg ├── ._51xqyzh2hcl.-ss500-.jpg └── ._51yw-ak9hgl.-ss400-.jpg /pages/ipn.php: -------------------------------------------------------------------------------- 1 | ipn(); -------------------------------------------------------------------------------- /pages/logout.php: -------------------------------------------------------------------------------- 1 | run(); -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | run(); -------------------------------------------------------------------------------- /pages/index.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /readme: -------------------------------------------------------------------------------- 1 | We had to remove the PHPMailer from the final version as it's licensed product so please download it from http://phpmailer.worxware.com/ -------------------------------------------------------------------------------- /css/._core.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/css/._core.css -------------------------------------------------------------------------------- /emails/._1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/emails/._1.php -------------------------------------------------------------------------------- /css/._invoice.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/css/._invoice.css -------------------------------------------------------------------------------- /images/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/images/sprite.png -------------------------------------------------------------------------------- /inc/._config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/inc/._config.php -------------------------------------------------------------------------------- /images/._sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/images/._sprite.png -------------------------------------------------------------------------------- /inc/._autoload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/inc/._autoload.php -------------------------------------------------------------------------------- /dbase/._ecommerce.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/dbase/._ecommerce.sql -------------------------------------------------------------------------------- /mod/basket_remove.php: -------------------------------------------------------------------------------- 1 | db = new Dbase(); 8 | } 9 | 10 | } -------------------------------------------------------------------------------- /classes/Core.php: -------------------------------------------------------------------------------- 1 | 5 |

Thank you

6 |

Thank you for your order.

7 | -------------------------------------------------------------------------------- /admin/pages/business/._edited-failed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/admin/pages/business/._edited-failed.php -------------------------------------------------------------------------------- /admin/pages/clients/._edited-failed.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/admin/pages/clients/._edited-failed.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/._PHPMailer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/._PHPMailer.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/._changelog.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/._changelog.txt -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/._class.pop3.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/._class.pop3.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/._class.smtp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/._class.smtp.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/._faq.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/._faq.html -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/._test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/test/._test.png -------------------------------------------------------------------------------- /media/catalogue/41jvrdnqpcl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/41jvrdnqpcl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/41pw5c70m-l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/41pw5c70m-l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/41tvgoec72l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/41tvgoec72l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/515htcskybl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/515htcskybl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/51c4k9pth4l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/51c4k9pth4l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/51msk1xtdbl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/51msk1xtdbl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/51s9-bneftl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/51s9-bneftl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/51xqyzh2hcl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/51xqyzh2hcl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/51yw-ak9hgl.-ss400-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/51yw-ak9hgl.-ss400-.jpg -------------------------------------------------------------------------------- /pages/error.php: -------------------------------------------------------------------------------- 1 | 2 |

Page not found!

3 |

The page you are trying to access does not exist or has been moved.

4 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/extending.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/extending.html -------------------------------------------------------------------------------- /media/catalogue/._41jvrdnqpcl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._41jvrdnqpcl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._41pw5c70m-l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._41pw5c70m-l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._41tvgoec72l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._41tvgoec72l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._515htcskybl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._515htcskybl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._51c4k9pth4l.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._51c4k9pth4l.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._51msk1xtdbl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._51msk1xtdbl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._51s9-bneftl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._51s9-bneftl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._51xqyzh2hcl.-ss500-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._51xqyzh2hcl.-ss500-.jpg -------------------------------------------------------------------------------- /media/catalogue/._51yw-ak9hgl.-ss400-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/media/catalogue/._51yw-ak9hgl.-ss400-.jpg -------------------------------------------------------------------------------- /pages/cancel.php: -------------------------------------------------------------------------------- 1 | 2 |

There was a problem.

3 |

There was a problem with your order.
4 | Please try again.

5 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/._extending.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/._extending.html -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/._use_gmail.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/._use_gmail.txt -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._index.html -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/._contents.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/test/._contents.html -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/._testemail.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/test/._testemail.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/phpmailerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/test/phpmailerTest.php -------------------------------------------------------------------------------- /inc/autoload.php: -------------------------------------------------------------------------------- 1 | 2 |

Page not found!

3 |

The page you are trying to access does not exist or has been moved.

4 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/images/phpmailer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/images/phpmailer.gif -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_mail_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_mail_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/images/._phpmailer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/images/._phpmailer.gif -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ar.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-br.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-br.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ca.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ca.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ch.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-cz.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-cz.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-de.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-de.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-dk.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-dk.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-es.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-es.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-et.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-et.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-fi.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-fi.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-fo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-fo.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-fr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-fr.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-hu.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-hu.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-it.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-it.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ja.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ja.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-nl.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-nl.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-no.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-no.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-pl.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-pl.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ro.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ro.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-ru.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-ru.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-se.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-se.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-tr.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-tr.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-zh.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-zh.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/._Callback_function_notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/._Callback_function_notes.txt -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/._Note_for_SMTP_debugging.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/docs/._Note_for_SMTP_debugging.txt -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_db_smtp_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_db_smtp_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_mail_advanced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_mail_advanced.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_sendmail_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_sendmail_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_advanced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_advanced.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/images/phpmailer_mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/images/phpmailer_mini.gif -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_sendmail_advanced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_sendmail_advanced.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_gmail_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_gmail_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/images/._phpmailer_mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/images/._phpmailer_mini.gif -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/._phpmailer.lang-zh_cn.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/language/._phpmailer.lang-zh_cn.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_basic_no_auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_basic_no_auth.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_gmail_advanced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_gmail_advanced.php -------------------------------------------------------------------------------- /admin/pages/business/edited-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Business

3 |

There was a problem updating this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_pop_before_smtp_basic.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_pop_before_smtp_basic.php -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_smtp_advanced_no_auth.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_smtp_advanced_no_auth.php -------------------------------------------------------------------------------- /pages/registered-failed.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Registration failed

4 | 5 |

There was a problem processing your registration.
6 | Please try again later.

7 | 8 | -------------------------------------------------------------------------------- /admin/pages/categories/added-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Categories :: Add

3 |

There was a problem adding this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /admin/pages/clients/edited-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Clients :: Edit

3 |

There was a problem updating this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /admin/pages/orders/edited-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Orders :: View

3 |

There was a problem updating this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /admin/pages/products/added-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Products :: Add

3 |

There was a problem adding this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /admin/pages/products/edited-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Products :: Edit

3 |

There was a problem updating this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/._test_pop_before_smtp_advanced.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/faruqi/udemy.com-build-ecommerce-website-with-PHP-MySQL-jQuery-and-PayPal-code-examples/HEAD/classes/PHPMailer_v5.1/examples/._test_pop_before_smtp_advanced.php -------------------------------------------------------------------------------- /admin/pages/categories/edited-failed.php: -------------------------------------------------------------------------------- 1 | 2 |

Categories :: Edit

3 |

There was a problem updating this record.
4 | Please contact administrator.

5 | -------------------------------------------------------------------------------- /pages/registered.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Registered

4 | 5 |

Thank you for registering with us.
6 | In order to proceed you have to activate your account by clicking on the link, which we have sent you by email.

7 | 8 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/contents.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Email test 5 | 6 | 7 | 8 |

Here is a test HTML email

9 | 10 | 11 | -------------------------------------------------------------------------------- /admin/pages/business/edited.php: -------------------------------------------------------------------------------- 1 | 5 |

Business

6 |

The record has been updated successfully.
7 | Go back to the business record.

8 | -------------------------------------------------------------------------------- /admin/pages/orders/edited.php: -------------------------------------------------------------------------------- 1 | 5 |

Orders :: View

6 |

The record has been updated successfully.
7 | Go back to the list of orders.

8 | -------------------------------------------------------------------------------- /admin/pages/clients/edited.php: -------------------------------------------------------------------------------- 1 | 5 |

Clients :: Edit

6 |

The record has been updated successfully.
7 | Go back to the list of clients.

8 | -------------------------------------------------------------------------------- /admin/pages/products/added.php: -------------------------------------------------------------------------------- 1 | 5 |

Products :: Add

6 |

The new record has been added successfully.
7 | Go back to the list of products.

8 | -------------------------------------------------------------------------------- /admin/pages/products/edited.php: -------------------------------------------------------------------------------- 1 | 5 |

Products :: Edit

6 |

The record has been updated successfully.
7 | Go back to the list of products.

8 | -------------------------------------------------------------------------------- /admin/pages/categories/added.php: -------------------------------------------------------------------------------- 1 | 5 |

Categories :: Add

6 |

The new record has been added successfully.
7 | Go back to the list of categories.

8 | -------------------------------------------------------------------------------- /admin/pages/categories/edited.php: -------------------------------------------------------------------------------- 1 | 5 |

Categories :: Edit

6 |

The record has been updated successfully.
7 | Go back to the list of categories.

8 | -------------------------------------------------------------------------------- /emails/1.php: -------------------------------------------------------------------------------- 1 |

Dear ,

2 |

Thank you for registering at our website.
3 | Your login details are as follow:

4 | 5 |

Login:
6 | Password:

7 | 8 |

In order to activate your account please click on the link below:

9 | 10 |

-------------------------------------------------------------------------------- /mod/basket_small_refresh.php: -------------------------------------------------------------------------------- 1 | _number_of_items; 6 | $out['bl_st'] = number_format($objBasket->_sub_total, 2); 7 | $out['bl_vat'] = number_format($objBasket->_vat, 2); 8 | $out['bl_total'] = number_format($objBasket->_total, 2); 9 | echo json_encode($out); -------------------------------------------------------------------------------- /admin/pages/products/added-no-upload.php: -------------------------------------------------------------------------------- 1 | 5 |

Products :: Add

6 |

The new record has been added successfully without the image.
7 | Go back to the list of products.

8 | -------------------------------------------------------------------------------- /admin/pages/products/edited-no-upload.php: -------------------------------------------------------------------------------- 1 | 5 |

Products :: Edit

6 |

The record has been updated successfully, but without changing the image.
7 | Go back to the list of products.

8 | -------------------------------------------------------------------------------- /admin/pages/business.php: -------------------------------------------------------------------------------- 1 | 2 |
 
3 | 4 | 5 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /admin/template/_footer.php: -------------------------------------------------------------------------------- 1 | 2 |
 
3 | 4 | 5 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /mod/basket_qty.php: -------------------------------------------------------------------------------- 1 | getProduct($id); 12 | 13 | if (!empty($product)) { 14 | 15 | switch($val) { 16 | case 0: 17 | Session::removeItem($id); 18 | break; 19 | default: 20 | Session::setItem($id, $val); 21 | } 22 | 23 | } 24 | 25 | } -------------------------------------------------------------------------------- /classes/Country.php: -------------------------------------------------------------------------------- 1 | db->fetchAll($sql); 9 | } 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | public function getCountry($id = null) { 18 | if (!empty($id)) { 19 | $sql = "SELECT * FROM `countries` 20 | WHERE `id` = '".$this->db->escape($id)."'"; 21 | return $this->db->fetchOne($sql); 22 | } 23 | } 24 | 25 | 26 | 27 | } -------------------------------------------------------------------------------- /admin/pages/clients.php: -------------------------------------------------------------------------------- 1 | getProduct($id); 13 | 14 | if (!empty($product)) { 15 | 16 | switch($job) { 17 | 18 | case 0: 19 | Session::removeItem($id); 20 | $out['job'] = 1; 21 | break; 22 | 23 | case 1: 24 | Session::setItem($id); 25 | $out['job'] = 0; 26 | break; 27 | 28 | } 29 | echo json_encode($out); 30 | 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /admin/pages/orders.php: -------------------------------------------------------------------------------- 1 | _table}` 17 | WHERE `email` = '".$this->db->escape($email)."' 18 | AND `password` = '".$this->db->escape($password)."'"; 19 | $result = $this->db->fetchOne($sql); 20 | if (!empty($result)) { 21 | $this->_id = $result['id']; 22 | return true; 23 | } 24 | return false; 25 | } 26 | } 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | } -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/Callback_function_notes.txt: -------------------------------------------------------------------------------- 1 | NEW CALLBACK FUNCTION: 2 | ====================== 3 | 4 | We have had requests for a method to process the results of sending emails 5 | through PHPMailer. In this new release, we have implemented a callback 6 | function that passes the results of each email sent (to, cc, and/or bcc). 7 | We have provided an example that echos the results back to the screen. The 8 | callback function can be used for any purpose. With minor modifications, the 9 | callback function can be used to create CSV logs, post results to databases, 10 | etc. 11 | 12 | Please review the test.php script for the example. 13 | 14 | It's pretty straight forward. 15 | 16 | Enjoy! 17 | Andy 18 | -------------------------------------------------------------------------------- /classes/Business.php: -------------------------------------------------------------------------------- 1 | _table}` 8 | WHERE `id` = 1"; 9 | return $this->db->fetchOne($sql); 10 | } 11 | 12 | 13 | 14 | public function getVatRate() { 15 | $business = $this->getBusiness(); 16 | return $business['vat_rate']; 17 | } 18 | 19 | 20 | 21 | public function updateBusiness($vars = null) { 22 | if (!empty($vars)) { 23 | $this->db->prepareUpdate($vars); 24 | return $this->db->update($this->_table, 1); 25 | } 26 | } 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | } -------------------------------------------------------------------------------- /mod/basket_left.php: -------------------------------------------------------------------------------- 1 | 2 |

Your Basket

3 |
4 |
No. of items:
5 |
_number_of_items; ?>
6 |
Sub-total:
7 |
£_sub_total, 2); ?>
8 |
VAT (_vat_rate; ?>%):
9 |
£_vat, 2); ?>
10 |
Total (inc):
11 |
£_total, 2); ?>
12 |
13 |
 
14 |

View Basket | Checkout

15 |
 
-------------------------------------------------------------------------------- /admin/pages/categories.php: -------------------------------------------------------------------------------- 1 | 2 |
3 |

4 |
5 |  This is a test of PHPMailer.
6 |
7 | This particular example uses HTML, with a <div> tag and inline
8 | styles.
9 |
10 | Also note the use of the PHPMailer logo above with no specific code to handle 11 | including it.
12 | Included are two attachments:
13 | phpmailer.gif is an attachment and used inline as a graphic (above)
14 | phpmailer_mini.gif is an attachment
15 |
16 | PHPMailer:
17 | Author: Andy Prevost (codeworxtech@users.sourceforge.net)
18 | Author: Marcus Bointon (coolbru@users.sourceforge.net)
19 |
20 | 21 | -------------------------------------------------------------------------------- /admin/pages/orders/remove.php: -------------------------------------------------------------------------------- 1 | getOrder($id); 8 | 9 | if (!empty($order)) { 10 | 11 | $yes = '/admin'.Url::getCurrentUrl().'&remove=1'; 12 | $no = 'javascript:history.go(-1)'; 13 | 14 | $remove = Url::getParam('remove'); 15 | 16 | if (!empty($remove)) { 17 | 18 | $objOrder->removeOrder($id); 19 | 20 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id', 'remove', 'srch', Paging::$_key))); 21 | 22 | } 23 | 24 | require_once('template/_header.php'); 25 | ?> 26 |

Orders :: Remove

27 |

Are you sure you want to remove this record?
28 | There is no undo!
29 | Yes | No

30 | -------------------------------------------------------------------------------- /admin/pages/products/remove.php: -------------------------------------------------------------------------------- 1 | getProduct($id); 8 | 9 | if (!empty($product)) { 10 | 11 | $yes = '/admin'.Url::getCurrentUrl().'&remove=1'; 12 | $no = 'javascript:history.go(-1)'; 13 | 14 | $remove = Url::getParam('remove'); 15 | 16 | if (!empty($remove)) { 17 | 18 | $objCatalogue->removeProduct($id); 19 | 20 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id', 'remove', 'srch', Paging::$_key))); 21 | 22 | } 23 | 24 | require_once('template/_header.php'); 25 | ?> 26 |

Products :: Remove

27 |

Are you sure you want to remove this record?
28 | There is no undo!
29 | Yes | No

30 | -------------------------------------------------------------------------------- /admin/pages/categories/remove.php: -------------------------------------------------------------------------------- 1 | getCategory($id); 8 | 9 | if (!empty($category)) { 10 | 11 | $yes = '/admin'.Url::getCurrentUrl().'&remove=1'; 12 | $no = 'javascript:history.go(-1)'; 13 | 14 | $remove = Url::getParam('remove'); 15 | 16 | if (!empty($remove)) { 17 | 18 | $objCatalogue->removeCategory($id); 19 | 20 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id', 'remove', 'srch', Paging::$_key))); 21 | 22 | } 23 | 24 | require_once('template/_header.php'); 25 | ?> 26 |

Categories :: Remove

27 |

Are you sure you want to remove this record?
28 | There is no undo!
29 | Yes | No

30 | -------------------------------------------------------------------------------- /admin/pages/products.php: -------------------------------------------------------------------------------- 1 | getUserByHash($code); 8 | 9 | if (!empty($user)) { 10 | 11 | if ($user['active'] == 0) { 12 | if ($objUser->makeActive($user['id'])) { 13 | $mess = "

Thank you

"; 14 | $mess .= "

Your account has now been successfully activated.
"; 15 | $mess .= "You can now log in and continue with your order.

"; 16 | } else { 17 | $mess = "

Activation unsuccessful

"; 18 | $mess .= "

There has been a problem activating your account.
"; 19 | $mess .= "Please contact administrator.

"; 20 | } 21 | } else { 22 | $mess = "

Account already activated

"; 23 | $mess .= "

This account has already been activated.

"; 24 | } 25 | 26 | } else { 27 | Helper::redirect("/?page=error"); 28 | } 29 | 30 | require_once("_header.php"); 31 | echo $mess; 32 | require_once("_footer.php"); 33 | 34 | } else { 35 | Helper::redirect("/?page=error"); 36 | } 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /admin/pages/clients/remove.php: -------------------------------------------------------------------------------- 1 | getUser($id); 8 | 9 | if (!empty($user)) { 10 | 11 | $objOrder = new Order(); 12 | $orders = $objOrder->getClientOrders($id); 13 | 14 | if (empty($orders)) { 15 | 16 | $yes = '/admin'.Url::getCurrentUrl().'&remove=1'; 17 | $no = 'javascript:history.go(-1)'; 18 | 19 | $remove = Url::getParam('remove'); 20 | 21 | if (!empty($remove)) { 22 | 23 | $objUser->removeUser($id); 24 | 25 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id', 'remove', 'srch', Paging::$_key))); 26 | 27 | } 28 | 29 | require_once('template/_header.php'); 30 | ?> 31 |

Clients :: Remove

32 |

Are you sure you want to remove this client ()?
33 | There is no undo!
34 | Yes | No

35 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_mail_basic.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - Mail() basic test 4 | 5 | 6 | 7 | AddReplyTo("name@yourdomain.com","First Last"); 17 | 18 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 19 | 20 | $mail->AddReplyTo("name@yourdomain.com","First Last"); 21 | 22 | $address = "whoto@otherdomain.com"; 23 | $mail->AddAddress($address, "John Doe"); 24 | 25 | $mail->Subject = "PHPMailer Test Subject via mail(), basic"; 26 | 27 | $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test 28 | 29 | $mail->MsgHTML($body); 30 | 31 | $mail->AddAttachment("images/phpmailer.gif"); // attachment 32 | $mail->AddAttachment("images/phpmailer_mini.gif"); // attachment 33 | 34 | if(!$mail->Send()) { 35 | echo "Mailer Error: " . $mail->ErrorInfo; 36 | } else { 37 | echo "Message sent!"; 38 | } 39 | 40 | ?> 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /classes/Session.php: -------------------------------------------------------------------------------- 1 | SMTPDebug = 1; 7 | $mail->IsSMTP(); // telling the class to use SMTP 8 | $mail->SMTPAuth = true; // enable SMTP authentication 9 | $mail->Port = 26; // set the SMTP port 10 | $mail->Host = "mail.yourhost.com"; // SMTP server 11 | $mail->Username = "name@yourhost.com"; // SMTP account username 12 | $mail->Password = "your password"; // SMTP account password 13 | 14 | Notes on this: 15 | $mail->SMTPDebug = 0; ... will disable debugging (you can also leave this out completely, 0 is the default 16 | $mail->SMTPDebug = 1; ... will echo errors and messages 17 | $mail->SMTPDebug = 2; ... will echo messages only 18 | ... and finally, the options are 0, 1, and 2 ... any number greater than 2 will be interpreted as 2 19 | 20 | And finally, don't forget to disable debugging before going into production. 21 | 22 | Enjoy! 23 | Andy -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_sendmail_basic.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - Sendmail basic test 4 | 5 | 6 | 7 | IsSendmail(); // telling the class to use SendMail transport 14 | 15 | $body = file_get_contents('contents.html'); 16 | $body = eregi_replace("[\]",'',$body); 17 | 18 | $mail->AddReplyTo("name@yourdomain.com","First Last"); 19 | 20 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 21 | 22 | $mail->AddReplyTo("name@yourdomain.com","First Last"); 23 | 24 | $address = "whoto@otherdomain.com"; 25 | $mail->AddAddress($address, "John Doe"); 26 | 27 | $mail->Subject = "PHPMailer Test Subject via Sendmail, basic"; 28 | 29 | $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test 30 | 31 | $mail->MsgHTML($body); 32 | 33 | $mail->AddAttachment("images/phpmailer.gif"); // attachment 34 | $mail->AddAttachment("images/phpmailer_mini.gif"); // attachment 35 | 36 | if(!$mail->Send()) { 37 | echo "Mailer Error: " . $mail->ErrorInfo; 38 | } else { 39 | echo "Message sent!"; 40 | } 41 | 42 | ?> 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-zh.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登錄失敗。'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連接到 SMTP 主機。'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:數據不被接受。'; 11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = '未知編碼: '; 13 | $PHPMAILER_LANG['file_access'] = '無法訪問文件:'; 14 | $PHPMAILER_LANG['file_open'] = '文件錯誤:無法打開文件:'; 15 | $PHPMAILER_LANG['from_failed'] = '發送地址錯誤:'; 16 | $PHPMAILER_LANG['execute'] = '無法執行:'; 17 | $PHPMAILER_LANG['instantiate'] = '未知函數調用。'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。'; 20 | $PHPMAILER_LANG['mailer_not_supported'] = '發信客戶端不被支持。'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:收件人地址錯誤:'; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-zh_cn.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。'; 11 | //$P$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = '未知编码: '; 13 | $PHPMAILER_LANG['execute'] = '无法执行:'; 14 | $PHPMAILER_LANG['file_access'] = '无法访问文件:'; 15 | $PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:'; 16 | $PHPMAILER_LANG['from_failed'] = '发送地址错误:'; 17 | $PHPMAILER_LANG['instantiate'] = '未知函数调用。'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。'; 20 | $PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:'; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_mail_advanced.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - Mail() advanced test 4 | 5 | 6 | 7 | AddReplyTo('name@yourdomain.com', 'First Last'); 14 | $mail->AddAddress('whoto@otherdomain.com', 'John Doe'); 15 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 16 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 17 | $mail->Subject = 'PHPMailer Test Subject via mail(), advanced'; 18 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically 19 | $mail->MsgHTML(file_get_contents('contents.html')); 20 | $mail->AddAttachment('images/phpmailer.gif'); // attachment 21 | $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment 22 | $mail->Send(); 23 | echo "Message Sent OK

\n"; 24 | } catch (phpmailerException $e) { 25 | echo $e->errorMessage(); //Pretty error messages from PHPMailer 26 | } catch (Exception $e) { 27 | echo $e->getMessage(); //Boring error messages from anything else! 28 | } 29 | ?> 30 | 31 | 32 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ch.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_sendmail_advanced.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - Sendmail advanced test 4 | 5 | 6 | 7 | IsSendmail(); // telling the class to use SendMail transport 13 | 14 | try { 15 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 16 | $mail->AddAddress('whoto@otherdomain.com', 'John Doe'); 17 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 18 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 19 | $mail->Subject = 'PHPMailer Test Subject via mail(), advanced'; 20 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically 21 | $mail->MsgHTML(file_get_contents('contents.html')); 22 | $mail->AddAttachment('images/phpmailer.gif'); // attachment 23 | $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment 24 | $mail->Send(); 25 | echo "Message Sent OK

\n"; 26 | } catch (phpmailerException $e) { 27 | echo $e->errorMessage(); //Pretty error messages from PHPMailer 28 | } catch (Exception $e) { 29 | echo $e->getMessage(); //Boring error messages from anything else! 30 | } 31 | ?> 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /admin/pages/categories/list.php: -------------------------------------------------------------------------------- 1 | getCategories(); 4 | 5 | $objPaging = new Paging($categories, 5); 6 | $rows = $objPaging->getRecords(); 7 | 8 | $objPaging->_url = '/admin'.$objPaging->_url; 9 | 10 | require_once('template/_header.php'); 11 | ?> 12 | 13 |

Categories

14 | 15 |

New category

16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 34 | 37 | 38 | 39 | 40 | 41 |
CategoryRemoveEdit
32 | Remove 33 | 35 | Edit 36 |
42 | 43 | getPaging(); ?> 44 | 45 | 46 | 47 |

There are currently no categories created.

48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_pop_before_smtp_basic.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | POP before SMTP Test 4 | 5 | 6 | 7 | Authorise('pop3.yourdomain.com', 110, 30, 'username', 'password', 1); 13 | 14 | $mail = new PHPMailer(); 15 | 16 | $body = file_get_contents('contents.html'); 17 | $body = eregi_replace("[\]",'',$body); 18 | 19 | $mail->IsSMTP(); 20 | $mail->SMTPDebug = 2; 21 | $mail->Host = 'pop3.yourdomain.com'; 22 | 23 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 24 | 25 | $mail->AddReplyTo("name@yourdomain.com","First Last"); 26 | 27 | $mail->Subject = "PHPMailer Test Subject via POP before SMTP, basic"; 28 | 29 | $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test 30 | 31 | $mail->MsgHTML($body); 32 | 33 | $address = "whoto@otherdomain.com"; 34 | $mail->AddAddress($address, "John Doe"); 35 | 36 | $mail->AddAttachment("images/phpmailer.gif"); // attachment 37 | $mail->AddAttachment("images/phpmailer_mini.gif"); // attachment 38 | 39 | 40 | if(!$mail->Send()) { 41 | echo "Mailer Error: " . $mail->ErrorInfo; 42 | } else { 43 | echo "Message sent!"; 44 | } 45 | 46 | ?> 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /classes/Upload.php: -------------------------------------------------------------------------------- 1 | getUploads(); 18 | } 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | public function getUploads() { 29 | if (!empty($_FILES)) { 30 | foreach($_FILES as $key => $value) { 31 | $this->_files[$key] = $value; 32 | } 33 | } 34 | } 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | public function upload($path = null) { 44 | 45 | if (!empty($path) && is_dir($path) && !empty($this->_files)) { 46 | 47 | foreach($this->_files as $key => $value) { 48 | 49 | $name = Helper::cleanString($value['name']); 50 | 51 | if ($this->_overwrite == false && is_file($path.DS.$name)) { 52 | $prefix = date('YmdHis', time()); 53 | $name = $prefix."-".$name; 54 | } 55 | 56 | if (!move_uploaded_file($value['tmp_name'], $path.DS.$name)) { 57 | $this->_errors[] = $key; 58 | } 59 | 60 | $this->_names[] = $name; 61 | 62 | } 63 | 64 | return empty($this->_errors) ? true : false; 65 | 66 | } 67 | return false; 68 | 69 | } 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | } -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ja.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /inc/config.php: -------------------------------------------------------------------------------- 1 | getProduct($id); 8 | 9 | if (!empty($product)) { 10 | 11 | $category = $objCatalogue->getCategory($product['category']); 12 | 13 | require_once('_header.php'); 14 | 15 | echo "

Catalogue :: ".$category['name']."

"; 16 | 17 | $image = !empty($product['image']) ? 18 | 'media/catalogue/'.$product['image'] : 19 | null; 20 | 21 | if (!empty($image)) { 22 | $width = Helper::getImgSize($image, 0); 23 | $width = $width > 120 ? 120 : $width; 24 | echo "
"; 25 | echo "
\"";
"; 28 | } 29 | 30 | echo "

".$product['name']."

"; 31 | echo "

£".$product['price']."

"; 32 | echo Basket::activeButton($product['id']); 33 | echo "
"; 34 | echo "
 
"; 35 | echo "

".Helper::encodeHTML($product['description'])."

"; 36 | echo "
 
"; 37 | echo "

Go back

"; 38 | 39 | 40 | require_once('_footer.php'); 41 | 42 | 43 | } else { 44 | require_once('error.php'); 45 | } 46 | 47 | } else { 48 | require_once('error.php'); 49 | } -------------------------------------------------------------------------------- /admin/pages/index.php: -------------------------------------------------------------------------------- 1 | isPost('login_email')) { 10 | 11 | $objAdmin = new Admin(); 12 | 13 | if ($objAdmin->isUser($objForm->getPost('login_email'), $objForm->getPost('login_password'))) { 14 | Login::loginAdmin($objAdmin->_id, Url::getReferrerUrl()); 15 | } else { 16 | $objValid->add2Errors('login'); 17 | } 18 | 19 | } 20 | 21 | require_once('template/_header.php'); 22 | ?> 23 | 24 |

Login

25 | 26 |
27 | 28 | 29 | 30 | 31 | 32 | 37 | 38 | 39 | 40 | 41 | 45 | 46 | 47 | 48 | 49 | 54 | 55 | 56 |
33 | validate('login'); ?> 34 | 36 |
42 | 44 |
  50 | 53 |
57 | 58 |
59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_pop_before_smtp_advanced.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | POP before SMTP Test 4 | 5 | 6 | 7 | Authorise('pop3.yourdomain.com', 110, 30, 'username', 'password', 1); 13 | 14 | $mail = new PHPMailer(true); // the true param means it will throw exceptions on errors, which we need to catch 15 | 16 | $mail->IsSMTP(); 17 | 18 | try { 19 | $mail->SMTPDebug = 2; 20 | $mail->Host = 'pop3.yourdomain.com'; 21 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 22 | $mail->AddAddress('whoto@otherdomain.com', 'John Doe'); 23 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 24 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 25 | $mail->Subject = 'PHPMailer Test Subject via mail(), advanced'; 26 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically 27 | $mail->MsgHTML(file_get_contents('contents.html')); 28 | $mail->AddAttachment('images/phpmailer.gif'); // attachment 29 | $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment 30 | $mail->Send(); 31 | echo "Message Sent OK

\n"; 32 | } catch (phpmailerException $e) { 33 | echo $e->errorMessage(); //Pretty error messages from PHPMailer 34 | } catch (Exception $e) { 35 | echo $e->getMessage(); //Boring error messages from anything else! 36 | } 37 | ?> 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-no.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-cz.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-pl.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/test/testemail.php: -------------------------------------------------------------------------------- 1 | IsSMTP(); // tell the class to use SMTP 17 | $mail->SMTPAuth = true; // enable SMTP authentication 18 | $mail->Port = 25; // set the SMTP server port 19 | $mail->Host = "mail.yourdomain.com"; // SMTP server 20 | $mail->Username = "name@domain.com"; // SMTP server username 21 | $mail->Password = "password"; // SMTP server password 22 | 23 | $mail->IsSendmail(); // tell the class to use Sendmail 24 | 25 | $mail->AddReplyTo("name@domain.com","First Last"); 26 | 27 | $mail->From = "name@domain.com"; 28 | $mail->FromName = "First Last"; 29 | 30 | $to = "someone@example...com"; 31 | 32 | $mail->AddAddress($to); 33 | 34 | $mail->Subject = "First PHPMailer Message"; 35 | 36 | $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test 37 | $mail->WordWrap = 80; // set word wrap 38 | 39 | $mail->MsgHTML($body); 40 | 41 | $mail->IsHTML(true); // send as HTML 42 | 43 | $mail->Send(); 44 | echo 'Message has been sent.'; 45 | } catch (phpmailerException $e) { 46 | echo $e->errorMessage(); 47 | } 48 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-se.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.'; 11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = 'Okänt encode-format: '; 13 | $PHPMAILER_LANG['execute'] = 'Kunde inte köra: '; 14 | $PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: '; 15 | $PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: '; 16 | $PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: '; 17 | $PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.'; 20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: '; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/docs/use_gmail.txt: -------------------------------------------------------------------------------- 1 | getFile('contents.html'); 11 | $body = eregi_replace("[\]",'',$body); 12 | 13 | $mail->IsSMTP(); 14 | $mail->SMTPAuth = true; // enable SMTP authentication 15 | $mail->SMTPSecure = "ssl"; // sets the prefix to the servier 16 | $mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server 17 | $mail->Port = 465; // set the SMTP port 18 | 19 | $mail->Username = "yourname@gmail.com"; // GMAIL username 20 | $mail->Password = "password"; // GMAIL password 21 | 22 | $mail->From = "replyto@yourdomain.com"; 23 | $mail->FromName = "Webmaster"; 24 | $mail->Subject = "This is the subject"; 25 | $mail->AltBody = "This is the body when user views in plain text format"; //Text Body 26 | $mail->WordWrap = 50; // set word wrap 27 | 28 | $mail->MsgHTML($body); 29 | 30 | $mail->AddReplyTo("replyto@yourdomain.com","Webmaster"); 31 | 32 | $mail->AddAttachment("/path/to/file.zip"); // attachment 33 | $mail->AddAttachment("/path/to/image.jpg", "new.jpg"); // attachment 34 | 35 | $mail->AddAddress("username@domain.com","First Last"); 36 | 37 | $mail->IsHTML(true); // send as HTML 38 | 39 | if(!$mail->Send()) { 40 | echo "Mailer Error: " . $mail->ErrorInfo; 41 | } else { 42 | echo "Message has been sent"; 43 | } 44 | 45 | ?> 46 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-nl.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-hu.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_smtp_advanced_no_auth.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - SMTP advanced test with no authentication 4 | 5 | 6 | 7 | IsSMTP(); // telling the class to use SMTP 14 | 15 | try { 16 | $mail->Host = "mail.yourdomain.com"; // SMTP server 17 | $mail->SMTPDebug = 2; // enables SMTP debug information (for testing) 18 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 19 | $mail->AddAddress('whoto@otherdomain.com', 'John Doe'); 20 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 21 | $mail->AddReplyTo('name@yourdomain.com', 'First Last'); 22 | $mail->Subject = 'PHPMailer Test Subject via mail(), advanced'; 23 | $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically 24 | $mail->MsgHTML(file_get_contents('contents.html')); 25 | $mail->AddAttachment('images/phpmailer.gif'); // attachment 26 | $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment 27 | $mail->Send(); 28 | echo "Message Sent OK

\n"; 29 | } catch (phpmailerException $e) { 30 | echo $e->errorMessage(); //Pretty error messages from PHPMailer 31 | } catch (Exception $e) { 32 | echo $e->getMessage(); //Boring error messages from anything else! 33 | } 34 | ?> 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-dk.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Kunne ikke logge på.'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Kunne ikke tilslutte SMTP serveren.'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data kunne ikke accepteres.'; 11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; 13 | $PHPMAILER_LANG['execute'] = 'Kunne ikke køre: '; 14 | $PHPMAILER_LANG['file_access'] = 'Ingen adgang til fil: '; 15 | $PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: '; 16 | $PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: '; 17 | $PHPMAILER_LANG['instantiate'] = 'Kunne ikke initialisere email funktionen.'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.'; 20 | $PHPMAILER_LANG['provide_address'] = 'Du skal indtaste mindst en modtagers emailadresse.'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere er forkerte: '; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-tr.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-et.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ru.php: -------------------------------------------------------------------------------- 1 | 5 | */ 6 | 7 | $PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.'; 8 | $PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к серверу SMTP.'; 9 | $PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.'; 10 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 11 | $PHPMAILER_LANG['encoding'] = 'Неизвестный вид кодировки: '; 12 | $PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: '; 13 | $PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: '; 14 | $PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удается открыть файл: '; 15 | $PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: '; 16 | $PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail.'; 17 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 18 | $PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один адрес e-mail получателя.'; 19 | $PHPMAILER_LANG['mailer_not_supported'] = ' - почтовый сервер не поддерживается.'; 20 | $PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: отправка по следующим адресам получателей не удалась: '; 21 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 22 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 23 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 24 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 25 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-es.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-fr.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ar.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP Error: لم نستطع تأكيد الهوية.'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP Error: لم نستطع الاتصال بمخدم SMTP.'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: لم يتم قبول المعلومات .'; 11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: '; 13 | $PHPMAILER_LANG['execute'] = 'لم أستطع تنفيذ : '; 14 | $PHPMAILER_LANG['file_access'] = 'لم نستطع الوصول للملف: '; 15 | $PHPMAILER_LANG['file_open'] = 'File Error: لم نستطع فتح الملف: '; 16 | $PHPMAILER_LANG['from_failed'] = 'البريد التالي لم نستطع ارسال البريد له : '; 17 | $PHPMAILER_LANG['instantiate'] = 'لم نستطع توفير خدمة البريد.'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer غير مدعوم.'; 20 | //$PHPMAILER_LANG['provide_address'] = 'You must provide at least one recipient email address.'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: الأخطاء التالية ' . 22 | 'فشل في الارسال لكل من : '; 23 | $PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: '; 24 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 25 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 26 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 27 | ?> -------------------------------------------------------------------------------- /admin/pages/categories/add.php: -------------------------------------------------------------------------------- 1 | isPost('name')) { 6 | 7 | $objValid->_expected = array('name'); 8 | $objValid->_required = array('name'); 9 | 10 | $objCatalogue = new Catalogue(); 11 | 12 | $name = $objForm->getPost('name'); 13 | 14 | if ($objCatalogue->duplicateCategory($name)) { 15 | $objValid->add2Errors('name_duplicate'); 16 | } 17 | 18 | if ($objValid->isValid()) { 19 | 20 | if ($objCatalogue->addCategory($name)) { 21 | 22 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id')).'&action=added'); 23 | 24 | } else { 25 | Helper::redirect('/admin'.Url::getCurrentUrl(array('action', 'id')).'&action=added-failed'); 26 | } 27 | 28 | } 29 | 30 | } 31 | 32 | require_once('template/_header.php'); 33 | ?> 34 | 35 |

Categories :: Add

36 | 37 |
38 | 39 | 40 | 41 | 42 | 43 | 52 | 53 | 54 | 55 | 56 | 61 | 62 | 63 | 64 |
44 | validate('name'); 46 | echo $objValid->validate('name_duplicate'); 47 | ?> 48 | 51 |
  57 | 60 |
65 | 66 |
67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ca.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pages/orders.php: -------------------------------------------------------------------------------- 1 | getClientOrders(Session::getSession(Login::$_login_front)); 6 | 7 | $objPaging = new Paging($orders, 5); 8 | $rows = $objPaging->getRecords(); 9 | 10 | require_once('_header.php'); 11 | ?> 12 | 13 |

My orders

14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 38 | 41 | 52 | 53 | 54 | 55 | 56 |
IdDateStatusTotalInvoice
33 | getStatus($row['status']); 35 | echo $status['name']; 36 | ?> 37 | 39 | £ 40 | 42 | Invoice'; 47 | } else { 48 | echo 'Invoice'; 49 | } 50 | ?> 51 |
57 | 58 | getPaging(); ?> 59 | 60 | 61 |

Currently you do not have any orders.

62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-ro.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | 9 | $PHPMAILER_LANG['authenticate'] = 'Eroare SMTP: Nu a functionat autentificarea.'; 10 | $PHPMAILER_LANG['connect_host'] = 'Eroare SMTP: Nu m-am putut conecta la adresa SMTP.'; 11 | $PHPMAILER_LANG['data_not_accepted'] = 'Eroare SMTP: Continutul mailului nu a fost acceptat.'; 12 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 13 | $PHPMAILER_LANG['encoding'] = 'Encodare necunoscuta: '; 14 | $PHPMAILER_LANG['execute'] = 'Nu pot executa: '; 15 | $PHPMAILER_LANG['file_access'] = 'Nu pot accesa fisierul: '; 16 | $PHPMAILER_LANG['file_open'] = 'Eroare de fisier: Nu pot deschide fisierul: '; 17 | $PHPMAILER_LANG['from_failed'] = 'Urmatoarele adrese From au dat eroare: '; 18 | $PHPMAILER_LANG['instantiate'] = 'Nu am putut instantia functia mail.'; 19 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 20 | $PHPMAILER_LANG['mailer_not_supported'] = ' mailer nu este suportat.'; 21 | $PHPMAILER_LANG['provide_address'] = 'Trebuie sa adaugati cel putin un recipient (adresa de mail).'; 22 | $PHPMAILER_LANG['recipients_failed'] = 'Eroare SMTP: Urmatoarele adrese de mail au dat eroare: '; 23 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 24 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 25 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 26 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 27 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-fo.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/examples/test_smtp_basic_no_auth.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | PHPMailer - SMTP basic test with no authentication 4 | 5 | 6 | 7 | IsSMTP(); // telling the class to use SMTP 23 | $mail->Host = "mail.yourdomain.com"; // SMTP server 24 | $mail->SMTPDebug = 2; // enables SMTP debug information (for testing) 25 | // 1 = errors and messages 26 | // 2 = messages only 27 | 28 | $mail->SetFrom('name@yourdomain.com', 'First Last'); 29 | 30 | $mail->AddReplyTo("name@yourdomain.com","First Last"); 31 | 32 | $mail->Subject = "PHPMailer Test Subject via smtp, basic with no authentication"; 33 | 34 | $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test 35 | 36 | $mail->MsgHTML($body); 37 | 38 | $address = "whoto@otherdomain.com"; 39 | $mail->AddAddress($address, "John Doe"); 40 | 41 | $mail->AddAttachment("images/phpmailer.gif"); // attachment 42 | $mail->AddAttachment("images/phpmailer_mini.gif"); // attachment 43 | 44 | if(!$mail->Send()) { 45 | echo "Mailer Error: " . $mail->ErrorInfo; 46 | } else { 47 | echo "Message sent!"; 48 | } 49 | 50 | ?> 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-fi.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-br.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-it.php: -------------------------------------------------------------------------------- 1 | 7 | */ 8 | 9 | $PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.'; 10 | $PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.'; 11 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Data non accettati dal server.'; 12 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 13 | $PHPMAILER_LANG['encoding'] = 'Encoding set dei caratteri sconosciuto: '; 14 | $PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: '; 15 | $PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: '; 16 | $PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: '; 17 | $PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: '; 18 | $PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail'; 19 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 20 | $PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente'; 21 | $PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato'; 22 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato errore: '; 23 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 24 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 25 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 26 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 27 | ?> -------------------------------------------------------------------------------- /classes/PHPMailer_v5.1/language/phpmailer.lang-de.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /template/_header.php: -------------------------------------------------------------------------------- 1 | getCategories(); 4 | 5 | $objBusiness = new Business(); 6 | $business = $objBusiness->getBusiness(); 7 | ?> 8 | 9 | 10 | 11 | 12 | Ecommerce website project 13 | 14 | 15 | 16 | 17 | 18 | 19 | 33 | 34 |
35 |
36 |
37 | 38 | 39 |

Categories

40 | 51 | 52 |
53 | 26 |
27 |
28 | 78 |