예제 #1
0
        ?>
" class="positionInstrumentName bigItem"><?php 
        echo $advertisementPosition->getVariable(AdvertisementPosition::INSTRUMENT_NAME);
        ?>
</label><br/>
                             <div class="positionAdvancedItemsDiv">
                                 <label class="positionAdvancedLabel">Position Duration:</label><label class="positionDuration"><?php 
        echo DurationUtilities::getDurationName($advertisementPosition->getVariable(AdvertisementPosition::DURATION_ID));
        ?>
</label><br/>
                                 <label class="positionAdvancedLabel">Preferred Experience Level:</label><label class="positionExperience"><?php 
        echo ExperienceUtilities::getExperienceName($advertisementPosition->getVariable(AdvertisementPosition::EXPERIENCE_ID));
        ?>
</label><br/>
                                 <label class="positionAdvancedLabel">Preferred Gender:</label><label class="positionGender"><?php 
        echo GenderUtilities::getGenderName($advertisementPosition->getVariable(AdvertisementPosition::GENDER_ID));
        ?>
</label><br/>
                                 <label class="positionAdvancedLabel">Preferred Age:</label><label class="positionAge"><?php 
        echo AgeUtilities::getAgeRangeName($advertisementPosition->getVariable(AdvertisementPosition::AGE_RANGE_ID));
        ?>
</label><br/>
                             </div>
                             <div class="positionDescriptionDiv"><label class="positionDescriptionLabel">Description: </label><label class="positionDescription"><?php 
        echo $advertisementPosition->getVariable(AdvertisementPosition::DESCRIPTION);
        ?>
</label></div>
						</div>
					<?php 
        $positionClass = "positionDiv hiddenDiv";
    }
if ($memberSkeletons != null) {
    foreach ($memberSkeletons as $memberSkeleton) {
        ?>
			<div class="musicianResultDiv">
				<div class="musicianPictureDiv">
				    <fb:profile-pic linked="false" uid="<?php 
        echo $memberSkeleton->getVariable(Member::MEMBER_ID);
        ?>
" width="50" height="50" facebook-logo="false"></fb:profile-pic>
				</div>
				<div class="musicianInfoDiv">
					<label class="musicianAgeGenderLabel smallItem">Age: <?php 
        echo AgeUtilities::getAgeRangeName($memberSkeleton->getVariable(Member::AGE_RANGE_ID));
        ?>
 <br/> Gender: <?php 
        echo GenderUtilities::getGenderName($memberSkeleton->getVariable(Member::GENDER_ID));
        ?>
</label>
					<label class="bigItem"><a href="<?php 
        echo $config->getResourceURL("musician_profile.php") . "?memberID=" . $memberSkeleton->getVariable(Member::MEMBER_ID);
        ?>
"><?php 
        echo $memberSkeleton->getStringVariable(Member::FIRST_NAME) . " " . $memberSkeleton->getStringVariable(Member::LAST_NAME);
        ?>
</a></label><br/>

					<label class="musicianLocationLabel smallItem"><?php 
        echo LocationUtilities::getLocationString($memberSkeleton->getVariable(LocationConstants::COUNTRY_ID), $memberSkeleton->getVariable(LocationConstants::STATE_ID), $memberSkeleton->getVariable(LocationConstants::CITY_ID), $memberSkeleton->getVariable(LocationConstants::REGION_ID));
        ?>
</label>
                    <label class="smallLabel">Location: </label>
}
?>
         <br/>
		<div class="musicianResultDiv">
			<div class="musicianPictureDiv">
			    <fb:profile-pic linked="false" uid="<?php 
echo $memberDetails->getVariable(Member::MEMBER_ID);
?>
" width="50" height="50" facebook-logo="false"></fb:profile-pic>
			</div>
			<div class="musicianInfoDiv">
				<label class="musicianAgeGenderLabel smallItem">Age: <?php 
echo AgeUtilities::getAgeRangeName($memberDetails->getVariable(Member::AGE_RANGE_ID));
?>
 <br/> Gender: <?php 
echo GenderUtilities::getGenderName($memberDetails->getVariable(Member::GENDER_ID));
?>
</label>
				<label class="bigItem"><a href="<?php 
echo $config->getResourceURL("musician_profile.php") . "?memberID=" . $memberDetails->getVariable(Member::MEMBER_ID);
?>
"><?php 
echo $memberDetails->getStringVariable(Member::FIRST_NAME) . " " . $memberDetails->getStringVariable(Member::LAST_NAME);
?>
</a></label><br/>

				<label class="musicianLocationLabel smallItem"><?php 
echo LocationUtilities::getLocationString($memberDetails->getVariable(LocationConstants::COUNTRY_ID), $memberDetails->getVariable(LocationConstants::STATE_ID), $memberDetails->getVariable(LocationConstants::CITY_ID), $memberDetails->getVariable(LocationConstants::REGION_ID));
?>
</label>
                <label class="smallMusicianLabel">Location: </label>