当前位置: 首页>>代码示例>>PHP>>正文


PHP BFCHelper::getImageUrlResized方法代码示例

本文整理汇总了PHP中BFCHelper::getImageUrlResized方法的典型用法代码示例。如果您正苦于以下问题:PHP BFCHelper::getImageUrlResized方法的具体用法?PHP BFCHelper::getImageUrlResized怎么用?PHP BFCHelper::getImageUrlResized使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BFCHelper的用法示例。


在下文中一共展示了BFCHelper::getImageUrlResized方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

//echo "</pre>";
$resourceName = BFCHelper::getLanguage($resource->Name, $this->language, null, array('ln2br' => 'ln2br', 'striptags' => 'striptags'));
$uriResource = $uri . '&resourceId=' . $resource->ResourceId . ':' . BFCHelper::getSlug($resourceName);
if ($itemId != 0) {
    $uriResource .= '&Itemid=' . $itemId;
}
$route = JRoute::_($uriResource);
$merchant = $resource->Merchant;
$uriMerchant .= '&merchantId=' . $merchant->MerchantId . ':' . BFCHelper::getSlug($merchant->Name);
if ($itemIdMerchant != 0) {
    $uriMerchant .= '&Itemid=' . $itemIdMerchant;
}
$routeMerchant = JRoute::_($uriMerchant);
$merchantLogo = JURI::base() . "/media/com_bookingfor/images/default.png";
if ($merchant != null && $merchant->LogoUrl != '') {
    $merchantLogo = BFCHelper::getImageUrlResized('merchant', $merchant->LogoUrl, 'logobig');
}
$this->document->setTitle($resourceName . ' - ' . $merchant->Name);
$this->document->setDescription(BFCHelper::getLanguage($resource->Description, $this->language));
$completestay = null;
$stay = null;
$stayAvailability = 0;
$DiscountedPrice = 0;
$total = 0;
$calPrices = null;
$calPkgs = null;
$selPriceType = null;
$selPriceTags = '';
$priceTypes = $this->PriceTypes;
$calPricesResources = null;
//prezzi calcolari per risorsa e persone
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:form.php

示例2: search_availability


