//
// $Id: GUI_admin_pilot_map.php,v 1.12 2012/01/16 07:21:22 manolis Exp $
//
//************************************************************************
//test of pilot priority mapping
/* 
	require_once dirname(__FILE__).'/CL_logReplicator.php';
	 logReplicator::checkPilot(12,array(userID=>101678));
	exit; 
*/
if (!L_auth::isAdmin($userID)) {
    echo "go away";
    return;
}
$legend = "Pilot Mapping Tables";
openMain($legend, 0, '');
if ($_GET['moveFlights']) {
    $confirmMove = $_GET['confirmMoveFlights'] + 0;
    echo "MOVING ALL FLIGHTS FROM MAPPED EXTERNAL PILOTS TO THEIR LOCALY MAPPED ID<BR><BR>";
    if (!$confirmMove) {
        echo "The listing below is what will be moved. <a href='" . CONF_MODULE_ARG . "&op=admin_pilot_map&moveFlights=1&confirmMoveFlights=1'>***PRESS HERE TO CONFIRM ***</a><BR><BR>\n";
    }
    $compareField = 'hash';
    if (1) {
        $localServerOnlyClause = " AND  {$remotePilotsTable}.serverID  = 0 ";
    } else {
        $localServerOnlyClause = " AND  {$remotePilotsTable}.serverID  = 5 ";
    }
    $query = "SELECT * , {$remotePilotsTable}.userID as localUserID, {$remotePilotsTable}.serverID as localServerID FROM {$remotePilotsTable} , {$flightsTable} WHERE \n\t\t\t\t\t {$flightsTable}.userID = {$remotePilotsTable}.remoteUserID AND \n\t\t\t\t\t  {$flightsTable}.userServerID = {$remotePilotsTable}.remoteServerID  \n\t\t\t\t\t  {$localServerOnlyClause}\n\t\t\t\t\tORDER BY remoteServerID ASC";
    // echo "#count query#$query<BR>";
    $res = $db->sql_query($query);
//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_list_areas.php,v 1.6 2010/03/14 20:56:11 manolis Exp $
//
//************************************************************************
require_once dirname(__FILE__) . '/CL_area.php';
$areaID = makeSane($_GET['areaID'], 1);
openMain(_Flying_Areas, 0, 'icon_takeoff.gif');
?>

  <table class=main_text width="564"  border="0" align="center" cellpadding="3" cellspacing="1">
    <tr> 
      <td><?php 
echo _Name_of_Area;
?>
</td>
	  <td>&nbsp;</td>
   </tr>
<?php 
$query = "SELECT * FROM {$areasTable} WHERE areaType=0 ORDER BY name";
// $query="SELECT * FROM $areasTable ORDER BY name";
// echo $query;
$res = $db->sql_query($query);
Beispiel #3
0
        $FILTER_from_day_text = "";
        $FILTER_to_day_text = "";
        $FILTER_linear_distance_op = ">=";
        $FILTER_linear_distance_select = "";
        $FILTER_olc_distance_op = ">=";
        $FILTER_olc_distance_select = "";
        $FILTER_olc_score_op = ">=";
        $FILTER_olc_score_select = "";
        $FILTER_duration_op = ">=";
        $FILTER_duration_hours_select = "";
        $FILTER_duration_minutes_select = "";
        $FILTER_PilotBirthdate_op = ">=";
        $FILTER_PilotBirthdate_text = "";
    }
}
openMain(_FILTER_PAGE_TITLE, 0, '');
if ($_REQUEST["setFilter"]) {
    echo "<div align='center'><a href='" . getLeonardoLink(array('op' => 'list_flights')) . "'>" . _RETURN_TO_FLIGHTS . "</a></div><br><br>";
}
// echo 	"<ul>".$filter->filterTextual ."</ul>";
if ($_SESSION["fltr"]) {
    $filterUrl = "http://" . $_SERVER['SERVER_NAME'] . getLeonardoLink(array('op' => 'list_flights'));
    /// Martin Jursa 21.06.2007 add bookmark-javascript
    $browser = getBrowser();
    $agent = !empty($browser[0]) ? $browser[0] : '';
    $is_ie = $agent == 'ie';
    $filterbasename = $_SERVER['SERVER_NAME'];
    if ($is_ie) {
        $js = "\n<script type=\"text/javascript\" language=\"JavaScript\">\n<!--\nfunction addFavorite() {\n\tif (document.all) {\n\t\tvar url='{$filterUrl}';\n\t\tvar title='{$filterbasename} Filter';\n\t\twindow.external.AddFavorite(url, title);\n\t}\n}\n//   -->\n</script>\n";
    } else {
        $js = '';
    // submit form
    $PREFS->themeName = makeSane($_POST['PREFS_themeName'], 0);
    $PREFS->itemsPerPage = makeSane($_POST['PREFS_itemsPerPage'], 1);
    $PREFS->metricSystem = makeSane($_POST['PREFS_metricSystem']);
    $PREFS->language = makeSane($_POST['PREFS_language']);
    $_SESSION["lng"] = $PREFS->language;
    $PREFS->viewCat = makeSane($_POST['PREFS_viewCat'], 1);
    $_SESSION["cat"] = $PREFS->viewCat;
    $PREFS->viewCountry = makeSane($_POST['PREFS_viewCountry']);
    $_SESSION["country"] = $PREFS->viewCountry;
    echo "<div align=center>" . _Your_settings_have_been_updated . "<br><br><a href='" . getLeonardoLink(array('op' => 'list_flights')) . "'>" . _RETURN_TO_FLIGHTS . "</a><br><br></div>";
}
?>
<form name=userPrefs  method="POST" >
<?php 
openMain(_MENU_MY_SETTINGS, 0, "icon_profile.png");
?>

  <table  width="100%" border="0" bgcolor="#F4F3F1" cellpadding="3" align="left" class="box main_text" style="background-color:#F4F3F1">
  	<tr> 
      <td colspan="3" >&nbsp;</td>
    </tr>
    <tr> 
      <td width="284" bgcolor="#E0E2F0"><div align="right"><?php 
echo _THEME;
?>
</div></td>
      <td width="236"><select name="PREFS_themeName">		
<?php 
$themes = getAvailableThemes();
foreach ($themes as $tmpTheme) {
Beispiel #5
0
//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_rss_conf.php,v 1.10 2010/11/21 14:26:01 manolis Exp $
//
//************************************************************************
list($countriesCodes, $countriesNames) = getCountriesList();
$rss_url_base = "http://" . $_SERVER['SERVER_NAME'] . getRelMainDir() . "rss.php";
$rss_url_base_comments .= $rss_url_base . "?op=comments";
openMain("Configure RSS Feed", 0, "icons1/rss.gif");
?>
<script language="javascript">

function updateRssURL() {
	var	a1="country="+$("#country_select").val();
	var	a2="&olcScore="+$("#olc_score_select").val();
	var	a3="&c=".concat($("#item_num_select").val());

	var base='<?php 
echo $rss_url_base;
?>
?';
	var rss_url= base.concat(a1,a2,a3);
	var rss_url_comments= base.concat('op=comments',a3);
	var rss_link="<a href='"+rss_url+"' target='_blank'>"+rss_url+"</a>";
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr><td class="infoBoxHeader" style="width:725px;" >
	<div align="left" style="display:inline; float:left; clear:left;" id="takeoffBoxTitle">Register Takeoff</div>
	<div align="right" style="display:inline; float:right; clear:right;">
	<a href='#' onclick="toggleVisible('takeoffAddID','takeoffAddPos',14,-20,0,0);return false;"><img src='<?php 
echo $moduleRelPath . "/templates/" . $PREFS->themeName;
?>
/img/exit.png' border=0></a></div>
	</td></tr></table>
	<div id='addTakeoffDiv'>
		<iframe name="addTakeoffFrame" id="addTakeoffFrame" width="700" height="320" frameborder=0 style='border-width:0px'></iframe>
	</div>
</div>
<?php 
$datafile = $_FILES['datafile']['name'];
openMain(_SUBMIT_FLIGHT, 0, "icon_add.png");
if ($datafile == '') {
    ?>

<script src="<?php 
    echo $moduleRelPath;
    ?>
/js/jquery.selectboxes.js" type="text/javascript"></script>
<script src="<?php 
    echo $moduleRelPath;
    ?>
/js/flight_info.js" type="text/javascript"></script>
<script language="JavaScript">

function submitForm() {
	var filename=$("#datafile").val();
Beispiel #7
0
 *   email                : support@phpbb.com
 *
 *   $Id: GUI_login.php,v 1.20 2010/09/06 13:02:33 manolis Exp $
 *
 *
 ***************************************************************************/
/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/
// openMain(_ENTER_PASSWORD,0,"");
openMain(_MENU_LOGIN, 0, "");
//
// Allow people to reach login page if
// board is shut down
//
define("IN_LOGIN", true);
define('IN_PHPBB', true);
$phpbb_root_path = './';
//require_once($phpbb_root_path . 'extension.inc');
//require_once($phpbb_root_path . 'common.'.$phpEx);
//
// Set page ID for session management
//
$userdata = session_pagestart($user_ip, PAGE_LOGIN);
// init_userprefs($userdata);
//
			<input type="submit" value="<?php 
            echo $areaAction;
            ?>
 Area" />
			<?php 
            ?>
</td>
		  </tr>
		</table>
		</form>	
<?php 
        }
        closeMain();
    } else {
        if ($areaAction == 'administerTakeoffs') {
            openMain("Administer Takeoffs for Area # {$areaID}", 0, '');
            echo "<div align=center><a href='" . getLeonardoLink(array('op' => 'area_admin', 'areaAction' => 'none', 'areaID' => 0)) . "'>RETURN TO LIST</a> </div><BR>";
            ?>
<script src="<?php 
            echo $moduleRelPath;
            ?>
/js/jquery.selectboxes.js" type="text/javascript"></script>
<script language="javascript">

function removeTakeoffFromArea() {
		
}
	
function  addTakeoffToArea ()  {		
	$("#resDiv").html("<img src='<?php 
            echo $moduleRelPath;
    ?>
';

function setCIVL_ID() {
	window.open('<?php 
    echo getRelMainDir();
    ?>
/GUI_EXT_civl_name_search.php?CIVL_ID_field=CIVL_ID&gender_field=gender&nation_field=nation&name_field=name', '_blank',    'scrollbars=yes,resizable=yes,WIDTH=650,HEIGHT=150,LEFT=100,TOP=100',true);
}
</script>
<script language="javascript" src="<?php 
    echo getRelMainDir();
    ?>
/js/civl_search.js"></script>
<?php 
    openMain(sprintf(_Attention_mandatory_to_have_civlid, $CONF['site']['name']), 0, '');
    ?>
<table width='500' cellspacing='2' cellpadding='2' align='center'>
<tr><th><?php 
    echo sprintf(_Attention_mandatory_to_have_civlid, $CONF['site']['name']);
    ?>
</th></tr> 

<tr><td><?php 
    echo _If_you_agree;
    ?>
</td></tr>
<tr><td><?php 
    echo sprintf(_Search_civl_by_name, "<a href='#' onclick='setCIVL_ID();return false;'>", "</a>");
    ?>
</td></tr><tr><td>
Beispiel #10
0
 while($entryname = readdir($current_dir)){
    if(is_dir("$dir/$entryname") and ($entryname != "." and $entryname!="..")){		
	  //	echo "${dir}/${entryname}#<br>";
		chmod("${dir}/${entryname}",0777);       
		chmodDir("${dir}/${entryname}");
       
    }elseif($entryname != "." and $entryname!=".."){
	  // echo "${dir}/${entryname}@<br>";
      chmod("${dir}/${entryname}",0777);
    }
 }
 chmod($dir,0777);       
 closedir($current_dir);
}
	
  openMain("ADMIN AREA",0,'');

	if (!L_auth::isAdmin($userID)) {
		echo "<br><br>You dont have access to this page<BR>";
		exitPage();
	}
	$admin_op=makeSane($_GET['admin_op']);

	$logEntries=makeSane($_GET['logEntries'],1);	
	if ( $logEntries=='' ) {
		$logEntries=500; 
	}

	$logScoreEntries=makeSane($_GET['logScoreEntries'],1);	
	if ( $logScoreEntries=='' ) {
		$logScoreEntries=2000; 
<?php

/**
 * Modified to work by martin jursa, 25.05.2009
 */
require_once $LeoCodeBase . "/CL_mail.php";
openMain(_PASSWORD_RECOVERY_TOOL, 0, "");
if ($userID > 0) {
    echo "<span class='note'>" . _You_are_already_logged_in . "</span>";
    closeMain();
    return;
}
if (isset($_GET['rkey'])) {
    $rk = trim(addslashes($_GET['rkey']));
    if (strlen($rk) > 10) {
        $sql = "update " . $CONF['userdb']['users_table'] . " set user_active=1, user_emailtime=0, user_actkey='',  user_password=user_newpasswd where user_actkey='{$rk}'";
        $db->sql_query($sql);
        $ar = $db->sql_affectedrows();
        if ($ar == 1) {
            $msg = _PwdChanged;
            echo "<br><span class='ok'><b>{$msg}</b></span><br>";
        } else {
            $msg = _PwdNotChanged . " " . _request_key_not_found;
            echo "<br><span class='alert'><b>{$msg}</b></span><br>";
        }
    } else {
        $msg = _PwdNotChanged . " " . _request_key_invalid;
        echo "<br><span class='alert'><b>{$msg}</b></span><br>";
    }
    closeMain();
    return;
}
?>
$(document).ready(function() {
	$("#pilotName").autocomplete("<?php 
echo $moduleRelPath;
?>
/EXT_pilot_functions.php?op=findPilot", { minChars:3, matchSubset:1, matchContains:1, cacheLength:10, onItemSelect:selectItem, formatItem:formatItem, selectOnly:1 , enc:'<?php 
echo $CONF_ENCODING;
?>
' });

});

</script>
<?php 
openMain(_MENU_SEARCH_PILOTS, 0, "icon_pilot.gif");
echo _MENU_SEARCH_PILOTS;
?>
: <BR />
<?php 
echo _Pilot_search_instructions;
?>
<BR /><BR>
<?php 
echo _PILOT_NAME;
?>
: <input id="pilotName" name="pilotName" type="text" />
<input id="pilotNameStr" name="pilotNameStr" type="hidden" />

<div style="width:500px">
	<div id="pilotMenu">
	color:#000000;
	font-weight:normal;
	background-color:#F5E9CB;
}

.legend2 legend {	background-color: #D6E5F6 }
.legend3 legend {	background-color: #D7F5CB }

</style>
<? 
require_once dirname(__FILE__).'/FN_editor.php';
?>
  <form name="inputForm" id="inputForm"  action="" enctype="multipart/form-data" method="post" onsubmit="return submitForm();">	
  <input type="hidden" name="changeFlight" value=1>
  <input type="hidden" name="flightID" value="<? echo $flightID ?>">
  <?  openMain(_CHANGE_FLIGHT_DATA,0,"change_icon.png"); ?>
  <table class=main_text width="100%" border="0" align="center" cellpadding="0" cellspacing="3" bgcolor="#E6EAE6" >

<? if ($enablePrivateFlights || L_auth::isAdmin($userID) ) { ?>
    <tr>
      <td colspan=2 valign="top">  
	  <div align="right">
		  <? if ($enablePrivateFlights ) { ?>      	
              <input type="checkbox" name="is_private" value="1" <? echo ($flight->private & 1)?"checked":"" ?> >
             <? echo  _IS_PRIVATE ?>    
		<? } ?>
		<? if ( L_auth::isAdmin($userID) ) { ?>
              <input type="checkbox" name="is_disabled" value="1" <? echo ($flight->private & 2)?"checked":"" ?> >
             <? echo  "Disable Flight"; ?>    
		<? } ?>
		</div>         
<?
require_once $LeoCodeBase."/CL_mail.php";

// echo "http://".str_replace('//','/',$_SERVER['SERVER_NAME'].getRelMainDir().'/'.$CONF_mainfile).'?op=ref';

openMain(sprintf(_Registration_Form,$CONF['site']['name'] ),0,'');

// now defined in site/predefined/3/config.php
//$CONF['userdb']['users_temp_table']="leonardo_temp_users";

$sql="delete from ".$CONF['userdb']['users_temp_table']." where user_regdate <= '".(time()-(3*60*60))."'";
$db->sql_query($sql); 

// Activate the user account
if( isset($_GET['rkey']) && !($_POST) ){ 

	$sql="select * from ".$CONF['userdb']['users_temp_table']." where user_actkey ='".$_GET['rkey']."'";
	$result = $db->sql_query($sql);
	$user_exist = $db->sql_numrows($result);

	if($user_exist!=1){
		echo "<p align='center'>."._Server_did_not_found_registration."</p>";
		closeMain();return;	
	}
		
	$user=$db->sql_fetchrow($result);

	$sql1="insert into ". $CONF['userdb']['users_table'] .
			" ( user_active, username,  user_password, user_session_time, user_regdate, user_email, user_actkey )
			values  ( '1', '".$user['user_name']."' , '".leonardo_hash($user['user_password'])."',
			'".$user['user_session_time']."', '".time()."', '".$user['user_email']."',  '".$user['user_actkey']."' )"; 
    $waypt->countryCode = $_POST['countryCode'];
    $waypt->link = $_POST['link'];
    $waypt->description = $_POST['description'];
    if ($waypt->putToDB(1)) {
        echo "<center>" . _THE_CHANGES_HAVE_BEEN_APPLIED . "<br>";
        echo "<a href='" . getLeonardoLink(array('op' => 'show_waypoint', 'waypointIDedit' => $waypointIDedit)) . "'>RETURN to view mode</a> or ";
        echo "<a href='" . getLeonardoLink(array('op' => 'list_flights')) . "'>RETURN to flights</a>";
        echo "<br></center>";
    } else {
        echo "<H3> Error in puting waypoint info into DB! </H3>\n";
    }
}
$waypt = new waypoint($waypointIDedit);
$waypt->getFromDB();
require_once dirname(__FILE__) . '/FN_editor.php';
openMain("Edit waypoint", 760, "icon_pin.png");
?>
 

      <form name="form1" method="post" action="">

        <table width="725" border="0" align="center" cellpadding="2" class=main_text>
          <tr>
            <td width="104" bgcolor="#CFE2CF"><div align="right"><font color="#003366">Name</font></div></td>
            <td width="212" bgcolor="#E3E7F2"><font color="#003366">
              <input name="wname" type="text" id="wname" size="30" value="<?php 
echo $waypt->name;
?>
" >
              <input name="waypointIDedit " type="hidden" id="waypointIDedit " value="<?php 
echo $waypointIDedit;
<!--
.titleText {font-weight: bold}
.col1 { background-color:#9FBC7F; }
.col2 { background-color:#BE8C80; }
.col3 { background-color:#7F91BF; }

.col1_in { background-color:#EEF3E7; }
.col2_in { background-color:#F8F3F2; }
.col3_in { background-color:#DAE5F0; }
-->
</style>

<?php 
// open_inner_table("<table class=main_text width=100% cellpadding=0 cellspacing=0><tr><td>".$titleString."</td><td align=right width=50><div align=right>".$opString."</div></td></tr></table>",760,"icon_pin.png");
$imgStr = "<img src='{$moduleRelPath}/img/icon_pin.png' align='absmiddle'> ";
openMain("<div style='width:90%;font-size:12px;clear:none;display:block;float:left'>{$imgStr}{$titleString}</div><div align='right' style='width:10%; text-align:right;clear:none;display:block;float:right' bgcolor='#eeeeee'>{$opString}</div>", 0, '');
?>
 
<table width="100%" border="0" bgcolor="#EFEFEF" class=main_text>

  <tr>
    <td valign="middle">
      <table width="710"  align="center" class="Box">
        <tr align="center" bgcolor="#D0E2CD">
          <td bgcolor="#49766D" class="col1"><div align="center" class="titleWhite titleText"><?php 
echo _FLIGHTS;
?>
</div></td>
          <td bgcolor="#49766D" class="col2"><div align="center" class="titleWhite titleText"><?php 
echo _COORDINATES;
?>
<?php

//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_flight_compare.php,v 1.2 2012/10/17 09:45:24 manolis Exp $
//
//************************************************************************
require_once $LeoCodeBase . "/CL_image.php";
require_once $LeoCodeBase . "/CL_template.php";
$Ltemplate = new LTemplate($LeoCodeBase . '/templates/' . $PREFS->themeName);
$legend = _Compare_Flights;
openMain("<div style='width:50%;font-size:12px;clear:none;display:block;float:left'>\n \t {$legend}</div><div align='right' style='width:50%; text-align:right;clear:none;display:block;float:right' bgcolor='#eeeeee'>{$legendRight}</div>", 0, '');
$flights = $_GET['flightID'];
if ($force3D == 1) {
    $str3d = "&3d=1";
} else {
    $str3d = '';
}
if ($CONF_google_maps_api_key) {
    $googleMap = "<div id='gmaps_div' style='display:block; width:745px; height:610px;'>\n\t\t <iframe id='gmaps_iframe' align='left'\n\t\t  SRC='http://" . $_SERVER['SERVER_NAME'] . getRelMainDir() . "EXT_google_maps_track_v3.php?id=" . $flights . $str3d . "' TITLE='Google Map' width='100%' height='100%'\n\t\t  scrolling='no' frameborder='0'>\n\t\tSorry. If you're seeing this, your browser doesn't support IFRAMEs.\t\n\t\tYou should upgrade to a more current browser.\n\t\t</iframe></div>";
    echo $googleMap;
}
closeMain();
<?php

//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_flight_delete.php,v 1.12 2010/03/14 20:56:11 manolis Exp $
//
//************************************************************************
$flightID = makeSane($_REQUEST["flightID"], 1);
$confirmed = makeSane($_REQUEST["confirmed"]);
$flight = new flight();
$flight->getFlightFromDB($flightID);
if ($confirmed && ($flight->belongsToUser($userID) || L_auth::isAdmin($userID))) {
    $flight->deleteFlight();
    echo "<br><span class='ok'>" . _THE_FLIGHT_HAS_BEEN_DELETED . "</span><br><br>";
    echo "<a href='" . getLeonardoLink(array('op' => 'list_flights')) . "'>" . _RETURN . "</a><br></div>";
} else {
    $location = formatLocation(getWaypointName($flight->takeoffID), $flight->takeoffVinicity, $takeoffRadious);
    openMain(_CAUTION_THE_FLIGHT_WILL_BE_DELETED, 0, "delete_icon.png");
    echo "<div align=center><br><b>" . _PILOT . ": " . $flight->userName . " &nbsp;&nbsp; " . _THE_DATE . ": " . formatDate($flight->DATE) . "  &nbsp;&nbsp; " . _TAKEOFF_LOCATION . ": " . $location . "</b> ";
    echo "<br><br><a href='" . getLeonardoLink(array('op' => 'delete_flight', 'flightID' => $flightID, 'confirmed' => '1')) . "'>" . _YES . "</a> | <a href='javascript:history.go(-1)'>" . _NO . "</a>";
    echo "<br></div>";
    closeMain();
}
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_admin_users_list.php,v 1.3 2010/04/07 13:08:54 manolis Exp $
//
//************************************************************************
if (!L_auth::isAdmin($userID)) {
    return;
}
$userAction = $_GET['act'];
if (!$userAction) {
    $userAction = "list";
}
openMain("User Admin Panel", 0, '');
?>
<link rel="stylesheet" type="text/css" href="<?php 
echo $themeRelPath;
?>
/css/ui.jqgrid.css" />
<link rel="stylesheet" type="text/css" href="<?php 
echo $themeRelPath;
?>
/css/jquery-ui.css"/>
<style type="text/css">
.ui-widget-content {
	font-size:11px;
}
</style>
Beispiel #20
0
				$("#searchResults .pilotRow").remove();
				for( var i in data.pilots) {
					var p=data.pilots[i];
					pilots[p.userID]=p;
					
					$("#searchResults").append("<div class='pilotRow' id='p_"+p.userID+"'>"+p.flag+' '+p.name+' '+p.sex+"</div>");
				}
			}
		);	
	});
	
});

</script>
<?php 
openMain(_MENU_SEARCH_PILOTS . ' (' . _Pilot_search_instructions . ')', 0, "icon_pilot.gif");
?>


<div id='resultsBox'>
	<div id='searchResultsBox'>	
		<?php 
echo _PILOT_NAME;
?>
 		<input id="pilotName" name="pilotName" type="text" />
		<div id='searchResults'>
		</div>
	</div>
		
	<div id='mainPilotInfo' >
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_admin_update_languages.php,v 1.11 2012/01/16 07:21:22 manolis Exp $
//
//************************************************************************
if (!L_auth::isAdmin($userID)) {
    echo "<br><br>You dont have access to this page<BR>";
    exitPage();
}
require_once dirname(__FILE__) . "/lib/ConvertCharset/ConvertCharset.class.php";
$admin_op = makeSane($_GET['admin_op']);
openMain("ADMIN AREA :: Language translations", 0, '');
echo "<br>";
define('LANG_ABS_PATH', dirname(__FILE__) . '/language');
if ($admin_op == 'update') {
    // get the english file definitions
    $baseLang = 'english';
    $baseDefines = getDefinesAsArray("source/lang-{$baseLang}.php");
    // print_r($baseDefines);
    //$availableLanguages=array('english', 'german');
    if ($_REQUEST['update_lang']) {
        $updateLanguages = array($_REQUEST['update_lang']);
    } else {
        $updateLanguages = $availableLanguages;
    }
    foreach ($updateLanguages as $lang) {
        echo " * Processing source/lang-{$lang}.php...";
Beispiel #22
0
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_browser.php,v 1.1 2010/03/16 21:26:25 manolis Exp $
//
//************************************************************************
?>

<?php 
$titleString = _FLIGHT_BROSWER;
$imgStr = "<img src='{$moduleRelPath}/img/icons1/geicon.gif' align='absmiddle'> ";
openMain("<div style='width:100%;font-size:12px;clear:none;display:block;float:left'>{$imgStr}{$titleString}</div>", 0, '');
?>
 

<style type="text/css">
<!--
.gmaps_container {
	position: relative;
	height: 500px;
	width: 100%;
}

.gmaps_container-fullscreen {
	position: absolute;
	left: 0px;
	top: 0px;
<?php

//************************************************************************
// Leonardo XC Server, http://www.leonardoxc.net
//
// Copyright (c) 2004-2010 by Andreadakis Manolis
//
// This program is free software. You can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License.
//
// $Id: GUI_program_info.php,v 1.20 2012/09/17 22:33:49 manolis Exp $
//
//************************************************************************
openMain("Leonardo XC Server", 0, "icon_help.png");
?>
  
<div align="center"> 
  <p> 
  <table class=main_text width="700" border="0" align="center" cellpadding="2" cellspacing="2">
    <tr> 
      <td width="164">
<div align="right"><?php 
echo _DEVELOPMENT;
?>
: </div></td>
      <td width="259"><?php 
echo _ANDREADAKIS_MANOLIS;
?>
 </td>
      <td width="257" rowspan="10" valign="top"><div align="left">