if ($showNacClubSelection && $nacid && $nacclubid ) { ?>
diff --git a/MENU_second_menu.php b/MENU_second_menu.php
index bcab3187..1365ea26 100644
--- a/MENU_second_menu.php
+++ b/MENU_second_menu.php
@@ -86,7 +86,6 @@
?>
-
-
-
-
-=_MENU_FILTER?>
-
-
- if ($_SESSION["filter_clause"]) { ?>
- =_THE_FILTER_IS_ACTIVE?>
-
-=_MENU_FILTER ?>
-=_DEACTIVATE_FILTER?> - - } else { ?> - =_THE_FILTER_IS_INACTIVE?>
-=_MENU_FILTER ?> - } ?> - -
--=_MENU_FILTER ?>
-=_DEACTIVATE_FILTER?> - - } else { ?> - =_THE_FILTER_IS_INACTIVE?>
-=_MENU_FILTER ?> - } ?> - -
- if ($_SESSION["filter_clause"] && 0) { ?>
-
- } ?>
if ($op!='comp' ) { // custom ranks ?>
if ($_SESSION["filter_clause"]) {
@@ -258,12 +285,10 @@ function toogleMenu(name) {
$filterIcon='icon_filter_down.png';
}
?>
-
-
+
} ?>
-
+
$catLegend="";
@@ -468,31 +493,67 @@ function toogleMenu(name) {
} ?>
- if ($CONF['brands']['filter_brands'] ) { ?>
-
-
-
-
-
-
+ if ($CONF['brands']['filter_brands'] ) {
+
if (!$brandID) {
- echo _Select_Brand ;
- $brandImg='';
+
+ $brandImg="";
+ $brandLegend= $brandImg._Select_Brand ;
} else {
-
$brandImg=brands::getBrandImg($brandID,'',$cat);
- //$brandImg=" ";
- echo $brandImg.' '.$CONF['brands']['list'][$brandID];
-
- // echo $brandID;
+ $brandLegend= $brandImg.' '.$CONF['brands']['list'][$brandID];
}
- $brandsListFilter=brands::getBrandsList(1);
-?>
-
- if ( count($brandsListFilter) > 10 ) {
?>
-
-
-
- 'useCurrent','brandID'=>'0'))."'>"._All_Brands." "; - foreach($brandsListFilter as $brandNameFilter=>$brandIDfilter) { - echo "
- 'useCurrent','brandID'=>$brandIDfilter)). - "'>$brandNameFilter "; - } - echo "
- 'useCurrent','brandID'=>'0'))."'>"._All_Brands." "; + foreach($brandsListFilter as $brandNameFilter=>$brandIDfilter) { + echo "
- 'useCurrent','brandID'=>$brandIDfilter)). + "'>$brandNameFilter "; + } + echo "
- =_MENU_ALL_FLIGHTS ?> diff --git a/OP_flight.php b/OP_flight.php index 1a82b48a..f8bbe33d 100644 --- a/OP_flight.php +++ b/OP_flight.php @@ -92,7 +92,9 @@ function flights_find($arg) { $i=0; while ($row = mysql_fetch_assoc($res)) { $name=getPilotRealName($row["userID"],$row["serverID"]); - $link=htmlspecialchars ("http://".$_SERVER['SERVER_NAME'].getRelMainFileName()."&op=show_flight&flightID=".$row['ID']); + $link=htmlspecialchars ("http://".$_SERVER['SERVER_NAME']. + getLeonardoLink(array('op'=>'show_flight','flightID'=>$row['ID'])) + ); $this_year=substr($row['DATE'],0,4); $linkIGC=htmlspecialchars ("http://".$_SERVER['SERVER_NAME'].getRelMainDir().$flightsRelPath."/".$row[userID]."/flights/".$this_year."/".$row[filename] ); diff --git a/flight_submit.php b/flight_submit.php index 76f043f4..f6724e27 100644 --- a/flight_submit.php +++ b/flight_submit.php @@ -113,7 +113,9 @@ echo getAddFlightErrMsg($errCode,$flightID); } else { // echo "response=$flightID
+ + + }?> + + +
+ // display this url , New way , all is taken care from getLeonardoLink() + $thisURL=getLeonardoLink(array('op'=>'useCurrent','takeoffID'=>($takeoffID+0), + 'pilotID'=>$pilotID?($serverID+0).'_'.($pilotID+0):'0' ) ); + ?> + ++ + + + + ++ ++ + ++ + if ($_SESSION["filter_clause"]) { ?> + =_THE_FILTER_IS_ACTIVE?> ++
+=_MENU_FILTER ?>
+=_DEACTIVATE_FILTER?> + + } else { ?> + =_THE_FILTER_IS_INACTIVE?>
+=_MENU_FILTER ?> + } ?> + ++ +@@ -547,4 +593,6 @@ function toogleMenu(name) { require dirname(__FILE__)."/MENU_dates.php"; require_once dirname(__FILE__).'/MENU_filter_menu.php'; -?> \ No newline at end of file +?> + + \ No newline at end of file diff --git a/MENU_top_menu.php b/MENU_top_menu.php index a8ce26f8..e9c67ca4 100644 --- a/MENU_top_menu.php +++ b/MENU_top_menu.php @@ -271,6 +271,7 @@+ + $brandsListFilter=brands::getBrandsList(1); + if ( count($brandsListFilter) > 10 ) { +?> +- - }?> - - -@@ -509,33 +570,18 @@ function toogleMenu(name) {- \n
- // display this url , New way , all is taken care from getLeonardoLink() - $thisURL=getLeonardoLink(array('op'=>'useCurrent','takeoffID'=>($takeoffID+0), - 'pilotID'=>$pilotID?($serverID+0).'_'.($pilotID+0):'0' ) ); - ?> - + } else { + echo "-- \n
"; - echo _YOUR_FLIGHT_HAS_BEEN_SUBMITTED."
"._PRESS_HERE_TO_VIEW_IT.''; + echo _YOUR_FLIGHT_HAS_BEEN_SUBMITTED."
'show_flight','flightID'=>$flightID)). + "'>"._PRESS_HERE_TO_VIEW_IT.''; } // DEBUG_END(); diff --git a/img/list_header_c.gif b/img/list_header_c.gif new file mode 100644 index 00000000..02d5c467 Binary files /dev/null and b/img/list_header_c.gif differ diff --git a/img/list_header_l.gif b/img/list_header_l.gif new file mode 100644 index 00000000..dfcf77f0 Binary files /dev/null and b/img/list_header_l.gif differ diff --git a/img/list_header_r.gif b/img/list_header_r.gif new file mode 100644 index 00000000..15738519 Binary files /dev/null and b/img/list_header_r.gif differ diff --git a/img/toppanel_bg2.png b/img/toppanel_bg2.png new file mode 100644 index 00000000..70c1e06f Binary files /dev/null and b/img/toppanel_bg2.png differ diff --git a/img/toppanel_bg3.png b/img/toppanel_bg3.png new file mode 100644 index 00000000..f8fd9e33 Binary files /dev/null and b/img/toppanel_bg3.png differ diff --git a/rss.php b/rss.php index ce57b2d2..651015ed 100644 --- a/rss.php +++ b/rss.php @@ -68,7 +68,7 @@http://leonardo.thenet.gr Leonardo at ".$_SERVER['SERVER_NAME']." :: Latest flights - http://".$_SERVER['SERVER_NAME'].getRelMainFileName()." + http://".$_SERVER['SERVER_NAME'].getLeonardoLink(array('op'=>'list_flights'))."el Leonardo at ".$_SERVER['SERVER_NAME']." :: Latest flights ".$CONF_admin_email." @@ -97,7 +97,7 @@ $link=htmlspecialchars ("http://".$_SERVER['SERVER_NAME']. getLeonardoLink(array('op'=>'show_flight','flightID'=>$row['flightID'])) ); -// getRelMainFileName()."&op=show_flight&flightID=".$row['flightID']); + if ($row['takeoffVinicity'] > $takeoffRadious ) $location=getWaypointName($row['takeoffID'])." [~".sprintf("%.1f",$row['takeoffVinicity']/1000)." km]"; diff --git a/templates/basic/style.css b/templates/basic/style.css index 55b19783..d242cecc 100644 --- a/templates/basic/style.css +++ b/templates/basic/style.css @@ -187,11 +187,18 @@ html>body .mainBox { .pagesDiv { float:right; - width:auto; - padding-right:5px; - margin:0px 0px 0px 0px; + width:auto; + margin:12px 0px 0px 0px; text-align:right; padding:3px; + padding-top:0; + overflow:visible; + + float:none; + display:block; + position:absolute; + bottom:2px; + right:10px; } .flightOpDiv { @@ -398,7 +405,7 @@ table.listTable tr:hover , table.listTable tr.sfhover { /* listTable for tabber needs to be 15 px less*/ .listTableTabber { -width:745px; +width:760px; } @@ -687,3 +694,9 @@ table.dropDownBox td { margin-bottom:0px; } + +.brandImageDiv { + height:16px; + overflow:visible; + display:inline; +} \ No newline at end of file