@ -74,3 +74,6 @@ SYSBLOCK_I = "Опционально. Алиас позволяет испол
SYSBLOCK_ACCEPT = "Этот алиас можно использовать"
SYSBLOCK_ACCEPT = "Этот алиас можно использовать"
SYSBLOCK_ER_SYN = "Неверный алиас!<br> Алиас не должен являться числом, может содержать только цифры, латинские буквы, дефис, подчёркивание и иметь длину не более 20 символов"
SYSBLOCK_ER_SYN = "Неверный алиас!<br> Алиас не должен являться числом, может содержать только цифры, латинские буквы, дефис, подчёркивание и иметь длину не более 20 символов"
SYSBLOCK_ER_EXISTS = "Неверный алиас!<br> Данный алиас уже привязан к другоому системному блоку"
SYSBLOCK_ER_EXISTS = "Неверный алиас!<br> Данный алиас уже привязан к другоому системному блоку"
// v 3.25
SYSBLOCK_EVAL = "Выполнять PHP перед выозвращением результата"
case 'N<':case '<': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv < UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N<':case '<': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv < UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N>':case '>': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv > UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N>':case '>': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv > UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N<=':case '<=': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv <= UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N<=':case '<=': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv <= UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N>=':case '>=': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv >= UPPER('\$v[$i]'))) $join\":''?>"; break;
case 'N>=':case '>=': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv >= UPPER('\$v[$i]'))) $join\":''?>"; break;
case '==': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv = UPPER('\$v[$i]'))) $join\":''?>"; break;
case '==': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv = UPPER('\$v[$i]'))) $join\":''?>"; break;
case '!=': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv != UPPER('\$v[$i]'))) $join\":''?>"; break;
case '!=': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv != UPPER('\$v[$i]'))) $join\":''?>"; break;
case '%%': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv LIKE UPPER('%\$v[$i]%'))) $join\":''?>"; break;
case '%%': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv LIKE UPPER('%\$v[$i]%'))) $join\":''?>"; break;
case '%': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv LIKE UPPER('\$v[$i]%'))) $join\":''?>"; break;
case '%': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv LIKE UPPER('\$v[$i]%'))) $join\":''?>"; break;
case '--': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT LIKE UPPER('%\$v[$i]%'))) $join\":''?>"; break;
case '--': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT LIKE UPPER('%\$v[$i]%'))) $join\":''?>"; break;
case '!-': $where[] = "<?=\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT LIKE UPPER('\$v[$i]%'))) $join\":''?>"; break;
case '!-': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT LIKE UPPER('\$v[$i]%'))) $join\":''?>"; break;
case 'IN=': $where[] = "<?=(\$v[$i]>''&&\$v[$i]{0}!=',')?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv IN (\$v[$i]))) $join\":''?>"; break;
case 'IN=': $where[] = "<?phpecho(\$v[$i]>''&&\$v[$i]{0}!=',')?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv IN (\$v[$i]))) $join\":''?>"; break;
case 'NOTIN=': $where[] = "<?=(\$v[$i]>''&&\$v[$i]{0}!=',')?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT IN (\$v[$i]))) $join\":''?>"; break;
case 'NOTIN=': $where[] = "<?phpecho(\$v[$i]>''&&\$v[$i]{0}!=',')?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv NOT IN (\$v[$i]))) $join\":''?>"; break;
case 'ANY': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv=ANY(\$v[$i]))) $join\":'';?>"; break;
case 'ANY': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND $fv=ANY(\$v[$i]))) $join\":'';?>"; break;
case 'FRE': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND (\$v[$i]))) $join\":'';?>"; break;
case 'FRE': $where[] = "<?phpecho\$v[$i]>''?\"(t$fid.document_id = a.id AND (t$fid.rubric_field_id = '$fid' AND (\$v[$i]))) $join\":'';?>"; break;