Added Account transactions with History

Added Account transactions with History
This commit is contained in:
novgorodschi catalin
2026-05-21 11:23:45 +03:00
parent e6a3bb7db7
commit 878ecec687
8 changed files with 415 additions and 476 deletions
+1
View File
@@ -4,6 +4,7 @@
## --------------------------------------------------------------------------- ##
## Filename gold.tpl ##
## Developed by: aggenkeech ##
## Refactored by: Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
+15 -48
View File
@@ -1,69 +1,36 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename usergold.tpl ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
## Refactored by: Shadow ##
#################################################################################
if($_SESSION['access'] < ADMIN) die("Access Denied: You are not Admin!");
$id = $_SESSION['id']; ?>
?>
<form action="../GameEngine/Admin/Mods/gold_1.php" method="POST">
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
<input type="hidden" name="admid" value="<?php echo $_SESSION['id']; ?>">
<table id="member" style="width:300px;">
<thead>
<tr>
<th colspan="2">Give Free gold for specific user</th>
</tr>
<tr>
<td>Amount</td>
<td></td>
</tr>
<tr><th colspan="2">Give Free gold for specific user</th></tr>
</thead>
<tbody>
<tr>
<td>
<center>
<b>How much gold?</b>
</center>
</td>
<td>
<center>
<input class="give_gold" name="gold" value="20" maxlength="4">&nbsp;
<img src="../img/admin/gold.gif" class="gold" alt="Gold" name="gold" title="Gold"/>
</center>
</td>
<td><center><b>How much gold?</b></center></td>
<td><center>
<input class="give_gold" name="gold" value="20" maxlength="6">&nbsp;
<img src="../img/admin/gold.gif" class="gold" alt="Gold" title="Gold"/>
</center></td>
</tr>
<tr>
<td>
<center>
<b>For which user (id)?</b>
</center>
</td>
<td>
<center>
<input class="give_gold" name="id" value="">&nbsp;
</center>
</td>
<td><center><b>For which user (id)?</b></center></td>
<td><center><input class="give_gold" name="id" value=""></center></td>
</tr>
<tr>
<td colspan="2">
<center>
<input type="image" src="../img/admin/b/ok1.gif" value="submit" title="Give Players Free Gold">
</center>
</td>
<td colspan="2"><center>
<input type="image" src="../img/admin/b/ok1.gif" value="submit" title="Give Player Free Gold">
</center></td>
</tr>
</tbody>
</table>
</form>
<?php
if(isset($_GET['g']))
{
echo '<br /><br /><font color="Red"><b>Gold Added</font></b>';
}
?>
<?php if(isset($_GET['g'])){ echo '<br><br><font color="green"><b>Gold Added</b></font>'; } ?>