</tr> <tr> <td>Title</td> </tr> <tr> <td><input type="Text" class="width250" size="45" name="titlenews" value="<?php echo "$titlenews" ?>"></td> </tr> <tr> <td>Text</td> </tr> <tr> <td><textarea name="news" cols="60" rows="12" wrap="VIRTUAL"><?php echo "$news" ?></textarea></td> </tr> <tr> <td> Use the <pl> tag to create player links, eg. <b><pl></b>Ike<b></pl></b> will come out as <?= getPlayerLink("Ike") ?>. </td> </tr> <tr><td> <table class="smileytable"> <tr> <td style="padding-left:10px" align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/smile.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/sad.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/biggrin.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/cry.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/none.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/mad.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/rolleyes.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/laugh.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/bigrazz.gif" width="15" height="15"></td> <td align="center"><img border="0" src="<?php echo "$directory" ?>/smileys/dead.gif" width="15" height="15"></td>
?> <? $cur = 0; $ptsDiffOld = ""; foreach ($teamStatSet as $teamStat) { $cur++; $player1 = $teamStat->player1; $player2 = $teamStat->player2; $teamDisplay = getPlayerLink($player1); if (empty($player2)) { $teamDisplay .= ' <span class="grey-small">(alone)</span>'; } else { $teamDisplay .= ' <span class="grey-small">–</span> '.getPlayerLink($player2); } $nameDisplay = '<table width="100%"><tr><td>'; $nameDisplay .= $teamDisplay; $nameDisplay .= '</td>'; if ($cur == 1) { $nameDisplay .= '<td>'; $nameDisplay .= '<span style="float:right;cursor:help;" title="Current leaders"><img style="align:right;" src="'.$directory.'/gfx/teamLadderTeam.gif" /></span>'; $nameDisplay .= '</td>'; } $nameDisplay .= '</tr></table>'; $nameClass = ""; $ptsDiffDisplay = $teamStat->getPtsDiff(); $ptsWonDisplay = $teamStat->ptsWon;