gaim/www
Clone
Summary
Browse
Changes
Graph
Initial import into CVS
chipx86
start
2002-09-26, Christian Hammond
2b210e25fed4
Initial import into CVS
<?php
require
"version.inc.php"
;
$navigation
=
array
(
"News"
=>
array
(
"URL"
=>
"/index.php"
,
"PREFIX"
=>
"news"
),
"Documentation"
=>
array
(
"URL"
=>
"/documentation.php"
,
"PREFIX"
=>
"documentation"
),
"Screen Shots"
=>
array
(
"URL"
=>
"/screenshots.php"
,
"PREFIX"
=>
"screenshots"
),
"Downloads"
=>
array
(
"URL"
=>
"/downloads.php"
,
"PREFIX"
=>
"downloads"
),
"Plugins"
=>
array
(
"URL"
=>
"/plugins.php"
,
"PREFIX"
=>
"plugins"
),
"CVS Information"
=>
array
(
"URL"
=>
"/cvs.php"
,
"PREFIX"
=>
"cvsinfo"
),
"Bug Reports"
=>
array
(
"URL"
=>
"/bug.php"
,
"PREFIX"
=>
"bugs"
),
"Project Page"
=>
array
(
"URL"
=>
"http://sourceforge.net/projects/gaim/"
,
"PREFIX"
=>
"project"
),
"Contact Information"
=>
array
(
"URL"
=>
"/contactinfo.php"
,
"PREFIX"
=>
"contactinfo"
)
);
$nav_count
=
count
(
$navigation
);
function
start_html
(
$title
=
""
)
{
global
$HTTP_USER_AGENT
;
global
$current_version
;
if
(
$title
==
""
)
{
$title
=
"gaim"
;
}
else
{
$title
.=
" - gaim"
;
}
if
(
!
strstr
(
$HTTP_USER_AGENT
,
"Gecko"
)
&&
!
strstr
(
$HTTP_USER_AGENT
,
"Mozilla/5"
))
:
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
endif
;
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
<?php
print
$title
;
?>
</title>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td width="190" valign="top"><img src="/images/halloween/penguin2.gif" width="190" height="122" border="0" alt="gaim" /></td>
<td width="100%" align="right" valign="top">
<table border="0" cellspacing="0" cellpadding="0" width="180">
<tr>
<td width="1"><img src="/images/transpixel.gif" width="1" height="1"
border="0" alt="" /></td>
<td width="1"><img src="/images/transpixel.gif"
width="1" height="25" border="0" alt="" /></td>
<td width="119" valign="top"><img src="/images/halloween/links_tl.jpg"
width="119" height="25" border="0" alt="" /></td>
<td width="59" valign="top"><img src="/images/version.gif"
width="59" height="25" border="0" alt="Version
<?php
print
$current_version
?>
" /></td>
</tr>
<tr>
<td width="1"><img src="/images/transpixel.gif" width="1" height="110"
border="0" alt="" /></td>
<td width="1"><img src="/images/transpixel.gif"
width="1" height="80" border="0" alt="" /></td>
<td background="/images/halloween/links_bg.jpg" align="right"
valign="top" colspan="2">
<?php
start_font
()
?>
<a href="http://prdownloads.sourceforge.net/gaim/gaim-
<?php
print
$current_version
?>
.tar.gz">Source Tarball</a> <br />
<a href="http://prdownloads.sourceforge.net/gaim/gaim-
<?php
print
$current_version
?>
.tar.bz2">Source BZ2Ball</a> <br />
<a href="http://sourceforge.net/project/showfiles.php?group_id=235">Other Packages</a> <br />
<a href="/gaim-CVS.tar.gz">Nightly CVS Tree</a> <br />
<?php
end_font
()
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
start_font
();
}
function
end_html
()
{
global
$PHP_SELF
;
global
$navigation
,
$nav_count
;
?>
</font></td>
<td width="1" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
<td width="160" valign="top" bgcolor="#DD8304" align="center" ><img
src="/images/transpixel.gif" width="160" height="5" border="0" alt="" /><br />
<?php
$navfound
=
false
;
while
(
list
(
$name
,
$data
)
=
each
(
$navigation
))
{
print
"<img
\n
"
;
print
" src=
\"
/images/halloween/navbar/"
.
$data
[
"PREFIX"
];
print
"_t.gif
\"
"
;
print
" width=
\"
140
\"
height=
\"
35
\"
border=
\"
0
\"
alt=
\"\"
/><a
\n
"
;
print
" href=
\"
"
.
$data
[
"URL"
]
.
"
\"
><img
\n
"
;
print
" src=
\"
/images/halloween/navbar/"
.
$data
[
"PREFIX"
];
if
(
!
$navfound
&&
$data
[
"URL"
]
==
$PHP_SELF
)
{
$navfound
=
true
;
print
"_bh.gif"
;
}
else
{
print
"_b.gif"
;
}
print
"
\"
width=
\"
140
\"
height=
\"
20
\"
border=
\"
0
\"
"
;
print
" alt=
\"
$name
\"
/></a><br />"
;
}
?>
<br />
<br />
<p><b>Gaim is NOT endorsed by or affiliated with AOL</b></p>
<p>
<a href="http://sourceforge.net/"><img
src="http://sourceforge.net/sflogo.php?group_id=235" width="88" height="31"
border="0" alt="SourceForge" /></a>
</p>
<br />
</td>
</tr>
<tr>
<td colspan="3" bgcolor="#000000"><img src="/images/transpixel.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="3">
<blockquote>
<p><font size="-1">
"Dedicated to the near-memory of Rob Flynn. Let's start remembering
people while they're still alive." - Mark Spencer
</font></p>
<p><font size="-1">
Website design and development provided by
<a href="http://www.portaldesign.net/">Portal Web Design</a>.
</font></p>
</blockquote>
</td>
</tr>
</table>
</body>
</html>
<?php
}
function
start_section
(
$title
,
$date
=
""
)
{
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
<td width="10" rowspan="2" background="/images/news_left.gif" valign="top"><img src="/images/news_tl.gif" width="10" height="10" border="0" alt="" /></td>
<td background="/images/news_top.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
</tr>
<tr>
<td nowrap="nowrap" valign="bottom">
<?php
start_font
(
-
2
);
?>
<i>
<?php
print
$date
;
?>
</i></font></td>
<td bgcolor="#F7C871" nowrap="nowrap">
<?php
start_font
();
?>
<b>
<?php
print
$title
;
?>
</b> </font></td>
</tr>
<tr>
<td background="/images/date_bottom.gif"><img src="/images/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
<td><img src="/images/news_mb.gif" width="10" height="5" border="0" alt="" /></td>
<td background="/images/news_bottom.gif"><img src="/iamges/transpixel.gif" width="1" height="5" border="0" alt="" /></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
<td valign="top">
<?php
start_font
();
}
function
end_section
()
{
end_font
();
?>
</td>
<td width="30"><img src="/images/transpixel.gif" width="30" height="1" border="0" alt="" /></td>
</tr>
</table>
<br />
<?php
}
function
start_font
(
$size
=
"-1"
)
{
print
"<font face=
\"
Verdana, Tahoma, Arial, Helvetica
\"
"
;
print
" size=
\"
$size
\"
>
\n
"
;
}
function
end_font
()
{
print
"</font>"
;
}
?>