本文整理汇总了PHP中gdrcd_filter函数的典型用法代码示例。如果您正苦于以下问题:PHP gdrcd_filter函数的具体用法?PHP gdrcd_filter怎么用?PHP gdrcd_filter使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了gdrcd_filter函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: gdrcd_filter
<?php
}
?>
<?php
} else {
//$_SESSION['last_istant_message']=$max_id['max'];
?>
<div class="messaggio_forum_nuovo">
<a href="../main.php?page=messages_center&offset=0" target="_top">
<?php
if (empty($PARAMETERS['names']['private_message']['image_file_new']) === FALSE) {
echo '<img src="../themes/' . $PARAMETERS['themes']['current_theme'] . '/imgs/menu/' . $PARAMETERS['names']['private_message']['image_file_new'] . '" alt="' . gdrcd_filter('out', $PARAMETERS['names']['private_message']['plur']) . '" title="' . gdrcd_filter('out', $PARAMETERS['names']['private_message']['plur']) . '" />';
} else {
echo gdrcd_filter('out', $PARAMETERS['names']['private_message']['plur']);
}
?>
</a>
</div>
<?php
if ($PARAMETERS['mode']['alert_pm_via_pagetitle'] == 'ON') {
?>
<script type="text/javascript">
parent.blink_title("(<?php
echo $MESSAGE['interface']['forums']['topic']['new_posts']['sing'];
?>
) <?php
echo $PARAMETERS['info']['site_name'];
?>
示例2: gdrcd_filter
<!-- link crea nuovo -->
<div class="link_back">
<a href="main.php?page=gestione_gilde&op=new">
<?php
echo gdrcd_filter('out', $MESSAGE['interface']['administration']['guilds']['link']['new']);
?>
</a><br />
<a href="main.php?page=gestione_gilde&op=edit&id_record=-1">
<?php
echo gdrcd_filter('out', $MESSAGE['interface']['administration']['guilds']['link']['new_role']);
?>
</a><br />
<a href="main.php?page=gestione_tipi&types=guilds">
<?php
echo gdrcd_filter('out', $MESSAGE['interface']['administration']['guilds']['link']['menage_types']);
?>
</a>
</div>
<?php
}
//else
?>
</div><!-- page_body -->
<?php
}
//else (controllo permessi utente)
?>
示例3: gdrcd_filter
</select>
<br/><span class="casella_info"><?php
echo gdrcd_filter('out', $MESSAGE['chat']['commands']['item']);
?>
</span>
</div>
<?php
} else {
echo '<input type="hidden" name="id_item" id="id_item" value="no_item">';
}
?>
<div class="casella_chat">
<input type="submit" value="<?php
echo gdrcd_filter('out', $MESSAGE['interface']['forms']['submit']);
?>
" />
<input type="hidden" name="op" value="take_action">
</div>
</form>
</div>
<?php
}
?>
</div></div>
<?php
}
//else
?>
示例4: gdrcd_filter
//for
}
//if
?>
</div>
<!-- link crea nuovo -->
<div class="link_back">
<a href="main.php?page=forum&op=composer&what=-1&where=<?php
echo gdrcd_filter('num', $_REQUEST['what']);
?>
">
<?php
echo gdrcd_filter('out', $MESSAGE['interface']['forums']['link']['new_topic']);
?>
</a><br />
<a href="main.php?page=forum">
<?php
echo gdrcd_filter('out', $MESSAGE['interface']['forums']['link']['back']);
?>
</a>
</div>
<?php
}
//else
}
?>
</div><!-- Box principale -->
</div><!-- Pagina -->
示例5: gdrcd_query
<?php
}
//while
gdrcd_query($result, 'free');
?>
</select>
</div>
<div class="form_submit">
<input type="hidden"
name="op"
value="force" />
<input type="submit"
name="nulla"
value="<?php
echo gdrcd_filter('out', $MESSAGE['interface']['user']['pass']['submit']['user']);
?>
" />
</div>
</form>
</div>
</div>
<?php
}
//if
?>
<?php
}
示例6: gdrcd_filter
<div class="pegi_box">
<?php
include 'pages/pegi.inc.php';
?>
</div>
<!-- Pedice -->
</td>
</tr>
<tr>
<td class="home_bottom" colspan ="3">
<div class="homepage_info_box">
<?php
include 'includes/credits.inc.php';
?>
<?php
echo gdrcd_filter('out', $PARAMETERS['info']['site_name']) . ' - ' . gdrcd_filter('out', $MESSAGE['homepage']['info']['webm']) . ': ' . gdrcd_filter('out', $PARAMETERS['info']['webmaster_name']) . ' - ' . gdrcd_filter('out', $MESSAGE['homepage']['info']['email']) . ': <a href="mailto:' . gdrcd_filter('out', $PARAMETERS['info']['webmaster_email']) . '">' . gdrcd_filter('out', $PARAMETERS['info']['webmaster_email']) . '</a>. <br />' . $CREDITS . ' ' . $LICENCE;
?>
</div>
</td>
</tr>
</table>
</div>
示例7: gdrcd_filter
"
name="pg" />
</div>
</form>
</div>
<?php
}
?>
</div>
<!-- Link a piè di pagina -->
<div class="link_back">
<a href="main.php?page=scheda&pg=<?php
echo gdrcd_filter('url', $_REQUEST['pg']);
?>
"><?php
echo gdrcd_filter('out', $MESSAGE['interface']['sheet']['link']['back']);
?>
</a>
</div>
<?php
/********* CHIUSURA SCHEDA **********/
}
//else
}
//else
?>
</div>
</div><!-- Pagina -->
示例8: gdrcd_filter
">
<?php
echo $climate;
?>
</option>
<?php
}
?>
</select>
<input type="hidden"
name="meteo"
value="meteo_change"
class="game_form_input"/>
<input type="submit"
value="<?php
echo gdrcd_filter('out', $MESSAGE['interface']['maps']['set_meteo']);
?>
"
name="op" />
</div>
</form>
<?php
}
?>
</div>
<?php
}
//else
?>
示例9: gdrcd_filter
echo gdrcd_filter('out', $PARAMETERS['names']['stats']['car' . $row['car']]);
?>
</div></td>
<td class="casella_elemento"><div class="elementi_elenco"><?php
echo gdrcd_bbcoder(gdrcd_filter('out', $row['descrizione']));
?>
</div></td>
</tr>
<?php
}
//while
gdrcd_query($result, 'free');
?>
<tr><td colspan="3">
<div class="page_title"><h2><?php
echo gdrcd_filter('out', $MESSAGE['interface']['skills']['sys_tit']);
?>
</h2></div>
<div style='text-align: justify'><?php
echo gdrcd_filter('out', $MESSAGE['interface']['skills']['sys']);
?>
</div>
</td></tr>
</table>
</div><!--elenco_record_gioco-->
</div><!--panels_box-->
</div>
</div><!-- Box principale -->
示例10: gdrcd_filter
*/
if (!empty($_GET['content'])) {
$content = gdrcd_filter('include', $_GET['content']);
} else {
$content = 'home';
}
/** * Algoritmi di base della homepage
*/
/** * Conteggio utenti online
*/
$users = gdrcd_query("SELECT COUNT(nome) AS online FROM personaggio WHERE ora_entrata > ora_uscita AND DATE_ADD(ultimo_refresh, INTERVAL 4 MINUTE) > NOW()");
/** * Procedura di recupero Password
*/
$RP_response = '';
if (!empty($_POST['email'])) {
$newpass = gdrcd_query("SELECT email FROM personaggio WHERE email = '" . gdrcd_filter('in', $_POST['email']) . "' LIMIT 1", 'result');
if (gdrcd_query($newpass, 'num_rows') > 0) {
gdrcd_query($newpass, 'free');
$pass = gdrcd_genera_pass();
gdrcd_query("UPDATE personaggio SET pass = '" . gdrcd_encript($pass) . "' WHERE email = '" . gdrcd_filter('in', $_POST['email']) . "' LIMIT 1");
$subject = gdrcd_filter('out', $MESSAGE['register']['forms']['mail']['sub'] . ' ' . $PARAMETERS['info']['site_name']);
$text = gdrcd_filter('out', $MESSAGE['register']['forms']['mail']['text'] . ': ' . $pass);
mail($_POST['email'], $subject, $text, 'From: ' . $PARAMETERS['info']['webmaster_email']);
$RP_response = gdrcd_filter('out', $MESSAGE['warning']['modified']);
} else {
$RP_response = gdrcd_filter('out', $MESSAGE['warning']['cant_do']);
}
}
/** * Fine Recupero Password */
include 'themes/' . $PARAMETERS['themes']['current_theme'] . '/home/' . $page . '.php';
require 'footer.inc.php';
示例11: gdrcd_filter
?>
:</td>
<td><?php
echo $weekly_posts['num'];
?>
</td>
</tr>
<tr>
<td class="label"><?php
echo gdrcd_filter('out', $MESSAGE['interface']['user']['stats']['last_chat']);
?>
:</td>
<td><?php
echo $weekly_actions['num'];
?>
</td>
</tr>
<tr class="pair">
<td class="label"><?php
echo gdrcd_filter('out', $MESSAGE['interface']['user']['stats']['last_characters']);
?>
:</td>
<td><?php
echo $weekly_signup['num'];
?>
</td>
</tr>
</tbody>
</table>
示例12: gdrcd_controllo_esilio
/**
* 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;
}
示例13: explode
if ($_POST['op'] == 'fire') {
$subject = explode('-', gdrcd_filter('in', $_POST['ruolo']));
gdrcd_query("DELETE FROM clgpersonaggioruolo WHERE personaggio='" . $subject[0] . "' AND id_ruolo = " . gdrcd_filter('num', $subject[1]) . " LIMIT 1");
/*Confermo l'operazione*/
echo '<div class="warning">' . gdrcd_filter('out', $MESSAGE['interface']['adm_guilds']['ok_fire']) . '</div>';
/*Registro l'operazione*/
gdrcd_query("INSERT INTO log (nome_interessato, autore, data_evento, codice_evento ,descrizione_evento) VALUES ('" . $subject[0] . "', '" . $_SESSION['login'] . "', NOW(), " . DIMISSIONE . ", '" . gdrcd_filter('out', $subject[2]) . "')");
/*Avviso l'utente*/
if ($_SESSION['login'] != $subject[0]) {
gdrcd_query("INSERT INTO messaggi (mittente, destinatario, spedito, testo) VALUES ('" . $_SESSION['login'] . "', '" . $subject[0] . "', NOW(), '" . gdrcd_filter('in', $MESSAGE['interface']['adm-guilds']['message_body']['fire'] . ' ' . $subject[2]) . "')");
}
?>
<div class="panels_link">
<a href="main.php?page=servizi_adm_gilde"><?php
echo gdrcd_filter('out', $MESSAGE['interface']['adm_guilds']['back']);
?>
</a>
</div>
<?php
}
?>
</div>
</div><!-- Box principale -->
示例14: gdrcd_filter
<?php
if (file_exists('themes/' . $PARAMETERS['themes']['current_theme'] . '/home/' . $content . '.php')) {
include 'themes/' . $PARAMETERS['themes']['current_theme'] . '/home/' . $content . '.php';
}
?>
</div>
<br class="blank" />
</div>
<div id="footer">
<div>
<p><?php
echo gdrcd_filter('out', $PARAMETERS['info']['site_name']), ' - ', gdrcd_filter('out', $MESSAGE['homepage']['info']['webm']), ': ', gdrcd_filter('out', $PARAMETERS['info']['webmaster_name']), ' - ', gdrcd_filter('out', $MESSAGE['homepage']['info']['dbadmin']), ': ', gdrcd_filter('out', $PARAMETERS['info']['dbadmin_name']), ' - ', gdrcd_filter('out', $MESSAGE['homepage']['info']['email']), ': <a href="mailto:', gdrcd_filter('out', $PARAMETERS['info']['webmaster_email']), '">', gdrcd_filter('out', $PARAMETERS['info']['webmaster_email']), '</a>.';
?>
</p>
<p><?php
echo $CREDITS, ' ', $LICENCE;
?>
</p>
</div>
</div>
</div>
</div>
示例15: gdrcd_filter
if (empty($link_menu['image_file'])) {
if (!empty($link_menu['text'])) {
$content .= '>' . gdrcd_filter('out', $link_menu['text']);
}
} elseif (!empty($link_menu['sprite'])) {
$link_menu['class'] = empty($link_menu['class']) ? 'sprite' : $link_menu['class'] . ' sprite';
$content = 'style="background-image: url(themes/' . $PARAMETERS['themes']['current_theme'] . '/imgs/' . $mkey . '/' . $link_menu['image_file'] . ')" alt="' . gdrcd_filter('out', $link_menu['text']) . '" title="' . gdrcd_filter('out', $link_menu['text']) . '">';
} else {
if (empty($link_menu['image_file_onclick'])) {
$img_up = $link_menu['image_file'];
$img_down = $link_menu['image_file'];
} else {
$img_up = $link_menu['image_file'];
$img_down = $link_menu['image_file_onclick'];
}
$content = ' onMouseOver="n' . $mkey . $raw_counter . '_over_button()" onMouseOut="n' . $mkey . $raw_counter . '_up_button()"><img src= "themes/' . $PARAMETERS['themes']['current_theme'] . '/imgs/' . $mkey . '/' . $link_menu['image_file'] . '" alt="' . gdrcd_filter('out', $link_menu['text']) . '" title="' . gdrcd_filter('out', $link_menu['text']) . '" name="n' . $raw_counter . '_buttonOne" />';
echo '<SCRIPT LANGUAGE="JavaScript"> if (document.images) { var n' . $mkey . $raw_counter . '_button1_up = new Image(); n' . $mkey . $raw_counter . '_button1_up.src = "themes/' . $PARAMETERS['themes']['current_theme'] . '/imgs/' . $mkey . '/' . $img_up . '"; var n' . $mkey . $raw_counter . '_button1_over = new Image(); n' . $mkey . $raw_counter . '_button1_over.src = "themes/' . $PARAMETERS['themes']['current_theme'] . '/imgs/' . $mkey . '/' . $img_down . '";} function n' . $mkey . $raw_counter . '_over_button() { if (document.images) { document["n' . $mkey . $raw_counter . '_buttonOne"].src = n' . $mkey . $raw_counter . '_button1_over.src;}} function n' . $mkey . $raw_counter . '_up_button() { if (document.images) { document["n' . $mkey . $raw_counter . '_buttonOne"].src = n' . $mkey . $raw_counter . '_button1_up.src}}</SCRIPT>';
}
echo '<div class="link_menu"><a href="' . $link_menu['url'] . '" id="link_' . $mkey . '_' . $key . '"';
foreach ($link_menu as $k => $v) {
if (!in_array($k, array('text', 'image_file', 'url', 'image_file_onclick', 'sprite'))) {
echo $k . '="' . $v . '"';
}
}
echo $content . '</a></div>';
}
$raw_counter++;
}
/*HELP: Il menu viene generato automaticamente attingendo dalle informazioni contenute in config.inc.php. Tutte
le istruzioni su come usare e configurare i menù sono riportate nel file config.inc.php */
?>