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


PHP include_partial_from_folder函数代码示例

本文整理汇总了PHP中include_partial_from_folder函数的典型用法代码示例。如果您正苦于以下问题:PHP include_partial_from_folder函数的具体用法?PHP include_partial_from_folder怎么用?PHP include_partial_from_folder使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了include_partial_from_folder函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: include_partial_from_folder

?>
              <?php 
if (count($relacionados) > 0) {
    ?>
              <!-- BOX PADRAO Mais recentes -->
              <div class="box-padrao grid1">
                <div class="topo claro">
                  <span></span>
                  <div class="capa-titulo">
                    <h4>relacionadas</h4>
                    <a href="#" class="rss" title="rss"></a>
                  </div>
                </div>
                <?php 
    if (count($relacionados) > 0) {
        include_partial_from_folder('blocks', 'global/recent-news', array('displays' => $relacionados));
    }
    ?>
              </div>
              <!-- BOX PADRAO Mais recentes -->
              <?php 
}
?>

            </div>

          </div>
          <!-- /CAPA -->
          
        </div>
        <!-- /CONTEUDO PAGINA -->
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:batepapoSuccess.php

示例2: include_partial_from_folder

    ?>
" src="http://midia.cmais.com.br/programs/<?php 
    echo $program->getImageThumb();
    ?>
">
		    </a>
		  </h2>
		  <?php 
}
?>
		  
          <?php 
if (isset($program) && $program->id > 0) {
    ?>
          <?php 
    include_partial_from_folder('blocks', 'global/like', array('site' => $site, 'uri' => $uri, 'program' => $program));
    ?>
          <?php 
}
?>
          
          <?php 
if (isset($program) && $program->id > 0) {
    ?>
          <!-- horario -->
          <div id="horario">
            <p><?php 
    echo html_entity_decode($program->getSchedule());
    ?>
</p>
          </div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:home1Success.php

示例3: include_partial_from_folder

              <!-- BOX PADRAO + Visitados -->
              <div class="box-padrao mais-visitados grid1">
                <div class="topo">
                  <span></span>
                  <div class="capa-titulo">
                    <h4><?php 
    if (isset($displays["destaque-links"])) {
        echo $displays["destaque-links"][0]->Block->getTitle();
    }
    ?>
</h4>
                  </div>
                </div>
                <?php 
    if (isset($displays["destaque-links"])) {
        include_partial_from_folder('blocks', 'global/popular-news', array('displays' => $displays["destaque-links"]));
    }
    ?>
              </div>
              <!-- /BOX PADRAO + Visitados -->
              <?php 
}
?>

            </div>
            <!-- /DIREITA -->
          </div>
          <!-- /CAPA -->
        </div>
        <!-- /CONTEUDO PAGINA -->
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:30,代码来源:contentSuccess.php

示例4: include_partial_from_folder

            include_partial_from_folder('blocks', 'global/radios', array('displays' => $displays["destaque-para-ouvir"]));
        }
        ?>
          <div class="detalhe-borda grid1"></div>
        </div>
        <!-- /BOX PADRAO Para Ouvir -->
        <?php 
    }
    ?>
        <?php 
}
?>

        <?php 
if (isset($displays["destaque-carrossel-2"])) {
    include_partial_from_folder('blocks', 'global/display1c-carrossel', array('displays' => $displays["destaque-carrossel-2"]));
}
?>
      </div>
      <!-- /DIREITA -->
    </div>
    <!-- /CAPA -->
    <?php 
include_partial_from_folder('blocks', 'global/staffpick');
?>
  </div>
  <!-- /CONTEUDO PAGINA -->
</div>
<!-- /MIOLO -->
</div> <!-- /CAPA SITE -->
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:30,代码来源:indexSuccess.bac.12.2013.php

示例5: include_partial_from_folder

        <!--COLUNA 300-->
        <div class="coluna-300">
          
          <!--Banner-->
          <?php 
include_partial_from_folder('tvratimbum', 'global/banner-300x250');
?>
 
          <!--/Banner-->  
          
        </div>
        <!--/COLUNA 300-->
        
      </div>
      <!--/COLUNA MAIOR-->
      
 
  </div>
  <!--/ CONTEUDO INTERNAS-->
  
  <!--FOOTER RA TIM BUM-->
  <?php 
