• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP upload_advf函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: GetCharactersCloud

 public function GetCharactersCloud()
 {
     $sql = "SELECT COUNT(*) AS total, t.`nombre`, t.`id`, t.`id_categoria`, advf.`advLink` as advLink\n          FROM `contenidos_tags` ct\n          LEFT JOIN contenidos c ON c.id = ct.`id_contenido`\n          LEFT JOIN tags t ON t.id = ct.`id_tag`\n          LEFT JOIN advf AS advf ON t.`id_foto` = advf.advID\n          WHERE c.fecha BETWEEN DATE_SUB(NOW(),INTERVAL 1 WEEK) AND NOW() AND nombre != '' AND t.`id_tipo` = '2' AND t.`id_foto`\n          GROUP BY ct.id_tag\n          ORDER BY total DESC\n          LIMIT 7";
     $result = $this->db->query($sql)->result();
     $json = array();
     $total = 0;
     foreach ($result as $key => $tag) {
         $total = $total + $tag->total;
     }
     foreach ($result as $key => $tag) {
         $json[$key]['section'] = $tag->id_categoria;
         $json[$key]['tag'] = $tag->nombre;
         $json[$key]['href'] = $this->config->item("link-infonews", 'app') . 'tag/' . $tag->id . '/' . prep_word_url($tag->nombre);
         if ($key < 2) {
             $size = 137;
         } else {
             $size = 67;
         }
         $json[$key]['picture'] = upload_advf($tag->advLink, $size, $size, true);
     }
     return $json;
 }
开发者ID:INFOnews,项目名称:infonews,代码行数:22,代码来源:tagsmodel.php


示例2: upload_advf

                <?php 
        if ($article->picture) {
            ?>
                <span class="figure">

                    <?php 
            /* if($article->videohome):*/
            ?>
<span class="video-ico"></span><?php 
            /* endif */
            ?>
                    <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 218, 140, true);
            ?>
" />

                </span>
                <?php 
        }
        ?>
 
                
                <h2><?php 
        echo $article->title;
        ?>
</h2>
                </a>
              </div>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:row-sensatv.php


示例3: upload_advf

    <div class="figure">
      <a title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
            echo $article->link;
            ?>
">
        <img alt="<?php 
            echo $article->title;
            ?>
" class="app-lazy" data-src="<?php 
            echo upload_advf($article->picture, 480, 320, true);
            ?>
" data-mobile-src="<?php 
            echo upload_advf($article->picture, 162, 120, true);
            ?>
" />
      </a>
    </div>
    <?php 
        }
        ?>
      
    <?php 
        if ($article->subtitle) {
            ?>
    <div class="mouseover"><div class="mouseover-inside"><?php 
            echo $article->subtitle;
            ?>
</div></div>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:style4.php


示例4: upload_advf

          <article class="widget-article third-article">        
            <a title="<?php 
echo $article->title;
?>
" target="_blank" class="app-link" href="<?php 
echo $article->link;
?>
">
              <figure class="figure">
                  <img alt="<?php 
echo $article->title;
?>
" src="<?php 
echo upload_advf($article->picture, 388, 320, true);
?>
" />
                  <?php 
if (count($article->tags)) {
    ?>
<h1><?php 
    echo $article->tags[0]->tag;
    ?>
</h1><?php 
}
?>
              </figure>
              <div class="article-content">
                <span class="icon"><i class="material-icons">&#xE029;</i></span>
                <?php 
if ($article->title) {
    ?>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:third.php


示例5: foreach

          <?php 
foreach ($data->data->articles as $article) {
    $article = $this->Data->DataArticleHome($article->id);
    if ($article && $article->picture) {
        ?>
<li><a title="<?php 
        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo upload_advf($article->picture, 474, 600, true);
        ?>
" data-lightbox="roadtrip"><img alt="<?php 
        echo $article->title;
        ?>
" src="<?php 
        echo upload_advf($article->picture, 183, 232, true);
        ?>
" /></a></li><?php 
    }
    ?>
          <?php 
}
?>
          </ul>
          <span u="arrowleft" class="slider-arrow slider-arrow-left">
          </span>
          <span u="arrowright" class="slider-arrow slider-arrow-right">
          </span>
      </div>
    </div>
  </div>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:covers.php


示例6: upload_advf

      <?php 
        if ($article->picture) {
            ?>
      <div class="figure">
        <a title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
            echo $article->link;
            ?>
">
          <img alt="<?php 
            echo $article->title;
            ?>
" class="app-lazy" data-src="<?php 
            echo upload_advf($article->picture, 265, 175);
            ?>
" />
        </a>
      </div>
      <?php 
        }
        ?>
    <div class="content-info">
      <h2><a title="<?php 
        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo $article->link;
        ?>
"><?php 
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:open.php


示例7: upload_advf

">
        <?php 
            if ($article->picture) {
                ?>
          <figure class="figure">
              <?php 
                if ($article->videohome) {
                    ?>
<span class="video-ico"></span><?php 
                }
                ?>
              <img alt="<?php 
                echo $article->title;
                ?>
" class="app-lazy" data-src="<?php 
                echo upload_advf($article->picture, 115, 90, true);
                ?>
" />
          </figure>
          <?php 
            }
            ?>
        </a>
          <span class="article-content">
          <a ga-event="Click,Home Bloque <?php 
            echo $i;
            ?>
,Notas varias" title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:type-4.php


示例8: upload_advf

        ?>
        <div class="open-first zoom-figure">
            <div class="widget-article">   
              <div class="figure">
                <a title="<?php 
        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo $article->link;
        ?>
">
                  <img alt="<?php 
        echo $article->title;
        ?>
" src="<?php 
        echo upload_advf($article->picture, 620, 325, true);
        ?>
" />
                </a>
                <h2><a title="<?php 
        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo $article->link;
        ?>
"><?php 
        echo $article->title;
        ?>
</a></h2>
              </div>           
              <div class="article-content">
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:row-1.php


示例9: upload_advf

          <?php 
        if ($article->picture) {
            ?>
          <div class="figure">
            <a title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
            echo $article->link;
            ?>
">
              <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 470, 280, true);
            ?>
" />
            </a>
          </div>
          <?php 
        }
        ?>
 
          <div class="article-content">
            <h2><a title="<?php 
        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo $article->link;
        ?>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:row-3.php


示例10: upload_advf

        ?>
    <div class="open-second-col col-pdf">
      <div class="widget-article">  
        <?php 
        if ($article->picture) {
            ?>
        <div class="figure">
          <a target="_blank" title="Descargar PDF" class="app-link" href="<?php 
            echo $article->cover_link;
            ?>
">
            <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 313, 423, true);
            ?>
" />
          </a>
        </div>       
        <?php 
        }
        ?>
        <div class="mouseover"><div class="mouseover-inside"><a class="button" target="_blank" href="<?php 
        echo $article->cover_link;
        ?>
