@ -203,7 +203,8 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
@@ -203,7 +203,8 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
< / form >
< / header >
< main >
<?php if ( $hostPage = $db -> getFoundHostPage ( $hp )) { ?>
<?php if ( $hostPage = $db -> getHostPage ( $hp )) { ?>
<?php if ( $host = $db -> getHost ( $hostPage -> hostId )) { ?>
< div >
<?php if ( $hostPageDescription = $db -> getLastPageDescription ( $hp )) { ?>
<?php if ( ! empty ( $hostPageDescription -> title )) { ?>
@ -216,9 +217,9 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
@@ -216,9 +217,9 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
< span > <?php echo htmlentities ( $hostPageDescription -> keywords ) ?> </ span >
<?php } ?>
<?php } ?>
< a href = " <?php echo $hostPage -> hostPageURL ?> " >
< img src = " <?php echo WEBSITE_DOMAIN ; ?> /file.php?type=identicon&query= <?php echo urlencode ( $hostPage -> name ) ?> " alt = "identicon" width = "16" height = "16" class = "icon" />
<?php echo htmlentities ( urldecode ( $hostPage -> hostURL ) . urldecode ( $hostPage -> uri )) ?>
< a href = " <?php echo urldecode ( $host -> url . $hostPage -> uri ) ?> " >
< img src = " <?php echo WEBSITE_DOMAIN ; ?> /file.php?type=identicon&query= <?php echo urlencode ( $host -> name ) ?> " alt = "identicon" width = "16" height = "16" class = "icon" />
<?php echo htmlentities ( urldecode ( $host -> url . $hostPage -> uri )) ?>
< / a >
< / div >
< div >
@ -261,13 +262,12 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
@@ -261,13 +262,12 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
< / p >
<?php if ( $totalHostPageIdSources ) { ?>
<?php foreach ( $db -> getHostPagesToHostPageByHostPageIdTarget ( $hp ) as $hostPageIdSource ) { ?>
<?php if ( $hostPage = $db -> getFound HostPage ( $hostPageIdSource -> hostPageIdSource )) { ?>
<?php $hostPageDescription = $db -> getLastPageDescription ( $hostPageIdSource -> hostPageIdSource ); ?>
<?php if ( $hostPage = $db -> getHostPage ( $hostPageIdSource -> hostPageIdSource )) { ?>
<?php if ( $host = $db -> getHost ( $hostPage -> hostId )) { ?>
< p >
< a href = " <?php echo $hostPage -> hostPageURL ?> "
title="<?php echo ( ! empty ( $hostPageDescription -> title ) ? $hostPageDescription -> title : ( ! empty ( $hostPageDescription -> description ) ? $hostPageDescription -> description : false )) ?> ">
< img src = " <?php echo WEBSITE_DOMAIN ; ?> /file.php?type=identicon&query= <?php echo urlencode ( $hostPage -> name ) ?> " alt = "identicon" width = "16" height = "16" class = "icon" />
<?php echo htmlentities ( urldecode ( $hostPage -> hostURL ) . ( mb_strlen ( urldecode ( $hostPage -> uri )) > 32 ? '...' . mb_substr ( urldecode ( $hostPage -> uri ), - 32 ) : urldecode ( $hostPage -> uri ))) ?>
< a href = " <?php echo urldecode ( $host -> url . $hostPage -> uri ) ?> " >
< img src = " <?php echo WEBSITE_DOMAIN ; ?> /file.php?type=identicon&query= <?php echo urlencode ( $host -> name ) ?> " alt = "identicon" width = "16" height = "16" class = "icon" />
<?php echo htmlentities ( urldecode ( $host -> url ) . ( mb_strlen ( urldecode ( $hostPage -> uri )) > 28 ? '...' . mb_substr ( urldecode ( $hostPage -> uri ), - 28 ) : urldecode ( $hostPage -> uri ))) ?>
< / a >
|
< a href = " <?php echo WEBSITE_DOMAIN ; ?> /explore.php?hp= <?php echo $hostPage -> hostPageId ?> " >
@ -277,7 +277,9 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
@@ -277,7 +277,9 @@ $placeholder = Filter::plural($totalPages, [sprintf(_('Over %s page or enter the
<?php } ?>
<?php } ?>
<?php } ?>
<?php } ?>
< / div >
<?php } ?>
<?php } else { ?>
< div style = "text-align:center" >
< span > <?php echo _ ( 'Not found' ) ?> </ span >