本文整理汇总了PHP中SiteHelper::getAnimateText方法的典型用法代码示例。如果您正苦于以下问题:PHP SiteHelper::getAnimateText方法的具体用法?PHP SiteHelper::getAnimateText怎么用?PHP SiteHelper::getAnimateText使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SiteHelper
的用法示例。
在下文中一共展示了SiteHelper::getAnimateText方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<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
示例2:
<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>
示例3:
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;
示例4:
</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
示例5: list
<?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>
示例6: array
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>
示例7: array
<?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"> </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">