">Descargar PDF</a></div></div>
      </div>      
    </div>
    <?php 
    }
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:open.php


示例11: upload_advf

  <div class="header-title<?php 
if (!$article->author->picture) {
    ?>
 no-picture<?php 
}
?>
">
    <span class="app-hidden" itemprop="articleSection"><?php 
echo $article->category_name;
?>
</span>
    <?php 
if ($article->author->picture) {
    ?>
<div class="picture"><a class="picture-author" style="background-image:url(<?php 
    echo upload_advf($article->author->picture, 170, 170, true);
    ?>
)" title="<?php 
    echo $article->author->author_name;
    ?>
 <?php 
    echo $article->author->author_lastname;
    ?>
" target="_blank" href="<?php 
    echo $this->config->item('link-infonews', 'app') . "autor/{$article->author->id}/" . prep_word_url($article->author->author_name . ' ' . $article->author->author_lastname);
    ?>
"><?php 
    echo $article->author->author_name;
    ?>
 <?php 
    echo $article->author->author_lastname;
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:header-review.php


示例12: upload_advf

  <a title="<?php 
echo $article->title;
?>
" target="_blank" class="app-link" href="<?php 
echo $article->link;
?>
">
    <figure class="figure">
        <?php 
if ($article->picture) {
    ?>
<img alt="<?php 
    echo $article->title;
    ?>
" src="<?php 
    echo upload_advf($article->picture, 555, 420, true);
    ?>
" /><?php 
}
?>
        <?php 
if (count($article->tags)) {
    ?>
<h1><?php 
    echo $article->tags[0]->tag;
    ?>
</h1><?php 
}
?>
    </figure>
    <span class="article-content">
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:lead.php


示例13: upload_advf

        /* src="<?= upload_advf($image->picture, 100, 67, true) ?>" */
        ?>
                    data-position="<?php 
        echo $i;
        ?>
"
                    data-thumb="<?php 
        echo upload_advf($image->picture, 100, 67, true);
        ?>
"
                    data-image="<?php 
        echo upload_advf($image->picture, 735, 490, true);
        ?>
"
                    data-big="<?php 
        echo upload_advf($image->picture, 1153, 768, true);
        ?>
"
                    data-category="<?php 
        echo $image->category;
        ?>
"
                    data-categoryName="<?php 
        echo $image->category_name;
        ?>
