kwotes/html/header.html

66 lines
2.0 KiB
HTML
Raw Permalink Normal View History

2004-10-24 10:14:10 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2004-10-14 22:20:03 +00:00
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
2004-10-24 10:14:10 +00:00
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${TITLE}</title>
<link rel="stylesheet" type="text/css" href="html/kwotes.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="html/kwotes-ie.css" />
<![endif]-->
2004-10-14 22:20:03 +00:00
2004-10-24 10:14:10 +00:00
<script type="text/javascript">
function vote( kid, type )
{
var img = new Image();
img.src = "?action="+escape(type)
+unescape("%26")+"kid="+escape(kid)
+unescape("%26")+"rnd="+Math.random();
hideElementById("hate"+kid);
hideElementById("love"+kid);
var ratingElem = document.getElementById("rating"+kid);
if (ratingElem)
{
var html = ratingElem.innerHTML;
var rating = parseInt(html)+( (type=="love")?1:-1 );
ratingElem.innerHTML = rating;
}
}
function hideElementById( id )
{
var elem = document.getElementById(id);
if (elem) {
elem.style.display = "none";
}
}
</script>
</head>
<body>
<div class="container">
<div style="margin-bottom: 2px;">
2004-10-14 22:20:03 +00:00
<form action="${SCRIPT_NAME}" method="get">
2004-10-24 20:47:27 +00:00
<div>
<input type="hidden" name="action" value="show" />
<span class="id-search">Kwote #&nbsp;<input type="text" size="5" name="id" id="id" /></span>
2004-10-24 20:47:27 +00:00
</div>
2004-10-14 22:20:03 +00:00
</form>
<span class="title">${SITE_NAME} - ${TAG_LINE}</span>
2004-10-24 10:14:10 +00:00
</div>
<ul class="tab-menu">
<li class="tab"><a href="?">Home</a></li>
<li class="tab"><a href="?action=add">Add</a></li>
<li class="tab"><a href="?action=list&amp;o=date">Latest</a></li>
<li class="tab"><a href="?action=list&amp;o=random&amp;m=100&amp;mr=100">Random 100</a></li>
2004-10-24 10:14:10 +00:00
<li class="tab"><a href="?action=list&amp;o=rating&amp;s=0&amp;m=20&amp;mr=50">Top 100</a></li>
<li class="tab"><a href="?action=list&amp;o=rating&amp;s=0&amp;m=20&amp;mr=50&amp;so=reverse">Bottom 100</a></li>
<li class="tab"><a href="?action=search">Search</a></li>
</ul>
2004-10-14 22:20:03 +00:00