• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP verif_access函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中verif_access函数的典型用法代码示例。如果您正苦于以下问题:PHP verif_access函数的具体用法?PHP verif_access怎么用?PHP verif_access使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了verif_access函数的16个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: call_menu_admin

function call_menu_admin()
{
    global $secteur_module;
    if (verif_access("Admin", true) && $secteur_module === 'Admin') {
        html_menu('jeu', array(array('Character', 'Game', 'Retour')));
        html_menu('Administration', array(array('Configuration', 'Admin', 'Configuration'), array('Bdd', 'Admin', 'base de données'), array('Pages', 'Admin', 'Pages'), array('Plugins', 'Admin', 'Plugins')));
        html_menu('Actualités', array(array('News', 'Admin', 'News'), array('Comments', 'Admin', 'Commentaires')));
        html_menu('Communauté', array(array('Accounts', 'Admin', 'Comptes'), array('Guilds', 'Admin', 'Guildes'), array('Orders', 'Admin', 'Ordres'), array('Classes', 'Admin', 'Classes'), array('Races', 'Admin', 'Races'), array('Works', 'Admin', 'Metiers')));
        html_menu('Géographie', array(array('Towns', 'Admin', 'Villes'), array('Landing', 'Admin', 'Terrains')));
        html_menu('Récit', array(array('Chapters', 'Admin', 'Chapitres'), array('Missions', 'Admin', 'Missions'), array('Quests', 'Admin', 'Quetes')));
        html_menu('Catalogue', array(array('Fragments', 'Admin', 'Fragments'), array('Equipment', 'Admin', 'Equipements'), array('Items', 'Admin', 'Objets'), array('Parchments', 'Admin', 'Parchemins')));
        html_menu('Talents', array(array('Levels', 'Admin', 'Niveaux'), array('Caracteristiques', 'Admin', 'Caractéristiques'), array('Magics', 'Admin', 'Magies')));
        html_menu('Bestiaire', array(array('Invocations', 'Admin', 'Chimères'), array('Monsters', 'Admin', 'Monstres')));
        html_menu('Forum', array(array('Categories', 'Admin', 'categories'), array('Forums', 'Admin', 'forums'), array('Topics', 'Admin', 'topics'), array('Posts', 'Admin', 'posts')));
        html_menu('Design', array(array('Design', 'Admin', 'design'), array('Images', 'Admin', 'images')));
    }
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:17,代码来源:Menu.php


示例2: setMessageEditionMode

 /**
  * Sets the message edition mode (stored in session)
  *
  * @param boolean $message_edit
  * @return boolean
  */
 public static function setMessageEditionMode($message_edit = null)
 {
     if (verif_access("Admin", true)) {
         if (!is_null($message_edit)) {
             $_SESSION['Account_Data']['Message_Mode'] = $message_edit;
         } elseif (isset($_SESSION['Account_Data']['Message_Mode'])) {
             if ($_SESSION['Account_Data']['Message_Mode'] === true) {
                 $_SESSION['Account_Data']['Message_Mode'] = false;
             } else {
                 if ($_SESSION['Account_Data']['Message_Mode'] === false) {
                     $_SESSION['Account_Data']['Message_Mode'] = true;
                 }
             }
             $message_edit = $_SESSION['Account_Data']['Message_Mode'];
         } else {
             $_SESSION['Account_Data']['Message_Mode'] = true;
         }
     } else {
         $_SESSION['Account_Data']['Message_Mode'] = false;
     }
     debug_log("mode " . ($message_edit ? "activé" : "desactivé"));
     header('location:' . getenv('HTTP_REFERER'));
 }
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:29,代码来源:Language.php


示例3:

<?php

if (verif_access("Modo")) {
    if (empty($_POST['Add'])) {
        echo '<form method="POST" action="' . get_link('Sanctions', 'Moderator') . '">';
        echo '<label for="Account_ID">Choix du joueur</label><br />';
        echo '<select name="Account_ID" ID="Account_ID">';
        echo get_list_option_user();
        echo '</select><br /><br />';
        echo 'Raison du banissement <br /> <input type="text" name="Account_Reason"><br /><br />';
        echo '<input type="submit" name="Add" value="Terminer">';
        echo '</form>';
    }
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:14,代码来源:Sanctions.php


示例4: list_db

<?php

$Messages_Q = list_db('public_chatroom');
echo '<meta http-equiv="refresh" content="5;URL=' . get_link('list', 'chat') . '">';
if (!empty($Messages_Q)) {
    echo '<table class="newsboard chatroom" >';
    foreach ($Messages_Q as $Messages) {
        $Pseudo = stripslashes($Messages['Account_Pseudo']);
        $ID_message = stripslashes($Messages['Chat_Message_ID']);
        echo '<tr>';
        echo '<td>';
        echo '<a href="' . get_link('Account', 'Forum', array('m' => $Account['Account_ID'], 'action' => 'consulter')) . '">';
        echo stripslashes($Pseudo);
        echo '</a>';
        echo '</td>';
        echo '<td class="message">';
        echo stripslashes($Messages['Chat_Message']);
        echo '</td>';
        if (verif_access("Admin", true)) {
            //echo '<td>'.time().'</td>';
            echo '<td>';
            echo '<form method="POST" action="' . get_link('list', 'chat') . '">';
            echo "<input type=\"hidden\" name=\"ID_message\" value=\"{$ID_message}\">";
            echo '<input type="submit" name="Delete" value="X">';
            echo '</form>';
            echo '</td>';
        }
        echo '</tr>';
    }
    echo '</table>';
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:List.php


示例5: menu_profil

<?php 
    }
}
?>


<div id="h_menu"><?php 
echo menu_profil();
?>
</div>
   
    <div id="left">
    <?php 
if (verif_access("Admin", true) && $secteur_module === 'Admin') {
    call_menu_admin();
} elseif (verif_access("Modo", true) && $secteur_module === 'Moderator') {
    call_menu_modo();
} elseif (verif_connect(true) && ($secteur_module !== 'Admin' && $secteur_module !== 'Moderator')) {
    call_menu_player();
} elseif (!verif_connect(true)) {
    call_menu_visitor();
}
if (!empty($_menu_)) {
    $ok = array();
    foreach ($_menu_ as $slug => $title) {
        $ok[] = array($slug, 'Contenu', $title);
    }
    html_menu('Informations', $ok, count_connect());
}
?>
    
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:30,代码来源:Left.php


示例6: extract

<?php

if (verif_access("Admin")) {
    if (request_confirm('End_Edit')) {
        extract($_POST);
        if (request_confirm('Constants')) {
            $Open_Config = fopen($_path . "Core/Constants.php", "w");
            fwrite($Open_Config, "{$Constants}");
            fclose($Open_Config);
        }
        if (request_confirm('Design')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Design.css", "w");
            fwrite($Open_Config, "{$Design}");
            fclose($Open_Config);
        }
        if (request_confirm('Header')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Templates/Head.php", "w");
            fwrite($Open_Config, "{$Header}");
            fclose($Open_Config);
        }
        if (request_confirm('Sub')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/Templates/Sub.php", "w");
            fwrite($Open_Config, "{$Sub}");
            fclose($Open_Config);
        }
        if (request_confirm('Footer')) {
            $Open_Config = fopen($_path . "Design/" . $MMORPG_Template . "/HTML/Footer.php", "w");
            fwrite($Open_Config, "{$Footer}");
            fclose($Open_Config);
        }
        if (request_confirm('Left')) {
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:Design.php


示例7: get_link

        ?>

<?php 
        echo '<h1>' . $Topic_Titre . '</h1>';
        if (verif_access($Auth_view)) {
            //On affiche les pages 1-2-3 etc...
            echo '<p>Page : ';
            for ($i = 1; $i <= $nombreDePages; $i++) {
                echo $i == $numpage ? $i : '<a href="' . get_link('Topic', 'Guild', array('t' => $Topic_ID, 'page' => $i)) . '">' . $i . '</a> ';
            }
            echo '</p>';
            if (verif_access($Auth_Post, true)) {
                //On affiche l'image répondre
                echo '<a href="' . get_link('Poster', 'Guild', array('action' => 'repondre', 't' => $Topic_ID)) . '">&diams;&nbsp;&nbsp;Répondre</a>';
            }
            if (verif_access($Auth_Topic, true)) {
                //On affiche l'image nouveau topic
                echo '<a href="' . get_link('Poster', 'Guild', array('action' => 'nouveautopic', 'f' => $Forum_ID)) . '">&plusmn;&nbsp;&nbsp;Nouveau Topic</a>';
            }
            //Enfin on commence la boucle !
            ?>
<br/>
<?php 
            //On vérifie que la requête a bien retourné des messages
            if (count($query) < 1) {
                echo '<p>Il n y a aucun post sur ce topic, vérifiez l url et reessayez</p>';
            } else {
                //Si tout roule on affiche notre tableau puis on remplit avec une boucle
                ?>
<table>
        <tr>
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:Topic.php


示例8: verif_auth

 /**
  * verifie si l'utilisateur n'es pas banni
  */
 function verif_auth()
 {
     if (verif_connect(true)) {
         if (verif_access("Admin", true)) {
             return true;
         }
         if (logged_data('Account_Status') === "Authorized") {
             return true;
         }
         if (logged_data('Account_Reason') !== "None") {
             return true;
         }
         if (logged_data('Account_Reason') !== "") {
             return true;
         }
     }
     return true;
 }
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:21,代码来源:Systems.php


示例9: get_link

 
<h1>Nouveau topic</h1>
<form method="post" action="<?php 
        echo get_link('Post', 'Forum', array('action' => 'nouveautopic', 'f' => $forum));
        ?>
" name="formulaire">
	 
	<fieldset><legend>Titre</legend>
	<input type="text" size="80" id="titre" name="titre" /></fieldset>
	<fieldset><legend>Message</legend>
	<?php 
        echo call_bbcode_editor("message");
        ?>
	<!--<textarea cols="70" rows="7" id="message" name="message"></textarea></fieldset>-->
	<?php 
        if (verif_access($Auth_Annonce, true)) {
            ?>
	<label><input type="radio" name="mess" value="Annonce" />Annonce</label>
	<label><input type="radio" name="mess" value="Message" checked="checked" />Topic</label>
	<?php 
        } else {
            ?>
	<input type="hidden" name="mess" value="Message" />
	<?php 
        }
        ?>
	</fieldset>
	<input type="submit" name="submit" value="Envoyer" />
	<input type="reset" name = "Effacer" value = "Effacer" />
	
</form>
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:30,代码来源:Poster.php


示例10: menu_profil

 function menu_profil()
 {
     global $already_call_menu_profil;
     if (!$already_call_menu_profil) {
         echo "<div class='city-menu'>";
         if (verif_connect(true)) {
             echo '<a href="' . get_Link('Profil', 'User') . '">' . LanguageValidation::nMsg('menu.profil') . '</a>' . LanguageValidation::eMsg('menu.profil') . ' - ';
             if (verif_access("Modo", true)) {
                 echo '<a href="' . get_Link('Main', 'Moderator') . '">' . LanguageValidation::nMsg('menu.moderator') . '</a>' . LanguageValidation::eMsg('menu.moderator') . ' - ';
             }
             if (verif_access("Admin", true)) {
                 echo '<a href="' . get_Link('Main', 'Admin') . '">' . LanguageValidation::nMsg('menu.admin') . '</a>' . LanguageValidation::eMsg('menu.admin') . ' - ';
                 echo '<a href="' . get_Link() . '?setMessageEditionMode=ok">' . LanguageValidation::nMsg('menu.edition') . '</a>' . LanguageValidation::eMsg('menu.edition') . ' - ';
             }
             echo '<a href="' . get_Link('Logout', 'User') . '">' . LanguageValidation::nMsg('menu.logout') . '</a>' . LanguageValidation::eMsg('menu.logout') . ' - ';
         }
         echo "</div>";
         $already_call_menu_profil = true;
     }
 }
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:20,代码来源:Functions.php


示例11: connexion

function connexion($Pseudo, $Password)
{
    global $baseline, $prefixe_salt, $suffixe_salt, $MMORPG_Access;
    $login = get_db('request_account', $_POST);
    $pswd = password_encode($prefixe_salt . $login['Account_Salt'] . $suffixe_salt, $Password);
    $restore = password_decode($prefixe_salt . $login['Account_Salt'] . $suffixe_salt, $login['Account_Password']);
    if ($login['Account_Password'] === $pswd && $restore === $Password) {
        if ($login['Account_Valid'] == '1') {
            if (!isConnected($login)) {
                get_user($Pseudo);
                if (verif_auth()) {
                    init_equipement_session();
                    get_perso($Pseudo);
                    get_equipement($Pseudo);
                    get_Guild($Pseudo);
                    clear_battle();
                    $ID = user_data('Account_ID');
                    $Date = date('Y-m-d H:i:s');
                    $IP = getRealIpAddr();
                    $Last_Connection = user_data('Account_Last_Connection');
                    $Last_IP = user_data('Account_Last_IP');
                    update_db('Caranille_Accounts', array('Account_Last_Connection' => $Date, 'Account_Last_IP' => $IP, 'Account_ID' => $ID));
                    if ($Last_IP !== $IP) {
                        $message = "ATTENTION!!!" . "\n";
                        $message .= "Votre dernière connexion ne provient pas de la même adresse IP." . "\n";
                        $message .= "Cela peut signifier qu'une autre personne se soit précédemment connectée avec votre compte." . "\n";
                        $message .= "Si par contre vous vous êtes connecté depuis un autre poste veuillez ignorer ce message.";
                        $message .= "\n\n";
                        $message .= "Pour information voici un détail de votre dernière connexion:." . "\n";
                        $message .= "- Date de connexion: {$Last_Connection} " . "\n";
                        $message .= "- Adresse IP: {$Last_IP} " . "\n";
                    }
                    if ($MMORPG_Access === "Yes") {
                        $baseline = 'Connection Réussi<br /><br />';
                        $baseline .= '<a href="' . get_link('Main', 'Public') . '">Commencer à jouer</a>';
                    } elseif ($MMORPG_Access === "No" && verif_access("Admin", true)) {
                        $baseline = 'Connection Réussi<br /><br />';
                        $baseline .= '<a href="' . get_link('Main', 'Admin') . '">Administration</a>';
                    } else {
                        $baseline = 'Le jeu est actuellement fermé, merci de revenir plus tard';
                        session_destroy();
                    }
                    return true;
                }
                return 2;
            }
            return 3;
        }
        return 4;
    }
    return 5;
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:52,代码来源:Login.php


示例12: get_link

<?php

if (verif_connect()) {
    echo LanguageValidation::iMsg("intro.public.chat");
    ?>
		
		<!--// chat_content -->
		<iframe class="chatroom-frame" src="<?php 
    echo get_link('list', 'Chat');
    ?>
"></iframe>
<?php 
    echo formulaire_input(array(text_input("label.chat.message", "Message", null, null, null, "placeholder.chat.message"), submit_input("Send", "btn.chat.send"), verif_access("Admin", true) ? submit_input("Clear", "btn.chat.clear") : null), "Chat-Send", get_link('Chat', 'User'), "post", null);
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:14,代码来源:Chat.php


示例13: list_db

        $totaldesmessages = 0;
        $categorie = NULL;
        //echo $r;
        $query = list_db('request_guild_forum', array('Guild_ID' => guild_data('Guild_ID')));
        //
        menu_guild();
        $map_cat = array();
        ?>

<table border="1" >
<?php 
        if (!empty($query)) {
            //Début de la boucle
            foreach ($query as $data) {
                extract(stripslashes_r($data));
                if (verif_access($Auth_view, true)) {
                    //On affiche chaque catégorie
                    if ($categorie != $Cat_ID) {
                        //Si c'est une nouvelle catégorie on l'affiche
                        $map_cat[$Cat_ID] = $Cat_nom;
                        $categorie = $Cat_ID;
                        ?>
				<tr>
				<th></th>
				<th class="titre"><strong><?php 
                        echo $Cat_nom;
                        ?>
</strong></th>             
				<th class="nombremessages"><strong>Sujets</strong></th>       
				<th class="nombresujets"><strong>Messages</strong></th>       
				<th class="derniermessage"><strong>Dernier message</strong></th>   
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:Main.php


示例14: insert_db

            insert_db('Caranille_Chat', array('Chat_Pseudo_ID' => $ID, 'Chat_Guild_ID' => $guild_ID, 'Chat_Message' => $Message));
            // }
        }
        if (verif_access("Admin", true)) {
            if (request_confirm('Chat-Clear')) {
                //if(verifier_token(600, get_link('Chat','Guild') ,  'guild-Chat-Send'))
                //{
                delete_db('Caranille_Chat', array('Chat_Guild_ID' => guild_data('Guild_ID')));
                echo 'Tous les messages ont bien été supprimé';
                //}
            }
        }
        echo "<div id='guild-chat'>";
        echo LanguageValidation::iMsg("intro.guild.chat");
        echo '<br />';
        echo '<iframe class="chatroom-frame" src="' . get_link('guild', 'Chat') . '"></iframe>';
        echo formulaire_input(array(text_input("label.chat.message", "chat_Message", null, null, null, "placeholder.chat.message"), submit_input("Chat-Send", "btn.chat.send"), verif_access("Admin", true) ? submit_input("Chat-Clear", "btn.chat.clear") : null), "guild-Chat-Send", null, "post", null);
        /**			
        			echo '<form method="POST" action="'.get_link("Chat","Guild").'">';
        			echo '<input type="text" name="chat_Message" placeholder="'.LanguageValidation::nMsg("placeholder.chat.message").'"/>'.LanguageValidation::eMsg("placeholder.chat.message");
        			echo '<input type="submit" name="Chat-Send" value="'.LanguageValidation::nMsg("btn.chat.send").'"/>'.LanguageValidation::eMsg("btn.chat.send");
        		
        			if(verif_access("Admin",true))
        				echo '<input type="submit" name="Clear" value="'.LanguageValidation::nMsg("btn.chat.clear").'"/>'.LanguageValidation::eMsg("btn.chat.clear");
        				
        			echo '<input type="hidden" name="token" value="'.generer_token('guild-Chat-Send').'" />';
        			echo '</form>';				
        **/
        echo "</div>";
    }
}
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:Chat.php


示例15: get_link

			<li><a href="#"><div class="important">Forum</div></a>
        		<ul>
        		    <li><a href="<?php 
        echo get_link('topics', 'Moderator');
        ?>
">Topic</a></li>
        		    <li><a href="<?php 
        echo get_link('posts', 'Moderator');
        ?>
">posts</a></li>
        	    </ul>
			</li>
        </ul>

<?php 
    } elseif (verif_access("Modo", true) && $secteur_module === 'Guild') {
        ?>
        <ul id="menu" class="admin-menu">
        	<li><a href="<?php 
        echo get_link('Main', 'Game');
        ?>
"><div class="important">Retour au jeu</div></a></li>
		</ul>
<?php 
    } else {
        if (verif_connect(true) && $secteur_module !== 'Moderator' && $secteur_module !== 'Admin') {
            ?>
	    <div class="important">MMORPG</div><br />
		<a href="<?php 
            echo get_Link('Main', 'Public');
            ?>
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:31,代码来源:Left.php


示例16: debug_screen

function debug_screen()
{
    global $debug_log_array, $debug_warning_array, $debug_notice_array, $debug_unknow_array, $debug_sql_array, $debug_sql_error, $_path, $Account_Data, $Stats_Data, $installing, $active_debug;
    if ($installing || verif_access("Admin", true) && $active_debug) {
        $html = "";
        $corrig_path = str_replace("/", '\\', $_path);
        if (!empty($debug_log_array)) {
            $content = "";
            $content .= "<table border='1'>";
            if (isset($debug_log_array)) {
                foreach ($debug_log_array as $x => $req) {
                    foreach ($req['trace'] as $n => $t) {
                        if ($n != 0 && $t['function'] !== 'debug_log') {
                            $content .= "<tr>";
                            if ($n == 1) {
                                $content .= "<th rowspan='" . (count($req['trace']) - 1) . "'>{$x}</th><td rowspan='" . (count($req['trace']) - 1) . "' >" . $req['message'] . "</td>";
                            }
                            $content .= "<td>" . (isset($t['file']) ? str_replace($corrig_path, "", $t['file']) : "") . "</td>\n\t\t\t\t\t\t\t\t<td>" . (isset($t['line']) ? $t['line'] : '') . "</td>\n\t\t\t\t\t\t\t\t<td>" . $t['function'] . "</td>\n\t\t\t\t\t\t\t\t<td>" . print_r($t['args'], 1) . "</td>";
                            $content .= "</tr>";
                        }
                    }
                }
            }
            $content .= "</table>";
            $html .= show_debug("log", "Log", $content);
        }
        if (!empty($Account_Data) && verif_connect(true)) {
            $content = "";
            $content .= debug_array($Stats_Data);
            $content .= debug_array($Account_Data);
            $html .= show_debug("perso", "Avatar", $content);
        }
        if (!empty($_SESSION)) {
            $html .= show_debug("session", "Session", debug_array($_SESSION));
        }
        if (!empty($debug_sql_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_sql_array as $x => $req) {
                $content .= "<tr><th>{$x}</th><td>{$req}</td>";
                if (isset($debug_sql_error[$x])) {
                    $content .= "<td>" . $debug_sql_error[$x][0] . "</td>";
                    $content .= "<td>" . $debug_sql_error[$x][1] . "</td>";
                    $content .= "<td>" . $debug_sql_error[$x][2] . "</td>";
                }
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("sql", "Requetes", $content);
        }
        if (!empty($_SERVER)) {
            $content = "";
            $content .= "<table border='1'>";
            $content .= debug_array($_SERVER);
            $content .= "</table>";
            $html .= show_debug("server", "Serveur", $content);
        }
        if (!empty($debug_warning_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_warning_array as $x => $req) {
                $content .= "<tr>";
                $content .= "<th>{$x}</th><td>" . $req['code'] . "</td><td>" . $req['message'] . "</td>";
                $content .= "<td>" . str_replace($corrig_path, "", $req['file']) . "</td>\n\t\t\t\t\t<td>" . $req['line'] . "</td>";
                if (isset($req['trace'])) {
                    $content .= "<td><table>";
                    foreach ($req['trace'] as $n => $t) {
                        if ($n != 0 && $t['function'] !== 'debug_log') {
                            $content .= "<tr>";
                            $content .= "<td>" . (isset($t['file']) ? str_replace($corrig_path, "", $t['file']) : "") . "</td>\n\t\t\t\t\t\t\t\t<td>" . (isset($t['line']) ? $t['line'] : '') . "</td>\n\t\t\t\t\t\t\t\t<td>" . $t['function'] . "</td>\n\t\t\t\t\t\t\t\t<td>" . print_r($t['args'], 1) . "</td>";
                            $content .= "</tr>";
                        }
                    }
                    $content .= "</table></td>";
                }
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("warning", "Alertes", $content, 2);
        }
        if (!empty($debug_notice_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_notice_array as $x => $req) {
                $content .= "<tr>";
                $content .= "<th>{$x}</th>";
                $content .= "<td>" . $req['code'] . "</td>";
                $content .= "<td>" . $req['message'] . "</td>";
                $content .= "<td>" . str_replace($corrig_path, "", $req['file']) . "</td>";
                $content .= "<td>" . $req['line'] . "</td>";
                $content .= "</tr>";
            }
            $content .= "</table>";
            $html .= show_debug("notice", "Avertissement", $content, 2);
        }
        if (!empty($debug_unknow_array)) {
            $content = "";
            $content .= "<table border='1'>";
            foreach ($debug_unknow_array as $x => $req) {
                $content .= "<tr>";
//.........这里部分代码省略.........
开发者ID:galadie,项目名称:Caranille-RPG,代码行数:101,代码来源:Debug.php



注:本文中的verif_access函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP verif_connect函数代码示例发布时间:2022-05-23
下一篇:
PHP verif_acces_ressource函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap