This is what I did to change my Casino:
New vbphrase (Text: Casino Games):
Code:
casino_casino_games
New vbphrase (Text: More Stats):
Find in Template: casino_index_main
Code:
<td class='tcat' colspan='2'>Games</td>
Change to:
Code:
<td class='tcat' colspan='2'>$vbphrase[casino_casino_games]</td>
Find in Template: casino_index_main
Code:
<p style='text-align:center'><a href='casino.php?do=stats'>More Stats</a></p>
Change to:
Code:
<p style='text-align:center'><a href='casino.php?do=stats'>$vbphrase[casino_more_stats]</a></p>
Find in Template: casino_index_main
Code:
<div style='text-align:center;font-size:16pt;font-weight:bold'>You have: $vbphrase[casino_currency_marker]$cash</div>
Change to:
Code:
<div style='text-align:center;font-size:16pt;font-weight:bold'>$vbphrase[casino_youhave]: $vbphrase[casino_currency_marker]$cash</div>
Find in template casino_stats_main
Code:
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='0' width='100%'>
<thead>
<tr>
<td class='thead'>Statistics</td>
</tr>
</thead>
<tbody>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(1)'>Your Stats</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(2)'>Total Stats</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(3)'>Most Won</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(6)'>Most Lost</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(4)'>Luckiest People</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(7)'>Unluckiest People</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(105)'>Richest Players</td>
</tr>
$gamestats
</tbody>
</table>
Change to:
Code:
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='0' width='100%'>
<thead>
<tr>
<td class='thead'>$vbphrase[casino_statistics]</td>
</tr>
</thead>
<tbody>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(1)'>$vbphrase[casino_yourstats]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(2)'>$vbphrase[casino_totalstats]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(3)'>$vbphrase[casino_mostwon]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(6)'>$vbphrase[casino_mostlost]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(4)'>$vbphrase[casino_luckiestpeople]</td>
</tr>
<tr>
<td class='alt2' style='cursor:pointer' onclick='loadstats(7)'>$vbphrase[casino_unluckiestpeople]</td>
</tr>
<tr>
<td class='alt1' style='cursor:pointer' onclick='loadstats(5)'>$vbphrase[casino_richest_players]</td>
</tr>
$gamestats
</tbody>
</table>
Find in casino/stats.php
Code:
$stitle = $vbphrase[casino_richest_players];
$col1 = $vbphrase[casino_name];
Change to:
Code:
$stitle = $vbphrase[casino_richest_players];
$scol1 = $vbphrase[casino_name];
Find in casino/stats.php (if you want Richest player as default in mainpage):
Code:
$page = (rand() % 7) + 1;
Change to:
Find in casino/donate.php (if you want a PM when other members donate to each other):
Code:
$pmdm->set_recipients($giveto, $botpermissions);
Under it add (change ==your username== to your username):
Code:
$pmdm->set_recipients('==your username==;', $botpermissions);
Find in casino/slots_ajax.php:
Code:
else if($slotsgame == 3)
$query = "
SELECT cs1.switch1 AS gameid, cs2.switch2 AS gameactive
FROM casino_settings AS cs1, casino_settings AS cs2
WHERE cs1.settingname='gamefile'
AND cs1.switch2='bar7slots'
AND cs1.switch1=cs2.switch1
AND cs2.settingname='gameactive'
";
under it add:
Code:
else print_no_permission();