| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 | 
<div id="tripal_bulk_loader-base-box" class="tripal_bulk_loader-info-box tripal-info-box">  <div class="tripal_bulk_loader-info-box-title tripal-info-box-title">  	<?php if ($teaser) { print l($node->title, 'node/'.$node->nid); } ?>  </div>  <div class="tripal_bulk_loader-info-box-desc tripal-info-box-desc"></div>  	<table id="tripal_bulk_loader-base-table" class="tripal_bulk_loader-table tripal-table tripal-table-vert">		<tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">			<th>Job Name</th>			<td><?php print $node->loader_name;?></td>		</tr>		<tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">			<th>Submitted By</th>			<td><span class="author"><?php print theme('username', $node); ?></span></td>		</tr>		<tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">			<th>Job Creation Date</th>			<td><?php print format_date($node->created, 'custom', "F j, Y, g:i a"); ?></td>		</tr>				<tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">			<th>Last Updated</th>			<td><?php print format_date($node->changed, 'custom', "F j, Y, g:i a"); ?></td>		</tr>			<tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">			<th>Template Name</th>			<td><?php print $node->template->name; ?></td>		</tr>		<tr class="tripal_bulk_loader-table-even-row tripal-table-even-row">			<th>Data File</th>			<td><?php print $node->file;?></td>		</tr>		<tr class="tripal_bulk_loader-table-odd-row tripal-table-odd-row">			<th>Job Status</th>			<td><?php print $node->job_status;?></td>		</tr>	</table>  </div><?php if (!$teaser) { ?>	<?php print drupal_get_form('tripal_bulk_loader_add_loader_job_form', $node); ?>  <?php if ($node->inserted_records) {     print '<h3>Loading Summary</h3>';    $rows = array();    $total = 0;    foreach ($node->inserted_records as $r) {      $row = array();      $row[] = $r->table_inserted_into;      $row[] = $r->num_inserted;      $rows[] = $row;      $total = $total + $r->num_inserted;    }    $rows[] = array('<b>TOTAL</b>','<b>'.$total.'</b>');    print theme_table(array('Chado Table', 'Number of Records Inserted'), $rows);  } ?>  <br>  	<?php print theme('tripal_bulk_loader_template', $node->template->template_id); ?><?php } ?>
 |