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

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 $users = $this->newUsers($limit = 216,'created_at','DESC');
0023 $buildMemberUrl = new Default_View_Helper_BuildMemberUrl();
0024 $helperImage = new Default_View_Helper_Image();
0025 $this->headMeta()->setName('robots', 'noindex, nofollow');
0026 ?>
0027 
0028     <!-- new code -->
0029     <main id="reg-page">
0030 
0031         <section class="wrapper" id="register-wrap">
0032             <div id="register" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 clearfix">
0033                 <div id="register-box" class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
0034 
0035                     <?= $this->render('authorization/partials/forgot-form.phtml') ?>
0036 
0037                 </div>
0038                 <!-- END #login-box -->
0039                 <div id="social-register" class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
0040                     <h3></h3>
0041 
0042                     <div class="bottom">
0043                         <div id="show-login-description" class="small light lightgrey">Already have an account?</div>
0044                         <div class="login2">
0045                             <a href="/login/"
0046                                id="show-login-form"
0047                                class="btn btn-native btn-min-width" rel="nofollow">
0048                                 <i class="icon-white icon-lock"></i>
0049                                 Login
0050                             </a>
0051                         </div>
0052                     </div>
0053                 </div>
0054             </div>
0055         </section>
0056 
0057         <section id="thumbs">
0058 
0059             <?php foreach ($users as $key => $user) { ?>
0060 
0061                 <div class="thumb">
0062                     <a href="<?php echo $buildMemberUrl->buildMemberUrl($user['username']); ?>">
0063                         <span></span>
0064                         <img src="<?php echo $helperImage->Image($user['profile_image_url'],array('width' => 110, 'height' => 110, 'crop' => 2)); ?>"/>
0065                     </a>
0066                 </div>
0067 
0068             <?php } ?>
0069 
0070         </section>
0071 
0072     </main>
0073     <!-- /new code -->
0074 
0075 
0076 <?php $this->inlineScript()->appendScript(
0077     '    $(document).ready(function(){
0078             PartialJson.setup();
0079         });
0080     ');