File indexing completed on 2024-12-29 05:24:39
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 $helperAddDefaultScheme = new Default_View_Helper_AddDefaultScheme(); 0024 $helperBuildMemberUrl = new Default_View_Helper_BuildMemberUrl(); 0025 $helperImage = new Default_View_Helper_Image(); 0026 0027 ?> 0028 <aside class="col-md-4 col-lg-4 col-sm-4 col-xs-12 about-me-sidebar"> 0029 0030 <?php if (empty($this->product->claimable)) { ?> 0031 <!-- the maker --> 0032 <div class="col-lg-12 col-md-12 col-sm-12 col-xs-6 col-container"> 0033 <div class="well about-me-sidebar-section"> 0034 <div class="sidebar-header"> 0035 <h3><?= $this->translate('THE MAKER') ?></h3> 0036 </div> 0037 <div class="sidebar-content"> 0038 <div class="row product-maker-sidebar"> 0039 <div class="col-md-5 col-lg-5 col-sm-5 col-xs-5 product-maker-thumbnail relative"> 0040 <a href="<?php echo $helperBuildMemberUrl->buildMemberUrl($this->member->username); ?>" 0041 title="<?= $this->member->username ?>"> 0042 <div class="profile-image-overlay-4 absolute"></div> 0043 <img src="<?= $helperImage->Image($this->member->profile_image_url, array('width' => 100, 'height' => 100)); ?>" 0044 alt="product-maker" 0045 width="100" 0046 height="100" 0047 class="sidebar-profile-image"> 0048 </a> 0049 </div> 0050 <div class="col-md-7 col-lg-7 col-sm-7 col-xs-7 product-maker-summary"> 0051 <h4> 0052 <a href="<?php echo $helperBuildMemberUrl->buildMemberUrl($this->member->username); ?>"><?= $this->member->username; ?></a> 0053 </h4> 0054 0055 <div class="small"><?= $this->member->firstname ?> <?= $this->member->lastname ?></div> 0056 <div class="small"><?= $this->member->city ?> <?= $this->member->country ?></div> 0057 <div class="info-div"> 0058 <?php if (false === empty($this->member->link_website)): ?> 0059 <span class="text"><a 0060 href="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_website); ?>" 0061 target="_NEW" 0062 title="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_website); ?>" 0063 ><span class="fa fa-globe"></span></a></span> 0064 <?php endif; ?> 0065 <?php if (false === empty($this->member->link_facebook)): ?> 0066 <span class="text"><a 0067 href="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_facebook); ?>" 0068 target="_NEW" 0069 title="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_facebook); ?>" 0070 ><span class="fa fa-facebook-square"></span></a></span> 0071 <?php endif; ?> 0072 <?php if (false === empty($this->member->link_twitter)): ?> 0073 <span class="text"><a 0074 href="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_twitter); ?>" 0075 target="_NEW" 0076 title="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_twitter); ?>" 0077 ><span class="fa fa-twitter-square"></span></a></span> 0078 <?php endif; ?> 0079 <?php if (false === empty($this->member->link_google)): ?> 0080 <span class="text"><a 0081 href="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_google); ?>" 0082 target="_NEW" 0083 title="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_google); ?>" 0084 ><span class="fa fa-google-plus-square"></span></a></span> 0085 <?php endif; ?> 0086 <?php if (false === empty($this->member->link_github)): ?> 0087 <span class="text"><a 0088 href="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_github); ?>" 0089 target="_NEW" 0090 title="<?php echo $helperAddDefaultScheme->addDefaultScheme($this->member->link_github); ?>" 0091 ><span class="fa fa-github-square"></span></a></span> 0092 <?php endif; ?> 0093 </div> 0094 </div> 0095 </div> 0096 </div> 0097 </div> 0098 </div> 0099 <!-- /the maker --> 0100 <?php } ?> 0101 0102 </aside>