Go to Post ...from my experience, it is really fun to play defense really well. - Andy Baker [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy > Scouting
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-03-2003, 20:47
shawny963 shawny963 is offline
Registered User
#0930
 
Join Date: Apr 2002
Location: Mukwonago, WI
Posts: 56
shawny963 is on a distinguished road
Send a message via AIM to shawny963
team 930's scouting db

here is 930's scouting db,.http://bfganimation.sytes.net , we might not use it though. We may help out stang with theirs. This is very preliminary layout though
  #2   Spotlight this post!  
Unread 03-03-2003, 21:45
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
It looks good. One suggestion though. Please... seperate the teams into different pages. Don't put them all on one big one.

Since you're allready using php, just add something like

if ( isset($HTTP_GET_VARS['tn']) || isset($HTTP_POST_VARS['tn']) )
{
$team_number = (int) ( isset(HTTP_POST_VARS['tn']) ? $HTTP_POST_VARS['tn'] : $HTTP_GET_VARS['tn'] );

if ( $team_number < 1 || $team_number > 9999 )
{
$team_number = -1;
}

} else {
$team_number = -1;
}

if ($team_number != -1)
{
$add_sql = "WHERE team_number = $team_number";
} else {
$add_sql = "";
}

Then... to your sql string that you get to fetch the data.. just go

$sql .= $add_sql

note... if you allredy have a WHERE to take that out of the $add_sql and to rename the team_number in the sql to whatever it's in your db. This should work with any version of php and if you use a new enough version you can just use the globals. Also... be sure you have magic quotes or else use addslashes($team_number) before the sql.

Also... once you finish this.. please pm or email me with a direct link to a team page so that I can add your db to the www.feds201.com
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**
  #3   Spotlight this post!  
Unread 04-03-2003, 17:03
darkcreature darkcreature is offline
2005 Coach
None #0930 (M Cubed)
Team Role: Coach
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Wisonsin
Posts: 17
darkcreature is an unknown quantity at this point
Send a message via AIM to darkcreature Send a message via MSN to darkcreature
Hey Jack

I am actually the programmer of the site, not that the look is oh so great. I was intending to do that but just hadn't had the time to yet
it was easier to do it that way quickly

I have just updated it (or will) after I restart the server and update some stuff. I should have your suggestion done also by the end of the night and i will update this tomorrow again with that idea...
__________________
In every winner there are dozens of losers. Chances are you are one of them...
  #4   Spotlight this post!  
Unread 04-03-2003, 17:29
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
FYI you spelled "torque" as "toque" in your DB
  #5   Spotlight this post!  
Unread 04-03-2003, 20:57
darkcreature darkcreature is offline
2005 Coach
None #0930 (M Cubed)
Team Role: Coach
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Wisonsin
Posts: 17
darkcreature is an unknown quantity at this point
Send a message via AIM to darkcreature Send a message via MSN to darkcreature
Thanks Dave i also noticed that as i was writing the update of today. It's really looking cool. If someone would like to design some graphics for it that'd be great or actually any ideas to spruce up the GUI because right now i would agree the GUI sucks.

The last update i so far have planned is to put a small form on the view that lists all the teams that would allow someone to just type in a team number....

I should for sure have that out tomorrow...
__________________
In every winner there are dozens of losers. Chances are you are one of them...
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Death of FIRST Anton Abaya General Forum 23 03-05-2006 17:18
Loss of Gracious Professionalism Among First Teams Melissa Nute General Forum 82 31-03-2003 19:34
The 2003 Index of team's post about their robot... Ken Leung Robot Showcase 4 28-02-2003 00:18
More 'Best' Robots (a well thought list) archiver 2000 2 23-06-2002 23:11
Disqualifications archiver 1999 13 23-06-2002 21:53


All times are GMT -5. The time now is 09:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi