templates/pedigree_index.tpl
<script language="JavaScript" type="text/javascript">
<!--
function showHide(id) {
var style = document.getElementById(id).style;
if (style.display === "none")
style.display = "inline";
else
style.display = "none";
}
// -->
</SCRIPT>
<{include file='db:pedigree_header.tpl'}>
<{if $showwelcome}>
<table width="100%" class="outer" style="margin-bottom: 10px;">
<tr>
<{*<td class="even"><{$welcome}></td>*}>
<{*<td class="even"><{$word}></td>*}>
</tr>
<{include file='db:pedigree_welcome.tpl'}>
</table>
<{/if}>
<{if $catarray.letters}>
<{$pageTitle}>
<div class="pedigree_head_catletters" align="center"><{$catarray.letters}></div>
<br>
<{/if}>
<{if $catarray.toolbar}>
<div class="pedigree_head_cattoolbar" align="center"><{$catarray.toolbar}></div>
<br>
<{/if}>
<table width="100%">
<tr>
<td valign="top">
<!-- alphabet table -->
<!--
<table border="0" width="100%" class="outer" cellspacing="1">
<tr>
<th colspan="6">
<{$sselect}>
</th>
</tr>
<tr>
<td width="16%" class="odd">
<a href="result.php?f=pname&l=1&w=a%25&o=pname"><h2>A</h2></a>
</td>
<td width="16%" class="even">
<a href="result.php?f=pname&l=1&w=b%25&o=pname"><h2>B</h2></a>
</td>
<td width="16%" class="odd">
<a href="result.php?f=pname&l=1&w=c%25&o=pname"><h2>C</h2></a>
</td>
<td width="16%" class="even">
<a href="result.php?f=pname&l=1&w=d%25&o=pname"><h2>D</h2></a>
</td>
<td width="16%" class="odd">
<a href="result.php?f=pname&l=1&w=e%25&o=pname"><h2>E</h2></a>
</td>
<td width="16%" class="even">
<a href="result.php?f=pname&l=1&w=f%25&o=pname"><h2>F</h2></a>
</td>
</tr>
<tr>
<td class="even">
<a href="result.php?f=pname&l=1&w=g%25&o=pname"><h2>G</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=h%25&o=pname"><h2>H</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=i%25&o=pname"><h2>I</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=j%25&o=pname"><h2>J</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=k%25&o=pname"><h2>K</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=l%25&o=pname"><h2>L</h2></a>
</td>
</tr>
<tr>
<td class="odd">
<a href="result.php?f=pname&l=1&w=m%25&o=pname"><h2>M</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=n%25&o=pname"><h2>N</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=o%25&o=pname"><h2>O</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=p%25&o=pname"><h2>P</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=q%25&o=pname"><h2>Q</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=r%25&o=pname"><h2>R</h2></a>
</td>
</tr>
<tr>
<td class="even">
<a href="result.php?f=pname&l=1&w=s%25&o=pname"><h2>S</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=t%25&o=pname"><h2>T</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=u%25&o=pname"><h2>U</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=v%25&o=pname"><h2>V</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=w%25&o=pname"><h2>W</h2></a>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=x%25&o=pname"><h2>X</h2></a>
</td>
</tr>
<tr>
<td class="odd">
<a href="result.php?f=pname&l=1&w=y%25&o=pname"><h2>Y</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=z%25&o=pname"><h2>Z</h2></a>
</td>
<td class="odd">
<li>
</td>
<td class="even">
<li>
</td>
<td class="odd">
<a href="result.php?f=pname&l=1&w=Å%25&o=pname"><h2>Å</h2></a>
</td>
<td class="even">
<a href="result.php?f=pname&l=1&w=Ö%25&o=pname"><h2>Ö</h2></a>
</td>
</tr>
</table>
-->
</td>
<td width="7">
</td>
<td valign="top">
<!-- explanation starts here for search by name -->
<table border="0" width="100%" class="outer" cellspacing="1">
<tr>
<th>
<{$sname}>
</th>
</tr>
<tr>
<td class="odd">
<a href="#" OnClick="showHide('searchname');return false"><{$explain}></a>
</td>
</tr>
<tr>
<td class="even">
<form method="POST" action="result.php?&l=1&o=pname">
<input type="text" name="query" size="20">
<input type="submit" value="Search">
</form>
</td>
</tr>
</table>
<div id="searchname" style="display: none;">
<{$snameex}>
</div>
<!-- end explanation for search by name -->
<br>
<{foreach item=link from=$usersearch}>
<{if $link != NULL}>
<!-- explanation starts here for usersearch -->
<table border="0" width="100%" class="outer" cellspacing="1">
<tr>
<th>
<{$link.title}>
</th>
</tr>
<tr>
<td class="odd">
<a href="#" OnClick="showHide('<{$link.searchid}>');return false"><{$explain}></a>
</td>
</tr>
<tr>
<td class="even">
<form method="POST" action="result.php?f=<{$link.function}>">
<{$link.searchfield}>
<input type="submit" value="Search">
</form>
</td>
</tr>
</table>
<div id="<{$link.searchid}>" style="display: none;">
<{$link.explanation}>
</div>
<!-- end explanation for usersearch -->
<br>
<{/if}>
<{/foreach}>
</td>
</tr>
</table>