Код: Выделить всё
[code]Страница не найдена!
Страница, которую вы открываете, не существует.
Администратор как обычно заходит везде.
Код: Выделить всё
[code]Страница не найдена!
Страница, которую вы открываете, не существует.
Код: Выделить всё
$item_query = db_query("select * from app_entity_" . $current_entity_id . " e where e.id='" . db_input($current_item_id) . "' " . items::add_access_query_for_parent_entities($current_entity_id));
Код: Выделить всё
$item_query = db_query("select * from app_entity_" . $current_entity_id . " e where e.id='" . db_input($current_item_id) . "' " . items::add_access_query_for_parent_entities($current_entity_id),true);
exit();
Код: Выделить всё
select e.* from app_entity_25 e where e.id=1 and (select count(*) as total from app_entity_25_values cv where cv.items_id=e.id and cv.fields_id='208' and cv.value='34')>0
Код: Выделить всё
select e.* from app_entity_25 e where e.id=1
Код: Выделить всё
select count(*) as total from app_entity_25_values cv where cv.items_id=1 and cv.fields_id='208' and cv.value='34'