<?php global $gAr;if(isset($gAr['selectTitle'])){?><option value=""><?php echo $gAr['selectTitle'];?></option><?php } foreach($gAr['data'] as $u){ ?><option value="<?php echo $u[$gAr['id']];?>"><?php echo $u[$gAr['title']];?></option><?php } ?>