$maximumTemporaire = 0;
for($i = 0; $i < $maximum; $i++){
if(
- ($order == "ASC" && $values[$i][$key] > $values[$i + 1][$key])
- || ($order == "DESC" && $values[$i][$key] < $values[$i + 1][$key])
+ (isset($values[$i + 1]) && $order == "ASC" && $values[$i][$key] > $values[$i + 1][$key])
+ || (isset($values[$i + 1]) && $order == "DESC" && $values[$i][$key] < $values[$i + 1][$key])
){
$tmp = $values[$i];
$values[$i] = $values[$i + 1];
#menu_top ul{
float: right;
padding-bottom: 0;
- border: solid 1px #e9e9e9;
- background-color: #ffffff;
- margin-top: 0.4em;
}
#menu_top ul:after{
list-style-type: none;
float: left;
position: relative;
- border-left: solid 1px #e9e9e9;
-}
-
-#menu_top ul li:first-child{
- border-left: none;
+ padding: 2px 5px 0 0;
}
#menu_top ul li a{
display: block;
padding: 5px 10px 5px 10px;
+ white-space : nowrap;
+ border: solid 1px #e9e9e9;
+ background-color: #ffffff;
+ border-radius: 2px;
+}
+
+#menu_top ul li a:hover{
+ color: #000066;
+ background-color: #f1f1f1;
}
#menu_top ul li ul{
top: 100%;
left: 0;
display: none;
- margin-top: 0;
}
#menu_top ul li ul li{
float: none;
- border-left: none;
- border-bottom: solid 1px #e9e9e9;
-}
-
-#menu_top ul li ul li:last-child{
- border-bottom: none;
}
#menu_top ul li ul li ul{
width: 50px;
}
+.navig{
+ text-align: right;
+ border: solid 1px #d5d5d5;
+ margin: 10px 0;
+ padding: 3px;
+}
/* --------------------------------------------- MESSAGES */
<?php
echo mw_navig
- ( $_GET[$this->param("start")],
+ ( isset($_GET[$this->param("start")]) ? $_GET[$this->param("start")] : 0,
$this->out[$items]["total"],
$this->config("max_list"),
$_SERVER["REQUEST_URI"],