Location: PHPKode > projects > The Invisible Mailer (TiM) > tim/template/main.txt
<!-- TiM main template -->
<!-- (c) JJM -->

<HTML>
<HEAD>
	<TITLE><{title}></TITLE>
	<link rel="SHORTCUT ICON" href="favicon.ico">
	<STYLE>
		td, select, option	{
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; }
		.folder	{ font-size: 8pt; }
		.folder	a	{ text-decoration: none; color: black }
		.folder a:hover	{ color: blue }
		.msglist a	{ text-decoration: none; color: black }
		body	{
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; }
		.timButton	{
font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; background-color: #DDDDDD
}
	.menutitle { font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 10pt; color: black; font-weight: bold }
	.menutitle a { text-decoration: none; color: black }
	.menuitem a { font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 8pt; color: black; line-height: 150%; text-decoration: none }
	.timversion	{ font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; font-size: 8pt; }
	</STYLE>
	<SCRIPT>
	<!-- hide from older browsers
	function hilight(obj) {
		obj.style.backgroundColor = '#BBBBFF';
	}
	function lolight(obj) {
		obj.style.backgroundColor = '';
	}
	function folderon(obj, img) {
		document.images[obj].src = img + 'sel.gif';
	}
	function folderoff(obj, img) {
		document.images[obj].src = img + '.gif';
	}
	function go2(url) {
		location.href=url;
	}
	function go2ask(url) {
		if (window.confirm("Are you sure?")) { location.href = url; }
	}
	function contacts(url, objectref) {
		inputcaller = objectref;
		winContact = window.open(url, "winContact", "height=300,width=200,location=no,resizable=no,menubar=no,scrollbars=no,status=no,toolbar=no");
	}
	function popimport() {
		winImport = window.open("import.php", "winImport", "height=200, width=250,resizable=no,scrollbars=no");
	}

        function flush() {
                winImport = window.open("flush.php", "winImport", "height=200, width=250,resizable=no,scrollbars=no");
        }

	function scroll() {
		setTimeout("scrolldoc(0)", document.all.scrolltype.value * 15000);
	}	
	function scrolldoc(num) {
		if (num == 1) { window.scrollTo(0,0); window.status = "Scrolling complete."; return true; }
		oldheight = document.body.scrollTop;
		window.scrollBy(0, 100);
		if (document.body.scrollTop == oldheight) {
			setTimeout("scrolldoc(1)", document.all.scrolltype.value * 5000);
		}
		else {
			setTimeout("scrolldoc(0)", document.all.scrolltype.value * 5000);
		}
	}
	function listAction(actionid) {
		document.forms['domany'].elements['action'].value = actionid;
		document.forms['domany'].elements['ids'].value = "";
		for (i = 0; i < document.forms['messageList'].elements.length; i++) {
			if (document.forms['messageList'].elements[i].checked) {
				document.forms['domany'].elements['ids'].value += "" + document.forms['messageList'].elements[i].name + ",";
			}
		}
		document.forms['domany'].submit();
	}
	function keyhandle(eve) {
		if ((eve.srcElement.tagName != "INPUT") && (eve.srcElement.tagName != "TEXTAREA") && (!eve.ctrlKey) && (!eve.altKey)) {
		switch (eve.keyCode) {
			case 67: 
				if (eve.shiftKey) location.href = "contactslist2.php";
				else location.href = "compose.php"; 
				break;
			case 65: location.href = "accounts.php"; break;
			case 73: 
				if (eve.shiftKey) location.href = "identities.php";
				else popimport();
				break;
			case 70: location.href = "filters.php"; break;
			case 84: location.href = "taskslist.php"; break;
			case 78: location.href = "noteslist.php"; break;
			case 72: location.href = "hubslist.php"; break;
		} }
	}
	var scrollInt;
	var inputcaller = "";
	if (navigator.userAgent.indexOf("Gecko") != -1) { if( Event && Event.prototype && Event.prototype.__defineGetter__ ){ Event.prototype.__defineGetter__( "srcElement", function(){        var src = this.target;        if( src.nodeName == "#text" ) src = src.parentNode;        return src;	});    	}}
	// end hide -->
	</SCRIPT>
</HEAD>
<BODY BGCOLOR=#FFFFFF LINK=blue VLINK=blue ALINK=blue ONKEYDOWN="keyhandle(event)">
<A NAME="top"><TABLE WIDTH="100%" CELLPADDING=0 BORDER=0></A>
<TR>
	<TD><A HREF="glance.php"><IMG SRC="mainlogo.gif" BORDER=0></A></TD>
	<TD ALIGN=RIGHT><{folders}></TD>
</TR>
</TABLE>

<P>

<{body}>

<P>
<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING=0 BORDER=0>
<TR><TD><FONT SIZE=-2><B>mailstore:</B> <{user}></FONT></TD>
<TD ALIGN=right>
<FONT SIZE=-2>
Back to <A HREF="#top">top</A>.
</FONT>
</TD>
</TABLE>
<FORM ACTION='domany.php' METHOD='POST' NAME='domany'>
<INPUT TYPE=HIDDEN NAME='action'>
<INPUT TYPE=HIDDEN NAME='ids'>
<DIV ID="menu2" STYLE="position: absolute; left: 0px; top: 0px; visibility: hidden"></DIV>
<DIV ID="menu" STYLE="position: absolute; left: 0px; top: 0px; visibility: hidden"></DIV>
<DIV id="line" STYLE="background-color: #000000; position: absolute; left: 0px; top: 0px; height: 1px; width: 100px; visibility: hidden"><IMG SRC="tpixel.gif" WIDTH=1 HEIGHT=1></DIV>
</FORM>
</BODY>
</HTML>

<!-- end of TiM template -->
Return current item: The Invisible Mailer (TiM)