From: Brad S. <sc...@us...> - 2007-09-11 02:38:17
|
Update of /cvsroot/offl/offl/www In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv341 Modified Files: Tag: 1.21 players.php Log Message: Deprecated getPictureLoc function calls. Need to tidy up code/display and get a better link for player pictures. Index: players.php =================================================================== RCS file: /cvsroot/offl/offl/www/players.php,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** players.php 6 Sep 2007 03:22:43 -0000 1.20 --- players.php 11 Sep 2007 02:38:13 -0000 1.21 *************** *** 36,40 **** $thisPlayer->setLastName($_REQUEST["lname"]); $thisPlayer->setFirstName($_REQUEST["fname"]); ! $thisPlayer->setPictureLoc($_REQUEST["picture_loc"]); $thisPlayer->setNFLTeamID($_REQUEST["nflteam_id"]); $thisPlayer->setPositionID($_REQUEST["position_id"]); --- 36,40 ---- $thisPlayer->setLastName($_REQUEST["lname"]); $thisPlayer->setFirstName($_REQUEST["fname"]); ! $thisPlayer->setPictureLoc($_REQUEST["nfl_profile"]); $thisPlayer->setNFLTeamID($_REQUEST["nflteam_id"]); $thisPlayer->setPositionID($_REQUEST["position_id"]); *************** *** 145,149 **** <tr> <td> ! <?php $pic = "http://images.nfl.com/images/players/60x80/" . $thisPlayer->getPictureLoc() . ".jpg"; //if (is_file("$pic")) { ?> <img src="<?php echo $pic; ?>" alt="<?php echo $thisPlayer->getName("FL");; ?>" align="left"> --- 145,149 ---- <tr> <td> ! <?php $pic = "http://images.nfl.com/images/players/60x80/" . $thisPlayer->getNFLProfile() . ".jpg"; //if (is_file("$pic")) { ?> <img src="<?php echo $pic; ?>" alt="<?php echo $thisPlayer->getName("FL");; ?>" align="left"> *************** *** 706,710 **** <tr> <th align="right">Picture Filename:</th> ! <td colspan="2"><input type="text" name="picture_loc" size="40" maxlength="80"<?php if($_REQUEST["mode"] == "edit") { ?> value="<?php echo $thisPlayer->getPictureLoc() ?>"<?php } ?>></td> </tr> <tr> --- 706,710 ---- <tr> <th align="right">Picture Filename:</th> ! <td colspan="2"><input type="text" name="picture_loc" size="40" maxlength="80"<?php if($_REQUEST["mode"] == "edit") { ?> value="<?php echo $thisPlayer->getNFLProfile() ?>"<?php } ?>></td> </tr> <tr> |