<html>
<head>
<title>Stable Stats</title>
<script src="../Extras/sorttable.js"></script>
<style type="text/css" media="screen">
.clsHeads {
background: transparent;
width: 100%;
border-style: none;
cursor: pointer;
background-color: #3F0;
font-weight: bold;
font-size: 12px;
}
</style>
<link href="Style Sheets/opacy.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet"href="../Extras/script04.css" />
<script type="text/javascript"src="../Extras/jquery.js"></script>
<script type="text/javascript"src="../Extras/script04.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
body
{
font-size: 14px;
background-image: url(../Images/grass-natural.jpg);
}
-->
</style>
<link href="../Style Sheets/opacy.css" rel="stylesheet" type="text/css" />
</head>
<body onmouseover="onmouseover()">
<body onload="startTime()">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form name="form1" method="post" action="">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="stable_stats">
<tr>
<td colspan="3">
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap><div align="center"><strong>Stable Stats</strong></div></td>
</tr>
</table>
</div>
</td>
<tr>
<td width="40%" nowrap><div align="right"><strong>stable name</strong></div>
<td width="24%" nowrap><div align="center">
<strong><?php echo $row_Recordset1['stable_name']; ?></strong></div></td>
<td width="23%" colspan="2" rowspan="3" nowrap><div align="left"></div></td>
</tr>
<tr>
<td nowrap><div align="right"><strong>Email</strong></div></td>
<td nowrap><div align="center">
<strong><?php echo $row_Recordset1['user_email']; ?></strong></div></td>
</tr>
<tr>
<td nowrap><div align="right"><strong>country</strong></div></td>
<td nowrap><div align="center">
<strong><?php echo $row_Recordset1['country']; ?></strong></div></td>
</tr>
</table>
</form></td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form name="form1" method="post" action="">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="Fonts" id="stable_stats">
<tr>
<td width="100%"><div align="center">
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" nowrap><div align="center"><strong>Current Horses</strong></div></td>
</tr>
</table>
</div></td>
<tr>
<td>
<table class="sortable" width="100%" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td width="15%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="NAME" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="AGE" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="GEN" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="BRED" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="XP" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="8%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="HEALTH" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="8%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="FITNESS" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="RAN" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="WON" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="SHOWN" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="5%" bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="FORM" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td width="14%" align="center" valign="top" nowrap bgcolor="#66CC00"><input type=button class=clsHeads value="WINNINGS" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
</tr>
<?php do { ?>
<tr>
<td><a href="../Horse Finance/Horse_history.php?horse=<?php echo $row_horsehistory['name_id']; ?>"><strong><?php echo $row_horsehistory['name_id']; ?></strong></a></td>
<td><strong><?php echo $row_horsehistory['age']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['gen']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['bred']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['xp']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['medical_condition']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['physical_condition']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['ran']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['won']; ?></strong></strong></td>
<td><strong><?php echo $row_horsehistory['shown']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['form']; ?></strong></td>
<td><strong><?php echo $row_horsehistory['career_earnings']; ?></strong></td>
</tr>
<?php } while ($row_horsehistory = mysql_fetch_assoc($horsehistory)); ?>
</table></td>
</tr>
<tr>
<td><div align="center">
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap><div align="center"><strong>Current Jockeys</strong></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td>
<table class="sortable" width="100%" border="1" align="center" cellpadding="1" cellspacing="1">
<tr>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="NAME" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="AGE" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="RUN" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="WON" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="SHOWN" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="FORM" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="MORAL" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="RATING" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
<td bgcolor="#66CC00"><div align="center"><input type=button class=clsHeads value="WINNINGS" onmouseover="ColorIt(this,1)" onmouseout="ColorIt(this,0)"></td>
</tr>
<?php do { ?>
<tr>
<td class="setOpacity"><a href="../Jocky Finance/jocky_history.php?jocky=<?php echo $row_JOCKSTATS['Jocky_name']; ?>"><strong><?php echo $row_JOCKSTATS['Jocky_name']; ?></strong></a></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['age']; ?></strong></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['run']; ?></strong></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['won']; ?></strong></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['place']; ?></strong></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['form']; ?></strong></td>
<td class="setOpacity"><strong>(<?php echo $row_JOCKSTATS['moral']; ?>)</strong></td>
<td class="setOpacity"><strong>(<?php echo $row_JOCKSTATS['rating']; ?>)</strong></td>
<td class="setOpacity"><strong><?php echo $row_JOCKSTATS['winnings']; ?></strong></td>
</tr>
<?php } while ($row_JOCKSTATS = mysql_fetch_assoc($JOCKSTATS)); ?>
</table> <h2> </h2></td>
</tr>
</table>
</form>
</td>
</tr>
</body>
</html>
<?php
mysql_free_result($horsehistory);
mysql_free_result($JOCKSTATS);
mysql_free_result($Recordset1);
?>
script04.css
/* CSS Document */
table {border-collapse: collapse; }
tr.even {background-color: #00FFFF; }
tr.over {background-color: #F00; }
td {
}
th {
color:#0FF;
background-color:#
}
script04.js
$(document).ready(function() {
$("tr").mouseover(function() {
$(this).addclass("over");
});
$("tr").mouseover(function() {
$(this).removeclass("over");
});
$(tr:even).addclass("even");
});
and the jquery page which has over 4000 lines its the standered page which i downloaded no point in puting that here
there all in the same folder where they get called at top of pagei have the sort working which is a separate js page
just want ot know why the striping is not working if anyone can help please i just cant figure this out
i have cleaned up main page was to may redundent files on there might make it easer to find out whats wrong
This post has been edited by peter yianni: 28 July 2009 - 01:26 AM

New Topic/Question
Reply



MultiQuote





|