This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var isTouch = function() { | |
| return $(window).width() < 980 ? true : false; | |
| }; | |
| var determineScreenClass = function() { | |
| $("html").toggleClass("large-screen", !isTouch()); | |
| }; | |
| // ========== | |
| // = Functions which has to be reinitiated when the window size is changed = | |
| // ========== | |
| var triggeredOnResize = function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| ServerAdmin webmaster@test | |
| DocumentRoot /opt/lampp/htdocs/test.test | |
| ServerName test.test | |
| ErrorLog /opt/lampp/htdocs/logs/error.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var iOS = false, | |
| p = navigator.platform; | |
| if (p === 'iPad' || p === 'iPhone' || p === 'iPod') { | |
| iOS = true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;window.mobileDetection = { | |
| Android:function () { | |
| return navigator.userAgent.match(/Android/i); | |
| }, | |
| BlackBerry:function () { | |
| return navigator.userAgent.match(/BlackBerry/i); | |
| }, | |
| iOS:function () { | |
| return navigator.userAgent.match(/iPhone|iPad|iPod/i); | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $host = "localhost"; //сервер базы данных | |
| $base = "mydbase"; // Имя базы | |
| $user = "user"; // Пользователь БД | |
| $pass = "password"; // Пароль БД | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $database_server = 'localhost'; // Сервер базы данных | |
| $database_user = 'mydbase'; // Пользователь базы | |
| $database_password = 'password'; // Пароль | |
| $dbase = 'mydbase'; // Имя базы |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.currency = {"USD": "$", | |
| "EUR": "€", | |
| "GBP": "£", | |
| "YER": "﷼", | |
| "VND": "₫", | |
| "UAH": "₴", | |
| "THB": "฿", | |
| "THB": "฿", | |
| "PHP": "₱", | |
| "NGN": "₦", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var offset = $(".error-box").offset(); | |
| $("html,body").animate({ | |
| scrollTop: offset.top, | |
| scrollLeft: offset.left | |
| }, 800); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /core/cache/ | |
| .DS_Store | |
| *.7z | |
| *.dmg | |
| *.gz | |
| *.rar | |
| *.tar | |
| *.zip | |
| .idea/ | |
| config.core.php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function(grunt) { | |
| // Build a multi task "files" object dynamically. | |
| // Project configuration. | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| concat: { | |
| js:{ | |
| src: [ | |