[Morpheus] lottery hack

Specific instructions on how to apply certain mods to certain styles.

Moderator: Moderators

[Morpheus] lottery hack

Postby kapengbarako on Wed Jul 19, 2006 11:29 am

Here are the files:

[code filename="lottery_history_body.tpl"]
<form method="post" action="{S_MODE_ACTION}">

<table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" class="nav">
<tr>
<td class="nav" align="left" valign="middle"><span class="nav"><a href="{U_INDEX}">{L_INDEX}</a>{LOCATION}</span></td>
</tr>
</table>
<br />

<table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline">
<!-- BEGIN switch_title_info -->
<tr>
<th><span class="gensmall"><b>{L_ID}</b></span></th>
<th><span class="gensmall"><b>{L_WINNER}</b></span></th>
<th><span class="gensmall"><b>{L_AMOUNT_WON}</b></span></th>
<th><span class="gensmall"><b>{L_TIME_WON}</b></span></th>
</tr>
<!-- END switch_title_info -->
<!-- BEGIN listrow -->
<tr>
<td class="row2" align="center"><span class="gen">{listrow.HISTORY_NUM}</span></td><td class="{listrow.ROW_CLASS}" align="center"><span class="gen">{listrow.HISTORY_WINNER}</span></td><td class="{listrow.ROW_CLASS}" align="center"><span class="gen">{listrow.HISTORY_AMOUNT} {listrow.HISTORY_CURRENCY}</span></td><td class="{listrow.ROW_CLASS}" align="center"><span class="gen">{listrow.HISTORY_TIME}</span></td>
</tr>
<!-- END listrow -->
<!-- BEGIN switch_no_history -->
<tr>
<td class="row1" align="center"><span class="gensmall">{switch_no_history.MESSAGE}</span></td>
</tr>
<!-- END switch_no_history -->
</table>
<!-- BEGIN switch_title_info -->
<table width="100%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<td class="row3" align="center"><span class="gensmall">{L_TOTAL_HISTORY}</span></td>
</tr>
</table>

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span class="nav">{PAGE_NUMBER}</span></td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span></td>
</tr>
</table>
<!-- END switch_title_info -->
</form>
<br />

<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline">
<tr>
<td width="100%" align="center" class="row2"><br><span class="gensmall">Lottery Modification: Copyright © 2004, <a href="http://www.knightsofchaos.com/zarath/mods/" class="navsmall">Zarath Technologies</a>.</span><br><br></td>
</tr>
</table>
<br clear="all" />


[/code]

[code filename="lottery_index_body.tpl"]
<table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" class="nav">
<tr>
<td class="nav" align="left" valign="middle"><span class="nav"><a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_LOTTERY}">{L_LOTTERY}</a></span></td>
</tr>
</table>
<br />

{TPL_HDR1}{L_INFO_TITLE}{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<td class="row1" width=30><span class="gen">{L_TICKET_OWNED}</span></td>
<td class="row1" width=70><span class="gen">{TICKETS_OWNED}</span></td>
</tr>
<tr>
<td class="row2"><span class="gen">{L_TICKETS_COST}</span></td>
<td class="row2"><span class="gen">{L_TICKET_COST} {L_CURRENCY}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_BASE_POOL}</span></td>
<td class="row1"><span class="gen">{L_PRIZE_BASE} {L_CURRENCY}</span></td>
</tr>
<!-- BEGIN switch_full_display -->
<tr>
<td class="row2"><span class="gen">{L_CURRENT_POOL}</span></td>
<td class="row2"><span class="gen">{L_CURRENT_ENTRIES}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TOTAL_POOL}</span></td>
<td class="row1"><span class="gen">{L_TOTAL_PRIZE} {L_CURRENCY}</span></td>
</tr>
<!-- END switch_full_display -->
<!-- BEGIN switch_items -->
<tr>
<td class="row2"><span class="gen">{L_ITEM_DRAW}</span></td>
<td class="row2"><span class="gen">{L_ITEM_PRIZE}</span></td>
</tr>
<!-- END switch_items -->
<tr>
<td class="row2"><span class="gen">{L_TIME_DRAW}</span></td>
<td class="row2"><span class="gen">{L_DURATION}</span></td>
</tr>
<!-- BEGIN switch_last_winner -->
<tr>
<td class="row1"><span class="gen">{L_LAST_WINNER}</span></td>
<td class="row1"><span class="nav"><b>{switch_last_winner.WINNER_NAME}</b></span></td>
</tr>
<!-- END switch_last_winner -->
</table>{TPL_FTR}
<br />

<div align="center">

<!-- BEGIN switch_are_actions -->
<form method="post" action="{S_MODE_CONFIG}">
<input type="hidden" name="action" value="options" />
<table width="200" cellpadding="3" cellspacing="1" border="0" align="center" class="forumline">
<tr>
<th colspan="2"><span>{L_ACTIONS_TITLE}</span></th>
</tr>
<!-- END switch_are_actions -->
<!-- BEGIN switch_tickets_single -->
<tr>
<td class="row2 row-center-small" align="center" colspan="2"><input type="submit" name="buy_ticket" value="{I_BUY_TICKET}" class="liteoption" /></td
</tr>
<!-- END switch_tickets_single -->
<!-- BEGIN switch_tickets_multi -->
<tr>
<td class="row2 row-center-small" align="center" colspan="2"><input type="hidden" type="text" name="amount" size="5" maxlength="5" value="1" class="post" /> <input type="submit" name="buy_tickets" value="{I_BUY_TICKETS}" class="liteoption" /></td
</tr>
<!-- END switch_tickets_multi -->
<!-- BEGIN switch_view_history -->
<tr>
<td class="row2 row-center-small" align="center" colspan="2"><input type="submit" name="view_history" value="{I_VIEW_HISTORY}" class="liteoption" /></td
</tr>
<!-- END switch_view_history -->
<!-- BEGIN switch_view_personal -->
<tr>
<td class="row2 row-center-small" align="center" colspan="2"><input type="submit" name="view_personal" value="{I_VIEW_PHISTORY}" class="liteoption" /></td
</tr>
<!-- END switch_view_personal -->
<!-- BEGIN switch_are_actions -->
</table>
</form>
</div>
<!-- END switch_are_actions -->
<br />

<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline">
<tr>
<td width="100%" align="center" class="row2"><br><span class="gensmall">Lottery Modification: Copyright © 2004, <a href="http://www.knightsofchaos.com/zarath/mods/" class="navsmall">Zarath Technologies</a>.</span><br><br></td>
</tr>
</table>
<br clear="all" />
[/code]
kapengbarako
Registered User
Registered User
 
Posts: 145
Joined: Tue Jun 14, 2005 11:32 am

Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 2 guests

cron