Gabriel Tibiano
New Member
- Joined
- Nov 21, 2009
- Messages
- 420
- Reaction score
- 4
Hey!
I need your help here, in this code above.
I want to do like the real tibia official website, but i dont know how to insert some query's from Database.
Like a: 'When premmy expired' and how to do 'GREEN BUTTON' and 'RED BUTTON' (premmy and facc respectively)
I need your help here, in this code above.
I want to do like the real tibia official website, but i dont know how to insert some query's from Database.
Like a: 'When premmy expired' and how to do 'GREEN BUTTON' and 'RED BUTTON' (premmy and facc respectively)
PHP:
<?php
$main_content = '<br/>
<div class="TableContainer">
<table class="Table3" cellpadding="0" cellspacing="0">
<div class="CaptionContainer">
<div class="CaptionInnerContainer">
<span class="CaptionEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
<span class="CaptionEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
<span class="CaptionBorderTop" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
<span class="CaptionVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
<div class="Text">Account Status</div>
<span class="CaptionVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif)"></span>
<span class="CaptionBorderBottom" style="background-image:url('.$layout_name.'/images/content/table-headline-border.gif)"></span>
<span class="CaptionEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
<span class="CaptionEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif)"></span>
</div>
</div>
<tr>
<td>
<table class="Table5" cellpadding="0" cellspacing="0">
<tbody><tr><td>
<div class="InnerTableContainer">
<table style="width:100%;"><tbody><tr><td><div class="TableShadowContainerRightTop">
<div class="TableShadowRightTop" style="background-image:url(layouts/x/images/content/table-shadow-rt.gif);"></div></div>
<div class="TableContentAndRightShadow" style="background-image:url(layouts/x/images/content/table-shadow-rm.gif);">
<div class="TableContentContainer">
<table class="TableContent" width="100%" style="border:1px solid #faf0d7;">
<tbody><tr><td>
<img class="AccountStatusImage" src="http://otland.net/images/account-status_red.gif" alt="free account"></td>
<td width="100%" valign="middle">
<span class="red"><font size="4"><b>Free Account</b></font></span><small><br>Your premium time expired at Aug 22 2010, 21:25:38 CEST.</small></td><td><form action="?subtopic=logoutaccount" method="post" style="padding:0px;margin:0px;"><div class="BigButton" style="background-image:url(layouts/x/images/buttons/sbutton.gif)"><div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url(layouts/x/images/buttons/sbutton_over.gif);"></div><input class="ButtonText" type="image" name="Logout" alt="Logout" src="layouts/x/images/buttons/_sbutton_logout.gif"></div></div></form><div style="font-size:1px;height:4px;"></div><form action="?subtopic=accountmanagement" method="post" style="padding:0px;margin:0px;"><div class="BigButton" style="background-image:url(layouts/x/images/buttons/sbutton.gif)"><div onmouseover="MouseOverBigButton(this);" onmouseout="MouseOutBigButton(this);"><div class="BigButtonOver" style="background-image:url(layouts/x/images/buttons/sbutton_over.gif);"></div><input class="ButtonText" type="image" name="Manage Account" alt="Manage Account" src="layouts/x/images/buttons/_sbutton_manageaccount.gif"></div></div></form></td></tr> </tbody></table> </div></div><div class="TableShadowContainer"> <div class="TableBottomShadow" style="background-image:url(layouts/x/images/content/table-shadow-bm.gif);"> <div class="TableBottomLeftShadow" style="background-image:url(layouts/x/images/content/table-shadow-bl.gif);"></div> <div class="TableBottomRightShadow" style="background-image:url(layouts/x/images/content/table-shadow-br.gif);"></div> </div></div></td></tr>
</tbody></table>
</div>
</td></tr>
</tbody>
</table>
</td>
</tr>
</table>
</div>';
?>
Last edited: