<script src="scripts/language.js"></script> <script type="text/javascript"> $(function(){ setupDefaultLanguage(); } </script> </head> <body> <section class="scores"> <div class="inner"> <div class="middle"> <h2>PUNTUACIONES</h2> <table class="puntuaciones"> <tr><th id="name">NOMBRE</th><th id="message">MENSAJE</th><th id="score">PUNTUACION</th><th id="location">LOCATION</th></tr> <?php $results = listScores(); while ($row = $results->fetch_object()) { echo "<td>" . $row->person_name . "</td>"; echo "<td>" . $row->message . "</td>"; echo "<td>" . $row->help_amount . "</td>"; echo "<td>" . $row->province . "</td>"; echo "</tr>"; } ?> </table> </div> </div> </section> </body> </html>
$.scrollify({ section: '.panel', offset: 0 }); }); </script> </head> <body> <section class="scores"> <div class="inner"> <div class="middle"> <h2>PUNTUACIONES</h2> <table class="puntuaciones"> <tr><th>NOMBRE</th><th>MENSAJE</th><th>PUNTUACIÓN</th></tr> <?php $result = listScores(); while ($fila = mysql_fetch_assoc($result)) { echo "<tr>"; echo "<td>" . $fila['nombre'] . "</td>"; echo "<td>" . $fila['mensaje'] . "</td>"; echo "<td>" . $fila['puntuacion'] . "</td>"; echo "</tr>"; } ?> </table> </div> </div> </section> </body> </html>