echo "<input type=hidden name=gop value={$gop}>";
     echo "<input type=hidden name=enp value={$enp}>";
     echo "<input type=hidden name=initscommod value={$initscommod}>";
     echo "<input type=hidden name=initbcommod value={$initbcommod}>";
     echo "<input type=hidden name=nump value={$nump}>";
     echo "<INPUT TYPE=HIDDEN NAME=fedsecs VALUE={$fedsecs}>";
     echo "<input type=hidden name=loops value={$loops}>";
     echo "<input type=hidden name=engage value=2>";
     echo "<input type=hidden name=swordfish value={$swordfish}>";
     echo "<p align='center'><input type=submit value=Confirm></p>";
     echo "</form>";
     include_once "footer.php";
     break;
 case "7":
     // New database driven language entries
     load_languages($db, $lang, array('create_universe', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
     Table_Header("Configuring game scheduler --- Stage 7");
     Table_2Col("Update ticks will occur every {$sched_ticks} minutes.", "<p align='center'><font size=\"1\" color=\"Blue\">Already Set</font></p>");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_turns}, 0, 'sched_turns.php', NULL,unix_timestamp(now()))");
     Table_Row("Turns will occur every {$sched_turns} minutes", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_turns}, 0, 'sched_defenses.php', NULL,unix_timestamp(now()))");
     Table_Row("Defenses will be checked every {$sched_turns} minutes", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_turns}, 0, 'sched_xenobe.php', NULL,unix_timestamp(now()))");
     Table_Row("Xenobes will play every {$sched_turns} minutes.", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_igb}, 0, 'sched_igb.php', NULL,unix_timestamp(now()))");
     Table_Row("Interests on IGB accounts will be accumulated every {$sched_igb} minutes.", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_news}, 0, 'sched_news.php', NULL,unix_timestamp(now()))");
     Table_Row("News will be generated every {$sched_news} minutes.", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_planets}, 0, 'sched_planets.php', NULL,unix_timestamp(now()))");
     Table_Row("Planets will generate production every {$sched_planets} minutes.", "Failed", "Inserted");
     $db->Execute("INSERT INTO {$db->prefix}scheduler VALUES(NULL, 'Y', 0, {$sched_ports}, 0, 'sched_ports.php', NULL,unix_timestamp(now()))");
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: modify_defences.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('modify_defences', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
include_once "includes/explode_mines.php";
$title = $l_md_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
if (!isset($defence_id)) {
    echo $l_md_invalid . "<br><br>";
    TEXT_GOTOMAIN();
    ?>
</div></div>
Beispiel #3
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: scan.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('scan', 'common', 'bounty', 'report', 'main', 'global_includes', 'global_funcs', 'footer', 'news', 'planet'), $langvars, $db_logging);
$title = $l_scan_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
$result = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id=?", array($user_ship_id));
db_op_result($db, $result, __LINE__, __FILE__, $db_logging);
$playerinfo = $result->fields;
$result2 = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id=?", array($ship_id));
db_op_result($db, $result2, __LINE__, __FILE__, $db_logging);
$targetinfo = $result2->fields;
Beispiel #4
0
    $ip_array = $shared_function->sortIP();
    $user_ip_address = $ip_array[0];
    $user_agent = $_SERVER['HTTP_USER_AGENT'];
    $user_host = gethostbyaddr($_SERVER['REMOTE_ADDR']);
    $cookie_session_id = md5($user_agent);
    $data = array('username' => $username, 'password' => $cookie_session_id, 'user_id' => $user_ship_id, 'user_ip' => $user_ip_address, 'user_host' => $user_host, 'user_agent' => $user_agent);
    $data = serialize($data);
    setcookie("userID", $data, time() + 3600 * 24 * 365, $gamepath, $gamedomain);
}
if (!preg_match("/^[\\w]+\$/", $newlang)) {
    $newlang = $default_lang;
} else {
    $lang = $_POST['newlang'];
}
// New database driven language entries
load_languages($db, $lang, array('option2', 'common', 'global_includes', 'global_funcs', 'combat', 'footer', 'news'), $langvars, $db_logging);
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
bigtitle();
if ($newpass1 == "" && $newpass2 == "") {
    echo $l_opt2_passunchanged . "<br><br>";
} elseif ($password != $oldpass) {
    echo $l_opt2_srcpassfalse . "<br><br>";
} elseif ($newpass1 != $newpass2) {
    echo $l_opt2_newpassnomatch . "<br><br>";
} else {
    $res = $db->Execute("SELECT ship_id,password FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
    db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
Beispiel #5
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: zoneinfo.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('port', 'main', 'attack', 'zoneinfo', 'report', 'common', 'global_includes', 'global_funcs', 'footer', 'modify_defences'), $langvars, $db_logging);
$body_class = 'zoneinfo';
$title = $l_zi_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
bigtitle();
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
$playerinfo = $res->fields;
$res = $db->Execute("SELECT * FROM {$db->prefix}zones WHERE zone_id='{$zone}'");
Beispiel #6
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: zoneedit.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('zoneedit', 'report', 'port', 'main', 'zoneinfo', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
$title = $l_ze_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
bigtitle();
$command = null;
if (array_key_exists('command', $_GET) == true) {
    $command = $_GET['command'];
}
$zone = null;
Beispiel #7
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: readmail.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('readmail', 'common', 'global_includes', 'global_funcs', 'footer', 'planet_report'), $langvars, $db_logging);
$title = $l_readm_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
bigtitle();
if (checklogin()) {
    die;
}
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='" . $user_ship_id . "'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
$playerinfo = $res->fields;
if (!isset($_GET['action'])) {
    $_GET['action'] = '';
Beispiel #8
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: galaxy_new.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('main', 'port', 'galaxy', 'common', 'global_includes', 'global_funcs', 'footer'), $langvars, $db_logging);
global $l_map_title;
$title = $l_map_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
$playerinfo = $res->fields;
$result3 = $db->Execute("SELECT distinct {$db->prefix}movement_log.sector_id, port_type, beacon FROM {$db->prefix}movement_log,{$db->prefix}universe WHERE ship_id = {$playerinfo['ship_id']} AND {$db->prefix}movement_log.sector_id={$db->prefix}universe.sector_id order by sector_id ASC;");
db_op_result($db, $result3, __LINE__, __FILE__, $db_logging);
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: self_destruct.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('self_destruct', 'ranking', 'common', 'global_includes', 'global_funcs', 'footer'), $langvars, $db_logging);
include_once "includes/cancel_bounty.php";
$title = $l_die_title;
include "header.php";
if (checklogin()) {
    die;
}
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
bigtitle();
$result = $db->Execute("SELECT ship_id,character_name FROM {$db->prefix}ships WHERE  ship_id='{$user_ship_id}'");
db_op_result($db, $result, __LINE__, __FILE__, $db_logging);
$playerinfo = $result->fields;
if (isset($_GET['sure'])) {
Beispiel #10
0
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: teams.php
// Added a quick fix for creating a new team with the same name
// This file needs to be completely recoded from scratch :(
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('teams', 'common', 'global_includes', 'global_funcs', 'footer'), $langvars, $db_logging);
$title = $l_team_title;
include "header.php";
include_once "includes/defence_vs_defence.php";
include_once "includes/kick_off_planet.php";
if (checklogin()) {
    die;
}
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
bigtitle();
$testing = false;
// set to false to get rid of password when creating new team
// Typecast into integers (this also removes all non numbers)
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: xenobe_control.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('xenobe_control', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
$title = $l_ai_control;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
connectdb();
bigtitle();
function CHECKED($yesno)
{
    return $yesno == "Y" ? "CHECKED" : "";
}
function YESNO($onoff)
{
    return $onoff == "ON" ? "Y" : "N";
Beispiel #12
0
<?php

include 'calendar/hooks.php';
# calendarMini
include 'calendar/inc/client_calendarMini.php';
# calendarEvents
include 'calendar/inc/client_calendarEvents.php';
$thisfile = basename(__FILE__, '.php');
register_plugin($thisfile, 'Calendar', '1.8', 'clq', '', 'Plugin to create camping calendar', 'calendar', 'calendar_main');
# language
# load i18n texts
load_languages();
# activate filter
add_action('header', 'calendar_header');
add_action('footer', 'calendar_footer');
add_action('nav-tab', 'createNavTab', array('calendar', $thisfile, i18n_r('calendar/calendar'), 'events'));
/*
# $_GET check
if (!isset($_GET['calendar']) and !isset($_GET['settings']) and !isset($_GET['edit'])) {
    $_GET['events'] = true;
}*/
Beispiel #13
0
//  it under the terms of the GNU Affero General Public License as
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: main.php
include "config/config.php";
// New database driven language entries
load_languages($db, $lang, array('common', 'global_includes'), $langvars, $db_logging);
updatecookie();
if (checklogin()) {
    die;
}
$title = $l->get('l_main_title');
include "header.php";
$stylefontsize = "12Pt";
$picsperrow = 7;
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
$playerinfo = $res->fields;
if ($playerinfo['cleared_defences'] > ' ') {
    echo $l->get('l_incompletemove') . " <br>";
    echo "<a href={$playerinfo['cleared_defences']}>" . $l->get('l_clicktocontinue') . "</a>";
    die;
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: sector_fighters.php
if (preg_match("/sector_fighters.php/i", $_SERVER['PHP_SELF'])) {
    echo "You can not access this file directly!";
    die;
}
// New database driven language entries
load_languages($db, $lang, array('sector_fighters', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
include_once "includes/destroy_fighters.php";
include_once "includes/cancel_bounty.php";
echo $l_sf_attacking . "<br>";
$targetfighters = $total_sector_fighters;
$playerbeams = NUM_BEAMS($playerinfo['beams']);
if ($calledfrom == 'rsmove.php') {
    $playerinfo['ship_energy'] += $energyscooped;
}
if ($playerbeams > $playerinfo['ship_energy']) {
    $playerbeams = $playerinfo['ship_energy'];
}
$playerinfo['ship_energy'] = $playerinfo['ship_energy'] - $playerbeams;
$playershields = NUM_SHIELDS($playerinfo['shields']);
if ($playershields > $playerinfo['ship_energy']) {
    $playershields = $playerinfo['ship_energy'];
Beispiel #15
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: emerwarp.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('emerwarp', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
$title = $l_ewd_title;
include "header.php";
if (checklogin()) {
    die;
}
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
$result = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $result, __LINE__, __FILE__, $db_logging);
$playerinfo = $result->fields;
bigtitle();
if ($playerinfo['dev_emerwarp'] > 0) {
    $dest_sector = mt_rand(0, $sector_max - 1);
Beispiel #16
0
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: port.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('port', 'report', 'device', 'common', 'global_includes', 'global_funcs', 'combat', 'footer', 'news', 'bounty'), $langvars, $db_logging);
include_once "includes/text_javascript_begin.php";
include_once "includes/text_javascript_end.php";
include_once "includes/is_loan_pending.php";
$body_class = 'port';
$title = $l_title_port;
include "header.php";
if (checklogin()) {
    die;
}
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: defence_report.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('defence_report', 'planet_report', 'main', 'device', 'port', 'modify_defences', 'common', 'global_includes', 'global_funcs', 'combat', 'footer', 'news'), $langvars, $db_logging);
$title = $l_sdf_title;
include "header.php";
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
if (checklogin()) {
    die;
}
$res = $db->Execute("SELECT * FROM {$db->prefix}ships WHERE ship_id='{$user_ship_id}'");
db_op_result($db, $res, __LINE__, __FILE__, $db_logging);
$playerinfo = $res->fields;
$query = "SELECT * FROM {$db->prefix}sector_defence WHERE ship_id={$playerinfo['ship_id']}";
db_op_result($db, $query, __LINE__, __FILE__, $db_logging);
if (!empty($sort)) {
Beispiel #18
0
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: check_mines.php
if (preg_match("/check_mines.php/i", $_SERVER['PHP_SELF'])) {
    die("You can not access this file directly!");
}
// New database driven language entries
load_languages($db, $lang, array('check_mines', 'common', 'global_includes', 'combat', 'footer', 'news'), $langvars, $db_logging);
include_once "includes/explode_mines.php";
include_once "includes/cancel_bounty.php";
// Put the sector information into the array "sectorinfo"
$result2 = $db->Execute("SELECT * FROM {$db->prefix}universe WHERE sector_id='{$sector}'");
db_op_result($db, $result2, __LINE__, __FILE__, $db_logging);
$sectorinfo = $result2->fields;
// Put the defence information into the array "defenceinfo"
$result3 = $db->Execute("SELECT * FROM {$db->prefix}sector_defence WHERE sector_id='{$sector}' and defence_type ='M'");
db_op_result($db, $result3, __LINE__, __FILE__, $db_logging);
// Correct the targetship bug to reflect the player info
$targetship = $playerinfo;
$num_defences = 0;
$total_sector_mines = 0;
$owner = true;
while (!$result3->EOF) {
//  published by the Free Software Foundation, either version 3 of the
//  License, or (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU Affero General Public License for more details.
//
//  You should have received a copy of the GNU Affero General Public License
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
//
// File: planet_report_ce.php
include "config/config.php";
updatecookie();
// New database driven language entries
load_languages($db, $lang, array('planet_report', 'rsmove', 'common', 'global_includes', 'global_funcs', 'footer', 'news'), $langvars, $db_logging);
$title = $l_pr_title;
include "header.php";
if (checklogin()) {
    die;
}
// This is required by Setup Info
// planet_hack_fix,0.2.0,25-02-2004,TheMightyDude
?>
<div class="tablecell content both-border">
	<div class="pad">
<?php 
bigtitle();
echo "<br>";
echo "Click <a href=planet_report.php>here</A> to return to report menu<br>";
if (isset($_POST["TPCreds"])) {