AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/nice/libraries/CBLib/CB/Legacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nice/libraries/CBLib/CB/Legacy/cbListView.php
<?php
/**
* CBLib, Community Builder Library(TM)
* @version $Id: 6/18/14 3:14 PM $
* @copyright (C) 2004-2025 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/

use CB\Database\Table\UserTable;

defined('CBLIB') or die();

/**
 * cbListView Class implementation
 * Lists Views Handler class
 */
class cbListView extends cbTemplateHandler
{
	public $lists;
	public $listId;
	public $total;
	public $totalIsAllUsers;
	public $searchTabContent;
	public $searchResultDisplaying;
	public $ue_base_url;
	public $listTitleHtml;
	public $listDescription;
	public $searchCriteriaTitleHtml;
	public $searchResultsTitleHtml;
	public $allowListAll;
	public $allowListSelector;
	public $searchCollapsed;
	public $hideHeader;
	/**
	 * User
	 * @var UserTable[]
	 */
	public $users;
	/**
	 * Array of the columns for titles
	 * @var stdClass[]
	 */
	public $columns;
	/**
	 * Array of rendered cells fields
	 * @var array of array of array of array of string
	 */
	public $tableContent;
	/**
	 * If links to profiles from the list are allowed
	 * @var boolean
	 */
	public $allowProfileLink;
	public $profileLinkTarget;
	public $layout;
	public $gridSize;
	public $searchMode;

	/**
	 * Draws the list head
	 *
	 * @param  string[]  $lists
	 * @param  int       $listId
	 * @param  int       $total
	 * @param  boolean   $totalIsAllUsers
	 * @param  string    $searchTabContent
	 * @param  boolean   $searchResultDisplaying
	 * @param  string    $ue_base_url
	 * @param  string    $listTitleHtml
	 * @param  string    $listDescription
	 * @param  string    $searchCriteriaTitleHtml
	 * @param  string    $searchResultsTitleHtml
	 * @param  boolean   $allowListAll
	 * @param  boolean   $allowListSelector
	 * @param  boolean   $searchCollapsed
	 * @param  int       $searchMode
	 * @param  bool      $hideHeader
	 * @return string
	 */
	public function drawListHead( $lists, $listId, $total, $totalIsAllUsers, $searchTabContent, $searchResultDisplaying,
						   $ue_base_url, $listTitleHtml, $listDescription, $searchCriteriaTitleHtml, $searchResultsTitleHtml,
						   $allowListAll = true, $allowListSelector = true, $searchCollapsed = false, $searchMode = 0, $hideHeader = false )
	{
		$this->lists					=	$lists;
		$this->listId					=	$listId;
		$this->total					=	$total;
		$this->totalIsAllUsers			=	$totalIsAllUsers;
		$this->searchTabContent			=	$searchTabContent;
		$this->searchResultDisplaying	=	$searchResultDisplaying;
		$this->ue_base_url				=	$ue_base_url;
		$this->listTitleHtml			=	$listTitleHtml;
		$this->listDescription			=	$listDescription;
		$this->searchCriteriaTitleHtml	=	$searchCriteriaTitleHtml;
		$this->searchResultsTitleHtml	=	$searchResultsTitleHtml;
		$this->allowListAll				=	$allowListAll;
		$this->allowListSelector		=	$allowListSelector;
		$this->searchCollapsed			=	$searchCollapsed;
		$this->searchMode				=	$searchMode;
		$this->hideHeader				=	$hideHeader;
		return $this->draw( 'Head' );
	}

	/**
	 * Draws the list body
	 *
	 * @param  UserTable[]  $users
	 * @param  array        $columns
	 * @param  array        $tableContent
	 * @param  int          $listId
	 * @param  boolean      $allowProfileLink
	 * @param  string       $profileLinkTarget
	 * @param  string       $layout
	 * @param  int          $gridSize
	 * @param  int          $searchMode
	 * @return string
	 */
	public function drawListBody( $users, $columns, $tableContent, $listId, $allowProfileLink, $profileLinkTarget = null, $layout = 'grid', $gridSize = 3, $searchMode = 0 )
	{
		$this->users					=	$users;
		$this->columns					=	$columns;
		$this->tableContent				=	$tableContent;
		$this->listId					=	$listId;
		$this->allowProfileLink			=	$allowProfileLink;
		$this->profileLinkTarget		=	$profileLinkTarget;
		$this->layout					=	$layout;
		$this->gridSize					=	$gridSize;
		$this->searchMode				=	$searchMode;

		return $this->draw( 'Body' );
	}
}

Anon7 - 2022
AnonSec Team