예제 #1
0
?>
/images/masaya-hostels-tripadvisor.png" alt="" />
                   <img width="152px" height="142px" src="<?php 
echo $base_url . '/' . path_to_theme();
?>
/images/footer_img2.png" alt="" />
               </div>
               
            </div>
        </div>
<?php 
$field_footer_copyright_text = field_extract_value('node', translation_node_get(2), 'field_footer_copyright_text');
$field_footer_text_2 = field_extract_value('node', translation_node_get(2), 'field_footer_text_2');
$field_footer_text_3 = field_extract_value('node', translation_node_get(2), 'field_footer_text_3');
$field_footer_link_2 = field_extract_value('node', translation_node_get(2), 'field_footer_link_2');
$field_footer_link_3 = field_extract_value('node', translation_node_get(2), 'field_footer_link_3');
?>
        <div class="copy_rightcon text-center">
          <p>&copy; <?php 
echo $field_footer_copyright_text;
?>
</p>
          <p><a href="<?php 
echo $field_footer_link_2;
?>
"><?php 
echo $field_footer_text_2;
?>
</a></p>
            <p><a href="<?php 
echo $field_footer_link_3;
<div class="blog_act_list2">
  <div class="row margin_none">
<?php 
$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'node')->entityCondition('bundle', 'popular_activities')->propertyCondition('status', NODE_PUBLISHED)->propertyCondition('language', $language->language)->range(0, 4);
$result = $query->execute();
if (isset($result['node'])) {
    $new_items_nids = array_keys($result['node']);
    foreach ($new_items_nids as $key => $value) {
        $the_node = node_load($value);
        $field_short_description = field_extract_value('node', $the_node, 'field_short_description');
        $field_personne_pour_1h = field_extract_value('node', $the_node, 'field_personne_pour_1h');
        $img1 = file_create_url($the_node->field_image['und'][0]['uri']);
        $field_action_on_button_click = field_extract_value('node', $the_node, 'field_action_on_button_click');
        $field_link_to_button = field_extract_value('node', $the_node, 'field_link_to_button');
        $field_button_title = field_extract_value('node', $the_node, 'field_button_title');
        ?>

      <div class="col-md-3 col-md-3 col-sm-3 space1cell">
          <div class="blog_list-inner">
              <img class="imgfull-width" src="<?php 
        echo $img1;
        ?>
" alt=""/>
              <div class="blog_list_content_in">
                 <p><?php 
        echo $field_short_description;
        ?>
</p>
                 <h6><?php 
        echo $field_personne_pour_1h;
예제 #3
0
<div class="shadow_divider img">
  <img src="<?php echo $base_url.'/'.path_to_theme(); ?>/images/shadow_inner.png">
</div>
<br/>
<div class="Section_panel_midle_div bottom_work">
  <div class="col-md-5">
    <p><?php echo $current_node->field_flight_duration_title['und'][0]['safe_value']; ?></p>
<div class="city_details">
<ul>
<?
  if(isset($current_node->field_sec1_subsec_times['und'])) {
    foreach($current_node->field_sec1_subsec_times['und'] as $key => $value) {
      $collection_obj = field_collection_item_load($value['value']); ?>
      <li>
          <span class="city_name"><strong><?php echo field_extract_value('field_collection_item',$collection_obj,'field_place_name'); ?> </strong></span>
          <span class="city_hrs"><strong><?php echo field_extract_value('field_collection_item',$collection_obj,'field_time'); ?> </strong></span>
      </li>
<?php
    }
  }
?>
</ul>
</div>

  </div>
  <div class="col-md-6">
    <?php echo $current_node->field_sec1_subsection3['und'][0]['safe_value']; ?>
  </div>
</div>

   <br clear="all">