コード例 #1
0
ファイル: index_old.php プロジェクト: jcodesdotme/pp
                <div class="group-set">
                <?php
				$hotelFeatureType = new HotelFetursType();
				$hFeatureType_data = $hotelFeatureType-> getAllHotelFeatureType();
				
				for($ft=0; $ft<count($hFeatureType_data); $ft++){
					 $hotelFeatureType->extractor($hFeatureType_data,$ft);
					 ?>
                        <div class="acc-inner-cont">
                            <div class="left-sec"><?php echo $hotelFeatureType->hotelFeatureTypeName(); ?></div>
                            <ul class="right-sec">
                            <?php
							//get feature list							
							$hotelFeatureList = new HotelFetursList();//hotel_feature_type_id
							$hotelFeatureList->setHotelFeatureListTypeId($hotelFeatureType->hotelFeatureTypeId());
							$hfeatureList_data = $hotelFeatureList->getHotelFeatureListFromTypeId();
							for($fl=0; $fl<count($hfeatureList_data); $fl++){
								$hotelFeatureList->extractor($hfeatureList_data,$fl);
								
								$featursIDlist = explode(",", $hotels->hotelFeatures());
								
								$listID = $hotelFeatureList->hotelFeatureListId();
								
								if(in_array($listID,$featursIDlist)){
									?><li class="check-mark"><?php echo $hotelFeatureList->hotelFeatureListName(); ?></li><?php
								}
							}
							?>
                            </ul>
                            <div class="clear"></div>
                        </div>