From de0e9d4bbd3cb5dba6a14970aed2c49d18a2bac1 Mon Sep 17 00:00:00 2001 From: armando1980 Date: Tue, 4 Mar 2014 19:00:45 -0500 Subject: [PATCH] report for admin need foldert notice not upload the folder as notice I try to do --- Admin/Templates/report.tpl | 48 ++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 10 deletions(-) diff --git a/Admin/Templates/report.tpl b/Admin/Templates/report.tpl index 045b7031..d980e11b 100644 --- a/Admin/Templates/report.tpl +++ b/Admin/Templates/report.tpl @@ -2,30 +2,58 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename msg.tpl ## -## Developed by: Dzoki ## +## Filename report.tpl ## +## Developed by: Armando ## ## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2011. All rights reserved. ## +## Copyright: TravianX (c) 2010-2014. All rights reserved. ## ## ## ################################################################################# - -$sql = "SELECT * FROM ".TB_PREFIX."ndata WHERE id = ".$_GET['bid'].""; +include_once("../GameEngine/Generator.php"); +include_once("../GameEngine/Technology.php"); +include_once("../GameEngine/Message.php"); +if ($_GET['bid']){ +$rep = $database->getNotice4($_GET['bid']); +}else +$sql = "SELECT * FROM ".TB_PREFIX."ndata ORDER BY time DESC "; $result = mysql_query($sql); -$rep = mysql_fetch_assoc($result); -if($rep) +$rep1 = $database->mysql_fetch_all($result); +if($rep1) { - $att = $database->getUserArray($rep['uid'],1); + //$att = $database->getUserArray($rep1['uid'],1); ?> + + + +

Under Construction

+ + + + + +
+ + reporte de: getUserField($rep[0]['uid'],'username',0);?>
+ +
+

Reporte

+ \ No newline at end of file + +?>