$('#test1-result').html('not localised !'); } } } }); }); </script> <?php $games = get_games_for_user_with_id(1); while ($row = mysql_fetch_array($games)) { ?> <?php $home_address = get_home_address($row['home_team_id']); ?> <?php $home_team = get_home_name($row['home_team_id']); ?> <?php $away_team = get_away_name($row['away_team_id']); ?> <script type="text/javascript"> $(function () { $("#test1").gmap3({
<link rel="apple-touch-icon" href="appicon.png" /> <link rel="apple-touch-startup-image" href="startup.png"> <script src="jquery-1.8.2.min.js"></script> <script src="http://code.jquery.com/ui/1.8.24/jquery-ui.js"></script> <script src="jquery.mobile-1.2.0.js"></script> </head> <body> <div data-role="header"> <a href="logout.php" class="ui-btn-right"> Logout </a> <h1>GameTime</h1> </div> <?php $games = get_games_for_user_with_id($_SESSION['id']); if (mysql_num_rows($games) == 0) { echo '</br><a href="subscriptions.php">Click here to subscribe to some teams</a>'; } else { while ($row = mysql_fetch_array($games)) { ?> <div class="accordion"> <?php $home_team = get_home_logo($row['home_team_id']); ?> <?php $away_team = get_away_logo($row['away_team_id']); ?> <h3><a href="#"><img class="home-team-logo" src = "images/<?php echo str_replace('"', "", $home_team);