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


PHP Empresa::fetch方法代码示例

本文整理汇总了PHP中Empresa::fetch方法的典型用法代码示例。如果您正苦于以下问题:PHP Empresa::fetch方法的具体用法?PHP Empresa::fetch怎么用?PHP Empresa::fetch使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Empresa的用法示例。


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

示例1: foreach

<section class="EmpresasAsociadas clearfix"> 
<header class="cabeza-revista"></header>
     <div class="row AlinearMobile">
     <div class="ContenedorLogos">
      
     <h1>Trabajamos junto a :</h1>


      <?php 
require_once "admin/class/class.empresas.php";
$c = 0;
?>

      <?php 
$collection_logos = Empresa::fetch(true);
$collection_logos_text = Empresa::fetchtwo(true);
?>
      <?php 
foreach ($collection_logos->collection as $k => $v) {
    ?>

      <div class="content-row-logo pb50 content-row-columns-<?php 
    echo $collection_logos->columns[$k];
    ?>
">

        <?php 
    foreach ($v as $kcomuns => $vcolumns) {
        ?>
       
开发者ID:EzequielDot175,项目名称:muysimple,代码行数:29,代码来源:empresas-section.php

示例2: foreach

     	<div class="HoverLogosEmpresas"><img src="resources/images/MuseoDelTraje.jpg" width="112" height="97"/></div>
        <div class="HoverLogosEmpresas"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','resources/images/FinanzasColor.jpg',1)"><img src="resources/images/Finanzas.jpg" width="175" height="97" id="Image23"></a></div>
        <div class="HoverLogosEmpresas"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','resources/images/ProjectColor.jpg',1)"><img src="resources/images/Project.jpg" width="222" height="97" id="Image24"></a></div>
     	<div class="HoverLogosEmpresas"><img src="resources/images/accenture.jpg" width="183" height="97"/></div> -->

        <!-- <div class="HoverLogosEmpresas"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image22','','resources/images/FundacionOficios_Color.jpg',1)"><img src="resources/images/FundacionOficios.jpg" width="172" height="97" id="Image22"></a></div>
        <div class="HoverLogosEmpresas"><img src="resources/images/MuseoDelTraje.jpg" width="112" height="97"/></div>
        <div class="HoverLogosEmpresas"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image23','','resources/images/FinanzasColor.jpg',1)"><img src="resources/images/Finanzas.jpg" width="175" height="97" id="Image23"></a></div>
        <div class="HoverLogosEmpresas"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image24','','resources/images/ProjectColor.jpg',1)"><img src="resources/images/Project.jpg" width="222" height="97" id="Image24"></a></div>
        <div class="HoverLogosEmpresas"><img src="resources/images/accenture.jpg" width="183" height="97"/></div> -->

        <?php 
require "admin/class/class.empresas.php";
?>
        <?php 
foreach (Empresa::fetch(true) as $k => $v) {
    ?>
        <div class="HoverLogosEmpresas">
            <a href="#">
            <img src="resources/images/<?php 
    echo $v["img"];
    ?>
" width="172" height="97" ></a>
        </div>
        <?php 
}
?>
         <!-- <div class="HoverLogosEmpresas">
            <a href="#">
            <img src="resources/images/FundacionOficios.jpg" width="172" height="97" id="Image22"></a>
        </div> -->
开发者ID:EzequielDot175,项目名称:muysimple,代码行数:31,代码来源:QuienesSomos07-05-15-02.php

示例3: foreach

$page = 'testimonios';
$page2 = 'nav-empresas';
require "template/header.php";
require "class/class.empresas.php";
?>
<div class="container">
	<div class="row">
	<?php 
require "template/nav_testimonios.php";
?>
		<div class="grid col-9">
			<div class="row back-empresa">
				<h2>Empresas Amigas</h2>
				<hr>
				<?php 
foreach (Empresa::fetch() as $k => $v) {
    ?>
				<div>
					<h3><?php 
    echo $v["name"];
    ?>
</h3>
					<img src="../resources/images/<?php 
    echo $v["img"];
    ?>
" class="logo-back-empresa" alt="<?php 
    echo $v["name"];
    ?>
">
					<div class="controls-logo">
						<a href="empresas-edit.php?edit=<?php 
开发者ID:EzequielDot175,项目名称:muysimple,代码行数:31,代码来源:empresas16-6-15.php


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