예제 #1
0
" 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
0
    </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
0
</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
0
    ?>
" 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
0
</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
0
<?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
0
</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
0
</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
0
</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
0
</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
0
            <?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)) {