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>
<?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>
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';
<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['esilio']); ?> </div></td> <td class="casella_elemento"><div class="elementi_elenco"><?php echo gdrcd_filter('out', $row['motivo_esilio']) . ' (' . gdrcd_filter('out', $row['autore_esilio'] . ', ' . gdrcd_format_date($row['data_esilio']) . ') '); ?> </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">
<?php while ($record = gdrcd_query($result, 'fetch')) { ?> <tr> <!-- Oggetto, immagine, quantità --> <td class="casella_elemento"> <div class="elementi_elenco"><?php echo gdrcd_filter('out', $record['descrizione_evento']); ?> </div> </td> <td class="casella_elemento"> <div class="elementi_elenco"><?php echo gdrcd_filter('out', gdrcd_format_date($record['data_evento'])); ?> </div> </td> <td class="casella_elemento"> <div class="elementi_elenco"><?php echo gdrcd_filter('out', $record['autore']); ?> </div> </td> </tr> <?php } //while gdrcd_query($result, 'free'); ?>
?> </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');
?> <strong><?php echo gdrcd_filter('out', $MESSAGE['interface']['user']['stats']['page_name']); ?> </strong> <table class="statistics"> <tbody> <tr> <td class="label"><?php echo gdrcd_filter('out', $MESSAGE['interface']['user']['stats']['creation_date']); ?> :</td> <td><?php echo gdrcd_format_date($site_activity['date_of_activity']); ?> </td> </tr> <tr class="pair"> <td class="label"><?php echo gdrcd_filter('out', $MESSAGE['interface']['user']['stats']['characters']); ?> :</td> <td><?php echo $registered_users['num']; ?> </td> </tr> <tr> <td class="label"><?php
/** * Controlla se l'utente è esiliato o meno * @param string $pg: il nome del pg da ricercare * @return true se il pg è esiliato, false altrimenti */ function gdrcd_controllo_esilio($pg) { $exiled = gdrcd_query("SELECT autore_esilio, esilio, motivo_esilio FROM personaggio WHERE nome='" . gdrcd_filter('in', $pg) . "' LIMIT 1"); //TODO picco di complessità inutile per l'uso di LIKE. Mancanza di escape per db! if (strtotime($exiled['esilio']) > time()) { echo '<div class="error">', gdrcd_filter_out($pg), ' ', gdrcd_filter_out($GLOBALS['MESSAGE']['warning']['character_exiled']), ' ', gdrcd_format_date($exiled['esilio']), ' (', $exiled['motivo_esilio'], ' - ', $exiled['autore_esilio'], ')</div>'; return true; } return false; }
?> </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>
echo gdrcd_filter('fullurl', $record['url_img']); ?> " class="ritratto_avatar_immagine" /> </div> <div class="iscritto_da"> <?php echo gdrcd_filter('out', $MESSAGE['interface']['sheet']['first_login']) . ' ' . gdrcd_format_date($record['data_iscrizione']); ?> </div> <?php if (gdrcd_format_date($record['ora_entrata']) != '00/00/0000') { ?> <div class="ultimo_ingresso"> <?php echo gdrcd_filter('out', $MESSAGE['interface']['sheet']['last_login']) . ' ' . gdrcd_format_date($record['ora_entrata']); ?> </div> <?php } ?> <div class="ritratto_invia_messaggio"><!-- Link invia messaggio --> <a href="main.php?page=messages_center&newmessage=yes&reply_dest=<?php echo gdrcd_filter('url', $record['nome']); ?> " class="link_invia_messaggio"> <?php if (empty($PARAMETERS['names']['private_message']['image_file']) === FALSE) { ?>