Example #1
0
    ?>
</th>
    <?php 
}
if ($_SESSION['settings']['screens']['tv']['upcoming recordings']['record date'] == 'on') {
    ?>
        <th class="x-recdate"><?php 
    echo get_sort_link('recdate', t('Record Date'));
    ?>
</th>
    <?php 
}
if ($_SESSION['settings']['screens']['tv']['upcoming recordings']['length'] == 'on') {
    ?>
        <th class="x-length"><?php 
    echo get_sort_link('length', t('Record Length'));
    ?>
</th>
    <?php 
}
?>
</tr><?php 
$row = 0;
$prev_group = '';
$cur_group = '';
foreach ($all_shows as $show) {
    flush();
    // Set the class to be used to display the recording status character
    $rec_class = implode(' ', array(recstatus_class($show), $show->recstatus));
    // Reset the command variable to a default URL
    $commands = array();
Example #2
0
?>
</th>
					<th>Start Date <?php 
echo get_sort_link('timesheet', 'period_start');
?>
</th>
					<th>End Date <?php 
echo get_sort_link('timesheet', 'period_end');
?>
</th>
					<th>Status <?php 
echo get_sort_link('timesheet', 'current_status');
?>
</th>
					<th>Last Edit <?php 
echo get_sort_link('timesheet', 'last_edit');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($timesheets)) {
    foreach ($timesheets as $timesheet) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($timesheet->date_created);
        ?>
              </th>
              <th>
                <a href="javascript:;" onclick="<?php 
echo get_sort_link('size', $sort, $direction);
?>
">
                  <?php 
echo lang('Size');
echo get_sort_arrow('size', $sort, $direction);
?>
 
                </a>
              </th>
              <th>
                <a href="javascript:;" onclick="<?php 
echo get_sort_link('time', $sort, $direction);
?>
">
                  <?php 
echo lang('Date');
echo get_sort_arrow('time', $sort, $direction);
?>
 
                </a>
              </th>
              <th><?php 
echo lang('Actions');
?>
</th>
            </tr>
<?php 
Example #4
0
</td>
    <th class="x-airdate"><?php 
echo get_sort_link('airdate', t('Airdate'));
?>
</td>
<?php 
if ($recgroup_cols) {
    echo '    <th class="x-recgroup">', get_sort_link('recgroup', t('Recording Group')), "</td>\n";
}
?>
    <th class="x-length"><?php 
echo get_sort_link('length', t('Length'));
?>
</td>
    <th class="x-filesize"><?php 
echo get_sort_link('file_size', t('File Size'));
?>
</td>
</tr><?php 
$row = 0;
$section = -1;
$row_count = array();
$row_section = array();
$prev_group = '';
$cur_group = '';
foreach ($All_Shows as $show) {
    // Print a dividing row if grouping changes
    switch ($group_field) {
        case 'airdate':
            $cur_group = strftime($_SESSION['date_listing_jump'], $show->starttime);
            break;
Example #5
0
echo get_sort_link('my_timeoff_requests', 'first_name');
?>
 <?php 
echo get_sort_link('my_timeoff_requests', 'last_name');
?>
</th>
					<th>Start Date <?php 
echo get_sort_link('timeoff', 'request_start');
?>
</th>
					<th>End Date <?php 
echo get_sort_link('timeoff', 'request_end');
?>
</th>
					<th>Status <?php 
echo get_sort_link('timeoff', 'current_status');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($timeoff_requests) && sizeof($timeoff_requests) > 0) {
    foreach ($timeoff_requests as $timeoff_request) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($timeoff_request->date_created);
        ?>
Example #6
0
?>
</td>
    <td><?php 
echo get_sort_link('profile', t('profile'));
?>
</td>
    <td><?php 
echo get_sort_link('transcoder', t('transcoder'));
?>
</td>
    <td><?php 
echo get_sort_link('recgroup', t('recgroup'));
?>
</td>
    <td><?php 
echo get_sort_link('type', t('type'));
?>
</td>
</tr><?php 
$prev_group = '';
$cur_group = '';
foreach ($the_schedules as $schedule) {
    // Reset the command variable to a default URL
    $urlstr = 'recordid=' . $schedule->recordid;
    $css_class = $schedule->type == rectype_dontrec ? 'deactivated' : 'scheduled';
    // If this is an 'always on any channel' or 'find one' recording without the 'This Channel' filter, set the channel name to 'Any'
    if (($schedule->type == rectype_always || $schedule->type == rectype_findone) && !($schedule->filter & 1 << 10)) {
        $schedule->channel->name = '[ ' . t('Any') . ' ]';
        $schedule->channel->channum = 0;
    }
    // Print a dividing row if grouping changes
Example #7
0
?>
</th>
					<th>Dept <?php 
echo get_sort_link('budget', 'dept');
?>
</th>
					<th>Grant <?php 
echo get_sort_link('budget', 'grant');
?>
</th>
					<th>Project <?php 
echo get_sort_link('budget', 'project');
?>
</th>
					<th>Status <?php 
echo get_sort_link('budget', 'status');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($budgets) && count($budgets) > 0) {
    foreach ($budgets as $budget) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo $budget->title;
        ?>
Example #8
0
?>
</th>
					<th>City <?php 
echo get_sort_link('grants', 'city', '');
?>
</th>
					<th>State <?php 
echo get_sort_link('grants', 'state', '');
?>
</th>
					<th>Zip <?php 
echo get_sort_link('grants', 'zip', '');
?>
</th>
					<th>Website <?php 
echo get_sort_link('grants', 'website', '');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($grants) && sizeof($grants) > 0) {
    foreach ($grants as $grant) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo $grant->funder;
        ?>
Example #9
0
<?php

/**
 * Upcoming recordings
 *
 * @license     GPL
 *
 * @package     MythWeb
 *
 **/
$page_title = 'MythWeb - ' . t('Upcoming Recordings');
require_once 'modules/_shared/tmpl/' . tmpl . '/header.php';
// Print the page contents
global $all_shows;
// Row headers
echo "\n    <hr />\n", "    Sort by:<br />\n", get_sort_link('title', t('title')), "\n", get_sort_link('channum', t('channum')), "\n", get_sort_link('airdate', t('airdate')), "\n", get_sort_link('length', t('length')), "\n", "    <table>\n";
$row = 0;
foreach ($all_shows as $show) {
    $row++;
    // Set the class to be used to display the recording status character
    $rec_class = implode(' ', array(recstatus_class($show), $show->recstatus));
    // Reset the command variable to a default URL
    $commands = array();
    $urlstr = 'chanid=' . $show->chanid . '&starttime=' . $show->starttime;
    // Set the recording status character, class and any applicable commands for each show
    switch ($show->recstatus) {
        case 'Recording':
        case 'WillRecord':
            $rec_char = $show->cardid;
            $css_class = 'scheduled';
            $commands[] = '<a href="tv/upcoming?dontrec=yes&' . $urlstr . '">' . t('Don\'t Record') . '</a>';
Example #10
0
echo get_sort_link('travel', 'date_created');
?>
</th>
					<th>Name <?php 
echo get_sort_link('travel', 'first_name');
?>
 <?php 
echo get_sort_link('travel', 'last_name');
?>
</th>
					<th>For the month of <?php 
echo get_sort_link('travel', 'for_month');
?>
</th>
					<th>Status <?php 
echo get_sort_link('travel', 'current_status');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($travel_requests) && sizeof($travel_requests) > 0) {
    foreach ($travel_requests as $travel_request) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($travel_request['details']->date_created);
        ?>
Example #11
0
?>
</th>
					<th>City <?php 
echo get_sort_link('volunteers', 'city', '');
?>
</th>
					<th>Zip <?php 
echo get_sort_link('volunteers', 'zip', '');
?>
</th>
					<th>Gender <?php 
echo get_sort_link('volunteers', 'sex', '');
?>
</th>
					<th>Prefered Contact <?php 
echo get_sort_link('volunteers', 'called', '');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($volunteers) && sizeof($volunteers) > 0) {
    foreach ($volunteers as $volunteer) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($volunteer->date);
        ?>
Example #12
0
?>
</th>
					<th>Title <?php 
echo get_sort_link('grant_actuals', 'grant_title');
?>
</th>
					<th>Total Amount of Grant <?php 
echo get_sort_link('grant_actuals', 'total_amt_grant');
?>
</th>
					<th>Contract Start Date <?php 
echo get_sort_link('grant_actuals', 'start_date');
?>
</th>
					<th>Contract End Date <?php 
echo get_sort_link('grant_actuals', 'end_date');
?>
</th>
					<th>Total Expense</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($projects)) {
    foreach ($projects as $project) {
        ?>
				<?php 
        $total_amt_grant = preg_replace("/[^0-9]/", '', $project->total_amt_grant);
        ?>
				<tr class="ui-helper-reset">
Example #13
0
?>
</th>
					<th>Title <?php 
echo get_sort_link('general_fund', 'grant_title');
?>
</th>
					<th>Total Amount of Grant <?php 
echo get_sort_link('general_fund', 'total_amt_grant');
?>
</th>
					<th>Contract Start Date <?php 
echo get_sort_link('general_fund', 'start_date');
?>
</th>
					<th>Contract End Date <?php 
echo get_sort_link('general_fund', 'end_date');
?>
</th>
					<th>Total Expense</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($projects)) {
    foreach ($projects as $project) {
        ?>
				<?php 
        $total_amt_grant = preg_replace("/[^0-9]/", '', $project->total_amt_grant);
        ?>
				<tr class="ui-helper-reset">
Example #14
0
		<table cellpadding="0" cellspacing="0" border="0" class="sort">
			<thead>
				<tr>
					<th>Created <?php 
echo get_sort_link('template_list', 'date_created');
?>
</th>
					<th>Name <?php 
echo get_sort_link('template_list', 'first_name');
?>
 <?php 
echo get_sort_link('template_list', 'last_name');
?>
</th>
					<th>Last Edit <?php 
echo get_sort_link('template_list', 'last_edit');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($timesheets)) {
    foreach ($timesheets as $timesheet) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($timesheet->date_created);
        ?>
Example #15
0
?>
</th>
					<th>Resource <?php 
echo get_sort_link('calendar', 'room', '#list');
?>
</th>
					<th>Start Time <?php 
echo get_sort_link('calendar', 'start_time', '#list');
?>
</th>
					<th>End Time <?php 
echo get_sort_link('calendar', 'end_time', '#list');
?>
</th>
					<th>Description <?php 
echo get_sort_link('calendar', 'description', '#list');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($resource_list) && sizeof($resource_list) > 0) {
    foreach ($resource_list as $list) {
        ?>
				<?php 
        $created_by = get_user_by_id($list->created_by);
        $person_in_charge = get_user_by_id($list->person_in_charge);
        ?>
				<tr class="ui-helper-reset">
Example #16
0
                  <div align="center">
                    <a href="javascript:;" onclick="<?php 
echo get_sort_link('username', $sort, $direction);
?>
">
                      <?php 
echo lang('Name');
echo get_sort_arrow('username', $sort, $direction);
?>
                    </a>
                  </div>
                </th>
                <th>
                  <div align="center">
                    <a href="javascript:;" onclick="<?php 
echo get_sort_link('email', $sort, $direction);
?>
">
                      <?php 
echo lang('Email');
echo get_sort_arrow('email', $sort, $direction);
?>
                    </a>
                  </div>
                </th>
                <th><div align="center"><?php 
echo lang('Space');
?>
</div></th>
                <th><div align="center"><?php 
echo lang('Actions');
Example #17
0
</tr>
</table>
</form>
<table id="recorded_list" border="0" cellpadding="0" cellspacing="0" class="list small"  style="display: block">
<tr class="menu">
    <th colspan="2" style="width:10%;"></th>
    <th class="x-title" style="width:50%;"><?php 
echo get_sort_link('title', t('Title'));
?>
</th>
    <th class="x-airdate" style="width:10%;"><?php 
echo get_sort_link('airdate', t('Airdate'));
?>
</th>
    <th class="x-length" style="width:10%;"><?php 
echo get_sort_link('length', t('Length'));
?>
</th>
</tr><?php 
$row = 0;
$section = -1;
$prev_group = '';
$cur_group = '';
$offset = $_REQUEST['offset'];
$rows = $offset;
foreach ($All_Shows as $show) {
    flush();
    if ($_SESSION['recorded_paging'] > 0 && $rows > 0) {
        $rows--;
        continue;
    }
Example #18
0
?>
</th>
					<th>Timesheet <?php 
echo get_sort_link('labor', 'timesheet');
?>
</th>
					<th>Travel <?php 
echo get_sort_link('labor', 'travel');
?>
</th>
					<th>Financials <?php 
echo get_sort_link('labor', 'financials');
?>
</th>
					<th>Procurement <?php 
echo get_sort_link('labor', 'procurement');
?>
</th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($accounts)) {
    foreach ($accounts as $account) {
        ?>
				<tr class="ui-helper-reset">
					<td><?php 
        echo form_checkbox('b_action[]', $account->ID);
        ?>
</td>
					<td><?php 
Example #19
0
echo get_sort_link('my_timeoff_requests', 'first_name');
?>
 <?php 
echo get_sort_link('my_timeoff_requests', 'last_name');
?>
</th>
					<th>Start Date <?php 
echo get_sort_link('my_timeoff_requests', 'request_start');
?>
</th>
					<th>End Date <?php 
echo get_sort_link('my_timeoff_requests', 'request_end');
?>
</th>
					<th>Status <?php 
echo get_sort_link('my_timeoff_requests', 'current_status');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($timeoff_requests) && sizeof($timeoff_requests) > 0) {
    foreach ($timeoff_requests as $timeoff_request) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($timeoff_request->date_created);
        ?>
Example #20
0
?>
</th>
					<th>Order Id <?php 
echo get_sort_link('budget', 'fund');
?>
</th>
					<th>Invoiced <?php 
echo get_sort_link('budget', 'fund');
?>
</th>
					<th>Pmt. Requested <?php 
echo get_sort_link('budget', 'fund');
?>
</th>
					<th>Total <?php 
echo get_sort_link('budget', 'fund');
?>
</th>
					<th></th>
				</tr>
			</thead>
			<tbody>
				<?php 
if (isset($projects)) {
    foreach ($projects as $project) {
        ?>
				
				<tr class="ui-helper-reset">
					<td><?php 
        echo date_for_display($project->date_created);
        ?>