Example #1
0
<div id="innerPage">
<?php 
$this->widget('addressLineWidget', array('links' => array(Yii::t("user", "Мои отели"))));
?>
<h1><?php 
echo Yii::t("user", "Мои отели");
?>
</h1>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-oteli");
if ($message) {
    ?>
    <div class="messageSummary"><?php 
    echo $message;
    ?>
</div>
<?php 
}
?>
<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Заголовок");
?>
</th>
        <th class="TLFType"><?php 
Example #2
0
<div id="innerPage">
<?php 
$this->widget('addressLineWidget', array('links' => array(Yii::t("user", "Мои акции, скидки"))));
?>
<h1><?php 
echo Yii::t("user", "Мои акции, скидки");
?>
</h1>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-akcii");
if ($message) {
    ?>
    <div class="messageSummary"><?php 
    echo $message;
    ?>
</div>
<?php 
}
?>

<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Название");
?>
</th>
Example #3
0
<h2><?php 
echo Yii::t("user", "Рекламные баннеры компании");
?>
</h2>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-reklamnyi-banner");
$this->widget("listNoteWidget");
?>
<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Заголовок");
?>
</th>
        <th><?php 
echo Yii::t("page", "статус");
?>
</th>
        <th><?php 
echo Yii::t("page", "просмотров");
?>
</th>
        <th class="TLFAction"><?php 
