?> | <a href="category_jobs.php?category=<?php echo $cat['seo_url']; ?> ">View More</a> <?php } ?> </p> <br /> <h3 class="heading"> Featured Service </h3> <?php $service = new service(); $service_status = $service->display_service(1, $cat['id'], 0, 10, "order by rand()"); ?> <p align="right"> <?php if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "SEEKER") { echo '<a href="post_service.php" onclick="javascript:messageBox(\'Only Provider can post services\'); return false;">Post service</a>'; } else { if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "PROVIDER") { echo '<a href="post_service.php">Post service</a>'; } else { echo '<a href="post_service.php" onclick="javascript:messageBox(\'Please Login \'); return false;">Post service</a>'; } } if ($service_status) { ?> | <a href="category_services.php?category=<?php
<h3 class="heading">Services </h3> <?php if ($_GET['seo_url'] == "") { $maincategory = new maincategory(); $maincategory->display_category_usa("services", "services.php"); } else { $service = new service(); $service->display_category(); } ?> <br /> <h3 class="heading"> Featured Service </h3> <?php $service = new service(); if ($_GET['seo_url'] == "") { $service_status = $service->display_service(1, 0, 0, 10, ""); } else { if ($_GET['service_seo_url'] != "") { $service_status = $service->display_service(1, $cat['id'], 0, 0, "order by posted_time desc", $_GET['service_seo_url']); } else { $service_status = $service->display_service(1, $cat['id'], 0, 10, ""); } } ?> <p align="right"> <?php if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "SEEKER") { echo '<a href="post_service.php" onclick="javascript:messageBox(\'Only Provider can post services\'); return false;">Post service</a>'; } else { if ($user_check->checklogin() && strtoupper($_SESSION['foongigs_usertype']) == "PROVIDER") { echo '<a href="post_service.php">Post service</a>';