Школы и детские сады Пскова: Вчера, сегодня, завтра

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

Что ждет Псков в ближайшие годы, по каким адресам появятся новые школы и сады, каковы перспективы развития образования в городе — ответы на эти и множество других вопросов в нашей публикации здесь >>>.

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

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

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


Идет загрузка...
Журнал приложения
Время Уровень Категория Сообщение
21:33:08.168277 trace system.CModule
Loading "log" application component
21:33:08.168653 trace system.CModule
Loading "request" application component
21:33:08.168878 trace system.CModule
Loading "urlManager" application component
21:33:08.168997 trace system.CModule
Loading "cache" application component
21:33:08.172055 trace system.caching.CMemCache
Serving "Yii.CUrlManager.rules" from cache
21:33:08.177804 trace system.caching.CMemCache
Saving "Yii.CUrlManager.rules" to cache
21:33:08.181386 trace system.base.CModule
Loading "publication" module
21:33:08.181885 trace system.CModule
Loading "session" application component
21:33:08.185530 trace system.web.filters.CFilterChain
Running filter PublicationController.filterrights()
21:33:08.185595 trace system.CModule
Loading "user" application component
21:33:08.185803 trace system.CModule
Loading "securityManager" application component
21:33:08.186269 trace system.db.ar.CActiveRecord
Publication.findByPk()
21:33:08.186285 trace system.CModule
Loading "db" application component
21:33:08.186361 trace system.db.CDbConnection
Opening DB connection
21:33:08.188730 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{publication}}"
from cache
21:33:08.189083 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_publication` `t` WHERE `t`.`id`='312955'
AND (status = :status AND media_clone = 0) LIMIT 1. Bound with :status=1
21:33:08.189094 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='312955' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
21:33:08.189745 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT * FROM `tbl_publication` `t` WHERE
`t`.`id`='312955' AND (status = :status AND media_clone = 0) LIMIT 1. Bound
with :status=1)
21:33:08.190056 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='312955'
21:33:08.190063 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='312955')
21:33:08.198226 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='312955')
21:33:08.198343 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='312955'
21:33:08.198349 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='312955')
21:33:08.200215 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='312955')
21:33:08.200433 trace system.db.CDbCommand
Querying SQL: SELECT image FROM tbl_publication_image WHERE pub_id = :id.
Bound with :id='312955'
21:33:08.200440 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='312955')
21:33:08.200701 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT image FROM tbl_publication_image
WHERE pub_id = :id. Bound with :id='312955')
21:33:08.200822 trace system.db.ar.CActiveRecord
Files.find()
21:33:08.201366 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:tbl_files"
from cache
21:33:08.201512 trace system.db.CDbCommand
Querying SQL: SELECT * FROM `tbl_files` `t` WHERE object_id = :id AND
object_name = "Publication" LIMIT 1. Bound with :id='312955'
21:33:08.201519 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='312955')
21:33:08.202083 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='312955')
21:33:08.202436 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='312955', :projectId=1
21:33:08.202451 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='312955',
:projectId=1)
21:33:08.202994 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='312955',
:projectId=1)
21:33:08.203186 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='312955'
21:33:08.203196 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='312955')
21:33:08.203737 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='312955')
21:33:08.204200 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='312955', :mtype=5, :itype=3
21:33:08.204210 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='312955', :mtype=5, :itype=3)
21:33:08.206052 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='312955', :mtype=5, :itype=3)
21:33:08.206298 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='312955',
:mtype=1
21:33:08.206307 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='312955',
:mtype=1)
21:33:08.207598 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='312955',
:mtype=1)
21:33:08.207628 trace system.CModule
Loading "clientScript" application component
21:33:08.207952 trace system.CModule
Loading "statePersister" application component
21:33:08.208285 trace system.caching.CMemCache
Serving
"Yii.CStatePersister./test.informpskov.ru/htdocs/protected/runtime/state.bin"
from cache
21:33:08.208677 trace system.caching.CMemCache
Serving "Informers_2021-07-29" from cache
21:33:08.208703 trace system.CModule
Loading "themeManager" application component
21:33:08.210098 trace system.CModule
Loading "widgetFactory" application component
21:33:08.210400 trace system.caching.CMemCache
Serving "Commercial_131" from cache
21:33:08.211479 trace system.CModule
Loading "messages" application component
21:33:08.211815 trace system.caching.CMemCache
Serving "Commercial_251" from cache
21:33:08.212270 trace system.caching.CMemCache
Serving "Commercial_171" from cache
21:33:08.212691 trace system.CModule
Loading "assetManager" application component
21:33:08.213035 trace system.caching.CMemCache
Serving "LastPoll_1" from cache
21:33:08.213308 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll}}"
from cache
21:33:08.213363 trace system.db.ar.CActiveRecord
lazy loading Poll.choices
21:33:08.213860 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_choice}}"
from cache
21:33:08.214087 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'
21:33:08.214093 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')
21:33:08.214265 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')
21:33:08.214483 trace system.base.CModule
Loading "poll" module
21:33:08.214787 trace system.caching.CMemCache
Deleting "userCanVote_564_0" from cache
21:33:08.215038 trace system.db.ar.CActiveRecord
lazy loading Poll.votes
21:33:08.215550 trace system.caching.CMemCache
Serving
"yii:dbschemamysql:host=127.0.0.1;dbname=new_informpskov:w_informpskov:{{poll_vote}}"
from cache
21:33:08.215766 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'
21:33:08.215775 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')
21:33:08.216440 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')
21:33:08.223486 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'
21:33:08.223496 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')
21:33:08.223803 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')
21:33:08.227699 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'
21:33:08.227706 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')
21:33:08.227986 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')
21:33:08.231523 trace system.db.CDbCommand
Querying SQL: SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='49'
21:33:08.231529 profile system.db.CDbCommand.query
begin:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='49')
21:33:08.231797 profile system.db.CDbCommand.query
end:system.db.CDbCommand.query(SELECT `fio`
FROM `tbl_admin` `u`
WHERE id = :id LIMIT 1. Bound with :id='49')
21:33:08.232191 trace system.caching.CMemCache
Serving "Commercial_141" from cache
21:33:08.232461 trace system.caching.CMemCache
Serving "Commercial_151" from cache
21:33:08.232721 trace system.caching.CMemCache
Serving "Commercial_161" from cache
21:33:08.232995 trace system.caching.CMemCache
Serving "Commercial_181" from cache
21:33:08.233270 trace system.caching.CMemCache
Serving "Commercial_191" from cache
21:33:08.233546 trace system.caching.CMemCache
Serving "Commercial_201" from cache
21:33:08.233839 trace system.caching.CMemCache
Serving "Commercial_211" from cache
21:33:08.234188 trace system.caching.CMemCache
Serving "Commercial_31" from cache
21:33:08.234678 trace system.caching.CMemCache
Serving "Commercial_61" from cache
21:33:08.236159 trace system.caching.CMemCache
Deleting "Yii.COutputCache.projectThemes_1......." from cache
21:33:08.236360 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
21:33:08.236366 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)
21:33:08.236507 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)