Here is my catagory.html template. My lik.html is posted in this thread earlier. Thanks
<%set isCategory = 1%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/...TD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title><%site_title%>: <%Full_Name%></title>
<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<%if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/css/style.css" />
</head>
<%include include_header.html%>
<!-- Subcategories-->
<%if category%>
<h2>Categories:</h2>
<%category%>
<%endif%>
<!-- Links in this category. -->
<%if links%>
<%if next_span%>
<!-- Next/Previous links if spanning pages. -->
<small>Pages: <%next_span%></small>
<%endif%>
<%links%>
<%if next_span%>
<!-- Next/Previous links if spanning pages. -->
<small>Pages: <%next_span%></small>
<%endif%>
<%else%>
<p>There are no listings here. <a href="<%config.db_cgi_url%>/add.cgi?ID=<%category_id%>">Click here to add yours!</a></p>
<%endif%>
<!-- Related Categories -->
<%if related%>
<h2>RELATED CATEGORIES:</h2>
<ul><%related%></ul>
<%endif%>
<%include include_footer.html%>
Home Inspections
Best Real Estate Directory
Home Inspectors
<%set isCategory = 1%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/...TD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title><%site_title%>: <%Full_Name%></title>
<%if meta_name%>
<meta name="description" content="<%meta_name%>">
<%endif%>
<%if meta_keywords%>
<meta name="keywords" content="<%meta_keywords%>">
<%endif%>
<link rel="stylesheet" type="text/css" href="<%config.build_static_url%>/css/style.css" />
</head>
<%include include_header.html%>
<!-- Subcategories-->
<%if category%>
<h2>Categories:</h2>
<%category%>
<%endif%>
<!-- Links in this category. -->
<%if links%>
<%if next_span%>
<!-- Next/Previous links if spanning pages. -->
<small>Pages: <%next_span%></small>
<%endif%>
<%links%>
<%if next_span%>
<!-- Next/Previous links if spanning pages. -->
<small>Pages: <%next_span%></small>
<%endif%>
<%else%>
<p>There are no listings here. <a href="<%config.db_cgi_url%>/add.cgi?ID=<%category_id%>">Click here to add yours!</a></p>
<%endif%>
<!-- Related Categories -->
<%if related%>
<h2>RELATED CATEGORIES:</h2>
<ul><%related%></ul>
<%endif%>
<%include include_footer.html%>
Home Inspections
Best Real Estate Directory
Home Inspectors