kopia lustrzana https://github.com/magicbug/Cloudlog
Issue #92 - Fixed typo and added extra bands
rodzic
3129c6cd30
commit
8784ea0919
|
@ -168,6 +168,54 @@ class Frequency {
|
|||
return "1296000000";
|
||||
}
|
||||
}
|
||||
|
||||
if($band == "13cm") {
|
||||
if ($mode == "CW") {
|
||||
return "232080000";
|
||||
} elseif($mode == "PSK31" || $mode == "RTTY" || $mode == "JT65") {
|
||||
return "232080000";
|
||||
}elseif($mode == "SSB") {
|
||||
return "232080000";
|
||||
} else {
|
||||
return "232080000";
|
||||
}
|
||||
}
|
||||
|
||||
if($band == "9cm") {
|
||||
if ($mode == "CW") {
|
||||
return "340000000";
|
||||
} elseif($mode == "PSK31" || $mode == "RTTY" || $mode == "JT65") {
|
||||
return "341000000";
|
||||
}elseif($mode == "SSB") {
|
||||
return "341000000";
|
||||
} else {
|
||||
return "341000000";
|
||||
}
|
||||
}
|
||||
|
||||
if($band == "6cm") {
|
||||
if ($mode == "CW") {
|
||||
return "567000000";
|
||||
} elseif($mode == "PSK31" || $mode == "RTTY" || $mode == "JT65") {
|
||||
return "567000000";
|
||||
}elseif($mode == "SSB") {
|
||||
return "567000000";
|
||||
} else {
|
||||
return "567000000";
|
||||
}
|
||||
}
|
||||
|
||||
if($band == "3cm") {
|
||||
if ($mode == "CW") {
|
||||
return "1022500000";
|
||||
} elseif($mode == "PSK31" || $mode == "RTTY" || $mode == "JT65") {
|
||||
return "1022500000";
|
||||
}elseif($mode == "SSB") {
|
||||
return "1022500000";
|
||||
} else {
|
||||
return "1022500000";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,8 +99,10 @@
|
|||
<option value="4m" <?php if($this->session->userdata('band') == "4m") { echo "selected=\"selected\""; } ?>>4m</option>
|
||||
<option value="2m" <?php if($this->session->userdata('band') == "2m") { echo "selected=\"selected\""; } ?>>2m</option>
|
||||
<option value="70cm" <?php if($this->session->userdata('band') == "70cm") { echo "selected=\"selected\""; } ?>>70cm</option>
|
||||
<option value="33cm" <?php if($this->session->userdata('band') == "33cm") { echo "selected=\"selected\""; } ?>>33cm</option>
|
||||
<option value="23cm" <?php if($this->session->userdata('band') == "23cm") { echo "selected=\"selected\""; } ?>>23cm</option>
|
||||
<option value="13cm" <?php if($this->session->userdata('band') == "14cm") { echo "selected=\"selected\""; } ?>>13cm</option>
|
||||
<option value="9cm" <?php if($this->session->userdata('band') == "9cm") { echo "selected=\"selected\""; } ?>>9cm</option>
|
||||
<option value="3cm" <?php if($this->session->userdata('band') == "3cm") { echo "selected=\"selected\""; } ?>>3cm</option>
|
||||
</select></td>
|
||||
</tr>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue