コード例 #1
0
ファイル: forum.inc.php プロジェクト: WarriorDenB/GDRCD
                echo gdrcd_filter('out', $row['autore']);
                ?>
">
	   <?php 
                echo gdrcd_filter('out', $row['autore']);
                ?>
	  </a>
    </div></td>
	<td  class="casella_elemento">
	   <div class="elementi_elenco"><!-- Data -->
       <?php 
                echo $postsnumber . ' ' . gdrcd_filter('out', $MESSAGE['interface']['forums']['topic']['posts']);
                ?>
	   <div class="forum_date_big"><?php 
                if ($postsnumber > 0) {
                    echo gdrcd_filter('out', $MESSAGE['interface']['forums']['topic']['last_post']) . ':   ' . gdrcd_format_date($lastupdate) . ' ' . gdrcd_format_time($lastupdate);
                }
                ?>
</div>
	   </div>
	</td>
<?php 
                if ($_SESSION['permessi'] >= MODERATOR) {
                    /**	* Topic importanti/chiusi
                     * @author Blancks <*****@*****.**>
                     */
                    $set_imp = $row['importante'] ? '0' : '1';
                    $set_cls = $row['chiuso'] ? '0' : '1';
                    $img_imp = $row['importante'] ? 'importante.png' : 'non_importante.png';
                    $img_cls = $row['chiuso'] ? 'topic_chiuso.png' : 'topic_aperto.png';
                    $label_imp = $row['importante'] ? 'important' : 'not_important';
コード例 #2
0
                echo gdrcd_filter('out', $row['autore']);
                ?>
			 </div></td>
		     <td class="casella_elemento"><div class="elementi_elenco">
			 <a href="main.php?page=scheda&pg=<?php 
                echo gdrcd_filter('out', $row['nome_interessato']);
                ?>
">
			 <?php 
                echo gdrcd_filter('out', $row['nome_interessato']);
                ?>
			 </a>
			 </div></td>
			 <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_format_date($row['data_evento']) . ' ' . gdrcd_format_time($row['data_evento']);
                ?>
			 </div></td>
			 <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_filter('out', $row['descrizione_evento']);
                ?>
			 </div></td>
          </tr>
		  <?php 
            }
            //while
            gdrcd_query($result, 'free');
            ?>
       </table>
       </div>
コード例 #3
0
  </td>
  <td class="casella_titolo">
     <div class="titoli_elenco">
	    <?php 
                echo gdrcd_filter('out', $MESSAGE['interface']['sheet']['log']['name_change']);
                ?>
	 </div>
  </td>
