First pass at adding key files
This commit is contained in:
		@@ -0,0 +1,86 @@
 | 
			
		||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
			
		||||
<%set using_direct_methods = Links::Payment::direct_methods_used()~%>
 | 
			
		||||
<%set definitely_https = Links::https()~%>
 | 
			
		||||
<html>
 | 
			
		||||
<head>
 | 
			
		||||
  <title><%site_title%>: Payment</title>
 | 
			
		||||
<%include include_common_head.html%>
 | 
			
		||||
</head>
 | 
			
		||||
<body id="payment_method">
 | 
			
		||||
<%include include_accessibility.html%>
 | 
			
		||||
  <div id="wrapper">
 | 
			
		||||
<%include include_header.html%>
 | 
			
		||||
<%include include_contentheader.html%>
 | 
			
		||||
    <div id="ocwrapper" class="clear">
 | 
			
		||||
      <div id="icwrapper" class="clear">
 | 
			
		||||
<%include include_leftsidebar.html%>
 | 
			
		||||
        <div id="contentwrapper" class="shadowleft">
 | 
			
		||||
<%include include_contentwrapper_top.html%>
 | 
			
		||||
          <div class="shadowtop"><div class="shadowtopleft"></div><div class="shadowtopright"></div></div>
 | 
			
		||||
          <div class="shadowright">
 | 
			
		||||
            <div id="content">
 | 
			
		||||
<%include include_content_top.html%>
 | 
			
		||||
 | 
			
		||||
<div class="crumb"><%Links::Utils::format_title($main_title_loop, separator => $crumb_separator, no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%></div>
 | 
			
		||||
<h2>Payment</h2>
 | 
			
		||||
 | 
			
		||||
<%~if using_direct_methods and not definitely_https%>
 | 
			
		||||
<p>
 | 
			
		||||
  If your browser does not indicate that you are in a secure environment (usually indicated by a padlock icon at the bottom of the browser window), visit the <a href="<%db_cgi_url_https%>/<%if modify%>modify<%else%>add<%endif%>.cgi?do=payment_method;modify=1;process_payment=1;payment_term=<%payment_term%>;cat_id=<%cat_id%>;link_id=<%link_id%>">secure version</a> of this page.
 | 
			
		||||
</p>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
 | 
			
		||||
<%if payment_description%><p><%payment_description%></p><%endif%>
 | 
			
		||||
 | 
			
		||||
<%if payment_amount%>
 | 
			
		||||
<p>
 | 
			
		||||
  <strong>Payment:</strong>
 | 
			
		||||
  <%if payment_type == 2%><%-- Recurring --%>
 | 
			
		||||
  <%Links::Payment::currency($payment_amount)%> <%if payment_term_num == 1%>per<%else%>every <%payment_term_num%><%endif%> <%payment_term_unit%>
 | 
			
		||||
  <%~else%>
 | 
			
		||||
  <%Links::Payment::currency($payment_amount)%> - <%if payment_term_num%><%payment_term_num%> <%payment_term_unit%><%else%>Lifetime<%endif%>
 | 
			
		||||
  <%~endif%>
 | 
			
		||||
</p>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
 | 
			
		||||
<%unless error%><p>Please choose a payment method below to continue:</p><%endif%>
 | 
			
		||||
 | 
			
		||||
<form action="<%if using_direct_methods and definitely_https%><%db_cgi_url_https%><%else%><%config.db_cgi_url%><%endif%>/<%if modify%>modify<%else%>add<%endif%>.cgi" method="post">
 | 
			
		||||
  <input type="hidden" name="process_payment" value="1" />
 | 
			
		||||
  <input type="hidden" name="do" value="payment_form" />
 | 
			
		||||
  <input type="hidden" name="last_step" value="method" />
 | 
			
		||||
  <input type="hidden" name="last_page" value="payment_method" />
 | 
			
		||||
  <input type="hidden" name="cat_id" value="<%escape_html cat_id%>" />
 | 
			
		||||
  <input type="hidden" name="link_id" value="<%escape_html link_id%>" />
 | 
			
		||||
  <input type="hidden" name="payment_term" value="<%escape_html payment_term%>" />
 | 
			
		||||
  <%if modify%><input type="hidden" name="modify" value="1" /><%endif%>
 | 
			
		||||
 | 
			
		||||
<%~if direct_methods_used or remote_methods_used%>
 | 
			
		||||
<%~loop payment_methods%>
 | 
			
		||||
  <input type="radio" id="payment_method-<%if payment_direct%>direct<%else%>remote<%endif%>_<%payment_method%>" name="payment_method" value="<%if payment_direct%>direct<%else%>remote<%endif%>_<%escape_html payment_method%>" class="radio" />
 | 
			
		||||
  <label for="payment_method-<%if payment_direct%>direct<%else%>remote<%endif%>_<%payment_method%>"><%if payment_name%><%payment_name%><%else%><%payment_method%><%endif%></label><br />
 | 
			
		||||
  <blockquote><%loop payment_types%><%name%><%unless last%>, <%endunless%><%endloop%></blockquote>
 | 
			
		||||
<%~endloop%>
 | 
			
		||||
<%~else%>
 | 
			
		||||
  <p class="errormessage">Error: There are no payment methods which support your selected payment term.</p>
 | 
			
		||||
<%~endif%>
 | 
			
		||||
 | 
			
		||||
  <div class="formsubmit">
 | 
			
		||||
    <input type="submit" value="Next" class="submit" />
 | 
			
		||||
  </div>
 | 
			
		||||
</form>
 | 
			
		||||
 | 
			
		||||
<%include include_content_bottom.html%>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div class="shadowbottom"><div class="shadowbottomleft"></div><div class="shadowbottomright"></div></div>
 | 
			
		||||
<%include include_contentwrapper_bottom.html%>
 | 
			
		||||
        </div>
 | 
			
		||||
<%include include_rightsidebar.html%>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
<%include include_contentfooter.html%>
 | 
			
		||||
<%include include_footer.html%>
 | 
			
		||||
  </div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user