- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
<?php
if(!$this->model_forum->community_once(array('id'=>$community))) {
echo file_get_contents($_SERVER['DOCUMENT_ROOT'].'/style/templates/mobile/no_community.tpl');
}
else if(isset($_GET['topic']) && is_numeric($_GET['topic']) && $topic = $this->model_forum->topic_once(array('id'=>(int)$_GET['topic']))) {
$tpl = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/style/templates/mobile/add_response_topic.tpl');
$tpl = str_replace('{topic_id}', (int)$_GET['topic'] ,$tpl);
echo $tpl;
}
else {
$tpl = file_get_contents($_SERVER['DOCUMENT_ROOT'].'/style/templates/mobile/add_topic.tpl');
$tpl = str_replace('{community}',$community, $tpl);
$tpl = str_replace('{topic_date_closing}', '23', $tpl);
echo $tpl;
} ?>
nepster 26.06.2012 16:32 # −6
TheHamstertamer 26.06.2012 16:40 # +6
nepster 26.06.2012 16:44 # −3
guest 26.06.2012 17:09 # 0
bormand 27.06.2012 05:30 # +1
eth0 26.06.2012 18:45 # +4
govnomonad 27.06.2012 04:59 # +3
Lure Of Chaos 29.06.2012 00:43 # +1
nepster 29.06.2012 01:33 # −8
bormand 29.06.2012 06:46 # +5
eth0 29.06.2012 13:32 # +2
guest 29.06.2012 19:07 # +3
Lure Of Chaos 29.06.2012 22:00 # +1
http://govnokod.ru/9906
eth0 30.06.2012 11:44 # +1