本文整理汇总了PHP中request_data函数的典型用法代码示例。如果您正苦于以下问题:PHP request_data函数的具体用法?PHP request_data怎么用?PHP request_data使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了request_data函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: request_data
<?php
if (verif_access("Admin")) {
if (request_confirm('Second_Edit')) {
$Landing_ID = request_data('Landing_ID');
$Landings_List = get_db("edit_admin", array('table' => 'Caranille_Landings', 'ID' => 'Landing_ID', 'value' => $Landing_ID));
get_formulaire_Landing($Landings_List);
}
if (request_confirm('Add')) {
get_formulaire_Landing();
}
if (empty($_POST['Edit']) && empty($_POST['Second_Edit']) && empty($_POST['Add'])) {
echo 'Voici la liste des villes du MMORPG<br /><br />';
$Landings_List = list_db("list_t", array('table' => "Caranille_Landings"));
if (!empty($Landings_List)) {
foreach ($Landings_List as $Landings) {
$x = $Landings['Landing_PosX'];
$y = $Landings['Landing_PosY'];
$l_Landings[$x][$y] = $Landings;
}
}
if (file_exists("{$_path}/Sources/Admin/Modules/Towns/landing.php")) {
include_once "{$_path}/Sources/Admin/Modules/Towns/landing.php";
} else {
echo 'carte indisponible';
}
}
}
示例2: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des News du MMORPG<br /><br />';
list_html_db('Caranille_News', 'News', array('News_Title', 'News_Date', 'News_Account_Pseudo'));
} else {
if (request_confirm('Second_Edit')) {
$News_ID = request_data('News_ID');
$News_List = get_db("edit_admin", array('table' => 'Caranille_News', 'ID' => 'News_ID', 'value' => $News_ID));
get_formulaire($News_List);
} else {
if (request_confirm('Second_Show')) {
$News_List = get_db("edit_admin", array('table' => 'Caranille_News', 'ID' => 'News_ID', 'value' => request_data('News_ID')));
echo show_db('Caranille_News', $News_List);
} else {
if (request_confirm('Add')) {
get_formulaire();
} else {
echo 'Que souhaitez-vous faire ?<br />';
echo '<form method="POST" action="' . get_link("News", "Admin") . '">';
echo '<input type="submit" name="Add" value="Ajouter une News">';
echo '<input type="submit" name="Edit" value="Modifier une News">';
echo '</form>';
}
}
}
}
}
示例3: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des Invocations du mmorpg<br /><br />';
list_html_db('Caranille_Invocations', 'Invocations', array('Invocation_Name', 'Invocation_Description'));
} else {
if (request_confirm('Second_Edit')) {
$Invocation_ID = request_data('Invocation_ID');
$Invocations = get_db("edit_admin", array('table' => 'Caranille_Invocations', 'ID' => 'Invocation_ID', 'value' => $Invocation_ID));
get_formulaire_invocation($Invocations);
} else {
if (request_confirm('Second_Delete')) {
$Invocation_ID = request_data('Invocation_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Invocations", "Admin");
?>
">
<input type="hidden" name="Invocation_ID" value="<?php
echo $Invocation_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
get_formulaire_invocation($Invocations_List);
示例4: list_db
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
$Weapon_List = list_db("ref_list_t", array('table' => 'Caranille_Items', 'ID' => 'Item_Type', 'ref' => implode("','", $array_weapon_type)));
list_html($Weapon_List, "Caranille_Items", "Weapons", array('Item_Level', 'Item_Name', 'Item_Type', 'Item_HP_Effect', 'Item_MP_Effect', 'Item_Strength_Effect', 'Item_Magic_Effect', 'Item_Agility_Effect', 'Item_Defense_Effect'));
} else {
if (request_confirm('Second_Edit')) {
$Item_ID = request_data('Item_ID');
$Weapon = get_db("edit_admin", array('table' => 'Caranille_Items', 'ID' => 'Item_ID', 'value' => $Item_ID));
get_formulaire($Weapon);
} else {
if (request_confirm('Add')) {
get_formulaire();
} else {
if (request_confirm('Second_Delete')) {
$Item_ID = request_data('Item_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Weapons", "Admin");
?>
">
<input type="hidden" name="Item_ID" value="<?php
echo $Item_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
示例5: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des Monsters du MMORPG<br /><br />';
list_html_db('Caranille_Monsters', 'Monsters', array('Monster_Name', 'Monster_Level', 'Monster_Access'));
} else {
if (request_confirm('Second_Edit')) {
$Monster_ID = request_data('Monster_ID');
$Monsters = get_db("edit_admin", array('table' => 'Caranille_Monsters', 'ID' => 'Monster_ID', 'value' => $Monster_ID));
get_formulaire($Monsters);
} else {
if (request_confirm('Second_Delete')) {
$Monster_ID = request_data('Monster_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Monsters", "Admin");
?>
">
<input type="hidden" name="Monster_ID" value="<?php
echo $Monster_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
get_formulaire();
示例6: list_html_db
<?php
if (verif_access("Modo")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Topics', 'Topics', array('Topic_Forum_ID', 'Topic_Titre'));
} else {
if (request_confirm('Second_Edit')) {
$Topic_ID = request_data('Topic_ID');
$Topic_List = get_db("edit_admin", array('table' => 'Caranille_Topics', 'ID' => 'Topic_ID', 'value' => $Topic_ID));
formulaire($Topic_List);
} else {
if (request_confirm('Second_Delete')) {
$Topic_ID = request_data('Topic_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Topics", "Admin");
?>
">
<input type="hidden" name="Topic_ID" value="<?php
echo $Topic_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
formulaire();
示例7: get_link
echo '<form method="POST" action="' . get_link($table . "s", "Admin") . '">';
echo '<input type="submit" name="Edit" value="Modifier une ' . $table . '">';
echo '</form>';
echo "\n<p style='text-align:left;'>La fonction essentielle d'Une {$table} institutionnel n’est pas une fonction de jeux, mais une fonction de communication informative.</p>\n<p style='text-align:left;'>ses contenus sont donc destinés essentiellement :\n<br/>- aux partenaires divers de votre site \n<br/>- aux individus à la recherche d’informations diverses sur le site ou le jeu \n<br/>- aux investisseurs, actionnaires et analystes financiers \n<br/>- à la presse \n<br/>- aux personnes à la recherche d’emploi ou de stages \n<br/>- .....</p>\n<p style='text-align:left;'>Les principales rubriques et contenus dans ces " . $table . "s institutionnel sont généralement :\n<br/>- la présentation et l’organisation de l’activité \n<br/>- les hommes et chiffres clés de l’activité \n<br/>- l’information financière (cours de bourse, information financière obligatoire,..) \n<br/>- la rubrique emploi / stages \n<br/>- la rubrique presse \n<br/>- l’historique de la société \n<br/>- les engagements et fondations d’entreprises \n<br/>- ...</p>\n\t\t\t";
}
if (request_confirm('Edit')) {
echo 'Voici la liste des ' . $table . 's du MMORPG<br /><br />';
list_html_db('Caranille_' . $table . 's', $table . 's', array($table . '_Title', $table . '_Description', $table . '_Order'));
}
if (request_confirm('Second_Edit')) {
$table_ID = request_data($table . '_ID');
$table_r = get_db("edit_admin", array('table' => 'Caranille_' . $table . 's', 'ID' => $table . '_ID', 'value' => $table_ID));
formulaire($table_r);
}
if (request_confirm('Second_Delete')) {
$table_ID = request_data($table . '_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link($table . "s", "Admin");
?>
">
<input type="hidden" name="<?php
echo $table . '_ID';
?>
" value="<?php
echo eval("return \$" . $table . "_ID");
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
示例8: request_data
echo "<input type=\"hidden\" name=\"Menu_ID\" value=\"{$Menu_ID}\">";
echo '<input type="submit" name="Second_Edit" value="modifier">';
echo '<input type="submit" name="Second_Delete" value="supprimer">';
echo '</form></td>';
echo '</tr>';
}
echo '</table>';
//list_html_db('Caranille_Menus','Menus',array('Menu_Parent','Menu_Label','Menu_Link'));
}
if (request_confirm('Second_Edit')) {
$Menu_ID = request_data('Menu_ID');
$Menu_List = get_db("SELECT * FROM Caranille_Menus WHERE Menu_ID = '{$Menu_ID}' limit 1");
get_formulaire_Menu($Menu_List);
}
if (request_confirm('Second_Delete')) {
$Menu_ID = request_data('Menu_ID');
confirm_remove_db('Caranille_Menus', "Menus", $Menu_ID);
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Menus", "Admin");
?>
">
<input type="hidden" name="Menu_ID" value="<?php
echo $Menu_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
示例9: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des Caracteristiques du MMORPG<br /><br />';
list_html_db('Caranille_Caracteristiques', 'Caracteristiques', array('Caracteristique_Type', 'Caracteristique_Name', 'Caracteristique_Opposant', 'Caracteristique_Order'));
} elseif (request_confirm('Second_Edit')) {
$Caracteristique_ID = request_data('Caracteristique_ID');
$Caracteristique_List = get_db("edit_admin", array('table' => 'Caranille_Caracteristiques', 'ID' => 'Caracteristique_ID', 'value' => $Caracteristique_ID));
get_formulaire_Caracteristique($Caracteristique_List);
} elseif (request_confirm('Second_Delete')) {
$Caracteristique_ID = request_data('Caracteristique_ID');
confirm_remove_db('Caranille_Caracteristiques', "Caracteristiques", $Caracteristique_ID);
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Caracteristiques", "Admin");
?>
">
<input type="hidden" name="Caracteristique_ID" value="<?php
echo $Caracteristique_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} elseif (request_confirm('Add')) {
get_formulaire_Caracteristique();
} else {
echo 'Que souhaitez-vous faire ?<br />';
示例10: list_html_db
<?php
if (verif_access("Modo")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Posts', 'Posts', array('Post_Forum_ID', 'Post_Topic_ID', 'Post_Texte', 'Post_Time'));
} else {
if (request_confirm('Second_Edit')) {
$Post_ID = request_data('Post_ID');
$Post_List = get_db("edit_admin", array('table' => 'Caranille_Posts', 'ID' => 'Post_ID', 'value' => $Post_ID));
formulaire($Post_List);
} else {
if (request_confirm('Second_Delete')) {
$Post_ID = request_data('Post_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Posts", "Admin");
?>
">
<input type="hidden" name="Post_ID" value="<?php
echo $Post_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
echo 'Que souhaitez-vous faire ?<br />';
echo '<form method="POST" action="' . get_link("Posts", "Admin") . '">';
示例11: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Categories', 'Categories', array('Cat_Ordre', 'Cat_Nom'));
} else {
if (request_confirm('Second_Edit')) {
$Cat_ID = request_data('Cat_ID');
$Category_List = get_db("edit_admin", array('table' => 'Caranille_Categories', 'ID' => 'Cat_ID', 'value' => $Cat_ID));
formulaire($Category_List);
} else {
if (request_confirm('Second_Delete')) {
$Cat_ID = request_data('Cat_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Categories", "Admin");
?>
">
<input type="hidden" name="Cat_ID" value="<?php
echo $Cat_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
formulaire();
示例12: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Ressources', 'Ressources', array('Ressource_Description', 'Ressource_Name'));
} else {
if (request_confirm('Second_Edit')) {
$Ressource_ID = request_data('Ressource_ID');
$Ressource_r = get_db("edit_admin", array('table' => 'Caranille_Ressources', 'ID' => 'Ressource_ID', 'value' => $Ressource_ID));
formulaire($Ressource_r);
} else {
if (request_confirm('Second_Delete')) {
$Ressource_ID = request_data('Ressource_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Ressources", "Admin");
?>
">
<input type="hidden" name="Ressource_ID" value="<?php
echo $Ressource_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
formulaire();
示例13: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Races', 'Races', array('Race_Description', 'Race_Name'));
} else {
if (request_confirm('Second_Edit')) {
$Race_ID = request_data('Race_ID');
$Race_r = get_db("edit_admin", array('table' => 'Caranille_Races', 'ID' => 'Race_ID', 'value' => $Race_ID));
formulaire($Race_r);
} else {
if (request_confirm('Second_Delete')) {
$Race_ID = request_data('Race_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Races", "Admin");
?>
">
<input type="hidden" name="Race_ID" value="<?php
echo $Race_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
formulaire();
示例14: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des news du MMORPG<br /><br />';
list_html_db('Caranille_Comments', 'Comments', array('Comment_Date', 'Comment_Account_Pseudo', 'Comment_Message', 'Comment_News_ID'));
} else {
if (request_confirm('Second_Edit')) {
$Comment_ID = request_data('Comment_ID');
$Comment_List = get_db("edit_admin", array('table' => 'Caranille_Comments', 'ID' => 'Comment_ID', 'value' => $Comment_ID));
get_formulaire($Comment_List);
} else {
echo 'Que souhaitez-vous faire ?<br />';
echo '<form method="POST" action="' . get_link("Comments", "Admin") . '">';
echo '<input type="submit" name="Edit" value="Modifier un Comment">';
echo '</form>';
}
}
}
示例15: list_html_db
<?php
if (verif_access("Admin")) {
if (request_confirm('Edit')) {
echo 'Voici la liste des pages du MMORPG<br /><br />';
list_html_db('Caranille_Works', 'Works', array('Work_Description', 'Work_Name', 'Work_Fabrique'));
} else {
if (request_confirm('Second_Edit')) {
$Work_ID = request_data('Work_ID');
$Work_List = get_db("edit_admin", array('table' => 'Caranille_Works', 'ID' => 'Work_ID', 'value' => $Work_ID));
formulaire($Work_List);
} else {
if (request_confirm('Second_Delete')) {
$Work_ID = request_data('Work_ID');
?>
<p>Supprimer definitivement ?</p>
<form method="POST" action="<?php
echo get_link("Works", "Admin");
?>
">
<input type="hidden" name="Work_ID" value="<?php
echo $Work_ID;
?>
"/>
<input type="submit" name="Back" value="Annuler" />
<input type="submit" name="Delete" value="supprimer" />
</form>
<?php
} else {
if (request_confirm('Add')) {
formulaire();