include_partial_from_folder('tvratimbum', 'global/footer');
?>
  <!--/FOOTER RA TIM BUM-->
  <hr />
  </div>
  <!--/CONTEUDO WRAPPER-->

</div>
<!--/BODY WRAPPER-->
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:faz-de-contaSuccess.php

示例6: include_partial_from_folder

    <div class="span8">
      <h2>segunda tela</h2>
      
      <!-- accordion -->
      <div class="accordion" id="accordion2"></div>
      <!-- /accordion -->
    </div>
    <!-- /esquerda -->
    <!-- direita -->
    <div class="span4">
      <!-- CALENDARIO -->
      <?php 
$nomePrograma = "jornaldacultura";
?>
      <?php 
include_partial_from_folder('sites/segundatela', 'global/calendarJson', array('nomePrograma' => $nomePrograma, 'date' => $date));
?>
      <!-- /CALENDARIO -->
      <h2>Redes Sociais</h2>
      <!-- abas -->
      <div class="">
        <ul class="nav nav-tabs" id="myTab">
          <li class="active"><a data-toggle="tab" href="#facebook">Facebook</a></li>
          <li class=""><a data-toggle="tab" href="#twitter">Twitter</a></li>
        </ul>
        <div class="tab-content" id="myTabContent">
          <div id="facebook" class="tab-pane fade active in">
            <div class="fb-comments" data-href="cmais.com.br/segundatela/jornaldacultura/<?php 
echo $date;
?>
" data-width="300px" data-num-posts="10"></div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:jornaldaculturaSuccess.php

示例7: GA_googleFillSlot

}
?>
              <!-- /DESTAQUE 1 COLUNA -->

              <!-- BOX PUBLICIDADE -->
              <div class="box-publicidade grid1">
                <!-- cmais-arteecultura-300x250 -->
                <script type='text/javascript'>
                GA_googleFillSlot("cmais-assets-300x250");
                </script>
              </div>                           
              <!-- / BOX PUBLICIDADE -->

              <!-- BOX FACEBOOK -->
              <?php 
include_partial_from_folder('blocks', 'global/facebook-1c', array('site' => $site, 'uri' => $uri));
?>
              <!-- /BOX FACEBOOK -->

            </div>
            <!-- /DIREITA -->

          </div>
          <!-- /CAPA -->

        </div>
        <!-- CONTEUDO PAGINA -->
        
      </div>
      <!-- /MIOLO -->
      
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:30,代码来源:arte-e-culturaSuccess.php

示例8: include_partial_from_folder

?>
          
        </div>
      </section>
      <!--/section-->
    
      <?php 
include_partial_from_folder('sites/vilasesamo', 'global/form-campanha', array("site" => $site, "asset" => $asset, "campaign" => $campaign, "categories" => $categories));
?>
  
      <?php 
include_partial_from_folder('sites/vilasesamo', 'global/brinque-tambem-com', array("site" => $site, "section" => $section, "asset" => $asset, "campaign" => $campaign, "categories" => $categories));
?>
      
      <?php 
