Adjustments to recent.php.
This commit is contained in:
22
recent.php
22
recent.php
@ -79,7 +79,7 @@ ORDER BY books.timestamp DESC");
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>Infopump - Search results - <?php echo $searchtopic; ?></title>
|
<title>Infopump - Recently Added - <?php echo $searchtopic; ?></title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta name="description" content="Free HTML5 Template by FREEHTML5.CO" />
|
<meta name="description" content="Free HTML5 Template by FREEHTML5.CO" />
|
||||||
<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
|
<meta name="keywords" content="free html5, free template, free bootstrap, html5, css3, mobile first, responsive" />
|
||||||
@ -100,28 +100,28 @@ ORDER BY books.timestamp DESC");
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Facebook and Twitter integration -->
|
<!-- Facebook and Twitter integration -->
|
||||||
<meta property="og:title" content=<?php echo '"'.$SiteName.' - Search - '.$searchtopic.'" />';?>
|
<meta property="og:title" content=<?php echo '"'.$SiteName.' - Recently Added - '.$searchtopic.'" />';?>
|
||||||
|
|
||||||
<meta property="og:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
|
<meta property="og:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (!empty($keywordsearch)) {
|
if (!empty($keywordsearch)) {
|
||||||
echo '<meta property="og:url" content="'.$SiteURL.'/results.php?kw='.$socialkw.'" />';
|
echo '<meta property="og:url" content="'.$SiteURL.'/recent.php?kw='.$socialkw.'" />';
|
||||||
echo '<meta name="twitter:url" content="'.$SiteURL.'/results.php?kw='.$socialkw.'" />';
|
echo '<meta name="twitter:url" content="'.$SiteURL.'/recent.php?kw='.$socialkw.'" />';
|
||||||
} elseif (!empty($authorsearch)) {
|
} elseif (!empty($authorsearch)) {
|
||||||
echo '<meta property="og:url" content="'.$SiteURL.'/results.php?au='.$socialau.'" />';
|
echo '<meta property="og:url" content="'.$SiteURL.'/recent.php?au='.$socialau.'" />';
|
||||||
echo '<meta name="twitter:url" content="'.$SiteURL.'/results.php?au='.$socialau.'" />';
|
echo '<meta name="twitter:url" content="'.$SiteURL.'/recent.php?au='.$socialau.'" />';
|
||||||
} else {
|
} else {
|
||||||
echo '<meta property="og:url" content="'.$SiteURL.'/results.php?ty='.$socialty.'" />';
|
echo '<meta property="og:url" content="'.$SiteURL.'/recent.php?ty='.$socialty.'" />';
|
||||||
echo '<meta name="twitter:url" content="'.$SiteURL.'/results.php?ty='.$socialty.'" />';
|
echo '<meta name="twitter:url" content="'.$SiteURL.'/recent.php?ty='.$socialty.'" />';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<meta property="og:site_name" content=<?php echo '"'.$SiteName.' - Search Results" />';?>
|
<meta property="og:site_name" content=<?php echo '"'.$SiteName.' - Recently Added" />';?>
|
||||||
|
|
||||||
<meta property="og:description" content=<?php echo '"'.$SubName.'" />';?>
|
<meta property="og:description" content=<?php echo '"'.$SubName.'" />';?>
|
||||||
|
|
||||||
<meta name="twitter:title" content=<?php echo '"'.$SiteName.' - Search - '.$searchtopic.'" />';?>
|
<meta name="twitter:title" content=<?php echo '"'.$SiteName.' - Recently Added - '.$searchtopic.'" />';?>
|
||||||
|
|
||||||
<meta name="twitter:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
|
<meta name="twitter:image" content=<?php echo '"'.$SiteURL.'/images/og-site-avatar.jpg" />';?>
|
||||||
|
|
||||||
@ -209,7 +209,7 @@ ORDER BY books.timestamp DESC");
|
|||||||
<li><a href="#"><i class="icon-instagram"></i></a></li>
|
<li><a href="#"><i class="icon-instagram"></i></a></li>
|
||||||
</ul> -->
|
</ul> -->
|
||||||
<div class="col-lg-12 col-md-12 text-center">
|
<div class="col-lg-12 col-md-12 text-center">
|
||||||
<h1 id="fh5co-logo"><a href="index.php">Search Results<br /><br /><?php echo $searchtopic; ?></a></h1>
|
<h1 id="fh5co-logo"><a href="index.php">Recently Added<br /><br /><?php echo $searchtopic; ?></a></h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user