</tr> <tr> <td colspan="4"><input type="hidden" name="gameId" value="<?php echo $editGame; ?> " /></td> </tr> <tr> <td colspan="4" class="padding-button"> <input type="Submit" name="submit" value="save changes"> </td> </tr> </table> </form> <?php echo getBoxBottom(); ?> </td></tr></table> <? } } echo $msg; } ?> <?php echo getOuterBoxBottom(); ?> <? require('./../bottom.php'); ?>
<td align="center">:p</td> <td align="center">:x</td> <td align="center">;)</td> <td align="center">:o</td> <td align="center">:b</td> <td align="center">(n)</td> <td align="center">(y)</td> </tr> </table> </td></tr> <tr><td class="padding-button"> <input type="Submit" class="width150" name="submit" value="post news"> </td></tr> </table> </form> <?= getBoxBottom() ?> </td></tr></table> <?php } ?> <?php } ?> <?= getOuterBoxBottom() ?> <? require ('./../../bottom.php'); ?>
function replacePlayerLinks(&$news) { $playertag_open = "<pl>"; $playertag_close = "</pl>"; while (stristr($news, $playertag_open)) { $startindex = strpos($news, $playertag_open); $endindex = strpos($news, $playertag_close); $startpos = $startindex + strlen($playertag_open); $name = substr($news, $startpos, $endindex - $startpos); $playerId = getIdForPlayer($name); if (!empty($playerId)) { $nameLink = getPlayerLinkId($name, $playerId); $news = str_replace($playertag_open . $name . $playertag_close, $nameLink, $news); } else { echo getBoxTop("Info", 0, true, ''); echo "<p><b>Error:</b> Player <b>" . $name . "</b> not found!"; echo getBoxBottom(); return; } } }
echo "<td nowrap><img src='$directory/flags/$nationality.bmp' border='1' title='$nationality'></td>"; if (!empty($alias)) { $showalias = " (aka $alias)"; } else { $showalias = ""; } echo "<td $nameClass> <a href='$directory/profile.php?name=$name' title='view profile'>$name$showalias</a></td>"; echo "</tr>"; $compteur++; } ?> </table> <? echo getBoxBottom() ?></td> </tr> </table> <? $rssgif = '<img src="/gfx/rss.gif" style="vertical-align: middle" border="0">'; $sitemapgif = '<img src="/gfx/sitemap.gif" style="vertical-align: middle" border="0">'; $shopgif = '<img src="/gfx/shirt.gif" style="vertical-align: middle" border="0">'; $fbimg = '<img src="/gfx/facebook.jpg" style="vertical-align: middle" border="0">'; $linksBottomLeft = '<a style="vertical-align: middle" href="/sitemap.php">'.$sitemapgif.' Sitemap</a> '; $linksBottomLeft .= '<a style="vertical-align: middle" target="_new" href="http://www.facebook.com/"'.$leaguename.'>'.$fbimg.' Facebook</a> '; // $linksBottomRight .= '<a style="vertical-align: middle" href="/podcast/">'.$rssgif.' Podcast</a> '; ?> <?php echo getOuterBoxBottomLinks($linksBottomLeft, $linksBottomRight); ?>