© Сделано на LiveStreet
Дизайн - ©2009 MODx RED Group
<div id="imageDiv">
<a href="[[*image]]" class="cloud-zoom" id="zoom1"
rel="tint: '#ff0000',tintOpacity:0.5 ,smoothMove:5,zoomWidth:360, adjustY:-4, adjustX:10" style="position: relative; display: block">
<img src="[[*image:phpthumbof=`w=360&h=480&q=95&far=0`]]" alt='[[*pagetitle]]' title="[[*pagetitle]]" />
</a>
<div id="moreImg">
<a href="[[*image2]]" class="cloud-zoom-gallery" title="Red" rel="useZoom: 'zoom1', smallImage: '[[*image2:phpthumbof=`w=80&h=100&q=95&far=0]]' ">
<img class="zoom-tiny-image" src="/images/zoomengine/tinyimage.jpg" alt="Дополнительное изображение №1 для [[*pagetitle]]">
</a>
</div>
</div>Fatal error: Cannot redeclare class modTemplateVarInputRenderText in core/model/modx/processors/element/tv/renders/mgr/input/text.class.php on line 10[[Ditto? &display=`6` &parents=`64,65,66,67,68,69,70,72,73,74,76,77,104,79,80,81,82` &tpl=`RightShopTpl` &orderBy=`menuindex ASC` &filter=`cveti1,[*cveti1*],8|cveti2,[*cveti2*],8|cveti3,[*cveti3*],8` ]]Красные розы||Черные розы||Желтые розы||Белые розы||Красные тюльпаны||Синие тюльпаны||Желтые тюльпаны||Белые орхидеи||Фиолетовые орхидеи||Орхидеи цвета фукусии||Красные орхидеи||Лилии||Белые хризантемы||Розовые хризантемы||Игольчатые хризантемы||Белые хризантемы||Розовые Ггерберы||Кремовые герберы||Кремовые гвоздики||Розовые гвоздики||Ветки альстроерии||Желтые лилии||Оранжевые лилии||Белые лилии||ALLError: strpos() [function.strpos]: Empty delimiter
Error type/ Nr.: Warning - 2
File: /assets/snippets/ditto/classes/filter.class.inc.php
Line: 85
Line 85 source: if (strpos($value[$this->array_key], $this->filterValue)!==FALSE)Fatal error: Call to undefined function hash() in /home/user/data/www/site.com/core/model/modx/hashing/modpbkdf2.class.php on line 34public function hash($string, array $options = array()) {
$derivedKey = false;
$salt = $this->getOption('salt', $options, false);
if (is_string($salt) && strlen($salt) > 0) {
$iterations = (integer) $this->getOption('iterations', $options, 1000);
$derivedKeyLength = (integer) $this->getOption('derived_key_length', $options, 32);
$algorithm = $this->getOption('algorithm', $options, 'sha256');
//вот она, зараза
$hashLength = strlen(hash($algorithm, null, true));
$keyBlocks = ceil($derivedKeyLength / $hashLength);
$derivedKey = '';
for ($block = 1; $block <= $keyBlocks; $block++) {
$hashBlock = $hb = hash_hmac($algorithm, $salt . pack('N', $block), $string, true);
for ($blockIteration = 1; $blockIteration < $iterations; $blockIteration++) {
$hashBlock ^= ($hb = hash_hmac($algorithm, $hb, $string, true));
}
$derivedKey .= $hashBlock;
}
$derivedKey = substr($derivedKey, 0, $derivedKeyLength);
if (!$this->getOption('raw_output', $options, false)) {
$derivedKey = base64_encode($derivedKey);
}
} else {
$this->host->modx->log(modX::LOG_LEVEL_ERROR, "PBKDF2 requires a valid salt string.", '', __METHOD__, __FILE__, __LINE__);
}
return $derivedKey;
}
}[[!getResources? &parents=`2` &depth=`3` &limit=`100` &includeContent=`1` where=`{"isfolder:=":1}` &tpl=`cat` ]] не хочет работать… какие есть варианты вывести только категории?