Quote:
Originally Posted by dancue
Any way we can get a different layout for the main page?
casino_index_main is the template that I'm referring to. I just don't know how to do it myself.
I'd like to see the stats on the left side and the games on the right. I want to give it the same look as the usercp...
any ideas how to do it?
|
Nevermind. I figured it out finally.
For those of you interested this is what I changed it to:
Replace the contents of the "casino_index_main" template with this
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle] - $vbphrase[casino_casino]</title>
$headinclude
</head>
<body >
$header
$navbar
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='100%'>
<thead>
<tr align='center'>
<td class='tcat'>$vboptions[bbtitle] $vbphrase[casino_casino]</td>
</tr>
</thead>
<tbody>
<tr>
<td class='alt1'>
$abovetable
<div class='info' width='100%' style='text-align:center;font-size:16pt;font-weight:bold'>$vbphrase[casino_youhave]: $vbphrase[casino_currency_marker]$cash</div>
<if condition="$donate">
<div style='text-align:center'><a href='casino.php?do=donate'>$vbphrase[casino_donation_link]</a></div>
</if><br/>
<table style='width:100%;'>
<tr>
<td style='vertical-align:top;'> $abovestats
$mainstats
<p style='text-align:center'><a href='casino.php?do=stats'>$vbphrase[casino_more_stats]</a></p>
$bellowstats </td>
<td width="100%" style='vertical-align:top;'>
$topleftcol
$abovegames
<table class='tborder' align='center' border='0' cellpadding='6' cellspacing='1' width='100%;'>
<thead>
<tr align='center'>
<td class='tcat' colspan='3'>$vbphrase[casino_games]</td>
</tr>
</thead>
<tbody>
$topgames
$t_games
$bottomgames
</tbody>
</table>
$bellowgames </td>
</tr>
</table>
$bellowtable
</td>
</tr>
</tbody>
</table>
<br/>
$footer