J'utilise le TEMPLATE 17
topmenu complet :
<?php
global $text, $cms, $subroot, $tmp;
$dadlabel = getTemplateMessage('t17_dadside');
$momlabel = getTemplateMessage('t17_momside');
?>
<body id="bodytop" class="<?php echo pathinfo(basename($_SERVER['SCRIPT_NAME']), PATHINFO_FILENAME); ?> homebody">
<div class="theader">
<div id="thomemast" class="mast">
<h1><?php echo getTemplateMessage('t17_maintitle'); ?></h1>
<span class="tsubtitle"><?php echo getTemplateMessage('t17_headsubtitle'); ?></span>
</div>
<div id="tmenu">
<ul>
<?php
if($dadlabel) {
?>
<li>
<a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t17_dadperson']; ?>&tree=<?php echo $tmp['t17_dadtree']; ?>"><?php echo $dadlabel; ?></a>
</li>
<?php
}
if($momlabel) {
?>
<li>
<a href="<?php echo $cms['tngpath']; ?>pedigree.php?personID=<?php echo $tmp['t17_momperson']; ?>&tree=<?php echo $tmp['t17_momtree']; ?>"><?php echo $momlabel; ?></a>
</li>
<?php
}
echo showLinks($tmp['t17_featurelinks'],false);
?>
</ul>
</div>
</div>
<div id="tngcontent">
<!--
-->
<br />
<!-- end of topmenu.php for template 1 -->
searchform 245-273
$branchchange = "var tree=getTree(this); if( !tree ) tree = 'none'; swapBranches(document.search);";
$formstr = getFORM( "search", "", "search", "", "$('searchbtn').className='fieldnamebacksave';return makeURL();" );
echo $formstr;
?>
<div class="searchformbox">
<table cellspacing="1" cellpadding="4" class="normal">
<?php
if( (!$requirelogin || !$treerestrict || !$assignedtree) && ($numtrees > 1 || $numbranches)) {
?>
<tr>
<td class="fieldnameback fieldname"><?php echo $text['tree'];?><?php if($numbranches) {echo " | " . $text['branch'];} ?>:</td>
<td class="databack">
<?php echo treeSelect($result,null,$branchchange); ?>
<select name="branch" id="branch">
<option value=""><?php echo $admtext['allbranches']; ?></option>
</select>
<!-- /*** Start - Added for expand search mod adds sosa search on form ***/ -->
<?php
$sosafile = $cms['tngpath'] . "tng_sosa.php";
if (file_exists($sosafile))
{
?>
<select name="sosa" id="sosa">
<option value="">Sosas</option>
<option value="ysosa">Sosa <?php echo $text['exists']; ?></option>
<option value="nsosa">Sosa <?php echo $text['dnexist']; ?></option>
</select>
<?php