echo Yii::t("page", "Действия");
?>
</th>
Example #4
0
if ($showFindForm) {
    ?>
    <br/>
    <?php 
    SiteHelper::renderDinamicPartial("pageTop");
    ?>
    <h1><?php 
    echo $title;
    ?>
</h1>
    <?php 
    if (!empty($sectionTextSlug)) {
        ?>
        <?php 
        echo SiteHelper::getAnimateText($sectionTextSlug);
        ?>
    <?php 
    }
    ?>
    <?php 
    if (!empty($addUrl)) {
        ?>
        <div class="textAlignCenter"><a href="<?php 
        echo $addUrl;
        ?>
" class="addButton" title="<?php 
        echo $linkName;
        ?>
"><?php 
        echo $linkName;
Example #5
0
</h1>
    <?php 
} else {
    ?>
        <h1><?php 
    echo $categoryModel->name;
    ?>
<font>, <?php 
    echo Yii::t("page", "туристические объявления");
    ?>
</font></h1>
    <?php 
}
?>
    <?php 
echo SiteHelper::getAnimateText($sectionText[Yii::app()->getLanguage()]);
?>
    <?php 
echo $addModel->getMessage();
?>
    <div class="textAlignCenter">
        <a href="#" class="openDisplayNone addButton" title="<?php 
echo Yii::t("page", "добавить бесплатно туристическое объявление");
?>
">+ <?php 
echo Yii::t("page", "добавить объявление");
?>
</a>
        <br/>

        <?php 
Example #6
0
<div id="innerPage">
<?php 
$this->widget('addressLineWidget', array('links' => array(Yii::t("user", "мои фирмы"))));
?>
<h1><?php 
echo Yii::t("user", "Мои курорты/зоны отдыха/дачи");
?>
</h1>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-zony-otdyxa");
if ($message) {
    ?>
    <div class="messageSummary"><?php 
    echo $message;
    ?>
</div>
<?php 
}
?>
<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Заголовок");
?>
</th>
        <th class="TLFType"><?php 
Example #7
0
<?php

list($arr) = CatalogTours::sql("SELECT sum(col) as sum_ FROM catalog_tours WHERE firm_id='" . $item->id . "'");
$countTour = $arr["sum_"] > 0 ? $arr["sum_"] : 0;
list($arr) = CatalogTours::sql("SELECT sum(col) as sum_ FROM catalog_firms_banners WHERE firm_id='" . $item->id . "'");
$countBanners = $arr["sum_"] > 0 ? $arr["sum_"] : 0;
$listBanners = CatalogFirmsBanners::findByAttributes(array("firm_id" => $item->id));
?>
<h2><?php 
echo Yii::t("counter_page", "Статистика посещаемости");
?>
</h2>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-statistika");
?>
<table align="center">
    <tr>
        <th><?php 
echo Yii::t("counter_page", "Количество просмотров страниц о компании");
?>
: </th>
        <td><?php 
echo $item->col;
?>
</td>
    </tr>
    <tr>
        <th><?php 
echo Yii::t("counter_page", "Общее количество просмотров туров компании");
?>
:</th>
Example #8
0
echo $tab == "ptours" ? " activePage" : " displayNone";
?>
">
    <?php 
$this->renderPartial("ptours_page", array("item" => $item, "items" => $listTours));
?>
</div>
<div id="description_page" class="pageTab<?php 
echo $tab == "description" ? " activePage" : " displayNone";
?>
">
    <?php 
if ($item->id == 0) {
    ?>
        <?php 
    echo SiteHelper::getAnimateText("tekst-dlya-stranica-dobavlenie-fimy");
    ?>
    <?php 
}
?>
    <br/>
    <div class="panel panel-success">
        <div class="panel-heading textAlignCenter">ВНИМАНИЕ!!!</div>
        <div class="panel-body textAlignCenter">
            <span><?php 
echo Yii::t("page", "статус");
?>
: <b class="publishStatus"><?php 
echo $item->active == 0 ? " " . Yii::t("user", "не опубликован") . " " : " " . Yii::t("user", "опубликован") . " ";
?>
</b></span>
Example #9
0
<h2><?php 
echo Yii::t("user", "Дополнительные услуги");
?>
</h2>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-dop-uslugi");
$this->widget("listNoteWidget");
?>
<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Заголовок");
?>
</th>
        <th><?php 
echo Yii::t("page", "статус");
?>
</th>
        <th><?php 
echo Yii::t("page", "просмотров");
?>
</th>
        <th class="TLFAction"><?php 
echo Yii::t("page", "Действия");
?>
</th>
Example #10
0
<?php 
/* @var $this SiteController */
$this->pageTitle = Yii::app()->name;
if ($this->beginCache("firstPage" . "_" . Yii::app()->getLanguage(), array('duration' => 3600))) {
    ?>
    <?php 
    echo SiteHelper::getAnimateText("tekstovka-dlya-glavnoi-stranicy", SiteHelper::createUrl("/site/page/about"));
    ?>
    <div id="Buttons">
        <?php 
    $this->widget("topButtonWidget", array("type" => "add_first"));
    ?>
        <?php 
    $this->widget("topButtonWidget", array("type" => "confirm_first"));
    ?>
    </div>
    <div class="hr">&nbsp;</div>

    <div id="FCountryList">
        <?php 
    if ($this->beginCache("firstPage_big_country_" . Yii::app()->getLanguage(), array('duration' => 1800))) {
        ?>
        <?php 
        $countryLIst = CatalogCountry::fetchAll(DBQueryParamsClass::CreateParams()->setConditions("baner>''")->setOrderBy("rand()")->setLimit(4));
        foreach ($countryLIst as $item) {
            ?>
        <div class="FCountry" style="background:url( <?php 
            echo $item->baner;
            ?>
 ) -15px -7px no-repeat;">
            <div class="FCItems">
Example #11
0
<div id="innerPage">
<?php 
$this->widget('addressLineWidget', array('links' => array(Yii::t("user", "мои фирмы"))));
?>
<h1>"<?php 
echo Yii::t("page", "Мои фирмы");
?>
"</h1>
<?php 
echo SiteHelper::getAnimateText("tekstovka-dlya-stranicy-kabinet-moi-firmy");
if ($message) {
    ?>
    <div class="messageSummary"><?php 
    echo $message;
    ?>
</div>
<?php 
}
$this->widget("listNoteWidget");
?>
<table id="tableListItems" cellpadding="0" cellspacing="0">
    <tr>
        <th class="TLFId">№</th>
        <th class=""><?php 
echo Yii::t("user", "Фото");
?>
</th>
        <th class="TLFName"><?php 
echo Yii::t("user", "Заголовок");
?>
</th>