예제 #1
0
        print "<b>" . $pgv_lang["accept_successful"] . "</b><br />";
    }
}
// view != preview
?>
		</td>
	</tr>
</table>
<table class="width90">
	<tr>
		<td valign="top" style="width: <?php 
print $pbwidth;
?>
px;">
			<?php 
print_family_children($controller->getFamilyID());
?>
		</td>
		<td valign="top">
			<?php 
print_family_facts($controller->family);
?>
		</td>
	</tr>
</table>
<br />
<?php 
if (empty($SEARCH_SPIDER)) {
    print_footer();
} else {
    if ($SHOW_SPIDER_TAGLINE) {
예제 #2
0
/**
 * print a family with Sosa-Stradonitz numbering system
 * ($rootid=1, father=2, mother=3 ...)
 *
 * @param string $famid family gedcom ID
 * @param string $childid tree root ID
 * @param string $sosa starting sosa number
 * @param string $label optional indi label (descendancy booklet)
 * @param string $parid optional parent ID (descendancy booklet)
 * @param string $gparid optional gd-parent ID (descendancy booklet)
 */
function print_sosa_family($famid, $childid, $sosa, $label = "", $parid = "", $gparid = "", $personcount = "1")
{
    global $pgv_lang, $pbwidth, $pbheight, $view;
    if ($view != "preview") {
        print "<hr />";
    }
    print "\r\n\r\n<p style='page-break-before:always' />\r\n";
    if (!empty($famid)) {
        print "<a name=\"{$famid}\"></a>\r\n";
    }
    print_family_parents($famid, $sosa, $label, $parid, $gparid, $personcount);
    $personcount++;
    print "\n\t<br />\n";
    print "<table width=\"95%\"><tr><td valign=\"top\" style=\"width: " . $pbwidth . "px;\">\n";
    print_family_children($famid, $childid, $sosa, $label, $personcount);
    print "</td><td valign=\"top\">";
    if ($sosa == 0) {
        print_family_facts(Family::getInstance($famid), $sosa);
    }
    print "</td></tr></table>\n";
    print "<br />";
}
예제 #3
0
/**
 * print a family with Sosa-Stradonitz numbering system
 * ($rootid=1, father=2, mother=3 ...)
 *
 * @param string $famid   family gedcom ID
 * @param string $childid tree root ID
 * @param string $sosa    starting sosa number
 * @param string $label   indi label (descendancy booklet)
 * @param string $parid   parent ID (descendancy booklet)
 * @param string $gparid  gd-parent ID (descendancy booklet)
 * @param string $personcount
 */
function print_sosa_family($famid, $childid, $sosa, $label = "", $parid = "", $gparid = "", $personcount = "1")
{
    global $pbwidth;
    echo "<hr>";
    echo "<p style='page-break-before: always;'>";
    if (!empty($famid)) {
        echo "<a name=\"{$famid}\"></a>";
    }
    print_family_parents(WT_Family::getInstance($famid), $sosa, $label, $parid, $gparid, $personcount);
    $personcount++;
    echo "<br>";
    echo "<table width=\"95%\"><tr><td valign=\"top\" style=\"width: " . $pbwidth . "px;\">";
    print_family_children(WT_Family::getInstance($famid), $childid, $sosa, $label, $personcount);
    echo "</td></tr></table>";
    echo "<br>";
}
예제 #4
0
$show_full = '1';
?>
<div id="family-page">
<h2><?php 
echo $controller->record->getFullName();
?>
</h2>

<table id="family-table" align="center" width="95%">
	<tr valign="top">
		<td valign="top" style="width: <?php 
echo $pbwidth + 30;
?>
px;"><!--//List of children//-->
			<?php 
print_family_children($controller->record);
?>
		</td>
		<td> <!--//parents pedigree chart and Family Details//-->
			<table width="100%">
				<tr>
					<td class="subheaders" valign="top"><?php 
echo WT_I18N::translate('Parents');
?>
</td>
					<td class="subheaders" valign="top"><?php 
echo WT_I18N::translate('Grandparents');
?>
</td>
				</tr>
				<tr>