File indexing completed on 2025-05-04 05:29:20
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 $helpProductUrl = new Default_View_Helper_BuildProductUrl(); 0023 $helpImage = new Default_View_Helper_Image(); 0024 0025 0026 ?> 0027 <div class="explore-product col-lg-12 col-md-12 col-sm-12 col-xs-12 nopaddingleftright" > 0028 <div class="col-lg-1 col-md-1 col-sm-1 col-xs-1 nopaddingleftright" > 0029 <div class="rownum"> 0030 <?= intval($this->rownum)?>. 0031 </div> 0032 </div> 0033 <div class="col-lg-2 col-md-2 col-sm-2 col-xs-2 explore-product-imgcolumn nopaddingleftright" > 0034 <figure> 0035 <a href="<?= $helpProductUrl->buildProductUrl($this->product['project_id'], ''); ?>"> 0036 0037 <img src="<?php echo $helpImage->Image($this->product['image_small'], array('width' => 40, 'height' => 40)); ?>" style="width: 30px; height: 30px; padding-top: 3px"/> 0038 0039 </a> 0040 </figure> 0041 </div> 0042 <div class="explore-product-details col-lg-9 col-md-9 col-sm-9 col-xs-9 nopaddingleftright" > 0043 <div style="line-height: 16px"> 0044 <a href="<?= $helpProductUrl->buildProductUrl($this->product['project_id'], ''); ?>"><?php echo $this->product['title']; ?></a> 0045 <span style="font-size: smaller;display: block"><?php echo $this->product['category_title']; ?></span> 0046 <?php if(Zend_Auth::getInstance()->hasIdentity() AND Zend_Auth::getInstance()->getIdentity()->roleName == 'admin') {?> 0047 <span style="font-size: smaller;display: block"><?php echo $this->product['amount']; ?></span> 0048 <?php } ?> 0049 0050 </div> 0051 </div> 0052 <?php /* 0053 <div class="explore-product-plings col-lg-2 col-md-2 col-sm-2 col-xs-2 nopaddingleftright" style="text-align: right"> 0054 <div style="line-height: 25px"> 0055 <?php echo $this->product['amount']; ?> 0056 </div> 0057 </div> 0058 */ ?> 0059 </div><!-- END .explore-product -->