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
<?php | |
namespace Avby\Domain; | |
class BotEvents | |
{ | |
public const START = '/start'; | |
public const MY_SERVICES = 'Мои услуги'; | |
public const PAY = 'Оплата'; | |
/** |
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
<?php | |
namespace Avby\Domain\Advert\Enum; | |
final class AdvertTypeEnum | |
{ | |
public const CAR = 1; | |
public const MOTO = 2; | |
public const TRAILER = 3; | |
public const TRUCK = 4; | |
public const BUS = 5; |
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
package.json | |
{ | |
"name": "feedlead", | |
"version": "1.0.1", | |
"description": "", | |
"dependencies": {}, | |
"devDependencies": { | |
"gulp": "^3.9.1", | |
"gulp-autoprefixer": "^3.1.0", |
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
import 'owl.carousel'; | |
$(document).ready(function(){ | |
$('.clients__list').owlCarousel({ | |
margin: 63, | |
responsiveClass:true, | |
navContainer: '.carousel__navigations', | |
navText: [], | |
autoWidth: true, | |
responsive:{ | |
0:{ |
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
<section class="main-slide"> | |
<div class="main-slide__wrapper main-slide__wrapper_inside no-b-margin"> | |
<div class="main-slide__img main-slide__img_inside" style="background-image: url('[[*pagePhoto]]');"> | |
<div class="container"> | |
<div class="line"> | |
<div class="line__wrapper line__wrapper_header"> | |
<div class="line__item line__item_title"> | |
</div> | |
<div class="line__item line__item_4"> | |
<div class="home__page-title"> |
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
<button id="but" onclick="butClick();">0</button> | |
<script type="text/javascript"> | |
function butClick() { | |
var count = parseInt(document.getElementsByTagName('button')[0].innerHTML); | |
count+=1; | |
document.getElementsByTagName('button')[0].innerHTML = count; | |
} | |
</script> |
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
2018/07/30 21:35:55 [crit] 823#0: *859 open() "/var/lib/nginx/tmp/client_body/0000000002" failed (13: Permission denied), client: 46.53.177.13, server: dev.wordofwear.com, request: "POST /admin/?entity=Slider&action=edit&menuIndex=2&submenuIndex=0&sortField=id&sortDirection=DESC&page=1&referer=%252Fadmin%252F%253Fentity%253DSlider%2526action%253Dlist%2526menuIndex%253D2%2526submenuIndex%253D0%2526sortField%253Did%2526sortDirection%253DDESC%2526page%253D1&id=3 HTTP/1.1", host: "dev.wordofwear.com", referrer: "http://dev.wordofwear.com/admin/?entity=Slider&action=edit&menuIndex=2&submenuIndex=0&sortField=id&sortDirection=DESC&page=1&referer=%252Fadmin%252F%253Fentity%253DSlider%2526action%253Dlist%2526menuIndex%253D2%2526submenuIndex%253D0%2526sortField%253Did%2526sortDirection%253DDESC%2526page%253D1&id=3" |
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
<?php | |
/** | |
* Search products with options | |
* | |
* @param array $options | |
* | |
* @return array | |
*/ | |
public function searchProducts(array $options = []) |
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
<?php | |
/** | |
* Search products with options | |
* | |
* @param array $options | |
* | |
* @return array | |
*/ | |
public function searchProducts(array $options = []) |
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
/** | |
* Search products with options | |
* | |
* @param array $options | |
* | |
* @return array | |
*/ | |
public function searchProducts(array $options = []) | |
{ | |
$qb = $this->createQueryBuilder('s') |
NewerOlder