echo $id; } $idioma = "ca"; if (isset($_GET['idioma'])) { $idioma = $_GET['idioma']; echo $idioma; } echo "Noticies:<br>"; $noticies = getNoticies($config['db'], $idioma); $counter = 0; while ($row = mysql_fetch_array($noticies)) { echo "noticias[" . $counter . "]= " . $row['title'] . "," . $row['body'] . "<br>"; $counter = $counter + 1; } echo "<br><br><hr><hr><hr><hr><hr>"; $tipusServei = getTipusDeEspectacle($config['db'], $id, $idioma); echo "Tipus de espectacle: " . $tipusServei . "<br><br>"; $tipusPublic = getTipusDePublic($config['db'], $id, $idioma); echo "Tipus de public: " . $tipusPublic . "<br><br>"; $duracio = getDuracio($config['db'], $id); echo "Duració: " . $duracio . "<br><br>"; $nodeInfo = getNode($config['db'], $id); while ($row = mysql_fetch_array($nodeInfo)) { echo " Titol:" . $row['title'] . "<br>"; echo " Body:" . $row['body_value'] . "<br>"; echo " Fitxa tecnica:" . $row['field_fitxa_tecnica_value'] . "<br>"; } echo $config['paths']['images']['thumbnail']; $nodeImages = getNodeImagesFileNames($config['db'], $id); while ($row = mysql_fetch_array($nodeImages)) { $imageName = $row['filename'];
<td valign="top" style="padding-top:20px;"> <div style="font-size:30;color:#f66d15;text-align:left;line-height:1;font-weight:bold;"> <?php //echo $row{'title'}; ?> </div> </td> --> <td width="1" bgcolor="#ffdcb9"></td> <td width="10"></td> <td width="130" class="fichaTipo"> <table cellpadding="0" cellspacing="0"> <tr> <?php $tipus_espectacle = getTipusDeEspectacle($config['db'], $id, $idioma); if (!is_null($tipus_espectacle)) { echo "<td><img src='images/icos/tipus_espectacle.gif'/></td><td width='15'></td><td>" . $tipus_espectacle . "</td>"; } ?> </tr> <tr> <td height="5"></td> </tr> <tr> <?php $tipus_public = getTipusDePublic($config['db'], $id, $idioma); if (!is_null($tipus_public)) { echo "<td><img src='images/icos/public_recomanat.gif'/></td><td width='15'></td><td>" . $tipus_public . "</td>"; }