Merge pull request #456 from Struart88/patch-2
[FlightAirMap.git] / contribute.php
blob6db7fedb9d9c0b8af255fde81eb99ebddd362ada
1 <?php
2 require_once('require/class.Connection.php');
4 $title = "Contribute";
5 $top_header = "contrail.jpg";
6 require_once('header.php');
7 ?>
9 <div class="info column">
10 <h1>Contribute to <?php print $globalName; ?></h1>
11 <p>You can contribute to <?php print $globalName; ?> if you have an ADS-B receiver.</p>
12 <h3>You need to : </h3>
13 <ul>
14 <li>Create an account on <a href="<?php if (isset($globalContributeLogin)) print $globalContributeLogin.'">'.$globalContributeLogin; else print 'https://login.flightairmap.fr">login.flightairmap.fr'; ?></a></li>
15 <li>Download dump1090 fork from <a href="https://github.com/Ysurac/dump1090">https://github.com/Ysurac/dump1090</a></li>
16 <li>Compile zfamup1090 with <em>make zfamup1090</em> (you need to have libcurl installed)</li>
17 <li>Run zfamup1090 : <em>./zfamup1090 --net-zfam-user YourUsername --net-zfam-pass YourPassword<?php if (isset($globalContributeURL)) print ' --net-zfam-addr '.$globalContributeURL; if (isset($globalContributePort)) print ' --net-zfam-port '.$globalContributePort; ?></em> (add <em>--net-bo-ipaddr ipofbeastsource --net-bo-port portofbeastsource</em> if needed, default to 127.0.0.1 and 30005)</li>
18 </ul>
19 </div>
20 <?php
21 require_once('footer.php');