Sindbad~EG File Manager

Current Path : /home/frekansk/www/wp-content/themes/turitor/buddypress/groups/
Upload File :
Current File : /home/frekansk/www/wp-content/themes/turitor/buddypress/groups/index.php

<?php
/**
 * BuddyPress - Groups
 *
 * @package BuddyPress
 * @subpackage bp-legacy
 * @version 3.0.0
 */

/**
 * Fires at the top of the groups directory template file.
 *
 * @since 1.5.0
 */
do_action( 'bp_before_directory_groups_page' ); ?>

<div id="buddypress">

	<?php

	/**
	 * Fires before the display of the groups.
	 *
	 * @since 1.1.0
	 */
	do_action( 'bp_before_directory_groups' ); ?>

	<?php

	/**
	 * Fires before the display of the groups content.
	 *
	 * @since 1.1.0
	 */
	do_action( 'bp_before_directory_groups_content' ); ?>

	<?php 
		turitor_bp_group_banner();
	?>
	<!-- ./ banner -->

	<div class="bp-content-area">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<form action="" method="post" id="groups-directory-form" class="dir-form order-sort">
							<div id="template-notices" role="alert" aria-atomic="true">
								<?php

								/** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
								do_action( 'template_notices' ); ?>

							</div>

							<div class="item-list-tabs" aria-label="<?php esc_attr_e( 'Groups directory main navigation', 'turitor' ); ?>">
								<ul>
									<li class="selected" id="groups-all">
										<a href="<?php bp_groups_directory_permalink(); ?>">
											<?php
											/* translators: %s: all groups count */
											printf( __( 'All Groups %s', 'turitor' ), '<span>' . bp_get_total_group_count() . '</span>' );
											?>
										</a>
									</li>

									<?php if ( is_user_logged_in() && bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
										<li id="groups-personal">
											<a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/my-groups/'; ?>">
												<?php
												/* translators: %s: current user groups count */
												printf( __( 'My Groups %s', 'turitor' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' );
												?>
											</a>
										</li>
									<?php endif; ?>

									<?php

									/**
									 * Fires inside the groups directory group filter input.
									 *
									 * @since 1.5.0
									 */
									do_action( 'bp_groups_directory_group_filter' ); ?>

								</ul>
							</div><!-- .item-list-tabs -->

							<div class="item-list-tabs group-tabs" id="subnav" aria-label="<?php esc_attr_e( 'Groups directory secondary navigation', 'turitor' ); ?>" role="navigation">
								<ul class="listy-unstyled">
									<?php

									/**
									 * Fires inside the groups directory group types.
									 *
									 * @since 1.2.0
									 */
									do_action( 'bp_groups_directory_group_types' ); ?>

									<li id="groups-order-select" class="last filter">

										<label for="groups-order-by"><?php _e( 'Order By:', 'turitor' ); ?></label>

										<select id="groups-order-by">
											<option value="active"><?php _e( 'Last Active', 'turitor' ); ?></option>
											<option value="popular"><?php _e( 'Most Members', 'turitor' ); ?></option>
											<option value="newest"><?php _e( 'Newly Created', 'turitor' ); ?></option>
											<option value="alphabetical"><?php _e( 'Alphabetical', 'turitor' ); ?></option>

											<?php

											/**
											 * Fires inside the groups directory group order options.
											 *
											 * @since 1.2.0
											 */
											do_action( 'bp_groups_directory_order_options' ); ?>
										</select>
									</li>
								</ul>
							</div>

							<h2 class="bp-screen-reader-text"><?php
								/* translators: accessibility text */
								_e( 'Groups directory', 'turitor' );
							?></h2>

							<div id="groups-dir-list" class="groups dir-list">
								<?php bp_get_template_part( 'groups/groups-loop' ); ?>
							</div><!-- #groups-dir-list -->

							<?php

							/**
							 * Fires and displays the group content.
							 *
							 * @since 1.1.0
							 */
							do_action( 'bp_directory_groups_content' ); ?>

							<?php wp_nonce_field( 'directory_groups', '_wpnonce-groups-filter' ); ?>

							<?php

							/**
							 * Fires after the display of the groups content.
							 *
							 * @since 1.1.0
							 */
							do_action( 'bp_after_directory_groups_content' ); ?>

							</form><!-- #groups-directory-form -->

				</div>
			</div>
		</div>
	</div>
	<?php

	/**
	 * Fires after the display of the groups.
	 *
	 * @since 1.1.0
	 */
	do_action( 'bp_after_directory_groups' ); ?>

</div><!-- #buddypress -->

<?php

/**
 * Fires at the bottom of the groups directory template file.
 *
 * @since 1.5.0
 */
do_action( 'bp_after_directory_groups_page' );

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists