"); if ( !($result = mysql_query($sql,$conn)) ) DBErr($sql, $conn); if ( $inspireFromDB=="on" ) $loBannerType = "INSPIRE"; else $loBannerType = "USERTEXT"; $sql = " REPLACE INTO layouts (usUserName, loRow0Col0, loRow0Col1, loRow0Col2, loRow1Col0, loRow1Col1, loRow1Col2, loRow2Col0, loRow2Col1, loRow2Col2, loBannerType, loBannerText ) Values ( '$usUserName', '$loRow0Col0', '$loRow0Col1', '$loRow0Col2', '$loRow1Col0', '$loRow1Col1', '$loRow1Col2', '$loRow2Col0', '$loRow2Col1', '$loRow2Col2', '$loBannerType', '$loBannerText' ) "; } //echo("sql - $sql
"); if ( !$result = mysql_query($sql,$conn) ) DBErr($sql, $conn); } $cUserInfo = GetUserInfo( $userLoggedIn ); if ( $cUserInfo->usSex == "F" ) $femaleSelected = "SELECTED"; else $maleSelected = "SELECTED"; ?> Inner Athlete - Customize your personal information

HOME My IA Tools Articles Find Trainer Events About  
Edit Personal Information

All fields with a * are required.
  Username: usUserName ?> *Password: *Re-enter Password:  
  *Email:  
  First Name: Last Name:    Age:   Sex:  
  City: State: Country:  
  Zip Code: Web site (if you have one):  
  Type: usUserType ?> My Coach :
 
$errMess "; $loBannerText = $cUserInfo->layout[loBannerText]; if ( $cUserInfo->layout[loBannerType] == "INSPIRE" ) $dbChecked = "CHECKED"; ?>
 
Pick a place for stuff on your main page.
  Inspirational Text: From Database:  
  layout ); ?>  
   
Home |  Help |  Contact Us |  Site Map |  Coach Benson
Copyright© 1999-2007 InnerAthlete™ All rights reserved. 
 
"); for ( $row = 0; $row < 3; $row++ ) { echo(""); for ( $col = 0; $col < 3; $col++ ) { $NothingSelected = $WORKOUTSelected = $FITTIPSSelected = ""; $FEATUREDATHLETESelected = $TODAYSWORKOUTSelected = $IACHALLENGESelected = ""; $INSPIRATIONSelected = $ANNOUNCEMENTSSelected = $CALENDARSelected = ""; $FAVORITESSelected = $NOTESSelected = $PICTURESelected = ""; $GOOGLESelected = $DICTIONARYSelected = ""; switch ( $layout[$row][$col] ) { case Nothing: $NothingSelected = "SELECTED"; break; case WORKOUT: $WORKOUTSelected = "SELECTED"; break; case FITTIPS: $FITTIPSSelected = "SELECTED"; break; case FEATUREDATHLETE: $FEATUREDATHLETESelected = "SELECTED"; break; case TODAYSWORKOUT: $TODAYSWORKOUTSelected = "SELECTED"; break; case IACHALLENGE: $IACHALLENGESelected = "SELECTED"; break; case INSPIRATION: $INSPIRATIONSelected = "SELECTED"; break; case ANNOUNCEMENTS: $ANNOUNCEMENTSSelected = "SELECTED"; break; case CALENDAR: $CALENDARSelected = "SELECTED"; break; case FAVORITES: $FAVORITESSelected = "SELECTED"; break; case NOTES: $NOTESSelected = "SELECTED"; break; case PICTURE: $PICTURESelected = "SELECTED"; break; case GOOGLE: $GOOGLESelected = "SELECTED"; break; case DICTIONARY: $DICTIONARYSelected = "SELECTED"; break; default: break; } $selectName = "loRow" . $row . "Col" . $col; echo(" Type: "); } // Inner for echo(""); } // outer for echo(""); //