</tr>
<?php 
                while ($record = gdrcd_query($result, 'fetch')) {
                    ?>
<tr>
  <td class="casella_elemento">
    <div class="elementi_elenco"><?php 
                    echo gdrcd_filter('out', gdrcd_format_date($record['data_evento']) . ' ' . gdrcd_format_time($record['data_evento']));
                    ?>
</div>
  </td>
   <td class="casella_elemento">
    <div class="elementi_elenco"><?php 
                    echo gdrcd_filter('out', $record['autore']);
                    ?>
</div>
  </td>
  <td class="casella_elemento">
    <div class="elementi_elenco"><?php 
                    echo gdrcd_filter('out', $record['descrizione_evento']);
                    ?>
</div>
  </td>
コード例 #4
0
	   <?php 
            if ($_GET['op'] == 'inviati') {
                echo '<a href="main.php?page=scheda&pg=' . $row['destinatario'] . '">' . $row['destinatario'] . '</a>';
            } elseif (is_numeric($row['mittente']) == TRUE) {
                echo gdrcd_filter('out', $MESSAGE['interface']['messages']['to_guild']);
            } else {
                echo '<a href="main.php?page=scheda&pg=' . $row['mittente'] . '">' . $row['mittente'] . '</a>';
            }
            ?>
 	   </div>
 	</td>
 	<td>
 	   <div class="elementi_elenco">
 	     <?php 
            $quando = explode(" ", $row['spedito']);
            echo gdrcd_format_date($quando[0]) . '<br/>' . gdrcd_filter('out', $MESSAGE['interface']['messages']['time']) . ' ' . gdrcd_format_time($quando[1]);
            ?>
 		</div>
 	</td>
 	<td>
 	   <div class="elementi_elenco">
 	     <a href="main.php?page=messages_center&op=read&id_messaggio=<?php 
            echo $row['id'];
            ?>
"><?php 
            echo gdrcd_filter('out', substr($row['testo'], 0, 40));
            ?>
...</a>
 	   </div>
 	</td>
 	<td>
コード例 #5
0
	    <?php 
    while ($row = gdrcd_query($result, 'fetch')) {
        ?>
		      <tr>
		      <td class="casella_elemento"><div class="elementi_elenco">
			  <a href="main.php?page=scheda&pg=<?php 
        echo gdrcd_filter('out', $row['nome']);
        ?>
">
			     <?php 
        echo gdrcd_filter('out', $row['nome']) . ' ' . gdrcd_filter('out', $row['cognome']);
        ?>
			  </a>
			  </div></td>
			  <td class="casella_elemento"><div class="elementi_elenco"><?php 
        echo gdrcd_format_date($row['data_iscrizione']) . ' ' . gdrcd_format_time($row['data_iscrizione']);
        ?>
</div></td>
			  </tr>
        <?php 
    }
    //while
    gdrcd_query($result, 'free');
    ?>
        </table>
        </div><!--elenco_record_gioco-->
        </div><!--panels_box-->
		<!-- Link di ritorno alla visualizzazione di base -->
	    <div class="link_back">
          <a href="main.php?page=user_stats&links=yes">
		     <?php 
コード例 #6
0
            ?>
			 </div></td>
		  </tr>
		  <!-- Record -->
          <?php 
            while ($row = gdrcd_query($result, 'fetch')) {
                ?>
	      <tr class="risultati_elenco_record_gestione">
             <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_filter('out', $row['mittente']);
                ?>
			 </div></td>
		     <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_format_date($row['ora']) . ' ' . gdrcd_format_time($row['ora']);
                ?>
			 </div></td>
			 <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                if (empty($row['destinatario']) === FALSE) {
                    echo '(-> ' . gdrcd_filter('out', $row['destinatario']) . ') ';
                }
                echo gdrcd_filter('out', $row['testo']);
                ?>
			 </div></td>
          </tr>
		  <?php 
            }
            //while
            gdrcd_query($result, 'free');
コード例 #7
0
            ?>
			 </div></td>
		  </tr>
		  <!-- Record -->
          <?php 
            while ($row = gdrcd_query($result, 'fetch')) {
                ?>
	      <tr class="risultati_elenco_record_gestione">
             <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_filter('out', $row['destinatario']);
                ?>
			 </div></td>
		     <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_format_date($row['spedito']) . ' ' . gdrcd_format_time($row['spedito']);
                ?>
			 </div></td>
			 <td class="casella_elemento"><div class="elementi_elenco">
			 <?php 
                echo gdrcd_filter('out', $row['testo']);
                ?>
			 </div></td>
          </tr>
		  <?php 
            }
            //while
            gdrcd_query($result, 'free');
            ?>
       </table>
       </div>
コード例 #8
0
                 * @author eLDiabolo
                 */
                $add_chat .= '<div class="chat_row_' . $row['tipo'] . '">';
                $add_chat .= '<span class="chat_time">' . gdrcd_format_time($row['ora']) . '</span>';
                $add_chat .= '<span class="chat_msg">' . gdrcd_filter('out', $row['testo']) . '</span>';
                /**	* Fix problema visualizzazione spazi vuoti con i sussurri
                 * @author eLDiabolo
                 */
                $add_chat .= '</div>';
                break;
            case 'O':
                /**	* Fix problema visualizzazione spazi vuoti con i sussurri
                 * @author eLDiabolo
                 */
                $add_chat .= '<div class="chat_row_' . $row['tipo'] . '">';
                $add_chat .= '<span class="chat_time">' . gdrcd_format_time($row['ora']) . '</span>';
                $add_chat .= '<span class="chat_msg">' . gdrcd_filter('out', $row['testo']) . '</span>';
                /**	* Fix problema visualizzazione spazi vuoti con i sussurri
                 * @author eLDiabolo
                 */
                $add_chat .= '</div>';
                break;
        }
        if ($row['id'] > (int) $last_message) {
            $last_message = $row['id'];
        }
    }
    gdrcd_query($query, 'free');
    $_SESSION['last_message'] = $last_message;
}
//if
コード例 #9
0
		  <div class="form_label">
		      <?php 
        echo gdrcd_filter('out', $MESSAGE['interface']['hotel']['room']);
        ?>
		  </div>
		  <div class="form_element">
		  <select name="id">
		  <?php 
        while ($row = gdrcd_query($result, 'fetch')) {
            ?>
              <?php 
            if ($row['scadenza'] > strftime('%Y-%m-%d %H:%M:%S')) {
                ?>
              <option value="" disabled>
                 <?php 
                echo gdrcd_filter('out', $row['luogo'] . ', ' . $row['nome']) . ' (' . $row['proprietario'] . ', ' . gdrcd_format_time($row['scadenza']) . ') ';
                ?>
			  </option>

			  <?php 
            } else {
                ?>
			  <option value="<?php 
                echo $row['id'] . '-' . $row['costo'];
                ?>
">
			     <?php 
                echo gdrcd_filter('out', $row['luogo'] . ', ' . $row['nome']) . ' (' . $row['costo'] . ' ' . strtolower($PARAMETERS['names']['currency']['plur']) . ' ' . $MESSAGE['interface']['hotel']['per_hour'] . ') ';
                ?>