|
@@ 376-378 (lines=3) @@
|
| 373 |
|
//find father |
| 374 |
|
$query = 'SELECT Id, NAAM FROM ' . $GLOBALS['xoopsDB']->prefix('pedigree_tree') . ' WHERE Id=' . $selsire; |
| 375 |
|
$result = $GLOBALS['xoopsDB']->query($query); |
| 376 |
|
while (false !== ($row = $GLOBALS['xoopsDB']->fetchArray($result))) { |
| 377 |
|
$vsire = stripslashes($row['NAAM']); |
| 378 |
|
} |
| 379 |
|
$xoopsTpl->assign('virtualsiretitle', strtr(_MA_PEDIGREE_VIRTUALSTIT, array('[father]' => $pedigree->getConfig('father')))); |
| 380 |
|
$xoopsTpl->assign('virtualsire', $vsire); |
| 381 |
|
break; |
|
@@ 407-409 (lines=3) @@
|
| 404 |
|
//find father |
| 405 |
|
$query = 'SELECT Id, NAAM FROM ' . $GLOBALS['xoopsDB']->prefix('pedigree_tree') . ' WHERE Id=' . $selsire; |
| 406 |
|
$result = $GLOBALS['xoopsDB']->query($query); |
| 407 |
|
while (false !== ($row = $GLOBALS['xoopsDB']->fetchArray($result))) { |
| 408 |
|
$vsire = stripslashes($row['NAAM']); |
| 409 |
|
} |
| 410 |
|
$xoopsTpl->assign('virtualsiretitle', strtr(_MA_PEDIGREE_VIRTUALSTIT, array('[father]' => $pedigree->getConfig('father')))); |
| 411 |
|
$xoopsTpl->assign('virtualsire', $vsire); |
| 412 |
|
//find mother |
|
@@ 415-417 (lines=3) @@
|
| 412 |
|
//find mother |
| 413 |
|
$query = 'SELECT Id, NAAM FROM ' . $GLOBALS['xoopsDB']->prefix('pedigree_tree') . ' WHERE Id=' . $seldam; |
| 414 |
|
$result = $GLOBALS['xoopsDB']->query($query); |
| 415 |
|
while (false !== ($row = $GLOBALS['xoopsDB']->fetchArray($result))) { |
| 416 |
|
$vdam = stripslashes($row['NAAM']); |
| 417 |
|
} |
| 418 |
|
$xoopsTpl->assign('virtualdamtitle', strtr(_MA_PEDIGREE_VIRTUALDTIT, array('[mother]' => $pedigree->getConfig('mother')))); |
| 419 |
|
$xoopsTpl->assign('virtualdam', $vdam); |
| 420 |
|
|