Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
| post3 26/02/2010 00:03 | post3 03/03/2010 11:33 actual | ||
|---|---|---|---|
| Línia 1: | Línia 1: | ||
| - | ==== Array ==== | + | ==== Us oferesc els meus texts sobre el tema del gènere... ==== |
| - | |Us oferesc els meus texts sobre el tema del gènere en els articles que podeu trobar en els enllaços següents: | + | Us oferesc els meus texts sobre el tema del gènere en els articles que podeu trobar en els enllaços següents: |
| - | http://dodeparaula.blogspot.com/2009/10/bunyolins.html | + | |
| - | http://dodeparaula.blogspot.com/2009/08/la-solucio.html | + | http://dodeparaula.blogspot.com/2009/10/bunyolins.html |
| - | http://dodeparaula.blogspot.com/2009/09/pixar-fora-de-text.html | + | |
| - | Crec que poden servir per a afegir més arguments, tot i que en general són repetitius. | + | http://dodeparaula.blogspot.com/2009/08/la-solucio.html |
| - | + | ||
| - | Gràcies. | + | http://dodeparaula.blogspot.com/2009/09/pixar-fora-de-text.html |
| - | + | ||
| - | Jaume Corbera| | + | Crec que poden servir per a afegir més arguments, tot i que en general són repetitius. |
| - | + | ||
| - | <html> | + | |
| - | <div align="right">Autor: Jaume Corbera Pou</div> | + | |
| - | <div><a href="http://gela.cat/doku.php?id=forum"><img src="forum/enrere.gif" height="2%" width="2%">Tornar al forum</a></div> | + | Gràcies. |
| + | |||
| + | |||
| + | |||
| + | Jaume Corbera | ||
| + | |||
| + | |||
| + | <html> | ||
| + | |||
| + | <div align="right">Autor: Jaume Corbera Pou</div> | ||
| + | |||
| + | <div><a href="http://gela.cat/doku.php?id=forum"><img src="forum/enrere.gif" height="2%" width="2%">Tornar al forum</a></div> | ||
| </html> | </html> | ||
| - | + | ||
| - | <php> | + | |
| - | $numn = 0; | + | <php> |
| - | $doc = "forum/3/$numn.txt"; | + | |
| - | while (file_exists($doc)) { | + | $numn = 0; |
| - | ++$numn; | + | |
| - | $doc = "forum/3/$numn.txt"; | + | $doc = "forum/3/$numn.txt"; |
| - | } | + | |
| - | echo "</div><h4>Comentaris ($numn)</h4>"; | + | while (file_exists($doc)) { |
| - | for ($i=0; $i<$numn; ++$i) { | + | |
| - | $doc = "forum/3/$i.txt"; | + | ++$numn; |
| - | $txt = file_get_contents($doc); | + | |
| - | $txt = explode("$",$txt); | + | $doc = "forum/3/$numn.txt"; |
| - | $datae = explode("/",$txt[2]); | + | |
| - | $txt[1] = nl2br($txt[1]); | + | } |
| - | echo "<h5> $txt[0]: </h5>"; | + | |
| - | echo "<div class=\"level5\">$txt[1]"; | + | echo "</div><h4>Comentaris ($numn)</h4>"; |
| - | echo "<div align=\"right\" style=\"font-size:10px\">Enviat el $datae[0]/$datae[1]/$datae[2] a les $datae[3]:$datae[4]</div></div>"; | + | |
| - | } | + | for ($i=0; $i<$numn; ++$i) { |
| - | echo "<div>"; | + | |
| - | + | $doc = "forum/3/$i.txt"; | |
| + | |||
| + | $txt = file_get_contents($doc); | ||
| + | |||
| + | $txt = explode("$",$txt); | ||
| + | |||
| + | $datae = explode("/",$txt[2]); | ||
| + | |||
| + | $txt[1] = nl2br($txt[1]); | ||
| + | |||
| + | echo "<h5> $txt[0]: </h5>"; | ||
| + | |||
| + | echo "<div class=\"level5\">$txt[1]"; | ||
| + | |||
| + | echo "<div align=\"right\" style=\"font-size:10px\">Enviat el $datae[0]/$datae[1]/$datae[2] a les $datae[3]:$datae[4]</div></div>"; | ||
| + | |||
| + | } | ||
| + | |||
| + | echo "<div>"; | ||
| + | |||
| + | |||
| </php>=== Envia un comentari === | </php>=== Envia un comentari === | ||
| - | + | ||
| - | <html> | + | |
| - | <form name="form1" method="post" action="comentari.php"> | + | <html> |
| - | <table width="70%" height="240" border="0" align="center"> | + | |
| - | <tr> | + | <form name="form1" method="post" action="comentari.php"> |
| - | <td align="right" width="40%">Nom i cognoms</td> | + | |
| - | <td align="center" width="60%"><input name="n" type="text" id="n" value=""></td> | + | <table width="70%" height="240" border="0" align="center"> |
| - | </tr> | + | |
| - | <tr> | + | <tr> |
| - | <td align="right"> </td> | + | |
| - | <td align="center"> </td> | + | <td align="right" width="40%">Nom i cognoms</td> |
| - | </tr> | + | |
| - | <tr> | + | <td align="center" width="60%"><input name="n" type="text" id="n" value=""></td> |
| - | <td align="right">Institució o lloc de treball</td> | + | |
| - | <td align="center"><input type="text" name="l" id="l" value=""></td> | + | </tr> |
| - | </tr> | + | |
| - | <tr> | + | <tr> |
| - | <td align="right"> </td> | + | |
| - | <td align="center"> </td> | + | <td align="right"> </td> |
| - | </tr> | + | |
| - | <tr> | + | <td align="center"> </td> |
| - | <td align="right">Marca la casella si ets estudiant</td> | + | |
| - | <td align="center"><input type="checkbox" name="e" id="e" value="1"></td> | + | </tr> |
| - | </tr> | + | |
| - | <tr> | + | <tr> |
| - | <td align="right"> </td> | + | |
| - | <td align="center"> </td> | + | <td align="right">Institució o lloc de treball</td> |
| - | </tr> | + | |
| - | <tr> | + | <td align="center"><input type="text" name="l" id="l" value=""></td> |
| - | <td align="right">Adreça electrònica</td> | + | |
| - | <td align="center"><input type="text" name="c" id="c" value=""></td> | + | </tr> |
| - | </tr> | + | |
| - | <tr> | + | <tr> |
| - | <td align="right"> </td> | + | |
| - | <td align="center"> </td> | + | <td align="right"> </td> |
| - | </tr> | + | |
| - | <tr> | + | <td align="center"> </td> |
| - | <td align="right">Comentari</td> | + | |
| - | <td align="center"> | + | </tr> |
| - | <textarea name="text" cols="30" rows="7"></textarea> | + | |
| - | </td> | + | <tr> |
| - | </tr> | + | |
| - | <tr> | + | <td align="right">Marca la casella si ets estudiant</td> |
| - | <td align="right"> </td> | + | |
| - | <td align="center"> </td> | + | <td align="center"><input type="checkbox" name="e" id="e" value="1"></td> |
| - | </tr> | + | |
| - | <tr> | + | </tr> |
| - | <td align="right"><input type="hidden" name="h" value="3"></td> | + | |
| - | <td align="center"><input type="submit" name="enviar" id="enviar" value="Enviar"></td> | + | <tr> |
| - | </tr> | + | |
| - | </table> | + | <td align="right"> </td> |
| - | </form> | + | |
| + | <td align="center"> </td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td align="right">Adreça electrònica</td> | ||
| + | |||
| + | <td align="center"><input type="text" name="c" id="c" value=""></td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td align="right"> </td> | ||
| + | |||
| + | <td align="center"> </td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td align="right">Comentari</td> | ||
| + | |||
| + | <td align="center"> | ||
| + | |||
| + | <textarea name="text" cols="30" rows="7"></textarea> | ||
| + | |||
| + | </td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td align="right"> </td> | ||
| + | |||
| + | <td align="center"> </td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | <tr> | ||
| + | |||
| + | <td align="right"><input type="hidden" name="h" value="3"></td> | ||
| + | |||
| + | <td align="center"><input type="submit" name="enviar" id="enviar" value="Enviar"></td> | ||
| + | |||
| + | </tr> | ||
| + | |||
| + | </table> | ||
| + | |||
| + | </form> | ||
| </html> | </html> | ||