Last active
August 29, 2015 14:22
-
-
Save dcnb/0264e5378dfbf9f48a24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="box3"> | |
<p style="margin:0px 0px 0px -10px;"><a href="/digital/lcoh/people/<?php $page = strtolower(str_replace(", ", "_", str_replace(" & ", "and",$cacheFile->interviewee)));$webpage = strstr($page, ' ', true); if (strpos($page,' ') !== false) { | |
echo $webpage;} else {echo $page;}?>.html" class="prev1" title="Go to all interviews">« View All <?php | |
$name = $cacheFile->interviewee; | |
$pieces = explode(",", $name); | |
echo $pieces[1]; | |
echo " "; | |
echo $pieces[0]; ?> interviews</a></p> | |
<div style=" float: right; font-size: 13px; margin-top: -38px;" > | |
<p><a href="mailto:dbecker@uidaho.edu?subject=<?php echo $cacheFile->interviewee; ?>--<?php echo $cacheFile->intnum; ?>">Report a problem with this interview.</a></p></div> | |
<div id="slideshow"> | |
<div class="larrow"><a id="leftarrow" href="viewer.php?cachefile=<?php echo $cacheFile->previous . '.xml'; ?>" class="arrow" onkeydown="leftArrowPressed()" title="Previous Oral History"> | |
< | |
</a></div> | |
<div class="rarrow"><a id="rightarrow" href="viewer.php?cachefile=<?php echo $cacheFile->next . '.xml'; ?>" class="arrow" onkeydown="rightArrowPressed()" title="Next Oral History"> | |
> | |
</a></div> | |
</div> | |
<?php if(in_array(substr(strtolower($filepath), -4, 4), $audioFormats)): ?> | |
<div id="header"> | |
<?php else: ?> | |
<div id="headervid"> | |
<?php endif; ?> | |
<?php if(isset($config[$cacheFile->repository])): ?> | |
<img src="<?php echo $config[$cacheFile->repository]['footerimg'];?>" alt="<?php echo $config[$cacheFile->repository]['footerimgalt'];?>" style="float: left;" /> | |
<?php endif; ?> | |
<div class="center" > | |
<h1 ><?php | |
$name = $cacheFile->interviewee; | |
$pieces = explode(",", $name); | |
echo $pieces[1]; | |
echo " "; | |
echo $pieces[0]; ?> <span class="smalltitle">(b. <?php echo $cacheFile->birthyear; ?>), | |
<a href="http://digital.lib.uidaho.edu/cdm/ref/collection/latah/id/<?php echo $cacheFile->xmlfilename; ?>" target="_blank"><?php echo $cacheFile->intnum; ?></a> | |
</span></h1> | |
<h2 id="secondaryMetaData"> | |
<span class="info">Residence:</span> <?php echo $cacheFile->residence; ?> | |
<span class="info2">Occupation(s):</span> <?php echo $cacheFile->occupation; ?> | |
</h2> | |
<p class="topics" > | |
<span class="info">Topics:</span> <?php echo $cacheFile->description; ?> <br /> | |
</div> | |
</div> | |
<div id="audio-panel" class="center"> | |
<p class="audiodesc"><span class="info2">Date:</span> <?php | |
$date=date_create($cacheFile->date); | |
echo date_format($date,"F d, Y"); | |
?> | |
<span class="info2">Interviewer:</span> <?php echo $cacheFile->interviewer; ?></p> | |
<?php include_once 'tmpl/player_'.$cacheFile->playername.'.tmpl.php'; ?> | |
<div id="notification" style="display:none;"> | |
<p>It may take several seconds for the player to load the segment</p></div> | |
</div> | |
<div style="clear:both"></div> | |
<div style="clear:both"></div> | |
<div id="main"> | |
<div id="main-panels"> | |
<div id="searchbox-panel"><?php include_once 'tmpl/search.tmpl.php'; ?></div> | |
</div> | |
<div id="content-panel"> | |
<h2><span id="transcript-panel_header" style="display:none;">Transcript</span> <span id="index-panel_header">Index</span></h2> | |
<div id="transcript-panel"> | |
<?php echo $cacheFile->transcript; ?> | |
</div> | |
<div id="index-panel"> | |
<?php echo $cacheFile->index; ?> | |
</div> | |
</div> | |
</div> | |
<div style="clear:both"></div> | |
<div id="footer"> | |
<div style="float: left; text-align: left; width: 50%; margin-top: -12px;"> | |
<?php if(!empty($rights)): ?> | |
<p><span><a href="#" id="lnkRights">View Rights Statement</a><div id="rightsStatement"><?php echo $rights; ?></div></span></p> | |
<?php else: ?> | |
<?php endif; ?> | |
<!--<?php if(!empty($usage)): ?> | |
<p><span><h3><a href="#" id="lnkUsage">View Usage Statement</a></h3><div id="usageStatement"><?php echo $usage; ?></div></span></p> | |
<?php else: ?> | |
<p><span><h3>View Usage Statement</h3></span></p> | |
<?php endif; ?> | |
<?php if((string)$cacheFile->collection_link != ''): ?> | |
<p><span><h3>Collection Link: <a href="<?=$cacheFile->collection_link?>"><?=$cacheFile->collection?></a></h3></span></p> | |
<?php endif; ?> | |
<?php if((string)$cacheFile->series_link != ''): ?> | |
<p><span><h3>Series Link: <a href="<?=$cacheFile->series_link?>"><?=$cacheFile->series?></a></h3></span></p> | |
<?php endif; ?> | |
<p><span><h3>Contact Us: <a href="mailto:<?php echo $contactemail;?>"><?php echo $contactemail; ?></a> | <a href="<?php echo $contactlink; ?>"><?php echo $contactlink; ?></a></h3></span></p>--> | |
</div> | |
<div style="float: right; text-align: right; width: 50%;"> | |
<small id="copyright"><span>© <?php echo Date("Y"); ?> </span><?php echo $copyrightholder; ?></small> | |
</div> | |
<div style="float: right; color:white; margin-top: 10px; text-align:right;"> | |
<a href="http://www.oralhistoryonline.org/"><img alt="Powered by OHMS logo" src="imgs/ohms_logo.png" border="0"/></a> | |
</div> | |
<br clear="both" /> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment