From frik85@svn.reactos.com Thu Dec 15 20:49:03 2005 From: frik85@svn.reactos.com To: ros-diffs@reactos.org Subject: [ros-diffs] [frik85] 20196: RosCMS update: Date: Thu, 15 Dec 2005 20:50:08 +0100 Message-ID: <000001c601b0$c0c118f0$6b01a8c0@PENELOPE> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4969765825710973067==" --===============4969765825710973067== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit RosCMS update: * user accounts admin interface page: improve the navigation Modified: trunk/web/reactos.org/htdocs/roscms/inc/admin_user_accounts.php _____ Modified: trunk/web/reactos.org/htdocs/roscms/inc/admin_user_accounts.php --- trunk/web/reactos.org/htdocs/roscms/inc/admin_user_accounts.php 2005-12-15 19:12:37 UTC (rev 20195) +++ trunk/web/reactos.org/htdocs/roscms/inc/admin_user_accounts.php 2005-12-15 19:49:52 UTC (rev 20196) @@ -105,10 +105,6 @@ else { echo 'all users'; } - if ($rpm_filt == "history") { - echo ' | history'; - $ros_cms_intern_users_filt = "WHERE user_name = '".$rpm_opt."'"; - } echo '
'; if ($rpm_sort == "") { @@ -195,17 +191,221 @@ // Setting: $roscms_intern_items_per_page = 50; - $roscms_SET_curpos = ""; +$roscms_SET_letter = ""; if (array_key_exists("curpos", $_GET)) $roscms_SET_curpos=htmlspecialchars($_GET["curpos"]); +if (array_key_exists("letter", $_GET)) $roscms_SET_letter=htmlspecialchars($_GET["letter"]); + + + + echo ''; + + if ($roscms_SET_letter == "all" || $roscms_SET_letter == "") { + echo ' All '; + } + else { + echo ' All '; + } + + if ($roscms_SET_letter == "a") { + echo ' A '; + } + else { + echo ' A '; + } + + if ($roscms_SET_letter == "b") { + echo ' B '; + } + else { + echo ' B '; + } + + if ($roscms_SET_letter == "c") { + echo ' C '; + } + else { + echo ' C '; + } + + if ($roscms_SET_letter == "d") { + echo ' D '; + } + else { + echo ' D '; + } + + if ($roscms_SET_letter == "e") { + echo ' E '; + } + else { + echo ' E '; + } + + if ($roscms_SET_letter == "f") { + echo ' F '; + } + else { + echo ' F '; + } + + if ($roscms_SET_letter == "g") { + echo ' G '; + } + else { + echo ' G '; + } + + if ($roscms_SET_letter == "h") { + echo ' H '; + } + else { + echo ' H '; + } + + if ($roscms_SET_letter == "i") { + echo ' I '; + } + else { + echo ' I '; + } + + if ($roscms_SET_letter == "j") { + echo ' J '; + } + else { + echo ' J '; + } + + if ($roscms_SET_letter == "k") { + echo ' K '; + } + else { + echo ' K '; + } + + if ($roscms_SET_letter == "l") { + echo ' L '; + } + else { + echo ' L '; + } + + if ($roscms_SET_letter == "m") { + echo ' M '; + } + else { + echo ' M '; + } + + if ($roscms_SET_letter == "n") { + echo ' N '; + } + else { + echo ' N '; + } + + if ($roscms_SET_letter == "o") { + echo ' O '; + } + else { + echo ' O '; + } + + if ($roscms_SET_letter == "p") { + echo ' P '; + } + else { + echo ' P '; + } + + if ($roscms_SET_letter == "q") { + echo ' Q '; + } + else { + echo ' Q '; + } + + if ($roscms_SET_letter == "r") { + echo ' R '; + } + else { + echo ' R '; + } + + if ($roscms_SET_letter == "s") { + echo ' S '; + } + else { + echo ' S '; + } + + if ($roscms_SET_letter == "t") { + echo ' T '; + } + else { + echo ' T '; + } + + if ($roscms_SET_letter == "u") { + echo ' U '; + } + else { + echo ' U '; + } + + if ($roscms_SET_letter == "v") { + echo ' V '; + } + else { + echo ' V '; + } + + if ($roscms_SET_letter == "w") { + echo ' W '; + } + else { + echo ' W '; + } + + if ($roscms_SET_letter == "x") { + echo ' X '; + } + else { + echo ' X '; + } + + if ($roscms_SET_letter == "y") { + echo ' Y '; + } + else { + echo ' Y '; + } + + if ($roscms_SET_letter == "z") { + echo ' Z '; + } + else { + echo ' Z '; + } + + echo "
"; + + + if (!$roscms_SET_curpos) { $roscms_SET_curpos = 0; } +if ($roscms_SET_letter == "all") { + $roscms_SET_letter = "%"; +} + $query_count_cat=mysql_query("SELECT COUNT('user_id') FROM `users` WHERE `user_account_enabled` = 'yes' AND `user_account_hidden` = 'no' + AND `user_name` LIKE '" . $roscms_SET_letter . "%' ORDER BY `user_name` ASC ;"); $result_count_cat = mysql_fetch_row($query_count_cat); @@ -217,7 +417,7 @@ echo "".$j." "; } else { - echo "".$j." "; + echo "".$j." "; } } $j=0; @@ -240,9 +440,10 @@