diff --git a/templates/archive-programs.php b/templates/archive-programs.php
index ff82ab7..55f5df2 100644
--- a/templates/archive-programs.php
+++ b/templates/archive-programs.php
@@ -572,12 +572,12 @@ if(($search_results && $search_results->RECORDCOUNT > 0)){
if($_GET['category'] == 'all'){
foreach($groups as $key=>$group){
if($key == 'all') continue;
- echo '
'.$programTabIDs[$key].'
';
+ echo '';
display($group);
}
}
else{
- echo ''.$programTabIDs[$_GET['category']].'
';
+ echo '';
display($posts);
}
?>
@@ -592,6 +592,10 @@ if(($search_results && $search_results->RECORDCOUNT > 0)){
+
-
-
-
- -
-
-
-
+
+ ID);
+ $search = array(" ", "/");
+ $replace = array("", "-");
+ $terraid = get_post_meta( $post->ID, 'apply-link', true );
+ $terraid = explode('Program_ID=',$terraid);
+ $terraid = explode('&',$terraid[1]);
+ $terraid = $terraid[0];?>
+ -
+
+
+ ';
+ } // end function displayList
+ if($_GET['category'] == 'all'){
+ foreach($groups as $key=>$group){
+ if($key == 'all') continue;
+ echo '';
+ displayList($group);
+ }
+ }
+ else{
+ echo '';
+ displayList($posts);
+ }?>
-