File indexing completed on 2024-12-29 05:24:45

0001 <?php
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 
0023 $helperImage = new Default_View_Helper_Image();
0024 $helpMemberUrl = new Default_View_Helper_BuildMemberUrl();
0025 $this->myCounter = $this->myCounter + 1;
0026 
0027 if (($this->partialCounter<4 && $this->partialCounter  % 5 == 0) || ($this->partialCounter>4 && $this->partialCounter  % 4 == 0)):?>
0028 </div>
0029 <?php endif; ?>
0030 
0031 <?php if (($this->partialCounter < 4 && $this->partialCounter % 5 == 0) || ($this->partialCounter > 4 && $this->partialCounter % 4 == 0)): ?>
0032 <div class="row-fluid">
0033     <?php endif; ?>
0034 
0035     <div class="span3 post">
0036         <div class="clearfix">
0037             <div class="supporter-thumbnail relative">
0038                 <?php echo $this->myCounter; ?>
0039                 <a href="<?php echo $helpMemberUrl->buildMemberUrl($this->username); ?>">
0040                     <div class="profile-image-overlay-3 absolute"></div>
0041                     <img src="<?= $helperImage->Image($this->profile_image_url,array('width' => 89, 'height' => 80, 'crop' => 2)); ?>" alt="<?= $this->username ?>" width="80">
0042                 </a>
0043             </div>
0044             <!-- /.supporter-thumbnail -->
0045 
0046             <div class="supporter-details">
0047                 <h3 class="<?php echo $this->supporter-name?>"><?php echo $this->username; ?></h3>
0048                 <?php if ($this->comment) { ?>
0049                     <div class="supporter-comment">
0050                         <?php echo $this->comment; ?>
0051                     </div>
0052                 <?php } ?>
0053                 <span>
0054               $<?= $this->amount ?>
0055             </span>
0056 
0057             </div>
0058         </div>
0059     </div>
0060     <!-- END .post -->