Sindbad~EG File Manager

Current Path : /home/escuelai/public_html/eihu.edu.uy/wp-content/themes/polytechnic/
Upload File :
Current File : /home/escuelai/public_html/eihu.edu.uy/wp-content/themes/polytechnic/search.php

<?php
/**
 * The template for displaying Search Results pages.
 *
 * @package mythology
 */

global $query_string;

$search_query = wp_parse_str( $query_string );
$search = new WP_Query( $search_query );

get_header(); ?>

	<section id="primary" class="<?php echo esc_attr( $myth_primary_layout_classes ); ?>">
		<main id="main" class="site-main" role="main">

		<?php if ( have_posts() ) : ?>

			<header class="page-header">
				<h1 class="entry-title"><?php printf( __( 'Search Results for: %s', 'mythology' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
				<hr class="title"/>
			</header><!-- .page-header -->

			<?php /* Start the Loop */ ?>
			<?php while ( have_posts() ) : the_post(); ?>

				<?php if ( 'polytechnic_courses' == get_post_type() ) : ?>

					<!-- Start the table -->
					<table id="course-list">
						<tbody>

							<!-- Start the table header row -->
							<tr class="course-list-header">
								<th class="course-id">
									<?php _e( 'Course ID', 'mythology' ); ?>
								</th>
								<th class="course-number">
									<?php _e( 'Course Number', 'mythology' ); ?>
								</th>
								<th class="course-name">
									<?php _e( 'Course Name', 'mythology' ); ?>
								</th>
								<th class="course-instructor">
									<?php _e( 'Instructor', 'mythology' ); ?>
								</th>
								<th class="course-room-number">
									<?php _e( 'Room Number', 'mythology' ); ?>
								</th>
								<th class="course-days">
									<?php _e( 'Days', 'mythology' ); ?>
								</th>
								<th class="course-time">
									<?php _e( 'Time', 'mythology' ); ?>
								</th>
							</tr>
							<!-- /End the table header row -->
							<?php
								/* Include the Post-Format-specific template for the content.
								 * If you want to override this in a child theme, then include a file
								 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
								 */
								get_template_part( 'theme-core/theme-elements/content', 'course-list' );
								//get_template_part( 'theme-core/theme-elements/content', 'authorgrid' );
							?>
						</tbody>
					</table>
					<!-- /End the table -->	
				
				<?php else :	?>

				<?php
					/* Include the Post-Format-specific template for the content.
					 * If you want to override this in a child theme, then include a file
					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
					 */
					get_template_part( 'theme-core/theme-elements/content', get_post_format() );
				
				endif; ?>

			<?php endwhile; ?>

			<?php mythology_content_nav( 'nav-below' ); ?>

		<?php else : ?>

			<?php get_template_part( 'theme-core/theme-elements/content', 'none' ); ?>

		<?php endif; ?>

		</main><!-- #main -->
	</section><!-- #primary -->

<?php include ( get_template_directory() . "/sidebar.php"); ?>
<?php include ( get_template_directory() . "/footer.php"); ?>

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