Problem se simple points mod

Vaše dotazy, potíže nebo diskuze k phpBB3 MODům patří sem
Pravidla fóra
Nikdy na fóru nezveřejňujete své údaje (uživ. jméno a heslo) k vaší databázi a FTP, riskujete tím mnoho věcí. Od zneužití po zničení vašeho systému. Pokud je to opravdu nutné, tak doporučujeme vytvořit dočasný FTP účet pro ty potřebné soubory.

Oficiální podpora je z technických důvodů poskytována pouze MODům, které byly schváleny na phpBB.com, jejich seznam najdete zde.
Zamčeno
zappik
Příspěvky: 25
Registrován: stř 26. lis 2008 0:16:13

Problem se simple points mod

Příspěvek od zappik » čtv 22. led 2009 22:49:42

Cusik, všechno mi funguje v pohode, akorat u "lotery" a "Banka" je rozhazenej design. viz. zde:
http://points.freebeatz.cz/points.php
uz sem se to pokousel nekolikrat upravit, ale nejde to. jinak vse funguje v pohode.... Diky za odpoved.

Culprit
Příspěvky: 3744
Registrován: čtv 06. dub 2006 0:00:00
Bydliště: Praha, ČR
Kontaktovat uživatele:

Re: Problem se simple points mod

Příspěvek od Culprit » pát 23. led 2009 9:19:08

Spodní část máš, špatně vloženou.
Musíš tu spodní část tabulky přesunout na správné místo.
Tedy přesněji řečeno, musíš to přesunout z jedné tabulky do tabulky, která je hlavní, tak jak je to na ostatních stránkách.
Nebo je na příslušných stránkách špatný template a nemá správně ukončené tagy
«Přečtu si informace o instalaci fóra a jeho komponent» «Podívám se po webu, jestli to někde nebylo řešeno» «Umím li něco z dané oblasti problému, pokusím se vyřešit sám» «Zeptám se podpory» «Neurguji podporu»

zappik
Příspěvky: 25
Registrován: stř 26. lis 2008 0:16:13

Re: Problem se simple points mod

Příspěvek od zappik » pát 23. led 2009 12:15:11

nevim, žádnou chybu sem nenasel, pro jistotu sem dam zdrojáky...

Points_lottery.html

Kód: Vybrat vše

<!-- INCLUDE overall_header.html -->
	

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
	<td width="20%" valign="top">

<table class="tablebg" width="100%" cellspacing="0">

<tr>
	<th>Options</th>

</tr>

<tr>
		<tr><td class="row1" ><a href="./points.php?i={USER_ID}"><span>{L_POINTS_OVERVIEW}</span></a></td></tr>
		<!-- IF POINTS_TRANSFER --><tr><td class="row1" ><a href="./points.php?mode=transfer&i={USER_ID}"><span>{L_POINTS_TRANSFER}</span></a></td></tr><!-- ENDIF -->
		<!-- IF POINTS_LOGS --><tr><td class="row1" ><a href="./points.php?mode=logs&i={USER_ID}"><span>{L_POINTS_LOGS}</span></a></td></tr><!-- ENDIF -->
            <!-- IF LOTTERY_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=lottery"><span>{L_POINTS_LOTTERY}</span></a></td></tr><!-- ENDIF -->
            <!-- IF DONOR_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=donate"><span>{L_POINTS_DONATE}</span></a></td></tr><!-- ENDIF -->
            <!-- IF BANK_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=bank"><span>{L_POINTS_BANK}</span></a></td></tr><!-- ENDIF -->
</tr>

</table>
</td>

<td width="80%" valign="top">
<table class="tablebg" width="100%" cellspacing="0">
<form name="ucp" id="ucp" method="post" action="">
<tr>
                   <th>{L_POINTS_LOTTERY}</th>
