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


PHP ibtimes_article_node_link函数代码示例

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


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

示例1: ibtimes_article_node_link

">
        <?php 
        if (!empty($node)) {
            ?>
          <div class="<?php 
            print $node->css_class;
            ?>
-small coverage-node">
            <div class="item-image">
              <?php 
            echo ibtimes_article_node_link($node, $node->image, array('html' => TRUE));
            ?>
            </div>
            <div class="item-link">
              <?php 
            echo ibtimes_article_node_link($node, ibtimes_article_get_node_title($node, 40));
            ?>
            </div>
          </div>
        <?php 
        }
        ?>
      </li>
    <?php 
    }
    ?>
    </ul>
  <?php 
}
?>
</div>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtimes_category_coverage_articles.tpl.php

示例2: ibtimes_article_node_link

        }
        ?>
    			<div class="slide_title"><?php 
        echo ibtimes_article_node_link($node);
        ?>
</div>
    		</div>
      <?php 
    }
    ?>
  	</div>
  	
  	<div class="caption">
  		<div class="inside">
  			<div class="slide_title"><?php 
    echo ibtimes_article_node_link($nodes[0]);
    ?>
</div>
  		</div>
  		<div class="dots">
  			<?php 
    /* foreach($nodes as $id=>$node) { ?><span class="<?php echo $id == 0 ? 'active' : '';?>"></span><?php } */
    ?>
  			<?php 
    $c = 0;
    foreach ($nodes as $id => $node) {
        $c++;
        ?>
<span class="<?php 
        echo $id == 0 ? 'active' : '';
        ?>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtimes_article_image_rotator.tpl.php

示例3: ibtimes_article_node_link

<?php

if (!empty($node->promoted)) {
    echo '<span class="sponsored-item clearfix">Sponsor Insight</span>';
}
if (!empty($node->image)) {
    ?>
  <div class="image"><?php 
    echo ibtimes_article_node_link($node, $node->image, array('html' => TRUE), $node->node_url);
    ?>
</div>
<?php 
}
?>
<h3><?php 
echo ibtimes_article_node_link($node, $node->node_title, array('attributes' => array('class' => array('shortnews'))), $node->node_url);
?>
</h3>
<div class="byline"><?php 
print $node->display_date;
?>
</div>
<div class="description"><?php 
print $node->teaser;
?>
</div>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:26,代码来源:node--article-taxonomy.tpl.php

示例4: ibtimes_article_node_link

          <li class="span2 item-<?php 
        echo $key;
        ?>
">
        		<?php 
        ?>
            <?php 
        if (!empty($video->image)) {
            ?>
              <div class="item-image">
                <?php 
            echo ibtimes_article_node_link($video, $video->image . '', array('html' => TRUE, 'attributes' => array('class' => array('thumb_img'))));
            ?>
              </div>
            <?php 
        }
        ?>
        		<div class="item-link">
              <?php 
        echo ibtimes_article_node_link($video, $video->node_title);
        ?>
            </div>
        	</li>
      <?php 
    }
    ?>
    	</ul>
    <?php 
}
?>
</div>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtimes_category_coverage_videos.tpl.php

示例5: ibtimes_article_node_link

          <div class="image hidden-sm hidden-xs">
            <?php 
        echo ibtimes_article_node_link($node, $node->image, array('html' => TRUE));
        ?>
          </div>
        <?php 
    }
    ?>
        <?php 
    if (!empty($node->section)) {
        ?>
          <div class="category">
            <?php 
        echo l($node->section->name, 'taxonomy/term/' . $node->section->tid);
        ?>
          </div>
        <?php 
    }
    ?>
        <div class="title">
          <?php 
    echo ibtimes_article_node_link($node, $node->node_title);
    ?>
        </div>
      </li>
    <?php 
}
?>
 
  </ul>
</div>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtimes_article_in_case_you_missed.tpl.php

示例6: ibtimes_article_node_link

  <span class="seekingalpha-item">
    Seeking Alpha
  </span>
