<?php /*-------------------------------------------------------+ | PHP-Fusion Content Management System | Copyright 2002 - 2008 Nick Jones | <a href=\"http://www.php-fusion.co.uk/\" target=\"_blank\">http://www.php-fusion.co.uk/</a> +--------------------------------------------------------+ | Filename: user_rang_include.php | Author: Qwertz +--------------------------------------------------------+ | This program is released as free software under the | Affero GPL license. You can redistribute it and/or | modify it under the terms of this license which you | can read by viewing the included agpl.txt or online | at www.gnu.org/licenses/agpl.html. Removal of this | copyright header is strictly prohibited without | written permission from the original author(s). +--------------------------------------------------------*/ if ($profile_method == "input") { if (iADMIN && checkrights("C")){ } else { } } elseif ($profile_method == "display") { if ($user_data['user_rang']) { } } elseif ($profile_method == "validate_insert") { $db_fields .= ", user_rang"; } elseif ($profile_method == "validate_update") { ?>
Na wysuwane menu:, jednak jak ja próbuje to nie działa ;/ :
<?php /*-------------------------------------------------------+ | PHP-Fusion Content Management System | Copyright Š 2002 - 2008 Nick Jones | <a href=\"http://www.php-fusion.co.uk/\" target=\"_blank\">http://www.php-fusion.co.uk/</a> +--------------------------------------------------------+ | Filename: user_rang_include.php | Author: +--------------------------------------------------------+ | This program is released as free software under the | Affero GPL license. You can redistribute it and/or | modify it under the terms of this license which you | can read by viewing the included agpl.txt or online | at www.gnu.org/licenses/agpl.html. Removal of this | copyright header is strictly prohibited without | written permission from the original author(s). +--------------------------------------------------------*/ if ($profile_method == "input") { if (iADMIN && checkrights("C")){ } } elseif ($profile_method == "display") { echo "<td align='right' class='tbl1'>".($user_data['user_rang']=="1" ? Php.png : vip.png : girl.png : spammer.png : n00b.png : pomocnik.png : haker.png)."</td>\n"; } } elseif ($profile_method == "validate_insert" || $profile_method == "validate_update") { if ($profile_method == "validate_insert") { $db_fields .= ", user_rang"; $db_values .= ", '".$user_rang."'"; } else { $db_values .= ", user_rang='".$user_rang."'"; } } ?>
Za pomoc z góry dziękuję !