</tr>
<tr>
<td class="row2">
			<!-- IF S_VIEW_HISTORY -->
				<div align="left"><a href="{U_BACK_TO_LOTTERY}">{L_BACK_TO_LOTTERY}</a></div>
				<div align="center"><h3><font size="4">{LOTTERY_NAME} {L_HISTORY}</font></h3></div>
				<div class="forumbg">
					<div class="inner">
						<span class="corners-top"><span></span></span>
						<table cellpadding="4" cellspacing="1" border="0" class="table1">
							<thead>
							<tr> 
								<th>#</th>
								<th>{L_USERNAME}</th>
								<th>{L_WINNINGS}</th>
								<th>{L_DATE}</th>
							</tr>
							</thead>
							<!-- BEGIN history_row -->
								<tr class="<!-- IF history_row.ROW_COLOR is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->"> 
									<td class="row{history_row.ROW_COLOR}" align="center">{history_row.NUMBER}</td>
									<td class="row{history_row.ROW_COLOR}" align="center"><a href="{history_row.U_WINNER_PROFILE}">{history_row.USERNAME}</a></td>
									<td class="row{history_row.ROW_COLOR}" align="center"><!-- IF history_row.WINNINGS == 0 --><!-- ELSE -->{history_row.WINNINGS} {CASH_NAME}<!-- ENDIF --></td>
									<td class="row{history_row.ROW_COLOR}" align="center">{history_row.DATE}</td>
								</tr>
							<!-- END history_row -->
						</table>
						<span class="corners-bottom"><span></span></span></div>
						<div class="pagination">
							{TOTAL_WINNERS} {L_TOTAL_WINNERS}
							<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
						</div>
					</div>
				</div>
				<br />
				<br />
				<div align="left"><a href="{U_BACK_TO_LOTTERY}">{L_BACK_TO_LOTTERY}</a></div>
			<!-- ELSE -->
			<div align="center"><h3><font size="4">{LOTTERY_NAME}</font></h3></div>
			<table width="75%" cellpadding="4" cellspacing="0" border="0" class="table1">
				<!-- IF S_DRAWING_ENABLED -->
					<!-- IF S_USER_LOGGED_IN -->
						<tr>
							<td width="25%"></td>
							<td align="left" width="25%"><font size="2">{L_VIEWER_TICKETS}</font></td>
							<td align="left">
							<form method="post" action="lottery.php">
							<font size="2">{VIEWER_TICKETS_TOTAL} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </font> 
							<!-- IF S_PURCHASE_TICKETS -->
								<!-- IF not S_MULTI_TICKETS -->
									<input type="hidden" name="total_tickets" value="1" />
									<input type="submit" name="purchase_ticket" value="{L_PURCHASE_TICKET}" class="button2" />
								<!-- ELSE -->
									<input type="text" name="total_tickets" value="1" size="3" /> <input type="submit" name="purchase_ticket" value="{L_PURCHASE_TICKET}" class="button2" />
								<!-- ENDIF -->
							<!-- ENDIF -->
							</form>
							</td>
						</tr>
					<!-- ENDIF -->
					<!-- IF S_CASH_MOD -->
						<tr>
							<td width="25%"></td>
							<td align="left"><font size="2">{L_TICKET_COST}</font></td>
							<td align="left"><font size="2">{TICKET_COST} {CASH_NAME}</font></td>
						</tr>
						<tr>
							<td width="25%"></td>
							<td align="left"><font size="2">{L_JACKPOT}</font></td>
							<td align="left"><font size="2">{JACKPOT} {CASH_NAME}</font></td>
						</tr>
					<!-- ENDIF -->
						<tr>
							<td width="25%"></td>
							<td align="left"><font size="2">{L_NEXT_DRAWING}</font></td>
							<td align="left"><font size="2">{NEXT_DRAWING}</font></td>
						</tr>
			     <!-- ENDIF -->
		      <tr>
			       <td width="25%"></td>
			       <td align="left" width="25%"><font size="2">{L_LAST_WINNER}</font></td>
			       <td align="left"><font size="2"><b><a href="{U_PREVIOUS_WINNER}">{PREVIOUS_WINNER}</a></b></font></td>
		      </tr>

		      <tr>
			       <td width="25%"></td>
			       <td align="left" width="25%"><font size="2"><a href="{U_VIEW_HISTORY}">{L_VIEW_HISTORY}</a></font></td>
			       <td align="left"><font size="2"><a href="{U_VIEW_SELF_HISTORY}">{L_VIEW_SELF_HISTORY}</a></font></td>
		      </tr>
		      <!-- ENDIF -->
		      </table>
</td></tr>
</form>
</table>
</td>
</tr>
</table>
<!-- INCLUDE overall_footer.html -->
points_bank.html

Kód: Vybrat vše

<!-- INCLUDE overall_header.html -->
<div id="wrap-top">
	

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
	<td width="20%" valign="top">

<table class="tablebg" width="100%" cellspacing="0">

<tr>
	<th>Options</th>

</tr>

