Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
19322e055c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
46 lines (43 sloc) 998 Bytes
<?php
/*
Template Name: User Table
*/
get_header();
?>
<div class="row" id="primary">
<div class="span12">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post content clearfix" id="post-<?php the_ID(); ?>">
<h2>
<?php the_title(); ?>
</h2>
<div class="entry">
<?php the_content(); ?>
</div>
<div class="user-index">
<?php $thing = get_the_ID(); $userTags = get_post_meta($thing, 'userTags', true);
$userTags = str_replace(' ', '', $userTags);
$userTags = explode(',',$userTags);
$args = array(
'tags' => $userTags,
'name' => true,
'image' => true,
'title' => true,
'phone1' => true,
'phone2' => false,
'email' => true,
'fax' => false,
'officeLocation' => false,
'officeHours' => false,
'mailingAddress' => false
);
echo table_list_all_public($args);
?>
</div>
</div>
<?php endwhile; endif; ?>
</div>
</div>
<?php
get_footer();
?>