mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-29 00:54:31 +00:00
786cbf1f8e
1) Removed unnecessary files 2) Trailling spaces (no all though) 3) Some space to tab conversion
31 lines
1.1 KiB
Smarty
31 lines
1.1 KiB
Smarty
<?php
|
|
#################################################################################
|
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
|
## --------------------------------------------------------------------------- ##
|
|
## Filename msg.tpl ##
|
|
## Developed by: Dzoki ##
|
|
## License: TravianX Project ##
|
|
## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
|
|
## ##
|
|
#################################################################################
|
|
|
|
$sql = "SELECT * FROM ".TB_PREFIX."ndata WHERE id = ".$_GET['bid']."";
|
|
$result = mysql_query($sql);
|
|
$rep = mysql_fetch_assoc($result);
|
|
if($rep)
|
|
{
|
|
$att = $database->getUserArray($rep['uid'],1);
|
|
?>
|
|
<h1>Under Construction</h1>
|
|
<div id="content" class="reports" style="padding: 0;">
|
|
<?php
|
|
include("report/".$rep['ntype'].".tpl");
|
|
?>
|
|
</div>
|
|
<?php
|
|
}
|
|
else
|
|
{
|
|
echo "Report ID ".$_GET['bid']." doesn't exist!";
|
|
}
|
|
?> |