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


PHP ImageHelper::getAnimateImageBlock方法代码示例

本文整理汇总了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 {
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:catalog_tours.php

示例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 
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:index.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 
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:items_page.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) {
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:catalog_resorts.php

示例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);
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:info.php

示例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 
    }
    ?>
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:catalog_hotels.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 
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:service_page.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)) {
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:ptours_page.php

示例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;
    ?>
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:items_page.php

示例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;
    ?>
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:service_page.php

示例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)) {
开发者ID:bogiesoft,项目名称:yii-travel,代码行数:31,代码来源:catalog_firms.php


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