[Aphrodite] lottery hack

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

Moderator: Moderators

[Aphrodite] lottery hack

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

Here are the files:

[code filename="lottery_index_body.tpl"]
<div class="forumline nav-div">
<p class="nav-header">
<a href="{U_INDEX}">{L_INDEX}</a> &raquo; <a href="{U_LOTTERY}">{L_LOTTERY}</a>
</p>
<div class="nav-links">
<div class="nav-links-left">
{CURRENT_TIME}
</div>
&nbsp;
</div>
</div>


<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline">
<tr>
<td class="row-header" colspan="2"><span>{L_INFO_TITLE}</span></td>
</tr>
<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>
<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="0" cellspacing="0" border="0" align="center" class="forumline">
<tr>
<td class="row-header" colspan="2"><span>{L_ACTIONS_TITLE}</span></td>
</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 -->
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline">
<tr>
<td width="100%" align="center" class="catBottom"><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_history_body.tpl"]
<form method="post" action="{S_MODE_ACTION}">

<div class="forumline nav-div">
<p class="nav-header">
<a href="{U_INDEX}">{L_INDEX}</a>
</p>
<div class="nav-links">
<div class="nav-links-left">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a><br />
<!-- END switch_user_logged_in -->
<!-- Start add - Advanced time management MOD -->
<!-- BEGIN switch_valid_time -->
{CURRENT_TIME}
<!-- END switch_valid_time -->
<!-- End add - Advanced time management MOD -->
| {S_TIMEZONE}
</div>
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_user_logged_out -->
<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_out -->
</div>
</div>

<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td align="left"><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a>{LOCATION}</span></td>
</tr>
</table>
<table width="99%" cellpadding="0" cellspacing="0" border="0" align="center" class="forumline">
<!-- BEGIN switch_title_info -->
<tr>
<th class="thHead"><span class="gensmall"><b>{L_ID}</b></span></th><th class="thHead"><span class="gensmall"><b>{L_WINNER}</b></span></th><th class="thHead"><span class="gensmall"><b>{L_AMOUNT_WON}</b></span></th><th class="thHead"><span class="gensmall"><b>{L_TIME_WON}</b></span></th>
</tr>
<!-- END switch_title_info -->
<!-- BEGIN listrow -->
<tr>
<td class="row4" 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="99%" 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>
<table width="99%" cellpadding="4" cellspacing="1" 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.zarath.com/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

Pls help me.

Postby iDragula on Sun Aug 17, 2008 5:13 pm

I have read your article and have one question to ask, would you pls Post your MSN to me?
iDragula
Registered User
Registered User
 
Posts: 1
Joined: Wed Aug 13, 2008 12:36 am

Re: [Aphrodite] lottery hack

Postby husker on Sun Aug 17, 2008 6:16 pm

Please post any questions here. Also, basing on your signature, I am guessing you are just planning to spam
User avatar
husker
Moderator
Moderator
 
Posts: 633
Joined: Wed Dec 22, 2004 11:08 pm
Location: Colorado, USA


Return to How to mod some styles

Who is online

Users browsing this forum: No registered users and 1 guest

cron