Need help to code page

2008paul

Paragon
Joined
Mar 10, 2009
Messages
1,039
Reaction score
0
FP$
6
I'm trying to create a Donate page.

Up to now I've just got donate_body

Code:
<!-- INCLUDE overall_header.html -->

<h2>Donate</h2>
      
Test

<!-- end -->

index_body
Code:
<!-- INCLUDE overall_header.html -->

<center><!-- IF not S_USER_LOGGED_IN -->
<font color="blue"><form method="post" action="{S_LOGIN_ACTION}">
<input type="text" name="username" class="quick-login-form" title="{L_USERNAME}" value="{L_USERNAME}" onfocus="if (this.value == '{L_USERNAME}') {this.value = '';}" onblur="if (this.value == '') {this.value = '{L_USERNAME}';}" />
<input type="password" name="password" class="quick-login-form" title="{L_PASSWORD}" value="********" onfocus="if (this.value == '********') {this.value = '';}" onblur="if (this.value == '') {this.value = '********';}" />
<input type="submit" name="login" value="{L_LOGIN}" class="quick-login-button" /><br />
<!-- IF S_AUTOLOGIN_ENABLED --><label for="autologin"><input type="checkbox" name="autologin" style="margin-top: -3px;" /> Remember Me?</label><!-- ENDIF -->
<label for="viewonline"><input type="checkbox" name="viewonline" style="margin-top: -3px;" /> Hide Online Status?</label><span>&bull; <a href="ucp.php?mode=sendpassword">{L_FORGOT_PASS}</a></span>
</form></font>
<!-- ENDIF --></center>

<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->

<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
	<!-- IF S_DISPLAY_SEARCH -->
		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
	<!-- ENDIF -->
	<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->

<!-- INCLUDE forumlist_body.html -->


<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
<div class="stat-info" style="background-image: url('{T_THEME_PATH}/images/lock.png');">
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
		</fieldset>
	</form>
</div>    
<!-- ENDIF -->


<!-- IF S_DISPLAY_ONLINE_LIST -->
<div class="stat-info" style="background-image: url('{T_THEME_PATH}/images/who-is-online.png');">
	<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
	<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
	<!-- IF LEGEND --><br /><strong>{L_LEGEND}: {LEGEND}</strong><!-- ENDIF --></p>
</div>
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
<div class="stat-info" style="background-image: url('{T_THEME_PATH}/images/birthdays.png');">
	<h3>{L_BIRTHDAYS}</h3>
	<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
</div>
<!-- ENDIF -->

<!-- IF NEWEST_USER -->
<div class="stat-info" style="background-image: url('{T_THEME_PATH}/images/statistics.png');">
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
</div>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

But that don't seem to work. I just need the page made and then I can do the text etc.

Thank you
Paul
 
If you want me to create this page for you, you can request it here. Alternatively, you will need to create a page such as donate.php and insert the relevant PHP code.
 
Thanks but I don't rely want to register on a other site just to get this.

I've had one made by The Pimped Papaya before for my old site. But that don't seem to want to work on the site I'm trying to put it on.

viewtopic.php?f=54&t=29128
 
Back
Top Bottom