<?php 
}
if (!empty($node->image)) {
    ?>
  <div class="image"><?php 
    echo ibtimes_article_node_link($node, $node->image, array('html' => TRUE), $node->node_url);
    ?>
</div>
<?php 
}
?>
<h3><?php 
echo ibtimes_article_node_link($node, $node->node_title, array('html' => TRUE), $node->node_url);
?>
</h3>
<div class="byline"><?php 
print $node->display_date;
?>
</div>
<div class="description"><?php 
print $node->teaser;
?>
</div>

<?php 
if (!empty($node->promoted)) {
    $led_logo = variable_get('led_logo', "http://s1.ibtimes.com/sites/www.ibtimes.com/files/2014/03/24/led_logo_150.png");
    echo '<span class="sponsored-item"><img src="' . $led_logo . '" style="width:150px; float:right;"/></span>';
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:node--article-taxonomy.tpl.php

示例7: foreach

<div class="block-title"><?php 
print $title;
?>
</div>
<ul class="more-in-wrapper clearfix"> 
    <?php 
foreach ($nodes as $key => $node) {
    ?>
         <li> 
          <?php 
    if (isset($node->image)) {
        ?>
            <div class="more-in-img most-viewed-img">
              <?php 
        echo ibtimes_article_node_link($node, $node->image, array('html' => TRUE));
        ?>
            </div>
          <?php 
    }
    ?>
          
          <div class="more-in-txt most-viewed-txt">
            <span class="title">
              <?php 
    $node_url = url('node/' . $node->nid, array('absolute' => true));
    echo l($node->node_title, $node_url);
    ?>
             </span>
             <span class="byline">
              <?php 
    echo $node->date;
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtg_article_more_in.tpl.php

示例8: ibtimes_article_node_link

             ?>
             <div class="drop-middle table-cell">
               <?php 
             ?>
               <?php 
             if (!empty($middle->image)) {
                 ?>
                 <?php 
                 echo ibtimes_article_node_link($middle, $middle->image . '', array('html' => TRUE, 'attributes' => array('class' => array('thumb_img'))), $middle->node_url);
                 ?>
               <?php 
             }
             ?>
               <div class="title">
                 <?php 
             echo ibtimes_article_node_link($middle, $middle->node_title, array(), $middle->node_url);
             ?>
               </div>
             </div>
         <?php 
         }
         ?>
       <?php 
     }
     ?>
 
       <?php 
     if (!empty($item->children) && count($item->children)) {
         ?>
         <div class="drop-right table-cell">
           <div class="title">Le altre sezioni di <a href="<?php 
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtimes_header_main_menu_flyout.tpl.php

示例9: foreach

<div class="recent_posts">
  <div class="block-title">Recent Posts</div>
  <ul>
    <?php 
foreach ($nodes as $node) {
    ?>
      <li>
        <div class="title">
          <?php 
    echo ibtimes_article_node_link($node, $node->node_title, array('attributes' => array('class' => array('recent_post_text_p'))));
    ?>
        </div>    
        <date>
          <?php 
    echo format_date($node->created, 'custom', 'F d Y g:i A');
    ?>
        </date>
      </li>
    <?php 
}
?>
  </ul>
</div>
开发者ID:johnedelatorre,项目名称:fusion,代码行数:23,代码来源:ibtimes_article_recent_post.tpl.php

示例10: date

        ?>
      <div class="story-update">
        <a class="story-update-anchor-link" id="<?php 
        echo $story_update->nid;
        ?>
"></a>
        <div class="story-update-label">
          Update <?php 
        echo date('g:s A', $story_update->created);
        ?>
:
        </div>
        <div class="story-update-text">
          <h3>
            <?php 
        echo ibtimes_article_node_link(NULL, $story_update->title, array('attributes' => array('class' => array('story-update-title-link'))), $story_update->url);
        ?>
          </h3>
          <div class="story-update-text-body">
            <?php 
        echo $story_update->body_value;
        ?>
          </div>
          <ul class="story-update-social clearfix">
            <li class="su-fb">
              <a class="addthis_button_facebook_like" fb:like:layout="button_count" fb:like:href="<?php 
        echo $story_update->url;
        ?>
"></a>
            </li>
            <li class="su-tw">
开发者ID:johnedelatorre,项目名称:fusion,代码行数:31,代码来源:ibtmedia_story_updates.tpl.php


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