$prevCat = $prevCat . $category->slug . "/"; ?> <li><a href="<?php echo $category_base . "/" . $prevCat; ?> "><?php echo $category->name; ?> </a></li> <?php } } if (isset($_GET['cat']) && $_GET['cat'] != "") { $globalCatType = $_GET['cat']; $currentPage = get_query_var('paged'); $catPost = categorySpecific($_REQUEST['cat']); foreach ($catPost as $cat) { $arrCat[] = $cat->cat_id; } } ?> <li class="changelocationcontainer" class="floatright" style="float:right !important;"><a id="changelocationbutton" class="changelocation" href="javascript:;">Change Location</a></li> <br clear="all" /> </ul> </div> <div class="postTitle greenbgnew"> <h1 class="title"><?php $selectedCat = single_cat_title('', false);
<br clear="all" /> </ul> </div> <?php if (isset($_REQUEST['filter']) && $_REQUEST['filter'] != "") { $explodedFilter = explode("|", $_REQUEST['filter']); if (count($xplodedFilter) <= 3) { $filter = $explodedFilter[1]; } else { $filter = $explodedFilter[0]; } } else { $filter = $_REQUEST['category']; } $catPostDropdown = categorySpecific($_REQUEST['category']); $catPost = categorySpecific($filter); foreach ($catPost as $cat) { $arrCat[] = $cat->cat_id; } ?> <div class="postTitle greenbgnew"> <div> <h1 class="title">Philippines: <?php echo ucwords($_GET['category']); ?> </h1> </div> <div class="locationfilter"> <form method="GET"> <input type="hidden" id="filtercat" name="filtercat" value="<?php echo $_GET['category'];