include_partial_from_folder('sites/vilasesamo', 'global/para-os-pais', array("site" => $site, "asset" => $asset, "categories" => $categories, "uri" => $uri));
?>
    
    </div>
    <!--/content-->
     
    
    <script>
    setInterval(function(){
      updateOrientation();  
    },500);
    
    
    function updateOrientation(){  
      var screenWidth = screen.width;
      var windowWidth = window.innerWidth;
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:quente-ou-frio-vila-sesamoSuccess.bac.php

示例9: use_helper

<?php

use_helper('I18N', 'Date');
?>
<!-- Le styles-->
<link href="http://cmais.com.br/portal/js/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="http://cmais.com.br/portal/js/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="http://cmais.com.br/portal/css/tvcultura/sites/culturabrasil.css" rel="stylesheet" type="text/css" />
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="http://cmais.com.br/portal/js/bootstrap/bootstrap.js"></script>
<?php 
include_partial_from_folder('sites/culturabrasil', 'global/menu', array('siteSections' => $siteSections, 'displays' => $displays, 'section' => $section, 'site' => $site));
?>




<!-- section miolo -->
<section class="miolo programa">
  <!--container-->
  <div class="container">
    <!--breadcrumb-->
    <div class="row-fluid pontilhada">
      <ul class="breadcrumb">
        <li><a href="/">Cultura Brasil</a><span class="divider">»</span></li>
        <li>Entrevistas </li>
      </ul>
    </div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:programaSuccess.php

示例10: use_helper

<link rel="stylesheet" href="http://cmais.com.br/portal/css/tvcultura/secoes/paginaErros.css" type="text/css" />

<?php 
use_helper('I18N', 'Date');
include_partial_from_folder('blocks', 'global/menu', array('channels' => $channels, 'live' => $live, 'editorials' => $editorials, 'site' => $site, 'mainSite' => $mainSite, 'coming' => $coming, 'important' => $important));
?>

    <!-- CAPA SITE -->
    <div id="capa-site">

      <div id="barra-site">
        <div class="topo-programa" id="home">
          <h2><a href="http://culturafm.cmais.com.br"><img title="Rádio Cultura FM - 103.3 MHz" alt="Rádio Cultura FM - 103.3 MHz" src="http://culturafm.cmais.com.br/portal/images/capaPrograma/culturafm/logo.png"></a></h2>
        </div>
      </div>
      
      <!-- MIOLO -->
      <div id="miolo">

        <!-- CONTEUDO PAGINA -->
        <div id="conteudo-pagina">

          <!-- CAPA -->
          <div class="capa grid3" style="text-align:left">
            <h3>Página não encontrada!</h3>
            <p>A página que você procura não existe.</p>
            <p>Verifique se digitou o endereço corretamente ou utiliza nossa busca de conteúdo no topo do site.</p>
          </div>
          <!-- /CAPA -->

        </div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:error404Success.php

示例11: include_partial_from_folder

     <div class="control-group span11">
       <label class="radio">
         <input type="radio" name="concordo" id="concordo" value="concordo">
         Declaro que li e estou de acordo com os Termos e Condições abaixo .
       </label>
     </div>
     <!--/concorda-->
     
     <!--asset que a pessoa esta -->
     <input type="hidden" id="urlElement" name="urlElement" value="">
     <!--/asset que a pessoa esta -->
     
     <!--Termos e condições-->
     <div class="span12 termo">
       <?php 
 include_partial_from_folder('sites/vilasesamo', 'global/termos');
 ?>
     </div>
     <!--/Termos e condições-->
     
     <!--enviar-->
     <div class="control-group span11">
       <input type="submit" class="btn" id="enviar" value="ENVIE O SEU DESENHO"></input>
     </div> 
     <!--/enviar-->
     
   </form>
   <!--/form-->
   
   
 </div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:_form-campanha-anexo.php

示例12: html_entity_decode

        <!-- horario -->
        <div id="horario" class="horario-gabi">
          <p><?php 
    echo html_entity_decode($program->getSchedule());
    ?>
</p>
        </div>
        <!-- /horario -->
        <?php 
}
?>
      </div>
      <!-- box-topo -->
      <div class="box-topo grid3">
        <?php 
include_partial_from_folder('blocks', 'global/sections-menu', array('siteSections' => $siteSections));
?>
      </div>
      <!-- /box-topo -->
    </div>
    <!-- /BARRA SITE -->
    <!-- MIOLO -->
    <div id="miolo">
      <?php 
?>
<?php// include_partial_from_folder('blocks','global/shortcuts') ?>

      <!-- CONTEUDO PAGINA -->
      <div id="conteudo-pagina">
        <!-- CAPA -->
        <div class="capa grid3">
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:indexSuccess_bkp.php

示例13: include_partial_from_folder

									</p>
								</div>
								<!-- col-dir -->
							</div>
						</div>
						<a href="/programas" class="maisprogramas">Ver mais programas</a>
              
            </div>
            <!-- /ESQUERDA -->
            
            <!-- DIREITA -->
            <div id="direita" class="grid1">
              <!-- DESTAQUE 1 COLUNA -->
              <?php 
