2018-03-11 11:07:57 +00:00
|
|
|
<?php include ('header.php'); ?>
|
|
|
|
<main id="main">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/search_header.php'); ?>
|
|
|
|
<div class="article_wrap">
|
|
|
|
<aside class="left_column">
|
|
|
|
<?php include dirname(__FILE__).('/widgets/side_who_to_follow.php'); ?>
|
2019-08-21 17:25:27 +01:00
|
|
|
<?php include dirname(__FILE__).('/widgets/side_trending.php'); ?>
|
2019-07-17 16:52:20 +01:00
|
|
|
<?php include dirname(__FILE__).('/widgets/side_firefox_addon.php'); ?>
|
2018-03-11 11:07:57 +00:00
|
|
|
<?php include dirname(__FILE__).('/widgets/side_footer.php'); ?>
|
|
|
|
</aside>
|
|
|
|
<article class="center_column">
|
|
|
|
<div id="js-follows_profile">
|
|
|
|
</div>
|
|
|
|
<footer id="js-follows_footer">
|
|
|
|
<i class="fa fa-spin fa-circle-o-notch" aria-hidden="true"></i>
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script>
|
2018-04-21 16:15:13 +01:00
|
|
|
current_file = location.pathname+location.search;
|
2018-03-11 11:07:57 +00:00
|
|
|
<?php if(isset($_GET['q'])): ?>
|
|
|
|
const query = "<?= htmlspecialchars((string)filter_input(INPUT_GET, 'q'), ENT_QUOTES) ?>";
|
2018-12-02 14:01:21 +00:00
|
|
|
if(query.length > 0) {
|
2018-03-11 11:07:57 +00:00
|
|
|
$('title').text(query+' - Halcyon Search');
|
2018-06-09 16:29:25 +01:00
|
|
|
$('#js-header_title_box > h1').text(query);
|
2018-03-11 11:07:57 +00:00
|
|
|
$('#js-search_nav_peoples').toggleClass('view');
|
|
|
|
$('#js-search_nav_toots a ').attr('href','/search'+location.search);
|
|
|
|
$('#js-search_nav_peoples a ').attr('href','/search/users'+location.search);
|
|
|
|
setUserSearch(query);
|
2018-12-02 14:01:21 +00:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
history.go(-2);
|
|
|
|
}
|
2018-03-11 11:07:57 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
</script>
|
2018-04-21 16:15:13 +01:00
|
|
|
<?php include ('footer.php'); ?>
|