-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschedule-page.php.bkk
92 lines (88 loc) · 4.92 KB
/
schedule-page.php.bkk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?
defined('ABSPATH') OR exit;
/**
* Template Name: Schedule Page
* @package WordPress
* @subpackage WP-Skeleton
*/
get_header();
get_template_part( 'sub-header', 'index' ); //the header stuffs
get_template_part( 'menu', 'index' ); //the menu + logo/site title
?>
<div class="super-container interior-page">
<div class="container">
<div class="sixteen columns alpha omega">
<div id="primary" class="full-width">
<main id="main-content" class="main">
<div class="main">
<article id="post-<? the_ID(); ?>" <? post_class(); ?> role="article">
<header class="entry-header">
<h1 class="entry-title"><? the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content schedule-directory">
<div id="srch-step-one" class="mstarAjax">
<? /* these hidden inputs are used to set default values for the ajax args */ ?>
<input type="hidden" value="class" id="post-type-holder" target="srch-step-two">
<input type="hidden" id="tot_posts" value="<?php echo wp_count_posts('class')->publish; ?>" />
<input type="hidden" value="-1" id="posts-per-page-holder" />
<input type="hidden" value="ASC" id="order-holder" />
<input type="hidden" value="title" id="order-by-holder" />
<input type="hidden" value="<? the_permalink(); ?>" id="permalink">
<input type="hidden" value="a-to-z" id="search-by-holder" />
</div>
<div name="search_options" id="srch-step-two" class="mstarAjax schedule-options">
<form id="schedule-finder">
<div class="find-col tt-search reset-holder schedule-search">
<label for="location">Location</label>
<select class="the-selectors" name="location" id="loc" tax="location"></select>
</div>
<div class="find-col toggler">
<label for="location">Subject</label>
<select class="the-selectors" name="department" id="department" tax="department"></select>
</div>
<div class="find-col toggler">
<label for="location">Time of Day</label>
<select class="the-selectors" name="time" id="time" tax="time_of_day"></select>
</div>
<div class="find-col toggler">
<label for="location">Semester</label>
<select class="the-selectors" name="semester" id="semester" tax="semester"></select>
</div>
<div class="find-col toggler">
<label for="location">Lifelong Learning</label>
<select class="the-selectors" name="lifelong-learning" id="lifelong_learning" tax="lifelong_learning"></select>
</div>
<div class="clear"></div>
</form>
</div>
<hr>
<div class="clear"></div>
<div class="results-holder">
<div class="header_holder">
<div class="schedule-head"> </div>
<div class="schedule-head"> </div>
<div class="schedule-head">Days</div>
<div class="schedule-head">Time</div>
<div class="schedule-head">Class Dates</div>
<div class="schedule-head">Course Number</div>
<div class="schedule-head">Credits</div>
<div class="schedule-head">Fee</div>
</div><!-- header -->
<div class="clear"></div>
<div class="ajax-loading">Loading<br /><img src="<?php bloginfo('template_url');?>/images/loady.gif" /></div>
<div id="display-results" class="mstarAjax"></div>
</div>
<hr>
<div id="results-template" class="mstarAjax">
<li class="schedule-entry"><div><h2><a type="permalink" target="_blank"><span type="function" key="the_title"></span></a></h2></div><div><span type="tax" slug="department"> </span></div><div><a type="email"><span type="meta" key="_cmb_class_days"> </span></a></div><div><span type="meta" key="_cmb_class_start_time"> </span><span type="meta" key="_cmb_class_end_time"> </span></div><div><span type="date" key="_cmb_class_start_date"> </span><span type="date" key="_cmb_class_end_date"> </span></div><div><span type="meta" key="_cmb_course_number"> </span></div><div><span type="meta" key="_cmb_credit_hours"> </span></div><div><span type="money" key="_cmb_class_fee"></span></div></li>
</div>
</div><!-- .entry-content -->
</article><!-- #post-<? the_ID(); ?> -->
</div><!-- #main -->
</main><!-- #content -->
</div><!-- #primary -->
</div>
</div>
</div>
<? /* */ ?>
<? get_footer(); ?>