
Originally Posted by
inspireme
thats good.. exactly how i cleaned up the kosmos template, its a mash of pointless tables and gifs. the other tempaltes are better made... and i think the new kosmos template ont he SVN has also been cleaned *hopefully all the tables removed... they jsut take too long to render.
It is always more fun to play than work. Actually I am spinning wheels until a client check arrives so...
You mean something like this;
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%$title%></title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="<%$meta_keywords%>" />
<meta name="description" content="<%$meta_description%>" />
<link href="<%$tpl_base%>/styles.css" rel="stylesheet" type="text/css" />
<link href="<%$tpl_base%>/styles-plus.css" rel="stylesheet" type="text/css" />
<link href="<%$tpl_base%>/calendar-system.css" rel="stylesheet" type="text/css" />
<base href="<%$site_url%>/" />
</head>
<body>
<div align="center">
<!-- header start -->
<div id="header-div">
<div id="header-menu">
<a href="<%$site_url%>/" class="top_menu">Home</a> |
<a href="<%$site_url%>/cp/" class="top_menu">My Account</a> |
<a href="<%$site_url%>/power_search.php" class="top_menu">Power Search</a> |
<a href="<%$site_url%>/register.php" class="top_menu">Register</a> |
<a href="<%$site_url%>/user_search.php?pflag=search" class="top_menu">Member List</a> |
<a href="<%$site_url%>/suggest_category.php" class="top_menu">Suggest Category</a>
</div>
<div id="header-primary-menu" style="background-image: url(images/template_11.gif)">
<img src="<%$tpl_base%>/images/logo.gif" width="218" height="78" border="0" alt="" />
<a href="<%$site_url%>/new.php"><img src="<%$tpl_base%>/images/mn_new_listings.gif" border="0" alt="" /></a>
<a href="<%$site_url%>/hot.php"><img src="<%$tpl_base%>/images/mn_hot_listings.gif" border="0" alt="" /></a>
<a href="<%$site_url%>/top_rated.php"><img src="<%$tpl_base%>/images/mn_top_rated.gif" border="0" alt="" /></a>
<a href="<%$site_url%>/pick.php"><img src="<%$tpl_base%>/images/mn_editor_pick.gif" border="0" alt="" /></a>
<%if $cat%>
<a href="<%$site_url%>/add.php?cat=<%$cat%>"><img src="<%$tpl_base%>/images/mn_add_a_listing.gif" border="0" alt="" /></a>
<%else%>
<a href="<%$site_url%>/add.php"><img src="<%$tpl_base%>/images/mn_add_a_listing.gif" border="0" alt="" /></a>
<%/if%>
<a href="<%$site_url%>/modify.php"><img src="<%$tpl_base%>/images/mn_update_a_listing.gif" border="0" alt="" /></a>
<a href="<%$site_url%>/get_rated.php"><img src="<%$tpl_base%>/images/mn_get_rated.gif" border="0" alt="" /></a>
<a href="<%$site_url%>/upgrade.php"><img src="<%$tpl_base%>/images/mn_upgrade_a_listing.gif" border="0" alt="" /></a>
</div>
<div align="center" id="header-ad-block"><img src="<%$tpl_base%>/images/banner.gif" width="468" height="60" alt="" hspace="10px" /></div>
<div id="header-search-block">
<form method="get" action="search.php" style="margin:0px">
<%if $category_path_search_opt%>
<input type="hidden" name="cat" value="<%$cat%>" />
<%/if%>
<input type="text" name="keyword" size="20"
<%if $keyword%>
value="<%$keyword%>"
<%else%>
value='search...'
onblur="if(this.value=='') this.value='search...';"
onfocus="if(this.value=='search...') this.value='';"
<%/if%>
/>
<select name="opt">
<option value="0">the entire directory</option>
<%if $category_path_search_opt%>
<option value="1">Only in <%$category_path_search_opt%></option>
<%/if%>
<%if $opt eq "2"%>
<option value="2" selected="selected">on the web</option>
<%else%>
<option value="2">on the web</option>
<%/if%>
</select>
<input type="submit" name="Submit3" value="Search" class="button" />
</form>
</div>
<!-- header end -->
Proof it works at at CeramicArtIndex.com. Seriously, I may modify the default template instead of using blackjuce should I buy Indexu.
I haven't been able to figure out which files display the index category list.
The foolter was sooo easy. Now the hard work would be all those tables between header and footer. Except I find doing a table with 3 columns easier than pure div 3 columns.