"
                    <?php 
        if ($image->title) {
            ?>
data-title="<?php 
            if ($image->category_name) {
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:-gallery.php


示例14: upload_advf

          <div class="figure">
            <a ga-event="Click,Home Bloque <?php 
            echo $i;
            ?>
,Trending Nota Principal" title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
            echo $article->link;
            ?>
">
              <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 230, 153, true);
            ?>
" />
            </a>
          </div>
          <?php 
        }
        ?>
          <div class="subtitle"><?php 
        echo strip_tags($article->subtitle);
        ?>
</div>
        </div>
      </div>
    </div>
    <?php 
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:trending.php


示例15: upload_advf

    ?>
				<article class="widget-intimo-article">
					
		            <a title="<?php 
    echo $article->title;
    ?>
" class="app-link" href="<?php 
    echo $article->link;
    ?>
">
						<figure class="figure">
			               <img alt="<?php 
    echo $article->title;
    ?>
" class="app-lazy" data-src="<?php 
    echo upload_advf($article->picture, $w, $h, true);
    ?>
" />
			            </figure>
			            <div class="article-content">
			            	
							<h1><?php 
    echo $article->title;
    ?>
</h1>
							<p class="subtitle"><?php 
    echo $article->subtitle;
    ?>
</p>
			            </div>
		            </a>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:intimo.php


示例16: upload_advf

        echo $article->title;
        ?>
" class="app-link" href="<?php 
        echo $article->link;
        ?>
">
      <div class="tab-angle"><div class="tab-angle-bg"><div class="tab-angle-ico"></div></div></div>
      <?php 
        if ($article->picture) {
            ?>
      <figure class="figure">
        <img alt="<?php 
            echo $article->title;
            ?>
" class="app-lazy" data-src="<?php 
            echo upload_advf($article->picture, 280, 185);
            ?>
" />
        <?php 
            if ($article->subtitle && !$article->datafatory) {
                ?>
          <span class="subtitle"><?php 
                echo $article->subtitle;
                ?>
</span>
        <?php 
            }
            ?>
      </figure>
      <?php 
        }
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:open.php


示例17: upload_advf

        <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 232, 285, true);
            ?>
" />
        <?php 
        } else {
            ?>
 
        <img alt="<?php 
            echo $article->title;
            ?>
" src="<?php 
            echo upload_advf($article->picture, 232, 150, true);
            ?>
" />
        <?php 
        }
        ?>
 
      </a>
    </div>
    <?php 
    }
    ?>
 
    <div class="article-content">      
      <h2><a title="<?php 
    echo $article->title;
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:slide-category.php


示例18: upload_advf

                        ?>
">
                <?php 
                        if ($article->videohome) {
                            ?>
<span class="video-ico"></span><?php 
                        }
                        ?>
                <?php 
                    }
                    ?>
                  <img alt="<?php 
                    echo $article->title;
                    ?>
" class="app-lazy" data-src="<?php 
                    echo upload_advf($article->picture, 313, 206, $article->category != 97);
                    ?>
" />
                  <?php 
                    if ($article->category != 97 && $article->subtitle) {
                        ?>
                  <div class="subtitle"><?php 
                        echo $article->subtitle;
                        ?>
</div>
                  <?php 
                    }
                    ?>
                <?php 
                    if ($article->category != 97) {
                        ?>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:complex.php


示例19: upload_advf

		    <div class="figure">
		      <a title="<?php 
            echo $article->title;
            ?>
" class="app-link" href="<?php 
            echo $article->link;
            ?>
">
		      <img alt="<?php 
            echo $article->title;
            ?>
" class="app-lazy" data-src="<?php 
            echo upload_advf($article->picture, 300, 210, true);
            ?>
" data-mobile-src="<?php 
            echo upload_advf($article->picture, 167, 117, true);
            ?>
"  />
      	  	<span class="category"><?php 
            echo $section->name;
            ?>
</span>
		      </a>
		    </div>
		    <?php 
        }
        ?>
	    	<div class="article-content">
	      	<h2><a title="<?php 
        echo $article->title;
        ?>
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:close.php


示例20: upload_advf

    ?>
" title="<?php 
    echo $article->title;
    ?>
" class="app-link" href="<?php 
    echo $article->link;
    ?>
">
      <img alt="<?php 
    echo $article->title;
    ?>
" class="app-lazy" data-src="<?php 
    echo upload_advf($article->picture, 585, 440, true);
    ?>
" data-mobile-src="<?php 
    echo upload_advf($article->picture, 340, 256, true);
    ?>
" />
      </a>
    </div>
    <?php 
}
?>
    <div class="content-info">
      <?php 
if (!$article->picture) {
    ?>
      <div class="title">
        <h2><a ga-event="Click,Seccion <?php 
    if (isset($dSection->name)) {
        echo $dSection->name;
开发者ID:INFOnews,项目名称:infonews,代码行数:31,代码来源:lead.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP upload_article_file函数代码示例发布时间:2022-05-23
下一篇:
PHP uploadImg函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap