Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <%@ include file="header.psp"%>
  2.     <h2>Elenco dediche</h2>
  3. <%
  4. if(lista_dediche):
  5. %>
  6.     <table border="1" padding="2"><thead>
  7.         <tr>
  8.             <td>
  9.                 <b>
  10.                     <a href="/PyGuestbook/index.py/ajax_dediche"
  11.                         onclick="return caricaDediche(this.href,'dataInserimento');"
  12.                         onkeypress="return this.onclick();">
  13.                         Data
  14.                     </a>
  15.                 </b>
  16.             </td>          
  17.             <td>
  18.                 <b>
  19.                     <a href="/PyGuestbook/index.py/ajax_dediche"
  20.                         onclick="return caricaDediche(this.href,'nickname');"
  21.                         onkeypress="return this.onclick();"
  22.                         >
  23.                             Nickname
  24.                     </a>
  25.                 </b>
  26.             </td>
  27.             <td>
  28.                 <b>
  29.                     <a href="/PyGuestbook/index.py/ajax_dediche"
  30.                         onclick="return caricaDediche(this.href,'email');"
  31.                         onkeypress="return this.onclick();"
  32.                         >
  33.                             Email
  34.                     </a>
  35.                 </b>
  36.             </td>
  37.             <td>
  38.                 <b>
  39.                     <a href="/PyGuestbook/index.py/ajax_dediche"
  40.                         onclick="return caricaDediche(this.href,'messaggio');"
  41.                         onkeypress="return this.onclick();"
  42.                         >
  43.                             Dedica
  44.                     </a>
  45.                 </b>
  46.             </td>
  47.             <td><b>Azioni</b></td>
  48.         <tr>
  49.         </thead>
  50.         <tbody id="tbDedicheBody">
  51. <%
  52.     for dedica in lista_dediche:
  53.        
  54. %>
  55.         <tr>
  56.             <td><%=dedica.getDataInserimento()%></td>
  57.             <td><%=dedica.getNickname()%></td>
  58.             <td><%=dedica.getEmail()%></td>
  59.             <td><%=dedica.getMessaggio()%></td>
  60.             <td>
  61.                 <a href="/PyGuestbook/index.py/edit_dedica?id=<%=dedica.getId()%>">Edit</a>&nbsp;&nbsp;
  62.                 <a href="/PyGuestbook/index.py/elimina_dedica?id=<%=dedica.getId()%>">Elimina</a>
  63.             </td>
  64.         <tr>
  65. <%
  66.    
  67. %>
  68.     </tbody></table>
  69. <%
  70.  
  71. %>
  72. <%@ include file="footer.psp"%>