<tr>
		<tr><td class="row1" ><a href="./points.php?i={USER_ID}"><span>{L_POINTS_OVERVIEW}</span></a></td></tr>
		<!-- IF POINTS_TRANSFER --><tr><td class="row1" ><a href="./points.php?mode=transfer&i={USER_ID}"><span>{L_POINTS_TRANSFER}</span></a></td></tr><!-- ENDIF -->
		<!-- IF POINTS_LOGS --><tr><td class="row1" ><a href="./points.php?mode=logs&i={USER_ID}"><span>{L_POINTS_LOGS}</span></a></td></tr><!-- ENDIF -->
            <!-- IF LOTTERY_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=lottery"><span>{L_POINTS_LOTTERY}</span></a></td></tr><!-- ENDIF -->
            <!-- IF DONOR_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=donate"><span>{L_POINTS_DONATE}</span></a></td></tr><!-- ENDIF -->
            <!-- IF BANK_ENABLE --><tr><td class="row1" ><a href="./points.php?mode=bank"><span>{L_POINTS_BANK}</span></a></td></tr><!-- ENDIF -->
</tr>

</table>
</td>

<td width="80%" valign="top"><form name="ucp" id="ucp" method="post" action="">

  <table width="99%" cellpadding="4" cellspacing="0" border="0" align="center" class="forumline">
	<tr> 
	  <th class="thHead" colspan="2">{L_BANK_TITLE}</th>
	</tr>
<!-- BEGIN has_account -->
	<tr>
	  <td class="row2" colspan="2"><span class="gen"><b>{L_ACTIONS}</b></span></td>
	</tr>
</form>
<form method="post" action="{U_DEPOSIT}">
	<tr>
	</tr>
</form>
<form method="post" action="{U_DEPOSIT}">
	<tr>
	  <td class="row2"><input type="submit" class="liteoption" name="Deposit" value="{L_DEPOSIT}"></td>
	  <td class="row2"><input type="text" class="post" name="deposit" size="20" value="{USER_GOLD}"></td>
	</tr>
</form>
<form method="post" action="{U_WITHDRAW}">
	<tr>
	  <td class="row2"><input type="submit" class="liteoption" name="Withdraw" value="{L_WITHDRAW}"></td>
	  <td class="row2"><input type="text" class="post" name="withdraw" size="20" value="{USER_WITHDRAW}"></td>	
	</tr>
</form>
<!-- END has_account -->
<!-- BEGIN no_account -->
	<tr>
	  <td class="row2" colspan="2"><span class="gensmall">{no_account.L_NO_ACCOUNT}! Please click <a href="./bank.php?action=createaccount">here</a></span></td>
	</tr>
	<tr>
	  <td class="row2" colspan="2"><span class="gen">{no_account.U_OPEN_ACCOUNT}</span></td>
	</tr>
<!-- END no_account -->

	<tr>
	  <td class="row1" colspan="2"><br /></td>
	</tr>
	<tr>
	  <td class="row3" colspan="2"><span class="gen"><b>{L_BANK_INFO}</b></span></td>
	</tr>
<!-- BEGIN has_account -->
	<tr>
	  <td class="row2"><span class="gen">{L_USER_BALANCE}</span></td><td class="row2"><span class="gen">{USER_BALANCE} {L_POINTS}</span></td>
	</tr>
	<tr>
	  <td class="row2" colspan="2"><br /></td>
	</tr>
<!-- END has_account -->
	<tr>
	  <td class="row2"><span class="gen">{L_INTEREST_RATE}</span></td><td class="row2"><span class="gen">{BANK_INTEREST}%</span></td>
	</tr>
<!-- BEGIN switch_withdraw_fees -->
	<tr>
	  <td class="row2"><span class="gen">{L_WITHDRAW_RATE}</span></td><td class="row2"><span class="gen">{BANK_FEES}%</span></td>
	</tr>
<!-- END switch_withdraw_fees -->
<!-- BEGIN switch_min_depo -->
	<tr>
	  <td class="row2"><span class="gen">{L_MIN_DEPO}</span></td><td class="row2"><span class="gen">{BANK_MIN_DEPO} {L_POINTS}</span></td>
	</tr>
<!-- END switch_min_depo -->
<!-- BEGIN switch_min_with -->
	<tr>
	  <td class="row2"><span class="gen">{L_MIN_WITH}</span></td><td class="row2"><span class="gen">{BANK_MIN_WITH} {L_POINTS}</span></td>
	</tr>
<!-- END switch_min_with -->
	<tr>
	  <td class="row2"><span class="gen">{L_TOTAL_ACCS}</span></td><td class="row2"><span class="gen">{BANK_ACCOUNTS}</span></td>
	</tr>
	<tr>
	  <td class="row2"><span class="gen">{L_HOLDING}</span></td><td class="row2"><span class="gen">{BANK_HOLDINGS} {L_POINTS}</span></td>
	</tr>

  </table>

<br /><div align="center"><b><i>{L_IPOINTS}{POINT_VERS}</i></b></div><br />
</div>
<!-- INCLUDE overall_footer.html -->
Pomozte prosím, ja tam zadnej moc velkej rozdil nevidim ... :(

Zamčeno