Герои мирных дней - лонгрид ПАИ ко Дню полиции

Фото ПАИ.

Они ведут борьбу с преступниками, хранят покой на улицах, оказывают людям медицинскую и психологическую помощь, ищут потерявшихся детей, помогают автомобилистам, спасают животных. Ко Дню сотрудника органов внутренних дел Псковское агентство информации рассказывает о достижениях полицейских области за последний год в новом лонгриде.

В нашем проекте вы прочитаете о героизме, о профессионализме и развитии в профессии, о победах и добрых делах полицейских. Публикуем «прямую речь» самых известных и лучших в своем деле, а также их поздравления рядовым сотрудникам и коллегам. Ссылки в лонгриде ведут на самые интересные новости из будней полиции, интервью с руководителями и рассказы полицейских историй. 

СМОТРЕТЬ ЛОНГРИД >>>

Версия для печати

Как часто пользуетесь онлайн магазинами?

Проголосовать >>>


Идет загрузка...
Журнал приложения
Время Уровень Категория Сообщение
22:20:06.329215 trace system.CModule
Loading "log" application component
22:20:06.329684 trace system.CModule
Loading "request" application component
22:20:06.329962 trace system.CModule
Loading "urlManager" application component
22:20:06.330108 trace system.CModule
Loading "cache" application component
22:20:06.333776 trace system.caching.CMemCache
Serving "Yii.CUrlManager.rules" from cache
22:20:06.340914 trace system.caching.CMemCache
Saving "Yii.CUrlManager.rules" to cache
22:20:06.344412 trace system.base.CModule
Loading "publication" module
22:20:06.345021 trace system.CModule
Loading "session" application component
22:20:06.348720 trace system.web.filters.CFilterChain
Running filter PublicationController.filterrights()
22:20:06.348823 trace system.CModule
Loading "user" application component
22:20:06.349096 trace system.CModule
Loading "securityManager" application component
22:20:06.349586 trace system.db.ar.CActiveRecord
Publication.findByPk()
22:20:06.349602 trace system.CModule
Loading "db" application component
22:20:06.349684 trace system.db.CDbConnection
Opening DB connection
22:20:06.352128 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{publication}}"
from cache
22:20:06.352436 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_publication` `t` WHERE `t`.`id`='338691'
AND (status = :status AND media_clone = 0) LIMIT 1. Bound with :status=1
22:20:06.352447 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='338691' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:20:06.354578 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='338691' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
22:20:06.354923 trace system.db.CDbCommand
Querying SQL: SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='338691'
22:20:06.354929 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='338691')
22:20:06.356203 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `id`
FROM `tbl_publication_counter`
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW())
LIMIT 1. Bound with :id='338691')
22:20:06.356347 trace system.db.CDbCommand
Executing SQL: UPDATE `tbl_publication_counter` SET `viewed`=(viewed+1)
WHERE publication_id = :id AND DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()).
Bound with :id='338691'
22:20:06.356353 profile system.db.CDbCommand.execute
begin:system.db.CDbCommand.execute(UPDATE `tbl_publication_counter` SET
`viewed`=(viewed+1) WHERE publication_id = :id AND
DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()). Bound with :id='338691')
22:20:06.357651 profile system.db.CDbCommand.execute
end:system.db.CDbCommand.execute(UPDATE `tbl_publication_counter` SET
`viewed`=(viewed+1) WHERE publication_id = :id AND
DATE(FROM_UNIXTIME(cdate)) = DATE(NOW()). Bound with :id='338691')
22:20:06.357856 trace system.db.CDbCommand
Querying SQL: SELECT image FROM tbl_publication_image WHERE pub_id = :id.
Bound with :id='338691'
22:20:06.357862 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='338691')
22:20:06.358167 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='338691')
22:20:06.358356 trace system.db.ar.CActiveRecord
Files.find()
22:20:06.358900 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:tbl_files"
from cache
22:20:06.358979 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_files` `t` WHERE object_id = :id AND
object_name = "Publication" LIMIT 1. Bound with :id='338691'
22:20:06.358985 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_files` `t` WHERE
object_id = :id AND object_name = "Publication" LIMIT 1. Bound with
:id='338691')
22:20:06.359532 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_files` `t` WHERE
object_id = :id AND object_name = "Publication" LIMIT 1. Bound with
:id='338691')
22:20:06.359823 trace system.db.CDbCommand
Querying SQL: SELECT s.id, s.name, s.urlname FROM tbl_section s JOIN
tbl_publication_section ps ON ps.section_id = s.id WHERE ps.pub_id = :pId
AND s.project_id = :projectId. Bound with :pId='338691', :projectId=1
22:20:06.359833 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT s.id, s.name, s.urlname FROM
tbl_section s JOIN tbl_publication_section ps ON ps.section_id = s.id WHERE
ps.pub_id = :pId AND s.project_id = :projectId. Bound with :pId='338691',
:projectId=1)
22:20:06.360419 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT s.id, s.name, s.urlname FROM
tbl_section s JOIN tbl_publication_section ps ON ps.section_id = s.id WHERE
ps.pub_id = :pId AND s.project_id = :projectId. Bound with :pId='338691',
:projectId=1)
22:20:06.360604 trace system.db.CDbCommand
Querying SQL: SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='338691'
22:20:06.360610 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='338691')
22:20:06.361160 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT t.id, t.name FROM tbl_theme t JOIN
tbl_publication_theme pt ON pt.theme_id = t.id WHERE pt.pub_id = :pId.
Bound with :pId='338691')
22:20:06.361546 trace system.db.CDbCommand
Querying SQL: SELECT `f`.`id` AS `fid`, `f`.`name` AS `filename`,
`f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`, `m`.`author` AS
`mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='338691', :mtype=5, :itype=3
22:20:06.361555 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `f`.`id` AS `fid`, `f`.`name` AS
`filename`, `f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`,
`m`.`author` AS `mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='338691', :mtype=5, :itype=3)
22:20:06.362451 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `f`.`id` AS `fid`, `f`.`name` AS
`filename`, `f`.`filepath`, `f`.`title`, `f`.`author`, `m`.`name`,
`m`.`author` AS `mauthor`
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
WHERE pm.pub_id = :pid AND m.in_publication = 1 AND (m.type = :mtype OR
m.type = :itype)
ORDER BY `f`.`id` ASC. Bound with :pid='338691', :mtype=5, :itype=3)
22:20:06.362637 trace system.db.CDbCommand
Querying SQL: SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='338691',
:mtype=1
22:20:06.362643 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='338691',
:mtype=1)
22:20:06.363502 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT
CONCAT("http://media.informpskov.ru/",f.filepath,f.name) as file,
CONCAT("http://media.informpskov.ru/",fv.filepath,fv.name) as poster,
m.name as comment
FROM `tbl_publication_media` `pm`
JOIN `tbl_media` `m` ON pm.media_id = m.id
LEFT JOIN `tbl_files` `f` ON f.object_id = m.id AND f.object_name = "Media"
LEFT JOIN `tbl_files` `fv` ON fv.object_id = m.id AND fv.object_name =
"Video"
WHERE pm.pub_id = :pid AND m.type = :mtype. Bound with :pid='338691',
:mtype=1)
22:20:06.363532 trace system.CModule
Loading "clientScript" application component
22:20:06.363814 trace system.CModule
Loading "statePersister" application component
22:20:06.364331 trace system.caching.CMemCache
Serving
"Yii.CStatePersister./test.informpskov.ru/htdocs/protected/runtime/state.bin"
from cache
22:20:06.364938 trace system.caching.CMemCache
Serving "Informers_2021-07-29" from cache
22:20:06.364969 trace system.CModule
Loading "themeManager" application component
22:20:06.366655 trace system.CModule
Loading "widgetFactory" application component
22:20:06.367248 trace system.caching.CMemCache
Serving "Commercial_131" from cache
22:20:06.368297 trace system.CModule
Loading "messages" application component
22:20:06.368887 trace system.caching.CMemCache
Serving "Commercial_251" from cache
22:20:06.369535 trace system.caching.CMemCache
Serving "Commercial_171" from cache
22:20:06.370203 trace system.CModule
Loading "assetManager" application component
22:20:06.370796 trace system.caching.CMemCache
Serving "LastPoll_1" from cache
22:20:06.371313 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll}}"
from cache
22:20:06.371392 trace system.db.ar.CActiveRecord
lazy loading Poll.choices
22:20:06.372204 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_choice}}"
from cache
22:20:06.372497 trace system.db.CDbCommand
Querying SQL: SELECT `choices`.`id` AS `t1_c0`, `choices`.`poll_id` AS
`t1_c1`, `choices`.`label` AS `t1_c2`, `choices`.`votes` AS `t1_c3`,
`choices`.`weight` AS `t1_c4` FROM `tbl_poll_choice` `choices`  WHERE
(`choices`.`poll_id`=:ypl0) ORDER BY weight ASC, label ASC. Bound with
:ypl0='564'
22:20:06.372505 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `choices`.`id` AS `t1_c0`,
`choices`.`poll_id` AS `t1_c1`, `choices`.`label` AS `t1_c2`,
`choices`.`votes` AS `t1_c3`, `choices`.`weight` AS `t1_c4` FROM
`tbl_poll_choice` `choices`  WHERE (`choices`.`poll_id`=:ypl0) ORDER BY
weight ASC, label ASC. Bound with :ypl0='564')
22:20:06.372811 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `choices`.`id` AS `t1_c0`,
`choices`.`poll_id` AS `t1_c1`, `choices`.`label` AS `t1_c2`,
`choices`.`votes` AS `t1_c3`, `choices`.`weight` AS `t1_c4` FROM
`tbl_poll_choice` `choices`  WHERE (`choices`.`poll_id`=:ypl0) ORDER BY
weight ASC, label ASC. Bound with :ypl0='564')
22:20:06.373127 trace system.base.CModule
Loading "poll" module
22:20:06.373496 trace system.caching.CMemCache
Deleting "userCanVote_564_0" from cache
22:20:06.373846 trace system.db.ar.CActiveRecord
lazy loading Poll.votes
22:20:06.374557 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_vote}}"
from cache
22:20:06.374834 trace system.db.CDbCommand
Querying SQL: SELECT `votes`.`id` AS `t1_c0`, `votes`.`poll_id` AS `t1_c1`,
`votes`.`choice_id` AS `t1_c2`, `votes`.`user_id` AS `t1_c3`,
`votes`.`ip_address` AS `t1_c4`, `votes`.`ip_real` AS `t1_c5`,
`votes`.`timestamp` AS `t1_c6`, `votes`.`register` AS `t1_c7` FROM
`tbl_poll_vote` `votes`  WHERE (`votes`.`poll_id`=:ypl0). Bound with
:ypl0='564'
22:20:06.374842 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `votes`.`id` AS `t1_c0`,
`votes`.`poll_id` AS `t1_c1`, `votes`.`choice_id` AS `t1_c2`,
`votes`.`user_id` AS `t1_c3`, `votes`.`ip_address` AS `t1_c4`,
`votes`.`ip_real` AS `t1_c5`, `votes`.`timestamp` AS `t1_c6`,
`votes`.`register` AS `t1_c7` FROM `tbl_poll_vote` `votes`  WHERE
(`votes`.`poll_id`=:ypl0). Bound with :ypl0='564')
22:20:06.375737 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `votes`.`id` AS `t1_c0`,
`votes`.`poll_id` AS `t1_c1`, `votes`.`choice_id` AS `t1_c2`,
`votes`.`user_id` AS `t1_c3`, `votes`.`ip_address` AS `t1_c4`,
`votes`.`ip_real` AS `t1_c5`, `votes`.`timestamp` AS `t1_c6`,
`votes`.`register` AS `t1_c7` FROM `tbl_poll_vote` `votes`  WHERE
(`votes`.`poll_id`=:ypl0). Bound with :ypl0='564')
22:20:06.383371 trace system.db.CDbCommand
Querying SQL: SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4'
22:20:06.383378 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`,
`p`.`content`, `p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id`
AS `fid`, `f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:20:06.383734 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:20:06.387839 trace system.db.CDbCommand
Querying SQL: SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4'
22:20:06.387845 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`,
`p`.`content`, `p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id`
AS `fid`, `f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:20:06.388201 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `p`.`id`, `p`.`name`, `p`.`content`,
`p`.`create_time`, `p`.`comments`, `p`.`thumbnail`, `f`.`id` AS `fid`,
`f`.`name` AS `filename`, `f`.`filepath`
FROM `tbl_publication` `p`
JOIN `tbl_publication_section` `ps` ON ps.pub_id = p.id
JOIN `tbl_section` `s` ON s.id = ps.section_id
LEFT JOIN `tbl_files` `f` ON f.object_id = p.id AND f.object_name =
"Publication"
WHERE p.status = :status AND ps.section_id = :sid AND p.article = 0 AND
p.main = 1
ORDER BY `p`.`create_time` DESC LIMIT 8. Bound with :status=1, :sid='4')
22:20:06.392191 trace system.db.CDbCommand
Querying SQL: SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='97'
22:20:06.392198 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='97')
22:20:06.392359 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='97')
22:20:06.392705 trace system.caching.CMemCache
Serving "Commercial_141" from cache
22:20:06.393032 trace system.caching.CMemCache
Serving "Commercial_151" from cache
22:20:06.393312 trace system.caching.CMemCache
Serving "Commercial_161" from cache
22:20:06.393589 trace system.caching.CMemCache
Serving "Commercial_181" from cache
22:20:06.393857 trace system.caching.CMemCache
Serving "Commercial_191" from cache
22:20:06.394139 trace system.caching.CMemCache
Serving "Commercial_201" from cache
22:20:06.394351 trace system.caching.CMemCache
Serving "Commercial_211" from cache
22:20:06.394597 trace system.caching.CMemCache
Serving "Commercial_31" from cache
22:20:06.394982 trace system.caching.CMemCache
Serving "Commercial_61" from cache
22:20:06.396322 trace system.caching.CMemCache
Deleting "Yii.COutputCache.projectThemes_1......." from cache
22:20:06.396533 trace system.db.CDbCommand
Querying SQL: SELECT * FROM (SELECT t.id, t.name, p.urlname as project,
pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN tbl_project p ON p.id =
t.project_id JOIN tbl_publication_theme pu ON pu.theme_id = t.id WHERE
t.project_id = :pId AND t.status = :status AND t.hide <> 1 ORDER BY
pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER BY ot.pub_id DESC
LIMIT 5. Bound with :pId=1, :status=1
22:20:06.396538 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM (SELECT t.id, t.name,
p.urlname as project, pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN
tbl_project p ON p.id = t.project_id JOIN tbl_publication_theme pu ON
pu.theme_id = t.id WHERE t.project_id = :pId AND t.status = :status AND
t.hide <> 1 ORDER BY pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER
BY ot.pub_id DESC LIMIT 5. Bound with :pId=1, :status=1)
22:20:06.396714 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM (SELECT t.id, t.name,
p.urlname as project, pu.theme_id, pu.pub_id FROM tbl_theme t LEFT JOIN
tbl_project p ON p.id = t.project_id JOIN tbl_publication_theme pu ON
pu.theme_id = t.id WHERE t.project_id = :pId AND t.status = :status AND
t.hide <> 1 ORDER BY pu.pub_id DESC LIMIT 100) AS ot GROUP by ot.id ORDER
BY ot.pub_id DESC LIMIT 5. Bound with :pId=1, :status=1)