$count = 0; foreach ($value_list as $value) { $retval .= $value; $count++; if ($count < count($value_list)) { $retval .= ", "; } } return $retval; } else { if ($custom_field->fieldTypeId == CustomField::$FIELD_DATE) { $value_yyyy = $name_prefix . "_yyyy"; $value_mm = $name_prefix . "_mm"; $value_dd = $name_prefix . "_dd"; $date_value = $_REQUEST[$value_yyyy] . "-" . $_REQUEST[$value_mm] . "-" . $_REQUEST[$value_dd]; return $date_value; } } } } $patient_id = $_REQUEST['pid2']; $custom_field_list = get_custom_fields_patient(); foreach ($custom_field_list as $custom_field) { $custom_value = get_custom_value($custom_field); $custom_data = new PatientCustomData(); $custom_data->fieldId = $custom_field->id; $custom_data->fieldValue = $custom_value; $custom_data->patientId = $patient_id; add_custom_data_patient($custom_data); } SessionUtil::restore($saved_session);
} ?> ) no-repeat top center; background-size:cover;)"> <div class="inner-shell"> <div class="row"> <div class="top-content single-banner col-xs-12"> <div class="col-xs-12"> <!-- <h1>For some awesome advice on any legal matter, come to us.</h1> --> <h1><?php echo get_custom_value(banner_title); ?> </h1> </div> <div class="col-xs-12"> <p><?php echo get_custom_value(banner_intro); ?> </p> <?php //echo get_custom_value(banner_image); ?> </div> </div> <!-- end .top-content .single-banner --> </div> <!-- end row --> </div> <!-- end container --> </div> <!-- end container-fluid --> <?php }
<h2><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <p class="customp person"><a href="<?php the_permalink(); ?> "><?php echo get_custom_value(naam_persoon); ?> </a></p> <p class="customp location"><?php echo get_custom_value(locatie); ?> </p> <?php echo improved_trim_excerpt(); ?> </div> </div> <?php } } ?> </div> </div>
?> <article id="post-<?php the_ID(); ?> "> <div class="main-content profile-wrap"> <div class="article-head text-center"> <?php the_post_thumbnail(); ?> <h1><?php echo get_custom_value(my_name); ?> </h1> <span><?php echo get_custom_value(function_title); ?> </span> </div> <div class="article-body"> <?php the_content(); ?> </div> </div><!-- .entry-content --> </article><!-- #post-## -->
} ?> <?php $args = array('post_type' => 'Referenties', 'posts_per_page' => -1); $ref_query = new WP_Query($args); while ($ref_query->have_posts()) { $ref_query->the_post(); ?> <div class="refblock col-xs-12 col-md-10"> <?php the_title('<h2 class="reftitle">', '</h2>'); ?> <span><?php echo get_custom_value(company_name); ?> </span> <hr> <?php the_content(); ?> </div> <?php } ?> </div> </article>
if ($client_query->have_posts()) { while ($client_query->have_posts()) { $client_query->the_post(); ?> <!-- the loop --> <li class="news-item"> <div class="row"> <div class="col-xs-12 col-sm-3"> <?php the_post_thumbnail('logo_thumb'); ?> </div> <div class="col-xs-12 col-sm-9"> <h2><a href="<?php get_custom_value(weblink); ?> " title="Bekijk de website <?php the_title(); ?> "><?php the_title(); ?> </a></h2> <?php the_content(); ?> <!-- <a class="weblink" href="<?php //get_custom_value(weblink); ?> ">bekijk de website</a> -->
<!-- <h1>For some awesome advice on any legal matter, come to us.</h1> --> <h1><?php get_custom_value(heading_title); ?> </h1> <p class="subtitle"><?php get_custom_value(heading_subtitle); ?> </p> </div> <div class="col-xs-12 col-sm-4"> <a href="<?php get_custom_value(button_url); ?> " class="button btn-blue"><?php get_custom_value(button_value); ?> </a> </div> </div> </div> <!-- end top-content --> <?php } ?> <div class="main-content"> <div class="container-fluid"> <div class="inner-shell">
<div class="col-xs-12 col-sm-6"> <?php the_content(); ?> <div class="tags"><?php the_tags('', ' ', ''); ?> </div> </div> <div class="desc-right col-xs-12 col-sm-6"> <p><i class="fa fa-calendar-o"></i>Jaar: <?php echo get_custom_value(project_date); ?> </p> <p><i class="fa fa-globe"></i><a class="weblink" href="<?php echo get_custom_value(web_link); ?> " target="_blank">Bekijk website</a></p> </div> <div class="clearfix"></div> </div> <!-- end conContent --> <div class="clearfix"></div> <hr class="bottom-line"></hr> <div class="row"> <div class="col-xs-12 text-center"> <?php $fields = CFS()->get('screenshot_loop');
</div> <div class="col-xs-8"> <h2><a href="<?php echo get_permalink(); ?> "><?php the_title(); ?> </a></h2> <div class="rating">4,5 sterren - 5 stemmen</div> <span class="general-info time"><i class="fa fa-clock-o"></i><?php echo get_custom_value('cooking_time'); ?> </span> <span class="general-info people"><i class="fa fa-users"></i><?php echo get_custom_value('amount_of_people'); ?> </span> <?php //the_excerpt(); ?> </div> </div> <!-- end row --> </li> <!-- end li --> <?php } $ctr++; } ?>