55 lines
1.5 KiB
PHP
55 lines
1.5 KiB
PHP
<?php
|
|
/*
|
|
* * Template Name: donate
|
|
* * */
|
|
?>
|
|
|
|
<?php include('splash_header.php'); ?>
|
|
|
|
<div id="contentwrapper">
|
|
<div id="contentcontainer">
|
|
<h2>Donate</h2>
|
|
<div id="sidenav">
|
|
<a href="https://thefnf.org/donate/?page=CiviCRM&q=civicrm/contribute/transact&reset=1&id=1" class="on">Join the FNF</a>
|
|
<a href="/donate-bitcoin">Give Bitcoins</a>
|
|
<a href="/donate-in-kind">Give In Kind</a>
|
|
</div ##end of sidenav>
|
|
<div id="col" class="dcol" style="overflow: auto;">
|
|
<h3> Contribute to the FNF, ensure that everyone has the freedom to connect:</h3>
|
|
<!-- Start the Loop. -->
|
|
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
|
<!-- Test if the current post is in category 3. -->
|
|
<!-- If it is, the div box is given the CSS class "post-cat-three". -->
|
|
<!-- Otherwise, the div box is given the CSS class "post". -->
|
|
|
|
|
|
|
|
<!-- Display the Post's content in a div box. -->
|
|
|
|
<div class="entry">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
|
|
|
|
<!-- Display a comma separated list of the Post's Categories. -->
|
|
|
|
|
|
|
|
<!-- Stop The Loop (but note the "else:" - see next line). -->
|
|
|
|
<?php endwhile; else: ?>
|
|
|
|
|
|
<!-- The very first "if" tested to see if there were any Posts to -->
|
|
<!-- display. This "else" part tells what do if there weren't any. -->
|
|
<p>Sorry, no posts matched your criteria.</p>
|
|
|
|
|
|
<!-- REALLY stop The Loop. -->
|
|
<?php endif; ?>
|
|
</div ##end of col>
|
|
</div ## end colcontainer>
|
|
</div ## end of colwrapper>
|
|
|
|
<?php get_footer(); ?>
|