- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
if(isset($_GET['do'])){
$page = $checkObj->pageCheck($_GET['dopage']);
$incModules = 'staticpage';
if($link_set['on_news_post_html'] == 1){
$nameLinkPost = $checkObj->pageCheck($_GET['dopage']);
if($nameLinkPost != ''){
$tmp_id_post = explode('_',$_GET['dopage']);
$id_post = $checkObj->idCheck($tmp_id_post[0]);
$nameLinkPost = $checkObj->pageCheck($tmp_id_post[1]);
if(($id_post) and (!empty($tmp_id_post[1]))){
$incModules = 'post';
$page = '';
}
}
}
}
Vasiliy 17.03.2014 21:38 # +1