if (isset($displays["destaque-secundario"])) {
    include_partial_from_folder('blocks', 'global/display-1c-vertical-multiple', array('displays' => $displays["destaque-secundario"]));
}
?>
              <!-- /DESTAQUE 1 COLUNA -->
              <!-- BOX PUBLICIDADE -->
              <div class="box-publicidade grid1">
                <!-- culturafm-300x250 -->
				<script type='text/javascript'>
				GA_googleFillSlot("culturafm-300x250");
				</script>
              </div>
              <!-- / BOX PUBLICIDADE -->
            </div>
            <!-- /DIREITA -->
            
          </div>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:subsectionSuccess.php

示例14: use_helper

<?php 
use_helper('I18N', 'Date');
include_partial_from_folder('blocks', 'global/menu', array('channels' => $channels, 'live' => $live, 'editorials' => $editorials, 'site' => $site, 'mainSite' => $mainSite, 'coming' => $coming, 'important' => $important, 'asset' => $asset, 'section' => $section));
?>

	


  	
	<!-- BARRA GOOGLE -->
	<div id="google">
		
		<div class="busca-google">
			<?php 
if (isset($displays["alerta"])) {
    include_partial_from_folder('blocks', 'global/breakingnews', array('displays' => $displays["alerta"]));
}
?>
			<h2><a href="http://tvcultura.cmais.com.br/paradalivre" name="Parada Livre" name=""><img src="http://cmais.com.br/portal/images/capaPrograma/paradalivre/logo.jpg" alt="Parada Livre" /></a></h2>
			<div class="barra"></div>
			<div class="botao"></div>
		</div>
	</div>
	<!-- /BARRA GOOGLE -->   
    <!-- CAPA SITE -->
    <div id="capa-site">     
      <div id="conteudo-pagina">
    		<div class="esq">
    			<div class="topo-busca">
    				<a id="bt-hora" href="#box-hora">Que horas?</a>
    				<a id="bt-seguir" href="#box-seguir">Como seguir?</a>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:indexSuccess.php

示例15: use_helper

<link rel="stylesheet" href="http://cmais.com.br/portal/css/tvcultura/sites/amigosecreto.css" type="text/css" />
<script type="text/javascript" src="http://cmais.com.br/portal/js/scrollTo/scripts/jquery.min.js"></script>
<script type="text/javascript" src="http://cmais.com.br/portal/js/scrollTo/scripts/jquery.scrollto.js"></script>
<?php 
use_helper('I18N', 'Date');
include_partial_from_folder('blocks', 'global/menu', array('site' => $site, 'mainSite' => $mainSite, 'section' => $section));
?>
<!--/CONTANER-->
<div class="container amigo-secreto">
  <!--CAPA-SITE-->
  <div id="capa-site">
    <!--botao-voltar-->
    <a id="btn-voltar-as" href="/amigosecreto" title="Amigo Secreto"></a>
    <!--/botao-voltar-->
    <?php 
$arrayNome = array("osorio", "teobaldo", "ludovico", "doroteia", "filomena", "joao", "eric", "pedro", "matheus", "julio", "lilica", "caco");
$arrayNomeExibi = array("Osório", "Teobaldo", "Ludovico", "Dorotéia", "Filomena", "João", "Eric", "Pedro", "Matheus", "Júlio", "Lilica", "Caco");
?>
    <!--DICAS-AS-->
    <div id="dica-as">
      <!--BOTOES PERSONAGENS-->
      <ul>
        <li class="first">
          <div class="btnc-hover-as" name="osorio-asset" title="Osório"></div>
          <a href="#" id="btnc-osorio-as" title="Osório"></a> 
        </li>
        <li>
          <div class="btnc-hover-as"  name="teobaldo-asset" title="Teobaldo"></div>
          <a href="#" id="btnc-teobaldo-as" title="Teobaldo"></a>
        </li>
        <li>
开发者ID:GustavoAdolfo,项目名称:cmais-frontend-2,代码行数:31,代码来源:dicasSuccess.php


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