示例#1
0
文件: Volt.php 项目: tresemece/monte
 public function partial($partialPath, $params = array(), $track = false)
 {
     if ($track) {
         UrlTrack::$ns_campaign = UrlTrack::get_conf()->{str_replace("/", ".", $partialPath)};
     }
     parent::partial($partialPath, $params);
 }
示例#2
0
              <h1><a href="<?php 
echo \Rpp\Services\Get\Content::nurl($nid);
echo \Rpp\Services\Get\UrlTrack::add_params($position);
?>
"> <?php 
echo \Rpp\Services\Get\Content::node($nid)->titulo_corto;
?>
 </a></h1>
              <p><?php 
echo \Rpp\Services\Get\Content::node($nid)->bajada;
?>
</p>
            </header>
          </div>

          <figure class="media">
          <a href="<?php 
echo \Rpp\Services\Get\Content::nurl($nid);
echo \Rpp\Services\Get\UrlTrack::add_params($position);
?>
"><img src="<?php 
echo \Rpp\Services\Get\Content::node($nid)->imagen_portada['url'];
?>
" alt="<?php 
echo \Rpp\Services\Get\Content::node($nid)->imagen_portada['alt'];
?>
"></a>
          </figure>

        </article>
      </div>
示例#3
0
        echo \Rpp\Services\Get\UrlTrack::add_params($i);
        ?>
"><img src="<?php 
        echo \Rpp\Services\Get\Content::node($nid)->imagen_portada['url'];
        ?>
" alt="<?php 
        echo \Rpp\Services\Get\Content::node($nid)->imagen_portada['alt'];
        ?>
" width="259" height="146"></a></figure>
                          <h3 class="tag-title"><?php 
        echo \Rpp\Services\Get\Content::node($nid)->categoria['nombre'];
        ?>
</h3>
                          <h2><span><a href="<?php 
        echo \Rpp\Services\Get\Content::nurl($nid);
        echo \Rpp\Services\Get\UrlTrack::add_params($i);
        ?>
"><?php 
        echo \Rpp\Services\Get\Content::node($nid)->titulo_corto;
        ?>
</a></span></h2>
                        </div>
                      </li>
                      <?php 
        if ($i >= 2) {
            break;
        }
        ?>
    <?php 
    }
    ?>
示例#4
0
    <section class="social-detail">
      <ul>
        <li><a href="<?php 
echo $host;
echo \Rpp\Services\Get\Content::nurl($this->model->nid);
echo \Rpp\Services\Get\UrlTrack::add_params_social('facebook', $position);
?>
" class="facebook"><i class="icon icon-facebook"></i></a></li>
        <li><a href="<?php 
echo $host;
echo \Rpp\Services\Get\Content::nurl($this->model->nid);
echo \Rpp\Services\Get\UrlTrack::add_params_social('twitter', $position);
?>
" class="twitter"><i class="icon icon-twitter"></i></a></li>
        <li><a href="<?php 
echo $host;
echo \Rpp\Services\Get\Content::nurl($this->model->nid);
echo \Rpp\Services\Get\UrlTrack::add_params_social('googleplus', $position);
?>
" class="gplus"><i class="icon icon-google-plus"></i></a></li>
        <li class="li-whatsapp"><a href="<?php 
echo $host;
echo \Rpp\Services\Get\Content::nurl($this->model->nid);
echo \Rpp\Services\Get\UrlTrack::add_params_social('whatsapp', $position);
?>
" class="whatsapp"><i class="icon icon-whatsapp"></i></a></li>
      </ul>
    </section>