HEX
Server: Apache/2.4.25 (Debian)
System: Linux server17 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User: web37 (1062)
PHP: 7.4.30
Disabled: show_source, highlight_file, apache_child_terminate, apache_get_modules, apache_note, apache_setenv, virtual, dl, disk_total_space, posix_getpwnam, posix_getpwuid, posix_mkfifo, posix_mknod, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_nice, openlog, syslog, pfsockopen
Upload Files
File: /var/www/web37/htdocs/sexnetzwerk24/wp-content/themes/classipress/tpl-dashboard.php
<?php
/**
 * Template Name: User Dashboard
 *
 * @package ClassiPress\Templates
 * @author  AppThemes
 * @since   ClassiPress 3.0
 */
global $i;
?>


<div class="content user-dashboard">

	<div class="content_botbg">

		<div class="content_res">

			<!-- left block -->
			<div class="content_left">

				<div class="shadowblock_out">

					<div class="shadowblock">

						<h1 class="single dotted"><?php _e( 'Dashboard', APP_TD ); ?></h1>

						<?php do_action( 'appthemes_notices' ); ?>

						<?php if ( $listings = cp_get_user_dashboard_listings() ) : ?>

						<?php
							// build the row counter depending on what page we're on
							$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
							$posts_per_page = $listings->get( 'posts_per_page' );
							$i = ( $paged != 1 ) ? ( $paged * $posts_per_page - $posts_per_page ) : 0;
						?>

						<p><?php _e( 'Below you will find a listing of all your classified ads. Click on one of the options to perform a specific task. If you have any questions, please contact the site administrator.', APP_TD ); ?></p>

						<table border="0" cellpadding="4" cellspacing="1" class="tblwide footable">
							<thead>
								<tr>
									<th class="listing-count" data-class="expand">&nbsp;</th>
									<th class="listing-title">&nbsp;<?php _e( 'Title', APP_TD ); ?></th>
									<?php if ( current_theme_supports( 'app-stats' ) ) { ?>
										<th class="listing-views" data-hide="phone"><?php _e( 'Views', APP_TD ); ?></th>
									<?php } ?>
									<th class="listing-status" data-hide="phone"><?php _e( 'Status', APP_TD ); ?></th>
									<th class="listing-options" data-hide="phone"><?php _e( 'Options', APP_TD ); ?></th>
								</tr>
							</thead>
							<tbody>

							<?php while ( $listings->have_posts() ) : $listings->the_post(); $i++; ?>

								<?php get_template_part( 'content-dashboard', get_post_type() ); ?>

							<?php endwhile; ?>

							</tbody>

						</table>

						<?php appthemes_pagination( '', '', $listings ); ?>

						<?php else : ?>

							<div class="pad10"></div>
							<p class="text-center"><?php _e( 'You currently have no classified ads.', APP_TD ); ?></p>
							<div class="pad10"></div>

						<?php endif; ?>

						<?php wp_reset_postdata(); ?>

					</div><!-- /shadowblock -->

				</div><!-- /shadowblock_out -->

			</div><!-- /content_left -->

			<?php get_sidebar( 'user' ); ?>

			<div class="clr"></div>

		</div><!-- /content_res -->

	</div><!-- /content_botbg -->

</div><!-- /content -->