} } if ($iconv_to != "UTF-8") { $decodedStr = iconv("UTF-8", $iconv_to, $decodedStr); } return $decodedStr; } require_once '../../config/config.inc.php'; require_once '../../config/db_connect.inc.php'; require_once '../../language_files/language.inc.php'; require_once '../../pages/CCirculation.inc.php'; header("Content-Type: text/xml; charset={$DEFAULT_CHARSET}"); $strFiter = strip_tags($_REQUEST['strFilter']); $strFiter = ltrim(unescape($strFiter, $DEFAULT_CHARSET)); $objCirculation = new CCirculation(); $arrIndex = $objCirculation->filterUsers($strFiter); ?> <table cellpadding="2" cellspacing="0" style="background-color:white;" width="100%"> <tbody id="AvailableUsers"> <?php $nMax = sizeof($arrIndex); for ($nIndex = 0; $nIndex < $nMax; $nIndex++) { $arrCurIndex = $arrIndex[$nIndex]; $nUserId = $arrCurIndex['user_id']; $arrUser = $objCirculation->getUserById($nUserId); $sid = $nUserId; ?> <tr onMouseOver="this.style.background = '#ddd;'" onMouseOut="this.style.background = '#fff;'" onClick="document.getElementById('receiver_<?php echo $sid; ?> ').checked = 'true'; setReceiver(<?php