//.........这里部分代码省略.........
        } else {
            if ($task == 'getMerchantGroups') {
                $merchantgroups = BFCHelper::getMerchantGroups();
                wp_send_json($merchantgroups);
            } else {
                if ($task == 'GetPhoneByMerchantId') {
                    $merchantId = $_REQUEST['merchantid'];
                    $language = $GLOBALS['bfi_lang'];
                    $phno = BFCHelper::GetPhoneByMerchantId($merchantId, $language);
                    wp_send_json($phno);
                } else {
                    if ($task == 'GetResourcesByIds') {
                        $lists = $_REQUEST['resourcesId'];
                        $language = $GLOBALS['bfi_lang'];
                        $resources = BFCHelper::GetResourcesByIds($lists, $language);
                        @header('Content-Type: application/json; charset=' . get_option('blog_charset'));
                        echo $resources;
                        die;
                    } else {
                        if ($task == 'getmarketinfo') {
                            $base_url = get_site_url();
                            $merchant_id = $_REQUEST['merchantId'];
                            $model = new BookingForConnectorModelMerchantDetails();
                            $merchant = $model->getItem($merchant_id);
                            $output = '<div class="com_bookingforconnector_map_merchantdetails" style="display:block;height:150px;overflow:auto; width: 300px;">
							<div class="com_bookingforconnector_merchantdetails com_bookingforconnector_merchantdetails-t257">
								<h3 style="margin:0;" class="com_bookingforconnector_merchantdetails-name"><a class="com_bookingforconnector_merchantdetails-nameAnchor" href="' . $base_url . '/merchant-details/merchantdetails/' . $merchant->MerchantId . '-' . seoUrl($merchant->Name) . '">' . $merchant->Name . '</a> 
									<br/><span class="com_bookingforconnector_merchantdetails-rating com_bookingforconnector_merchantdetails-rating' . $merchant->Rating . '">
										<span class="com_bookingforconnector_merchantdetails-ratingText">Rating ' . $merchant->Rating . '</span>
									</span>
								</h3>
								<div class="com_bookingforconnector_merchantdetails-contacts" style="display:none;">
									<h3>' . __('Facility contacts data', 'bfi') . '</h3>
									<div>' . __('Phone', 'bfi') . ': <br/>
									<!-- Fax: --> </div>
								</div>
							</div>
						</div>';
                            die($output);
                        } else {
                            if ($task == 'getmarketinforesource') {
                                $base_url = get_site_url();
                                $resource_id = $_REQUEST['resourceId'];
                                $model = new BookingForConnectorModelResource();
                                $resource = $model->getItem($resource_id);
                                $merchant = $resource->Merchant;
                                $output = '<div class="com_bookingforconnector_map_merchantdetails" style="display:block;height:150px;overflow:auto; width: 300px;">
							<div class="com_bookingforconnector_merchantdetails com_bookingforconnector_merchantdetails-t257">
								<h3 style="margin:0;" class="com_bookingforconnector_merchantdetails-name"><a class="com_bookingforconnector_merchantdetails-nameAnchor" href="' . $base_url . '/accommodation-details/resource/' . $resource->ResourceId . '-' . seoUrl($resource->Name) . '">' . $resource->Name . '</a> 
									<br/><span class="com_bookingforconnector_merchantdetails-rating com_bookingforconnector_merchantdetails-rating' . $merchant->Rating . '">
										<span class="com_bookingforconnector_merchantdetails-ratingText">Rating ' . $merchant->Rating . '</span>
									</span>
								</h3>
								<div class="com_bookingforconnector_merchantdetails-contacts" style="display:none;">
									<h3>' . __('Facility contacts data', 'bfi') . '</h3>
									<div>' . __('Phone', 'bfi') . ': <br/>
									Fax: </div>
								</div>
							</div>
						</div>';
                                die($output);
                            } else {
                                if ($task == 'getmarketinforesourceonsell') {
                                    $base_url = get_site_url();
                                    $resource_id = $_REQUEST['resourceId'];
                                    $model = new BookingForConnectorModelOnSellUnit();
                                    $resource = $model->getItem($resource_id);
                                    $merchant = $resource->Merchant;
                                    $resource->Price = $resource->MinPrice;
                                    $resourceName = BFCHelper::getLanguage($resource->Name, $language, null, array('ln2br' => 'ln2br', 'striptags' => 'striptags'));
                                    $resourceDescription = BFCHelper::getLanguage($resource->Description, $language, null, array('ln2br' => 'ln2br', 'striptags' => 'striptags'));
                                    $zone = $resource->LocationZone;
                                    $location = $resource->LocationName;
                                    $contractType = $resource->ContractType ? 'contacttype1' : 'contacttype';
                                    //	   $img = "/images/default.png";
                                    //	   $imgError = "/images/default.png";
                                    $img = plugins_url("images/default.png", dirname(__FILE__));
                                    $imgError = plugins_url("images/default.png", dirname(__FILE__));
                                    $route = '/merchant-details/sale/' . $resource_id . '-' . seoUrl($resource->Name);
                                    if ($resource->ImageUrl != '') {
                                        $img = BFCHelper::getImageUrlResized('onsellunits', $resource->ImageUrl, 'onsellunit_map_default');
                                        $imgError = BFCHelper::getImageUrl('onsellunits', $resource->ImageUrl, 'onsellunit_map_default');
                                    } elseif ($merchant->LogoUrl != '') {
                                        $img = BFCHelper::getImageUrlResized('merchant', $merchant->LogoUrl, 'onsellunit_map_default');
                                        $imgError = BFCHelper::getImageUrl('merchant', $merchant->LogoUrl, 'onsellunit_map_default');
                                    }
                                    ob_start();
                                    include 'templates/onsellmapmarker.php';
                                    $output = ob_get_contents();
                                    ob_end_clean();
                                    die($output);
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
开发者ID:Bookingfor,项目名称:wordpress-plugin,代码行数:101,代码来源:bfi.php

示例3: AND

if ($isportal) {
    $db->setQuery('SELECT id FROM #__menu WHERE link LIKE ' . $db->Quote($uriMerchant . '%') . ' AND (language=' . $db->Quote($language) . ' OR language=' . $db->Quote('*') . ') AND published = 1 LIMIT 1');
    $itemIdMerchant = intval($db->loadResult());
}
if ($itemId == 0) {
    $itemId = $itemIdMerchant;
}
$img = JURI::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$imgError = JURI::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogo = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s1.jpeg";
$merchantLogoError = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s1.jpeg";
$merchantImageUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogoUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogoPath = BFCHelper::getImageUrlResized('merchant', "[img]", 'logomedium');
$merchantLogoPathError = BFCHelper::getImageUrl('merchant', "[img]", 'logomedium');
$merchantImagePath = BFCHelper::getImageUrlResized('condominium', "[img]", 'medium');
$merchantImagePathError = BFCHelper::getImageUrl('condominium', "[img]", 'medium');
$url = JFactory::getURI()->toString();
$action = $url;
$hidesort = "";
if (!empty($this->hidesort)) {
    $hidesort = ' style="display:none;"';
}
?>
<div class="com_bookingforconnector-search-menu">
	<form action="<?php 
echo $action;
?>
" method="post" name="bookingforsearchForm" id="bookingforsearchFilterForm">
		<fieldset class="filters">
			<input type="hidden" class="filterOrder" name="filter_order" value="<?php 
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:default_condominiums.php

示例4: function

  };
  slider.enterFullscreen = function(preventNative) {
    jQuery.rsProto.enterFullscreen.call(this, preventNative);
    jQuery('#resourcegallery').show();
  };
  jQuery('.launch-fullscreen').click(function() { jQuery('#resourcegallery').royalSlider('enterFullscreen'); });
  jQuery('.showall').click(function() { jQuery('#resourcegallery').royalSlider('enterFullscreen'); });
  
});
 //-->
</script>

<?php 
} elseif ($resource->Merchant != null && $resource->Merchant->LogoUrl != '') {
    ?>
	<img src="<?php 
    echo BFCHelper::getImageUrlResized('merchant', $resource->Merchant->LogoUrl, 'merchant_gallery_full');
    ?>
"  onerror="this.onerror=null;this.src='<?php 
    echo BFCHelper::getImageUrl('merchant', $resource->Merchant->LogoUrl, 'onsellunit_default_logo');
    ?>
'"  />
<?php 
} else {
    ?>
	<img class="com_bookingforconnector_resource-img" style="float:none;" src="<?php 
    echo JURI::base();
    ?>
/media/com_bookingfor/images/default.png" />
<?php 
}
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:default_gallery.php

示例5: explode

?>
</span>
			</span>
	</h3>
	<div style="clear:both;"></div>
	<div >
<?php 
$merchantgroups = BFCHelper::getMerchantGroups();
$merchantGroupIdList = explode(",", $merchant->MerchantGroupIdList);
$html = "";
if (isset($merchantgroups)) {
    $html .= '<span class="bfcmerchantgroup">';
    foreach ($merchantgroups as $merchantgroup) {
        if (!empty($merchantgroup->ImageUrl) && in_array($merchantgroup->MerchantGroupId, $merchantGroupIdList)) {
            $name = BFCHelper::getLanguage($merchantgroup->Name, $language);
            $imageurl = BFCHelper::getImageUrlResized('merchantgroup', $merchantgroup->ImageUrl, 'merchant_merchantgroup');
            $imageurlError = BFCHelper::getImageUrl('merchantgroup', $merchantgroup->ImageUrl, 'merchant_merchantgroup');
            $image = '<img src="' . $imageurl . '" alt="' . $name . '" title="' . $name . '" onerror="this.onerror=null;this.src=\'' . $imageurlError . ' \'" />';
            $html .= $image;
        }
    }
    $html .= '</span>';
}
echo $html;
?>
	</div>	
	<table class="mod_bookingforconnector-resource-table" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td class="mod_bookingforconnector-resource-table-label noborder"><?php 
echo 'Address';
?>
开发者ID:Bookingfor,项目名称:drupal-module,代码行数:31,代码来源:merchant-vcard.tpl.php

示例6: elseif

<?php

$merchant = $this->item;
$offer = $this->item->currentOffer;
$offerName = BFCHelper::getLanguage($offer->Name, $this->language);
$offer->OfferId = $offer->PackageId;
$offer->Price = $offer->Value;
$route = JRoute::_('index.php?option=com_bookingforconnector&view=merchantdetails&layout=offer&merchantId=' . $merchant->MerchantId . ':' . BFCHelper::getSlug($merchant->Name) . '&offerId=' . $offer->OfferId . ':' . BFCHelper::getSlug($offerName));
$img = JURI::root() . "media/com_bookingfor/images/default.png";
$imgError = JURI::root() . "media/com_bookingfor/images/default.png";
if ($offer->DefaultImg != '') {
    $img = BFCHelper::getImageUrlResized('offers', $offer->DefaultImg, 'offer_list_default');
    $imgError = BFCHelper::getImageUrl('offers', $offer->DefaultImg, 'offer_list_default');
} elseif ($merchant->LogoUrl != '') {
    $img = BFCHelper::getImageUrlResized('merchant', $merchant->LogoUrl, 'resource_list_default_logo');
    $imgError = BFCHelper::getImageUrl('merchant', $merchant->LogoUrl, 'resource_list_default_logo');
}
?>
	<div class="com_bookingforconnector_search-resource">
		<div class="com_bookingforconnector_merchantdetails-resource com_bookingforconnector_merchantdetails-resource-t">
			<div class="com_bookingforconnector_merchantdetails-resource-features">
				<a class="com_bookingforconnector_resource-imgAnchor" href="<?php 
echo $route;
?>
"><img class="com_bookingforconnector_resource-img" src="<?php 
echo $img;
?>
" onerror="this.onerror=null;this.src='<?php 
echo $imgError;
?>
'" /></a>
开发者ID:Bookingfor,项目名称:joomla-extension,代码行数:31,代码来源:offers_offer.php

示例7: intval

//$itemIdFav = ($db->getErrorNum())? 0 : intval($db->loadResult());
$itemIdFav = intval($db->loadResult());
//-------------------pagina per i l redirect di tutte le risorsein vendita
if ($itemIdFav != 0) {
    $routeFav = JRoute::_($uriFav . '&Itemid=' . $itemIdFav);
} else {
    $routeFav = JRoute::_($uriFav);
}
$onchange = 'onchange="setOrdering(this);"';
$resourceImageUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogoUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s1.jpeg";
$resourceLogoPath = BFCHelper::getImageUrlResized('resources', "[img]", 'medium');
$resourceLogoPathError = BFCHelper::getImageUrl('resources', "[img]", 'medium');
$merchantImageUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogoUrl = Juri::root() . "components/com_bookingforconnector/assets/images/defaults/default-s6.jpeg";
$merchantLogoPath = BFCHelper::getImageUrlResized('merchant', "[img]", 'logomedium');
$merchantLogoPathError = BFCHelper::getImageUrl('merchant', "[img]", 'logomedium');
$url = JFactory::getURI()->toString();
//$purl=parse_url($url);
//$oldq=$purl['query'];
//$arrTmp=array();
//parse_str($oldq,$arrTmp); //To array
//
//$arrTmp['onlystay'] = 1;
//$newq = http_build_query($arrTmp);//build again
//$action=str_replace($oldq,$newq,$url);
$action = $url;
$hidesort = "";
if (!empty($this->hidesort)) {
    $hidesort = ' style="display:none;"';
}
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:default_resources.php

示例8: foreach

    // suppressing any errors
}
?>

<?php 
if (count($images) > 0) {
    ?>
<div class="royalSlider rsUni" id="resourcePlanimetrygallery">
	<?php 
    foreach ($images as $image) {
        ?>
	<a class="rsImg" href="<?php 
        echo BFCHelper::getImageUrlResized('resources', $image, '');
        ?>
"><img class="rsTmb" src="<?php 
        echo BFCHelper::getImageUrlResized('resources', $image, 'onsellunit_gallery_thumb');
        ?>
" onerror="this.onerror=null;this.src='<?php 
        echo BFCHelper::getImageUrl('resources', $image, 'onsellunit_gallery_thumb');
        ?>
'" /></a>		
	<?php 
    }
    ?>
</div>

<script type="text/javascript">
<!--
jQuery(document).ready(function() {
  jQuery('#resourcePlanimetrygallery').royalSlider({
    fullscreen: {
开发者ID:Bookingfor,项目名称:joomla-extension,代码行数:31,代码来源:default_gallery_planimetry.php

示例9: array

        ?>
		<?php 
        $rating = $merchant->Rating;
        $currUriMerchant = $uriMerchant . '&merchantId=' . $merchant->MerchantId . ':' . BFCHelper::getSlug($merchant->Name);
        if ($itemIdMerchant != 0) {
            $currUriMerchant .= '&Itemid=' . $itemIdMerchant;
        }
        $routeMerchant = JRoute::_($currUriMerchant);
        $currMerchantImageUrl = $merchantImageUrl;
        if (!empty($merchant->DefaultImg)) {
            $currMerchantImageUrl = BFCHelper::getImageUrlResized('merchant', $merchant->DefaultImg, 'small');
        }
        $urls = array();
        if (!empty($merchant->ImageData)) {
            $images = explode(",", $merchant->ImageData);
            $currMerchantImageUrl = BFCHelper::getImageUrlResized('merchant', $images[0], 'small');
            foreach ($images as $i => $url) {
                if (!empty($url)) {
                    $imgLogo = str_replace("[img]", $url, $merchantImagePath);
                    $urls[] = '<div class="item ' . ($i == 0 ? 'active' : '') . '><img src="$imgLogo"></div>';
                }
            }
        }
        ?>
		<div class="item<?php 
        echo $mrcKey == 0 ? " active" : "";
        ?>
 merchant_highlight"><!-- style="padding-left: 5px!important; padding-right: 5px!important; flex:1;"-->
			<div class="<?php 
        echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL . 12 / $cols;
        ?>
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:default.php

示例10: StdClass

    $availability = 0;
    $ribbonofferdisplay = "hidden";
    $classofferdisplay = "";
    $stay = new StdClass();
    $discount = 0;
    $availability = $result->Availability;
    $bookingType = $result->BookingType;
    if ($result->Price < $result->TotalPrice || $result->IsOffer) {
        $ribbonofferdisplay = "";
        $classofferdisplay = "com_bookingforconnector_highlight";
    }
    if (!empty($result->RateplanId)) {
        $route .= "?pricetype=" . $result->RateplanId;
    }
    if (!empty($result->ImageUrl)) {
        $resourceImageUrl = BFCHelper::getImageUrlResized('resources', $result->ImageUrl, 'medium');
    }
    //		$images = array($resourceImageUrl);
    $resource->SimpleDiscountIds = "";
    $resource->DiscountIds = json_decode($resource->DiscountIds);
    if (is_array($resource->DiscountIds) && count($resource->DiscountIds) > 0) {
        $resource->SimpleDiscountIds = implode(',', $resource->DiscountIds);
    }
    $rating = $result->ResRating;
    if ($rating > 10) {
        $rating = $rating / 10;
    }
    ?>
			<div class="<?php 
    echo COM_BOOKINGFORCONNECTOR_BOOTSTRAP_COL;
    ?>
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:31,代码来源:default_resources.php

示例11: elseif

        ?>
"><img class="rsTmb" src="<?php 
        echo BFCHelper::getImageUrlResized('onsellunits', $image, 'onsellunit_gallery_thumb');
        ?>
"></a>		
	<?php 
    }
    ?>
</div>
<?php 
} elseif (count($images) == 1) {
    ?>
<div class="com_bookingforconnector_resource-image">
	<img src="<?php 
    echo BFCHelper::getImageUrlResized('onsellunits', $images[0], 'onsellunit_mono_full');
    ?>
" />
</div>
<?php 
} elseif ($resource->Merchant != null && $resource->Merchant->LogoUrl != '') {
    ?>
	<img src="<?php 
    echo BFCHelper::getImageUrlResized('merchant', $resource->Merchant->LogoUrl, 'onsellunit_default_logo');
    ?>
" />
<?php 
} else {
    ?>
	<img src="/media/com_bookingfor/images/default.png" />
<?php 
}
开发者ID:Bookingfor,项目名称:drupal-module,代码行数:31,代码来源:onsell-gallery.tpl.php

示例12: array

$language = $this->language;
//$resourceName = BFCHelper::getLanguage($resource->Name, $this->language);
$resourceName = BFCHelper::getLanguage($resource->Name, $this->language, null, array('ln2br' => 'ln2br', 'striptags' => 'striptags'));
$resourceDescription = BFCHelper::getLanguage($resource->Description, $this->language, null, array('ln2br' => 'ln2br', 'striptags' => 'striptags'));
$route = JRoute::_('index.php?option=com_bookingforconnector&view=onsellunit&resourceId=' . $resource->ResourceId . ':' . BFCHelper::getSlug($resourceName));
$typeName = BFCHelper::getLanguage($resource->CategoryName, $this->language);
$zone = $resource->LocationZone;
$location = $resource->LocationName;
$contractType = $resource->ContractType ? JTEXT::_('COM_BOOKINGFORCONNECTOR_VIEWS_ONSELLUNIT_CONTRACTTYPE1') : JTEXT::_('COM_BOOKINGFORCONNECTOR_VIEWS_ONSELLUNIT_CONTRACTTYPE');
$img = JURI::root() . "images/default.png";
$imgError = JURI::root() . "images/default.png";
if ($resource->ImageUrl != '') {
    $img = BFCHelper::getImageUrlResized('onsellunits', $resource->ImageUrl, 'onsellunit_map_default');
    $imgError = BFCHelper::getImageUrl('onsellunits', $resource->ImageUrl, 'onsellunit_map_default');
} elseif ($merchant->LogoUrl != '') {
    $img = BFCHelper::getImageUrlResized('merchant', $merchant->LogoUrl, 'onsellunit_map_default');
    $imgError = BFCHelper::getImageUrl('merchant', $merchant->LogoUrl, 'onsellunit_map_default');
}
//-------------------pagina per i l redirect di tutte le risorse in vendita
$db = JFactory::getDBO();
$uri = 'index.php?option=com_bookingforconnector&view=onsellunit';
$db->setQuery('SELECT id FROM #__menu WHERE link LIKE ' . $db->Quote($uri) . ' AND (language=' . $db->Quote($language) . ' OR language=' . $db->Quote('*') . ') AND published = 1 LIMIT 1');
$itemId = $db->getErrorNum() ? 0 : intval($db->loadResult());
//-------------------pagina per i l redirect di tutte le risorsein vendita
//-------------------pagina per il redirect di tutti i merchant
$uriMerchant = 'index.php?option=com_bookingforconnector&view=merchantdetails';
$db->setQuery('SELECT id FROM #__menu WHERE link LIKE ' . $db->Quote($uriMerchant . '%') . ' AND (language=' . $db->Quote($language) . ' OR language=' . $db->Quote('*') . ') AND published = 1 LIMIT 1');
$itemIdMerchant = $db->getErrorNum() ? 0 : intval($db->loadResult());
//-------------------pagina per il redirect di tutti i merchant
//$route = JRoute::_('index.php?option=com_bookingforconnector&view=onsellunit&resourceId=' . $resource->ResourceId . ':' . BFCHelper::getSlug($resourceName));
if ($itemId != 0) {
开发者ID:Bookingfor,项目名称:joomla-extension,代码行数:31,代码来源:map.php

示例13: implode

echo implode(",", $listsId);
?>
";

var imgPath = "<?php 
echo $merchantImagePath;
?>
";
var imgPathError = "<?php 
echo $merchantImagePathError;
?>
";

var strAddress = "[indirizzo] - [cap] - [comune] ([provincia])";
var imgPathMG = "<?php 
echo BFCHelper::getImageUrlResized('tag', '[img]', 'tag24');
?>
";
var imgPathMGError = "<?php 
echo BFCHelper::getImageUrl('tag', '[img]', 'tag24');
?>
";
var cultureCodeMG = '<?php 
echo $language;
?>
';
var defaultcultureCodeMG = '<?php 
echo BFCHelper::$defaultFallbackCode;
?>
';
开发者ID:Bookingfor,项目名称:joomla-extension-v-2,代码行数:30,代码来源:default_merchantscategoryid.php

示例14: setStars

	function setStars(option) {
		var form = option.form;
		form.submit();
	}
	//-->
	</script>
</fieldset>
</form>
<div class="com_bookingforconnector-merchantlist">
<?php 
foreach ($condominiums as $condominium) {
    $counter = 0;
    $resourceName = BFCHelper::getLanguage($condominium->Name, $this->language);
    //$route = JRoute::_('index.php?option=com_bookingforconnector&view=condominium&ResourceId=' . $condominium->CondominiumId . ':' . BFCHelper::getSlug($resourceName));
    $imgdefault = JURI::root() . "images/default.jpg";
    $imagesPath = BFCHelper::getImageUrlResized('condominium', "[img]", 'condominium_list_default');
    $imagesPathError = BFCHelper::getImageUrl('condominium', "[img]", 'condominium_list_default');
    if ($itemId != 0) {
        $route = JRoute::_($uri . '&resourceId=' . $condominium->CondominiumId . ':' . BFCHelper::getSlug($resourceName) . '&Itemid=' . $itemId);
    } else {
        $route = JRoute::_($uri . '&resourceId=' . $condominium->CondominiumId . ':' . BFCHelper::getSlug($resourceName) . '');
    }
    ?>
	<div class="com_bookingforconnector_search-merchant">
		<div class="com_bookingforconnector-merchantlist-merchant com_bookingforconnector-merchantlist-merchant-t">
			<div class="com_bookingforconnector-merchantlist-merchant-features">
				<div class="pull-left">
					<a class="com_bookingforconnector-merchantlist-merchant-imgAnchor" href="<?php 
    echo $route;
    ?>
"  id="imgAnchor<?php 
开发者ID:Bookingfor,项目名称:joomla-extension,代码行数:31,代码来源:default_condominiums.php

示例15: foreach

        ?>
'" />
						</li>		
						<?php 
    }
    ?>
					</ul>
				</div>
				<div id="carouselResource" class="flexslider">
					<ul class="slides">
						<?php 
    foreach ($images as $image) {
        ?>
						<li>
							<img src="<?php 
        echo BFCHelper::getImageUrlResized('resources', $image, 'resource_gallery_thumb_rapidview');
        ?>
" onerror="this.onerror=null;this.src='<?php 
        echo BFCHelper::getImageUrl('resources', $image, 'resource_gallery_thumb_rapidview');
        ?>
'" />
						</li>		
						<?php 
    }
    ?>
					</ul>
				</div>
			</div>
		<?php 
} else {
    ?>
开发者ID:Bookingfor,项目名称:drupal-module,代码行数:31,代码来源:resource-rapidview.tpl.php


注:本文中的BFCHelper::getImageUrlResized方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。