<form class="heads" method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>"> <?php //Получаем переменные для сортировки @$_GET['sortcolumn']=($_GET['sortcolumn'])?$_GET['sortcolumn']:"ФИО"; @$_GET['sorttype']=($_GET['sorttype'])?$_GET['sorttype']:"ASC"; ?> <div class="heads"> <?php if($BLOCK_VIS[$menu_marker]['birthdays']) include("./libs/birth.php"); if($BLOCK_VIS[$menu_marker]['search']) include("./libs/search.php"); if($BLOCK_VIS[$menu_marker]['profile']) include("./libs/profile.php"); if($BLOCK_VIS[$menu_marker]['fast_move']) { echo"<br/>"; Alphabet::printGeneralLetters(); //Печатаем буквы алфавита, для быстрого перехода на сотрудников } ?> </div> </form> <?php $ldap=new LDAP($LDAPServer, $LDAPUser, $LDAPPassword); //Соединяемся с сервером // Делаем фильтр для выборки сотрудников нужных компаний //------------------------------------------------------------------------------------------------------------- $CompanyNameLdapFilter=Application::getCompanyNameLdapFilter(); //-------------------------------------------------------------------------------------------------------------
//Получаем переменные для сортировки @($_GET['sortcolumn'] = $_GET['sortcolumn'] ? $_GET['sortcolumn'] : "ФИО"); @($_GET['sorttype'] = $_GET['sorttype'] ? $_GET['sorttype'] : "ASC"); ?> <div class="heads"> <?php if ($BLOCK_VIS[$menu_marker]['birthdays']) { include "./libs/birth.php"; } if ($BLOCK_VIS[$menu_marker]['search']) { include "./libs/search.php"; } if ($BLOCK_VIS[$menu_marker]['profile']) { include "./libs/profile.php"; } if ($BLOCK_VIS[$menu_marker]['fast_move']) { echo "<br/>"; Alphabet::printGeneralLetters(); //Печатаем буквы алфавита, для быстрого перехода на сотрудников } ?> </div> </form> <?php $ldap = new LDAP($LDAPServer, $LDAPUser, $LDAPPassword); //Соединяемся с сервером // Делаем фильтр для выборки сотрудников нужных компаний //------------------------------------------------------------------------------------------------------------- $CompanyNameLdapFilter = Application::getCompanyNameLdapFilter(); //-------------------------------------------------------------------------------------------------------------