本文整理汇总了PHP中ImageHelper::getAnimateImageBlock方法的典型用法代码示例。如果您正苦于以下问题:PHP ImageHelper::getAnimateImageBlock方法的具体用法?PHP ImageHelper::getAnimateImageBlock怎么用?PHP ImageHelper::getAnimateImageBlock使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ImageHelper
的用法示例。
在下文中一共展示了ImageHelper::getAnimateImageBlock方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
" href="<?php
echo SiteHelper::createUrl($url . "/description") . "/" . $item->slug;
?>
.html"><?php
echo $item->name;
?>
</a>
<div class="floatRight rightInfo">просмотров: <b><?php
echo $item->col;
?>
</b></div>
</div>
<div class="panel-body">
<div class="IImage img-rounded">
<?php
echo ImageHelper::getAnimateImageBlock($item, SiteHelper::createUrl($url . "/description") . "/" . $item->slug . ".html", "", 0);
?>
</div>
<div class="blockquote blockquoteOrange floatRight width200 height146">
<?php
if ($item->price > 0) {
?>
<div class="overflowHidden"><span class="label label-info"><?php
echo Yii::t("page", "цена");
?>
: <b class="radColor"><?php
echo $item->price;
echo $item->currency_id && $item->currency_id->id > 0 ? $item->currency_id->title : "\$";
?>
</b></span></div><br/><?php
} else {
示例2: foreach
</tr>
<?php
foreach ($items as $item) {
$dateFinish = $item->date + 60 * 60 * 24 * 30;
?>
<tr <?php
echo $item->is_hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $item->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($item, SiteHelper::createUrl("/user/sales/description", array("id" => $item->id)));
?>
</td>
<td>
<a href="<?php
echo SiteHelper::createUrl("/user/sales/description", array("id" => $item->id));
?>
" title="<?php
echo Yii::t("user", "описание");
?>
"><?php
echo $item->name;
?>
</a>
</td>
<td class="textAlignCenter publishStatus"><?php
示例3: foreach
</th>
</tr>
<?php
foreach ($items as $firmItem) {
?>
<tr <?php
echo $firmItem->hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $firmItem->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($firmItem, SiteHelper::createUrl("/user/firmItems/description", array("id" => $firmItem->id, "fid" => $item->id)));
?>
</td>
<td>
<a href="<?php
echo SiteHelper::createUrl("/user/firmItems/description", array("id" => $firmItem->id, "fid" => $item->id));
?>
" title="<?php
echo Yii::t("user", "Описание акции/скидки");
?>
"><?php
echo $firmItem->name;
?>
</a>
</td>
<td class="textAlignCenter publishStatus"><?php
示例4:
?>
" href="<?php
echo SiteHelper::createUrl("/resorts/description") . "/" . $item->slug;
?>
.html" href="<?php
echo SiteHelper::createUrl("/resorts/description") . "/" . $item->slug;
?>
.html"><?php
echo $item->name;
?>
</a>
</div>
<div class="panel-body">
<div class="IImage img-rounded">
<?php
echo ImageHelper::getAnimateImageBlock($item, SiteHelper::createUrl("/resorts/description") . "/" . $item->slug . ".html", $item->name . " - " . Yii::t("page", "курорты") . " " . $item->category_id->name2, 0);
?>
</div>
<div class="blockquote blockquoteOrange floatRight width200 height146">
<?php
if ($item->price > 0) {
echo Yii::t("page", "цена");
?>
: <b class="radColor"><?php
echo $item->price;
?>
</b><br/><?php
}
?>
<?php
if ($item->level > 0) {
示例5: foreach
</th>
<th class="TLFAction"><?php
echo Yii::t("page", "Краткое описание");
?>
</th>
</tr>
<?php
foreach ($items as $firmItem) {
?>
<tr <?php
echo $firmItem->hot == 1 ? 'class="isHot"' : "";
?>
>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($firmItem, SiteHelper::createUrl("/touristInfo/description") . "/" . $firmItem->slug . ".html");
?>
</td>
<td class="textAlignJustify">
<a href="<?php
echo SiteHelper::createUrl("/touristInfo/description") . "/" . $firmItem->slug;
?>
.html" title="<?php
echo Yii::t("page", "описание туристического предложения");
?>
"><?php
echo $firmItem->name;
?>
</a><br/>
<?php
echo SiteHelper::getSubTextOnWorld($firmItem->description, 300);
示例6: foreach
<?php
foreach ($items as $item) {
?>
<div class="listItems">
<?php
echo ImageHelper::getAnimateImageBlock($item, SiteHelper::createUrl("/hotels/description") . "/" . $item->slug . ".html", $item->name . " - отели " . $item->country_id->name2);
?>
<div class="LHeader">
<a title="<?php
echo $item->name;
?>
" href="<?php
echo SiteHelper::createUrl("/hotels/description") . "/" . $item->slug;
?>
.html"><?php
echo $item->name;
?>
</a>
<?php
if ($item->col > 0) {
?>
<div class="floatRight rightInfo"><?php
echo Yii::t("page", "просмотров");
?>
: <b><?php
echo $item->col;
?>
</b></div><?php
}
?>
示例7: foreach
</th>
</tr>
<?php
foreach ($items as $service) {
?>
<tr <?php
echo $service->hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $service->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($service, SiteHelper::createUrl("/user/firmService/description", array("id" => $service->id, "fid" => $item->id)));
?>
</td>
<td>
<a href="<?php
echo SiteHelper::createUrl("/user/firmService/description", array("id" => $service->id, "fid" => $item->id));
?>
" title="<?php
echo Yii::t("user", "описание услуги");
?>
"><?php
echo $service->name;
?>
</a>
</td>
<td class="textAlignCenter publishStatus"><?php
示例8: foreach
</th>
</tr>
<?php
foreach ($items as $tour) {
?>
<tr <?php
echo $tour->hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $tour->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($tour, SiteHelper::createUrl("/user/tours/description", array("id" => $tour->id, "fid" => $item->id)));
?>
</td>
<td>
<a href="<?php
echo SiteHelper::createUrl("/user/tours/description", array("id" => $tour->id, "fid" => $item->id));
?>
" title="описание"><?php
echo $tour->name;
?>
</a>
</td>
<td>
<?php
if (!empty($tour->country_id) || !empty($tour->city_id)) {
示例9: foreach
</th>
</tr>
<?php
foreach ($items as $firmItem) {
?>
<tr <?php
echo $firmItem->hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $firmItem->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($firmItem, SiteHelper::createUrl("/items/description") . "/" . $firmItem->slug . ".html", Yii::t("travelAgency", "Описание акции/скидки") . $firmItem->name);
?>
</td>
<td>
<a href="<?php
echo SiteHelper::createUrl("/items/description") . "/" . $firmItem->slug;
?>
.html" title="<?php
echo $firmItem->name;
?>
<?php
echo Yii::t("travelAgency", "акции/скидки от компании");
?>
<?php
echo $firmItem->firm_id->name;
?>
示例10: foreach
</th>
</tr>
<?php
foreach ($items as $service) {
?>
<tr <?php
echo $service->hot == 1 ? 'class="isHot"' : "";
?>
>
<td><?php
echo $service->id;
?>
</td>
<td>
<?php
echo ImageHelper::getAnimateImageBlock($service, SiteHelper::createUrl("/service/description", array("id" => $service->id, "fid" => $item->id)), Yii::t("page", "услуга компании") . " " . $service->name);
?>
</td>
<td class="textAlignJustify">
<a href="<?php
echo SiteHelper::createUrl("/service/description", array("id" => $service->id, "fid" => $item->id));
?>
" title=" <?php
echo Yii::t("page", "услуга компании");
?>
<?php
echo $service->name;
?>
"><?php
echo $service->name;
?>
示例11:
<?php
if ($item->col > 0) {
?>
<div class="floatRight rightInfo"><?php
echo Yii::t("page", "просмотров");
?>
: <b><?php
echo $item->col;
?>
</b></div><?php
}
?>
</div>
<div class="panel-body">
<div class="IImage img-rounded"><?php
echo ImageHelper::getAnimateImageBlock($item, SiteHelper::createUrl("/travelAgency/description") . "/" . $item->slug . ".html", "туристическое агенство " . (!empty($item->country_id) ? $item->country_id->name2 : "") . " - " . SiteHelper::getStringForTitle($item->name), 0);
?>
</div>
<div class="blockquote blockquoteOrange floatRight">
<?php
if ($item->price > 0) {
echo Yii::t("page", "цена");
?>
: <b class="radColor"><?php
echo $item->price;
?>
</b><br/><?php
}
?>
<?php
if (!empty($item->country_id)) {