Exemple #1
0
		.comparison { 
			bottom: 1%;
			margin: 1%;
			overflow: scroll;
			position: absolute;
			top: 38%;
		}
	</style>
</head>

<body>

<h1>Alex (Convert Burkes Peerage to GEDCOM)</h1>
<div class="results"><a href="/alex/result.php">Download GEDCOM</a></div>
<?php 
$burkes = new alex_document('burkes.txt');
$conformed = $burkes->doc;
$review = $burkes->get_people(TRUE);
?>

<div class="import">
<?php 
foreach ($conformed as $key => $value) {
    ?>
	<?php 
    $class = $key % 2 ? 'odd' : 'even';
    ?>
	<pre class="line <?php 
    echo $class;
    ?>
" title="Line: <?php 
Exemple #2
0
<?php

header('Content-Type: text/plain; charset=utf-8');
require 'system/alex_document.class.php';
$burkes = new alex_document('burkes.txt');
$individuals = $burkes->get_people();
$families = $burkes->get_families();
?>
0 HEAD
1 SOUR alex
2 NAME alex
2 VERS 1
1 DEST DISKETTE
1 DATE <?php 
echo strtoupper(date('j M Y'));
echo "\n";
?>
2 TIME <?php 
echo date('H:i:s') . "\n";
?>
1 GEDC
2 VERS 5.5.1
2 FORM Lineage-Linked
1 CHAR UTF-8
1 FILE The Greenwood Family
1 COPR Copyright (c) 2012 Richard.
1 LANG English
1 PLAC
2 FORM City, County, State/Province, Country 
1 SUBM @SUBM@
<?php