\n\t";
/* $ListingTable .= "";
$ListingTable .= "\n";
$ListingTable .= "";
/* if(!empty($a1[logo]))
{
$MyImage = $a1[logo];
$ListingTable .= "";
}
else
{
$ListingTable .= "";
}
*/
//$ListingTable .= "\n\t";
$ShortDesc = substr($a1[resume], 0, 100);
$ListingTable .= "".$a1[CompanyName]." $ShortDesc... | \n".date('m-d-y',$a1[PostDate])." | ".date('m-d-y',$a1[ExpireDate])." | Rs. ".$a1[Price]." | ".$rank." | \n";
$ListingTable .= "\n\n";
}
$rnav = mysql_query($qnav) or die(mysql_error());
$rows = mysql_num_rows($rnav);
if($rows > $ByPage)
{
$ListingTable .= "
";
// paginate($totalresults, $pageresults, $linksnumber, $pagenumber, $previoustext, $nexttext, $firsttext, $lasttext, $link, $link_contain_page = false)
// echo paginate($results_amount['count'], $config['count_directory'], 30, $listing_page, $lang['previous'], $lang['next'], $lang['first'], $lang['last'], getCategoryURL($path,$lang['category']).$page_suffix, true);
$ListingTable .= " | ";
$pages = ceil($rows/$ByPage);
for($i = 0; $i <= ($pages); $i++)
{
$PageStart = $ByPage*$i;
$i2 = $i + 1;
if($PageStart == $Start)
{
$links[] = " $i2\n\t ";
}
elseif($PageStart < $rows)
{
$links[] = " $i2\n\t ";
}
}
$links2 = implode(" | ", $links);
$ListingTable .= $links2;
$ListingTable .= "| | ";
// $linkspaginate = "search.php?s=".$_GET[s];
//$linkspaginate = "search.php?Start=".$Start."&c=".$_GET[c]."&s=".$_GET[s]."&search_city=".$_GET[search_city]."&search_state=".$_GET[search_state]."&search_country=".$_GET[search_country]."&search_kw=".$_GET[search_kw];
//$ListingTable .= paginate($rows, $ByPage, 5, $pages, Previous, Next, First, Last,$linkspaginate, false);
$ListingTable .= " \n";
}
}
else
{
$ListingTable = "
No results were found!";
}
}
require_once("templates/SearchTemplate.php");
$aset[SiteTitle]=$maincatname;
require_once("templates/FooterTemplate.php");
?> |