<?php
include "newday.php";
check();

function getBar($value, $ext = false) {
    $width = $value * 20;
    if ($width == 0)
        $width = 1;
    $bar = 'redbar.gif';
    if ($width > 182)
        $bar = 'purbar.gif';
    else if ($width > 164)
        $bar = 'blupurbar.gif';
    else if ($width > 146)
        $bar = 'blubar.gif';
    else if ($width > 128)
        $bar = 'greblubar.gif';
    else if ($width > 110)
        $bar = 'grebar.gif';
    else if ($width > 92)
        $bar = 'yelgrebar.gif';
    else if ($width > 74)
        $bar = 'yelbar.gif';
    else if ($width > 56)
        $bar = 'oryelbar.gif';
    else if ($width > 38)
        $bar = 'orbar.gif';
    else if ($width > 20)
        $bar = 'redorbar.gif';

    return '<img src="'. ($ext ? 'http://www.monkeyquiz.com' : '') .'/img/'. $bar .'" height="12" width="'. $width .'" '. ($ext ? 'style="border: 1px solid #000000; border-left: none; vertical-align: middle; padding: 0px; margin: 0px;">' : 'class="bar">');
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Ra&#116;e My Life Self-Help Q&#117;iz Sta&#116;s - Imp&#114;ove Your Life</title>
<meta name="description" content="View statistical information generated from the results of the Rate My Life quiz.">
<meta name="keywords" content="rate, life, mind, body, spirit, friends, family, love, finance, self-help">
<link rel="stylesheet" type="text/css" href="life.css">
</head>
<body>

<h1>Ra&#116;e My Life Self-Help Q&#117;iz Sta&#116;istics</h1>

<?php
$xyz = $_GET['xyz'];
$db = mysql_connect("localhost", 'monkey_dbuser', 'xrWill0');
mysql_select_db("monkey_monkeyquiz",$db);
$result = mysql_query("SELECT number_count, stats_numbers_id FROM stats_numbers ORDER BY stats_numbers_id ASC");
while ($row = mysql_fetch_row($result))
    $numcount[] = $row[0];

$result = mysql_query("SELECT value, stats_calc_id FROM stats_calc ORDER BY stats_calc_id ASC");
?>

<p>
<!-- google_ad_section_start -->
Thousands of people have taken the popular <a href="rate_my_life.html">Ra&#116;e My Life qui</a>z, 
a <i>self-help</i> life analy&#115;is tool that can help you identify strong and weak areas and 
<a href="life.html">improve your life</a>. Some sta&#117;istical information 
has been generated based on the thousands of re&#115;ults.  This page is updated once per day. 
The following re&#115;ults, broken out by life, mind, body, spirit, friends/family, love and finance,
show the averages for all q&#117;iz-takers. As you can see, we are weakest in the 
love and friends/family sub-categories.
<!-- google_ad_section_end -->
</p><br>

<div style="width: 637px; padding: 0px; margin: 0px;">
<div style="float: right; width: 265px; vertical-align: middle;">
<?php
if (!strstr($xyz, 'd') && !strstr($xyz, 'y')) {
    echo '<a href="http://www.anrdoezrs.net/7b66hz74z6MOURRWSVMONPVQRTN" target="_top" onmouseover="window.status=\'http://www.restaurant.com\';return true;" onmouseout="window.status=\' \';return true;">';
    echo '<img src="http://www.tqlkg.com/8b103fz2rxvGIOLLQMPGIHJPKLNH" alt="Save 50% on dining." border="0" style="margin-left: 25px;"></a>';
}
else if (strstr($xyz, 'd') && strstr($xyz, 'gf')) {
    echo '<a href="http://www.kqzyfj.com/d977dlurlt8AGDDIEH8A9CFGBC9" target="_top" onmouseover="window.status=\'http://www.americansingles.com/default.asp?p=7090&prm=44816\';return true;" onmouseout="window.status=\' \';return true;">';
    echo '<img src="http://www.afcyhf.com/in70z15u-yJLROOTPSJLKNQRMNK" alt="" border="0" style="margin-left: 15px;"></a>';
}
else if (strstr($xyz, 'y')) {
    echo '<a href="http://www.dpbolvw.net/72103cy63y5LNTQQVRULNMPTVPQO" target="_top" onmouseover="window.status=\'http://www.spreadshirt.com/shop.php?sid=1000\';return true;" onmouseout="window.status=\' \';return true;">';
    echo '<img src="http://www.ftjcfx.com/bl77xjnbhf02855A6902148A453" alt="Spreadshirt Designer" border="0" style="margin-left: 25px;"></a>';
}
else if (strstr($xyz, 'e')) {
    echo '<a href="http://www.jdoqocy.com/4e66r09608OQWTTYUXOQPRYVYXV" target="_top" onmouseover="window.status=\'http://www.military.com/\';return true;" onmouseout="window.status=\' \';return true;">';
    echo '<img src="http://www.awltovhc.com/1r101qmqeki35B88D9C3546DADCA" alt="Get $50,000 for tuition on the GI Bill!" border="0" style="margin-left: 25px;"></a>';
}
else {
    echo '<a href="http://www.anrdoezrs.net/o665ft1zt0GIOLLQMPGIHJPHQPQ" target="_top" onmouseover="window.status=\'http://www.greenfieldonline.com\';return true;" onmouseout="window.status=\' \';return true;">';
    echo '<img src="http://www.awltovhc.com/1b110fz2rxvGIOLLQMPGIHJPHQPQ" alt="Get PAID to Watch Never Before Seen Movie Trailers" border="0" style="margin-left; 15px;"></a>';
}
?>
</div>

<table cellspacing="0" class="fin">
  <tr>
    <td class="finc life"><b>Life: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin life">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Mind: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Body: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Spirit: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Friends/Family: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Love: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc"><b>Finance: </b></td>
<?php
$row = mysql_fetch_row($result);
echo '<td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td>';
?>
  </tr>
  <tr>
    <td class="finc" style="text-align: right;">Count:</td>
    <td class="fin" style="padding-left: 5px;"><b><?= number_format($numcount[0]) ?></b></td>
  </tr>
</table>
<br>

<h2>Life Analy&#115;is By Gender</h2>

<p>The above box doesn't give us a lot of detail.  It would be interesting to break out 
the data by gender.  Here are the <i>life &#115;cores</i> broken out by male and female.  The re&#115;ults 
in each sub-category are fairly close. The clearest advantage for one gender in a 
sub-category is in love, with males clearly needing some help in that area.</p>
<br>

<div style="float: right; width: 245px; vertical-align: middle;">
<script type="text/javascript"><!--
google_ad_client = "pub-7795630243408100";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_ad_channel ="2317882055";
google_color_border = "DDBB88";
google_color_bg = "FFFFCC";
google_color_link = "0000FF";
google_color_url = "0000FF";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<table cellspacing="0" class="fin">
  <tr>
    <td class="finc life" style="border-bottom: none;"><b>Life: </b></td>
    <td class="fin life" style="border-bottom: none;">&nbsp;</td>
  </tr>

<?php
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Mind: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Body: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Spirit: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Friends/Family: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Love: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Finance: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Count&#115;: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
echo '<tr><td class="finc" style="text-align: right;">Male:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[1]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">Female:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[2]) .'</b></td></tr>';
?>
</table>
<br>

<h2>Life Analy&#115;is by Age Group</h2>

<p>
<!-- google_ad_section_start -->
Even more interesting than the gender life comparisons are the sta&#116;istics by age group. 
Here, we can see trends emerge in the different sub-categories. Overall life ra&#116;ings are 
surprisingly close, but we can see a clear improvement in the mind, spiritual growth, and financial 
strength gaining with age.  This is unsurprising.  Also unsurprising is a decline in the body sco&#114;e with 
age. Love is lowest in the teenage years.  Friends and family numbers are lowest in 
the college years, indicating that some help is needed there.  Body sco&#114;es are highest in the teens.  
Interesting also are the age group counts.  
Most people taking the <a href="rate_my_life.html">Ra&#116;e My Life</a> q<font></font>uiz 
are in their 20s.  The least-represented age group, unsurprisingly, is the 50 Plus group.
<!-- google_ad_section_end -->
</p>
<br>

<div style="float: right; width: 245px; vertical-align: middle;">
<script type="text/javascript"><!--
google_ad_client = "pub-7795630243408100";
google_ad_width = 160;
google_ad_height = 600;
google_ad_format = "160x600_as";
google_ad_type = "text";
google_ad_channel ="2317882055";
google_color_border = "DDBB88";
google_color_bg = "FFFFCC";
google_color_link = "0000FF";
google_color_url = "0000FF";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

<a href="http://www.tkqlhce.com/le117shqnhp46C99EAD465858CAE" target="_top" onmouseover="window.status='http://www.real.com';return true;" onmouseout="window.status=' ';return true;">
<img src="http://www.lduhtrp.net/dt121iw-ousDFLIINJMDFEHEHLJN" alt="Real Networks" border="0" style="margin-left: 17px;"></a>
</div>

<table cellspacing="0" class="fin">
  <tr>
    <td class="finc life" style="border-bottom: none;"><b>Life: </b></td>
    <td class="fin life" style="border-bottom: none;">&nbsp;</td>
  </tr>

<?php
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';

echo '<tr><td class="finc" style="border-bottom: none;"><b>Mind: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Body: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Spirit: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Friends/Family: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Love: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Finance: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';
$row = mysql_fetch_row($result);
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin">'. getBar($row[0]) .' <b>'. $row[0] .'</b></td></tr>';


echo '<tr><td class="finc" style="border-bottom: none;"><b>Count&#115;: </b></td><td class="fin" style="border-bottom: none;">&nbsp;</td></tr>';
echo '<tr><td class="finc" style="text-align: right;">Under 18:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[3]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">18 to 22:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[4]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">23 to 29:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[5]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">30 to 39:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[6]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">40 to 49:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[7]) .'</b></td></tr>';
echo '<tr><td class="finc" style="text-align: right;">50 Plus:</td><td class="fin" style="padding-left: 5px;"><b>'. number_format($numcount[8]) .'</b></td></tr>';

mysql_close();
?>
</table>
</div>
<br>

<p>
<!-- google_ad_section_start -->
This data helps us draw some interesting conclusions on our modern society. 
We can see our collective strengths and weaknesses, and build on our strengths while 
helping ourselves improve on the weak spots.  Particularly troubling are 
the low love ra&#116;ings.  Finding love ought to be placed at a high priority. If you 
are satisfied with your own love life, treasure it and know that you have something 
special.  Social networks represent another societal weakness.  We must put a 
premium on our relationships with friends and family.  Taking care of our bodies 
is also important, as there is a clear trend of decline with age.  Happily, 
other areas show improvement with age, including mind, spirit, and finance. No gender 
is at a clear disadvantage in these areas, either. Read More on 
<a href="life.html">improving your life</a>.<br><br>

Thank you for your interest in these Ra&#116;e My Life sta&#116;istics.  I hope you 
have found this information interesting!<br><br>

<b>Help yourself to a free trial</b> with the new 
<a href="http://www.dpbolvw.net/ck77ox52x4KMSPPUQTKMLOUULLQ" target="_top" onmouseover="window.status='http://music.yahoo.com/unlimited/affiliate/cj';return true;" onmouseout="window.status=' ';return true;">Yahoo! Music Unlimited</a> 
service. <img src="http://www.tqlkg.com/1n104vvzntrCEKHHMILCEDGMMDDI" width="2" height="3" border="0"> 
Yahoo! Music Unlimited lets you download from a selection of over 1.5 million songs, gives you 
access to over 100 commercial-free radio stations, lets you share songs over Yahoo! Messenger, and more. 
Get tracks from all the hot artists, including Black Eyed Peas, Green Day, Shakira, Missy Elliot, 
and thousands more.
<!-- google_ad_section_end -->
</p>

<br><br>
View the <a href="/privacy.html">Privacy Policy</a>
</body></html>
