Ogame a kacety
-
Run Habas Ne
- Reactions:
- Posty: 401
- Rejestracja: 04 sierpnia 2009, 05:53
-
Run Habas Ne
- Reactions:
- Posty: 401
- Rejestracja: 04 sierpnia 2009, 05:53
-
czegoj
- Site Admin
- Reactions:
- Posty: 3844
- Rejestracja: 18 listopada 2008, 23:34
- Has thanked: 5 times
- Been thanked: 11 times
- Kontakt:
U mnie raporty bitewne są prawie ok, mają nawet polskie fonty, a kod pliku rw wygląda tak:
Coś w nim jest nie tak?
Kod: Zaznacz cały
<?php
/**
* rw.php
*
* @version 1.0
* @copyright 2008 by ????? for XNova
*/
define('INSIDE' , true);
define('INSTALL' , false);
$ugamela_root_path = './';
include($ugamela_root_path . 'extension.inc');
include($ugamela_root_path . 'common.'.$phpEx);
$open = true;
$raportrow = doquery("SELECT * FROM {{table}} WHERE `rid` = '".(mysql_escape_string($_GET["raport"]))."';", 'rw', true);
if (($raportrow["id_owner1"] == $user["id"]) or
($raportrow["id_owner2"] == $user["id"]) or
$open) {
$Page = "<html>";
$Page .= "<head>";
$Page .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"".$dpath."/formate.css\">";
$Page .= "<meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-2\" />";
$Page .= "</head>";
$Page .= "<body>";
$Page .= "<center>";
$Page .= "<table width=\"99%\">";
$Page .= "<tr>";
if (($raportrow["id_owner1"] == $user["id"]) and
($raportrow["a_zestrzelona"] == 1)) {
$Page .= "<td>Le contact avec la flotte attaquante a été perdue.<br>";
$Page .= "(En d'autres termes, elle a été abattu au premier tour .)</td>";
} else {
$Page .= "<td>". stripslashes( $raportrow["raport"] ) ."</td>";
}
$Page .= "</tr>";
$Page .= "</table>";
$Page .= "</center>";
$Page .= "</body>";
$Page .= "</html>";
echo $Page;
}
// -----------------------------------------------------------------------------------------------------------
// History version
?>
Ostatnio zmieniony 20 czerwca 2011, 19:21 przez czegoj, łącznie zmieniany 1 raz.