You are on page 1of 3

#!

/usr/bin/perl -T
#!/usr/local/bin/perl -T
## --> Minimum Jammer Power, jammin.main.cgi
## --> Green Bay Professional Packet Radio, www.gbppr.org
## This file Copyright 2003 <contact@gbppr.org> under the GPL
## NO WARRANTY. Please send bug reports / patches / reports.
# Setup
#
select STDOUT;
$| = 1;
# User stuff
#
my $pic = "pics/jammin.png";
my $form = "./jammin.cgi";
# Print MIME
#
print "Content-type:text/html\n\n";
# Draw me a web page
#
print <<EOF;
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>Minimum Jammer Power</title>
</head>
<body bgcolor="#D3D3D3" text="#000000" link="blue">
<center>
<font face="Verdana, Arial, Helvetica">
<h2>Minimum Jammer Power</h2>
<p><font size="-1">A service of <a href="http://www.gbppr.org">Green Bay Profess
ional Packet Radio</a>&nbsp;&reg;</font></p>
</center>
<hr noshade>
<center><img src="$pic" alt="[jammin]"></center>
<hr noshade>
<center>
<br><br>
<table border="2" cellpadding="2">
<tr>
<td colspan="10" bgcolor="red" align="center"><font size="4"><b>Enemy Specificat
ions</b></font></td>
</tr>
</table>
<br><br>
</center>
<form action="$form" method="post">
<table border="0">
<tr>
<td><b>Power Output of the Enemy Transmitter (ERP)&nbsp;&nbsp;</b>
<input type="text" name="pt" size="8" value="">
<select name="pt_val">
<option selected>Watts</option>
<option>dBm</option>
</select></td>
</tr>
</table>
<table border="0">
<tr>
<td><b>Elevation of the Enemy Transmitter Location (AMSL)&nbsp;&nbsp;</b>
<input type="text" name="ht" size="8" value="">
<select name="ht_val">
<option selected>meters</option>
<option>feet</option>
</select></td>
</tr>
</table>
<table border="0">
<tr>
<td><b>Enemy Transmitter Location-to-Target Receiver Location Distance&nbsp;&nbs
p;</b>
<input type="text" name="dt" size="8" value="">
<select name="dt_val">
<option selected>kilometers</option>
<option>miles</option>
</select></td>
</tr>
</table>
<center>
<br><br>
<table border="2" cellpadding="2">
<tr>
<td colspan="10" bgcolor="green" align="center"><font size="4"><b>Friendly Speci
fications</b></font></td>
</tr>
</table>
<br><br>
</center>
<table border="0">
<tr>
<td><b>Elevation of the Jammer Transmitter Location (AMSL)&nbsp;&nbsp;</b>
<input type="text" name="hj" size="8" value="">
<select name="hj_val">
<option selected>meters</option>
<option>feet</option>
</select></td>
</tr>
</table>
<table border="0">
<tr>
<td><b>Jammer Location-to-Target Receiver Location Distance&nbsp;&nbsp;</b>
<input type="text" name="dj" size="8" value="">
<select name="dj_val">
<option selected>kilometers</option>
<option>miles</option>
</select></td>
</tr>
</table>
<table border="0">
<tr>
<td><b>Terrain and Ground Conductivity Factor&nbsp;&nbsp;</b>
<select name="n">
<option selected>Level terrain (over water, sea, lakes, and ponds) - good conduc
tivity</option>
<option>Rolling hills (farmland type terrain) - good conductivity</option>
<option>Moderately rough terrain (rolling to high hills, forested farmland) - fa
ir/good conductivity</option>
<option>Very rough terrain (rocky mountains or desert) - poor conductivity</opti
on>
</select></td>
<tr>
</table>
<hr noshade>
<center>
<table>
<tr>
<td><input type="submit" value="Submit"></td>
<td><input type="reset" value="Clear"></td>
</tr>
</table>
</center>
</form>
<hr noshade size="5">
</font>
<blockquote>
<p>Accurate for frequency modulated (FM) VHF receivers only.</p>
<p>Currently works only for jammer location-to-target receiver distances greater
than the enemy transmitter-to-target receiver distance.</p>
<p>Jammer location must have a reasonable line-of-sight propagation path to the
target receiver's location with no high hills between the two locations.</p>
<p><b>ERP</b>&nbsp;&nbsp;Effective Radiated Power.&nbsp;&nbsp;Actual power outpu
t after taking into account feedline losses and antenna gains.</p>
<p><b>AMSL</b>&nbsp;&nbsp;Above Mean Sea Level.&nbsp;&nbsp;Height referenced abo
ve sea level, or zero elevation.</p>
<p>
</blockquote>
</body>
</html>
EOF

You might also like