Second pass at adding key files
This commit is contained in:
32
site/slowtwitch.com/www/tick/html/black.php
Normal file
32
site/slowtwitch.com/www/tick/html/black.php
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
$img = '';
|
||||
if (isset($_GET['img'])) { $img = $_GET['img']; }
|
||||
|
||||
?>
|
||||
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>:: click on the picture to close window ::</title>
|
||||
</head>
|
||||
|
||||
<body bgcolor=#000000 marginheight=4 marginwidth=15 leftmargin=15 topmargin=4>
|
||||
|
||||
<div align=center>
|
||||
|
||||
<table cellpadding=3 cellspacing=3 border=0 width="100">
|
||||
<tr>
|
||||
|
||||
<td bgcolor="#eeeeee">
|
||||
<a href="javascript:window.close();">
|
||||
<img border=0 src="<?php echo $img ?>">
|
||||
</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
390
site/slowtwitch.com/www/tick/html/stage.html
Normal file
390
site/slowtwitch.com/www/tick/html/stage.html
Normal file
@ -0,0 +1,390 @@
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
|
||||
<head>
|
||||
<META HTTP-EQUIV="charset" CONTENT="UTF-8">
|
||||
<title></title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
|
||||
.text
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.smtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 10px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.bigtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 14px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
A
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-weight : bold;
|
||||
font-size : 11px;
|
||||
color : #ed1c24;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
A:hover
|
||||
{
|
||||
color : #ed1c24;
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
text-decoration : underline;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
div#commentary1
|
||||
{
|
||||
overflow: auto;
|
||||
width: 795px;
|
||||
height: 455px;
|
||||
border-left: 1px gray solid;
|
||||
border-bottom: 1px gray solid;
|
||||
border-right: 1px gray solid;
|
||||
border-top: 1px gray solid;
|
||||
padding: 0px 5px 5px 0px;
|
||||
margin: 0px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
div#commentary2
|
||||
{
|
||||
overflow: auto;
|
||||
width: 795px;
|
||||
height: 455px;
|
||||
border-left: 1px gray solid;
|
||||
border-bottom: 1px gray solid;
|
||||
border-right: 1px gray solid;
|
||||
border-top: 1px gray solid;
|
||||
padding: 0px 5px 5px 0px;
|
||||
margin: 0px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
-->
|
||||
</style>
|
||||
<style type="text/css">
|
||||
v\:* {
|
||||
behavior:url(#default#VML);
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=" type="text/javascript"></script>
|
||||
|
||||
<!-- begin script to create random number for ads -->
|
||||
<script language="Javascript">
|
||||
<!--
|
||||
sgi_ord=Math.random()*10000000000000000;
|
||||
//-->
|
||||
</script>
|
||||
<!-- End random number script -->
|
||||
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
|
||||
var map;
|
||||
var text = new Array();
|
||||
var timeoutID = 0;
|
||||
var zoom = ;
|
||||
var center_lat = "";
|
||||
var center_lon = "";
|
||||
var base = new GIcon();
|
||||
base.image = "images/pin_red.png";
|
||||
base.shadow = "images/shadow.png";
|
||||
base.iconSize = new GSize(12, 20);
|
||||
base.shadowSize = new GSize(22, 20);
|
||||
base.iconAnchor = new GPoint(6, 20);
|
||||
base.infoWindowAnchor = new GPoint(5, 1);
|
||||
loadText();
|
||||
|
||||
function createCookie(name,value,days)
|
||||
{
|
||||
if (days)
|
||||
{
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime()+(days*24*60*60*1000));
|
||||
var expires = "; expires="+date.toGMTString();
|
||||
}
|
||||
else var expires = "";
|
||||
document.cookie = name+"="+value+expires+"; path=/";
|
||||
}
|
||||
|
||||
function readCookie(name)
|
||||
{
|
||||
var nameEQ = name + "=";
|
||||
var ca = document.cookie.split(';');
|
||||
for(var i=0;i < ca.length;i++)
|
||||
{
|
||||
var c = ca[i];
|
||||
while (c.charAt(0)==' ') c = c.substring(1,c.length);
|
||||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function eraseCookie(name)
|
||||
{
|
||||
createCookie(name,"",-1);
|
||||
}
|
||||
|
||||
function show_route(points, color, size)
|
||||
{
|
||||
if (points.length > 0)
|
||||
{
|
||||
var chunk = 200;
|
||||
if (points.length > chunk)
|
||||
{
|
||||
show_route(points.slice(0, chunk), color, size);
|
||||
show_route(points.slice(chunk), color, size);
|
||||
}
|
||||
else
|
||||
{
|
||||
map.addOverlay(new GPolyline(points, color, size));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function toggleRefresh()
|
||||
{
|
||||
var refresh_rate = * 1000;
|
||||
var refresh_type = "";
|
||||
if ((refresh_rate > 0) && (refresh_type == 'javascript'))
|
||||
{
|
||||
if (timeoutID != 0) { clearTimeout(timeoutID); }
|
||||
if (document.which.fresh.checked)
|
||||
{
|
||||
timeoutID = setTimeout('window.location.reload()', refresh_rate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function popup(url, x, y)
|
||||
{
|
||||
window.open(url,'OneTicker','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=' + y + ',height=' + x);
|
||||
}
|
||||
|
||||
function toggleText()
|
||||
{
|
||||
var on_style, off_style;
|
||||
var on = "commentary2";
|
||||
var off = "commentary1";
|
||||
if (document.which.textorder.checked)
|
||||
{
|
||||
on = "commentary1";
|
||||
off = "commentary2";
|
||||
createCookie('textorder', 'recentfirst', 7);
|
||||
}
|
||||
else
|
||||
{
|
||||
createCookie('textorder', 'oldfirst', 7);
|
||||
}
|
||||
|
||||
if (document.getElementById)
|
||||
{
|
||||
on_style = document.getElementById(on).style;
|
||||
off_style = document.getElementById(off).style;
|
||||
}
|
||||
else if (document.all)
|
||||
{
|
||||
on_style = document.all[on].style;
|
||||
off_style = document.all[off].style;
|
||||
}
|
||||
else if (document.layers)
|
||||
{
|
||||
on_style = document.layers[on].style;
|
||||
off_style = document.layers[off].style;
|
||||
}
|
||||
on_style.display = "none";
|
||||
off_style.display = "block";
|
||||
}
|
||||
|
||||
function loadText()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
function loadCoords()
|
||||
{
|
||||
var routes, marker;
|
||||
|
||||
|
||||
}
|
||||
|
||||
function initCookies()
|
||||
{
|
||||
var biscuit = readCookie('textorder');
|
||||
if (biscuit == null)
|
||||
{
|
||||
createCookie('textorder', 'oldfirst', 7);
|
||||
biscuit = 'oldfirst';
|
||||
}
|
||||
if (biscuit == 'recentfirst')
|
||||
{
|
||||
document.which.textorder.checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
function onLoad()
|
||||
{
|
||||
map = new GMap2(document.getElementById("map"));
|
||||
map.addControl(new GLargeMapControl());
|
||||
map.addControl(new GMapTypeControl());
|
||||
map.addMapType(G_PHYSICAL_MAP);
|
||||
map.setCenter(new GLatLng(center_lat, center_lon), zoom, );
|
||||
loadCoords();
|
||||
}
|
||||
|
||||
function createMarker(icon, point, markerID, title, text, image)
|
||||
{
|
||||
var marker = new GMarker(point, {icon: icon});
|
||||
var html = '<table cellpadding=1 cellspacing=1 border=0 width=200>';
|
||||
if (image != "")
|
||||
{
|
||||
html = html + '<tr><td align=center><a target=_blank href="http://www.onemillionrevolutions.org/tick/black.php?img=images/gallery/' + image + '"><img height="130" src="images/gallery/t_' + image + '" border=0></a><br></td></tr>';
|
||||
}
|
||||
html = html + '<tr><td><div class=text><b>' + title + '</b></td></tr>';
|
||||
html = html + '<tr><td><div class=text>' + text + '</div></td></tr>';
|
||||
html = html + '</table>';
|
||||
GEvent.addListener(marker, "click", function() {
|
||||
marker.openInfoWindowHtml(html);
|
||||
});
|
||||
return marker;
|
||||
}
|
||||
|
||||
//]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body bgcolor=#ffffff marginheight=4 marginwidth=15 leftmargin=2 topmargin=4 onload="initCookies();toggleRefresh();toggleText();">
|
||||
|
||||
<form name="which">
|
||||
<table cellspacing=1 cellpadding=1 width="800" border=1 align=center>
|
||||
|
||||
<tr> <!-- header -->
|
||||
<td colspan=2 align=center width="100%"></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="#cccccc" valign=top> <!-- stage information -->
|
||||
<td colspan=2><table cellpadding=0 cellspacing=0 border=0 width="100%">
|
||||
<tr valign=top>
|
||||
<td><div class=text>
|
||||
|
||||
|
||||
<span class=bigtext><b> :: </b></span>
|
||||
<br> -
|
||||
<br> <br>
|
||||
|
||||
</div></td>
|
||||
<td width=280><div class=text></div></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="#dddddd" valign=top>
|
||||
<td><table border=0 cellpadding=1 cellspacing=1 width="100%">
|
||||
<tr>
|
||||
<td><div class=text>
|
||||
<b>Other races: </b>
|
||||
<select name=stage class=text onChange="location.href = document.which.stage.options[document.which.stage.selectedIndex].value">
|
||||
<option value="viewer.php?ID=">--please select--</option>
|
||||
</select>
|
||||
</div></td>
|
||||
<td align=center><div class=text>
|
||||
</div></td>
|
||||
|
||||
<td align=center><div class=text>
|
||||
<input type=checkbox name=textorder value=yes onClick='toggleText();'>most recent first
|
||||
</div></td>
|
||||
|
||||
|
||||
</tr>
|
||||
</table></td>
|
||||
|
||||
|
||||
</tr>
|
||||
|
||||
<tr valign=top>
|
||||
<td><table cellpadding=2 cellspacing=0 border=1 width="100%">
|
||||
<tr valign=top>
|
||||
<td width="345" height=100><div class=text><b><u></u></b>
|
||||
<br><span class=smtext></span>
|
||||
</div></td>
|
||||
<td><div class=text><b><u></u></b>
|
||||
<br><span class=smtext></span>
|
||||
</div></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr valign=top><td><table border=0 cellpadding=0 cellspacing=0><tr valign=top>
|
||||
<td><DIV ID="commentary1">
|
||||
<dl>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
document.open();
|
||||
for (var i=0; i < text.length; i++)
|
||||
{
|
||||
document.write("<dt class=text><b> " + text[i]['time'] + " " + text[i]['headline'] + "</b></dt>");
|
||||
document.write("<dd class=text>" + text[i]['body'] + "<p></dd>");
|
||||
}
|
||||
document.close();
|
||||
|
||||
</script>
|
||||
|
||||
</dl></div>
|
||||
|
||||
<DIV ID="commentary2">
|
||||
<dl>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
document.open();
|
||||
for (var i = text.length - 1; i >= 0; i--)
|
||||
{
|
||||
document.write("<dt class=text><b> " + text[i]['time'] + " " + text[i]['headline'] + "</b></dt>");
|
||||
document.write("<dd class=text>" + text[i]['body'] + "<p></dd>");
|
||||
}
|
||||
document.close();
|
||||
|
||||
</script>
|
||||
|
||||
</dl></div></td>
|
||||
|
||||
|
||||
</tr></table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<!-- PICS -->
|
||||
|
||||
<!-- video -->
|
||||
|
||||
<tr>
|
||||
<td colspan=2 align=center bgcolor="#dddddd" width="100%"><div class=text>race viewer powered by <a target=_blank href="http://www.onemillionrevolutions.org">One Million Revolutions</a></div></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
33
site/slowtwitch.com/www/tick/login.html
Normal file
33
site/slowtwitch.com/www/tick/login.html
Normal file
@ -0,0 +1,33 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>One Million Revolutions Live Ticker</title>
|
||||
<link rel=stylesheet type="text/css" href="tick.css">
|
||||
</head>
|
||||
|
||||
<body bgcolor="#eeeeee">
|
||||
|
||||
<form name=login action="/tick/login.php" method=post>
|
||||
<table border=0 cellspacing=1 cellpadding=1 width="480">
|
||||
|
||||
<tr><td> </td></tr>
|
||||
|
||||
<tr>
|
||||
<td><div class=boldtext>Username:</div></td>
|
||||
<td><div class=text><input type=text class=blacktext name="username" size=45 maxlength=45></div></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><div class=boldtext>Password:</div></td>
|
||||
<td><div class=text><input type=password class=blacktext name="password" size=45 maxlength=45></div></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td bgcolor="#cccccc" colspan="2" align="right">
|
||||
<input class=blackboldtext type="submit" name="submit" value="Login"></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
166
site/slowtwitch.com/www/tick/tick.css
Normal file
166
site/slowtwitch.com/www/tick/tick.css
Normal file
@ -0,0 +1,166 @@
|
||||
|
||||
.text
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #cccccc;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.whitetext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #ffffff;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.smtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 10px;
|
||||
color : #888888;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.blacktext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.bannerhere
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #ff2222;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.bannerthere
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #dddddd;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.yellowtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #ffff66;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.yellowboldtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #ffff66;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.boldtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.itext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #444444;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.bigtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 13px;
|
||||
color : #333333;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.small
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 8px;
|
||||
color : #000000;
|
||||
}
|
||||
|
||||
.notsosmall
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 9px;
|
||||
color : #000000;
|
||||
}
|
||||
|
||||
.boldnotsosmall
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 9px;
|
||||
color : #000000;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.redtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #ff0000;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.bigredtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 13px;
|
||||
color : #ff2222;
|
||||
line-height : 120%;
|
||||
}
|
||||
|
||||
.blackboldtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 11px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
.14blackboldtext
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-size : 14px;
|
||||
color : #000000;
|
||||
line-height : 120%;
|
||||
font-weight : bold;
|
||||
}
|
||||
|
||||
A
|
||||
{
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
font-weight : bold;
|
||||
font-size : 11px;
|
||||
color : #f11a07;
|
||||
text-decoration : none;
|
||||
}
|
||||
|
||||
A:hover
|
||||
{
|
||||
color : #ff4444;
|
||||
font-family : Verdana, Arial, Geneva, Helvetica;
|
||||
text-decoration : underline;
|
||||
font-weight : bold;
|
||||
}
|
Reference in New Issue
Block a user