This file contains 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
<? | |
class SenderTriggerUserGroup extends \Bitrix\Sender\Trigger { | |
public function getName() { | |
return 'Первый заход на сайт (+группа)'; | |
} | |
public function getCode() { | |
return "user_group"; | |
} |
This file contains 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
{ | |
"devDependencies": { | |
"gulp": "^3.9.1", | |
"gulp-clean-css": "^2.0.13", | |
"gulp-imagemin": "^3.2.0", | |
"gulp-rename": "^1.2.2", | |
"gulp-uglify": "^2.0.0" | |
} | |
} |
This file contains 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 gulp = require('gulp'); | |
var rename = require("gulp-rename"); | |
var uglify = require('gulp-uglify'); | |
var cleanCSS = require('gulp-clean-css'); | |
var templateName = 'main'; | |
var imagemin = require('gulp-imagemin'); | |
gulp.task('imagemin',function () { | |
return gulp.src([ | |
templateName + '/**/*.{png,gif,jpg,jpeg,svg}', |
This file contains 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 | |
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php"); | |
$iblockId = (int)$_REQUEST['iblock']; | |
$page = isset($_REQUEST['page']) ? (int)$_REQUEST['page'] : 1; | |
$pageSize = 70; | |
$isEnd = true; | |
if ($iblockId <= 0) | |
{ |
NewerOlder