<?php
 $tpl = erLhcoreClassTemplate::getInstance( 'lhfront/default.tpl.php'); $tpl->set('geo_location_data',erLhcoreClassModelChatConfig::fetch('geo_location_data')->data); $tpl->set('tracking_enabled','1' == 1); $departmentParams = array(); $userDepartments = erLhcoreClassUserDep::parseUserDepartmetnsForFilter($currentUser->getUserID()); if ($userDepartments !== true) { $departmentParams['filterin']['id'] = $userDepartments; if (!$currentUser->hasAccessTo('lhchat','sees_all_online_visitors')) { $filter['filterin']['dep_id'] = $userDepartments; } } $departmentParams['sort'] = 'sort_priority ASC, name ASC'; $tpl->set('departmentParams',$departmentParams); $Result['content'] = $tpl->fetch(); $Result['additional_footer_js'] = '<script src="'.'/guimun/lhc_web/cache/compiledtemplates/83aa2fbc5d91cd8fc326e7fd4fcd3cc4.js'.'"></script>'; $Result['hide_right_column'] = '0' == 1; ?>