} } /* next IP address for free check */ $n++; } $c++; } } ?> </table> <!-- end IP address table --> <?php # pagination if ($sizeIP > $pageLimit) { print_pagination($_REQUEST['sPage'], $repeats); } ?> <?php # visual display of used IP addresses if ($type == "IPv4") { if ($settings['visualLimit'] > 0) { if ($settings['visualLimit'] <= $SubnetDetails['mask']) { include_once 'ipAddressPrintVisual.php'; } } }
$offset = $pager['offset']; $limit = $pager['limit']; ?> <br /> <div class = 'path' id = 'path'> <table> <tr> <td><b><a href = 'index.php'>Indice Forum</a></b></td> <td><?php patch_forum($id, 2); ?> </td> </tr> <tr> <td>Pagine: <?php print print_pagination($pager['numPages'], $page, $id); ?> </td> </tr> </table> </div> <br /> <?php // se loggato visualizzo il pulsante per la creazione di un nuovo topic if (login($username, $password) == TRUE) { ?> <!-- New Topic --> <table align="center"> <tr> <td> <form method="GET" action="post.php" />
for ($i = $start; $i < $start + $itemsPerPage; $i++) { if (isset($files[$i]) && is_file($src_folder . '/' . $files[$i])) { echo '<div class="thumb"> <a href="' . $src_folder . '/' . $files[$i] . '" class="albumpix" rel="albumpix"> <img src="' . $src_folder . '/thumbs/' . $files[$i] . '" width="' . $thumb_width . '" height="' . $thumb_height . '" alt="" /> </a> <p><a href="delete.php?file=' . $files[$i] . '">Delete</a></p> </div>'; } else { if (isset($files[$i])) { echo $files[$i]; } } } echo '<div class="clear"></div>'; echo '<div class="p5-sides"> <div class="float-left">' . count($files) . ' images</div> <div class="float-right" class="paginate-wrapper">'; print_pagination($numPages, $currentPage); echo '</div> <div class="clearb10"> </div>'; } ?> </div> </body> </html>
</span> </small> </div> <div> <?php echo readable_text($comment->body); ?> </div> </div> <?php } ?> </div> <div class="row"> <?php print_pagination($pagination, $pages); ?> </div> <div class="row"> <?php if (User::getAuthenticated()) { ?> <form action="<?php eh(url(POST_COMMENT_URL)); ?> " class="well" method="post"> <label for="body">Comment</label> <textarea class='u-full-width' id='body' name="body" placeholder='Wrap URL in [img]...[/img] to embed an image.'><?php eh(Param::get('body')); ?> </textarea>
</div> <div class="modal-footer"> <button type="button" class="btn btn-default" onclick="callResult(false)" style="width: 100px;"><span class="glyphicon glyphicon-remove"></span> No</button> <button type="button" class="btn btn-primary" onclick="callResult(true)" style="width: 100px;"><span class="glyphicon glyphicon-ok"></span> Yes</button> </div> </div> </div> </div> <div class="container" style="margin-top: 20px;"> <img src="img/mahlowat_logo.png" title="Mahlowat Logo" class="pull-right" onclick="changeText('mahlowat')"/> <p id="spruch" class="pull-right"></p> <div class="bottom-buffer top-buffer"> <?php print_pagination($theses_count); ?> <?php print_thesesbox($theses); ?> <p class='text-center'><button id="weight" type="button" class="btn btn-default" data-toggle="button">This is important to me</button></p> <div class="row"> <div class="col-xs-12 col-sm-2 col-md-2 col-md-offset-2 col-sm-offset-2 option"> <button id='yes' type='submit' class='btn btn-success btn-block' name='yes' onclick="nextThesis('a')"><span class="glyphicon glyphicon-thumbs-up"></span> Approval</button> </div> <div class="col-xs-12 col-sm-2 col-md-2 option"> <button id='neutral' type='submit' class='btn btn-warning btn-block' name='neutral' onclick="nextThesis('b')"><span class="glyphicon glyphicon-tree-deciduous"></span> Neutral</button> </div>
?> </div> </div> <?php print_searchbox("Blogs"); ?> </div> <div class='content'> <?php $safe_skip = false; $safe_skip = mysql_escape_string($_GET["skip"]); if (!is_numeric($safe_skip)) { $safe_skip = false; } $filters = array(); $filters['limit'] = $GLOBALS["config"]['blogs_per_page']; if ($safe_skip) { $filters['skip'] = $safe_skip; } else { $filters['skip'] = 0; } $blogs = get_blogs(get_blogs_with_tag($safe_category), $filters); print_pagination($blogs, $safe_skip, "blogs.php", $GLOBALS["config"]['blogs_per_page']); foreach ($blogs as $blog) { print_blog($blog, array("tagcloud" => true)); } print_pagination($blogs, $safe_skip, "blogs.php", $GLOBALS["config"]['blogs_per_page']); ?> </div> <?php include "footer.php";
<div class='sidebox_title'>Subscribe</div> <div class='sidebox_content'> <?php if ($safe_category) { print "<p>Subscribe to links in the " . strtolower($safe_category) . " category:"; } feedbox("Latest links", "atom.php?category={$safe_category}&type=latest_links"); feedbox("Latest links (min 2 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=2"); feedbox("Latest links (min 4 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=4"); feedbox("Latest links (min 8 blogs)", "atom.php?category={$safe_category}&type=latest_links&min_links=8"); ?> </div> </div> </div> <div class='content'> <?php $links = get_links($safe_order_by, $filters); if ($links) { print_pagination($links, $safe_skip, "links.php", $GLOBALS["config"]['links_per_page']); foreach ($links as $link) { print_link($link); } print_pagination($links, $safe_skip, "links.php", $GLOBALS["config"]['links_per_page']); } else { print "No links found."; } ?> </div> <?php include "footer.php";
if ($posts) { if ($every_category_rows > $this_category_rows) { # if we got rid of the category restriction then we could show more posts... if ($every_category_rows >= 2) { $all_posts_end = "<b>" . $every_category_rows . "</b> posts"; } else { $all_posts_end = "<b>one</b> post"; } if ($this_category_rows >= 2) { $posts_end = "are <b>" . $this_category_rows . "</b> posts"; } else { $posts_end = "is <b>one</b> post"; } printf("\n<div class='message'>\nThere %s in the %s category containing this term and %s in all categories - <a href='%s'>click here</a> to see them too.\n</div>", $posts_end, $safe_category, $all_posts_end, linkto("posts.php", $page_vars, array("category" => false))); } print_pagination($posts, $safe_skip, "posts.php", $GLOBALS["config"]['posts_per_page']); foreach ($posts as $post) { $display_filters = array("image" => true); if ($filters['conference']) { $display_filters["display_geotags"] = true; } print_post($post, $display_filters); } print_pagination($posts, $safe_skip, "posts.php", $GLOBALS["config"]['posts_per_page']); } else { print "No posts found."; } ?> </div> <?php include "footer.php";
# search for any tags $tags = get_similar_tags($safe_search, 12, 1); if ($tags) { print "<div class='tagbox'>Items tagged <a href='" . linkto("tag_search.php", $GLOBALS['page_vars'], array("tag" => $safe_search)) . "'>{$safe_search}</a> were also tagged: "; foreach ($tags as $tag => $val) { print "<a href='" . linkto("tag_search.php", $GLOBALS['page_vars'], array("tag" => $tag)) . "'>{$tag}</a> "; } print "</div>"; } if ($num_results) { print_pagination($num_results, $safe_skip, "search.php", $GLOBALS["config"]['posts_per_page'], array("search" => $safe_search, "type" => $safe_type)); foreach ($blogs as $blog) { print_blog($blog); } foreach ($papers as $paper) { print_paper($paper, array("display" => "minimal")); } foreach ($posts as $post) { print_post($post, array("image" => true)); } print_pagination($num_results, $safe_skip, "search.php", $GLOBALS["config"]['posts_per_page'], array("search" => $safe_search, "type" => $safe_type)); } } else { if ($safe_search) { print "<h1>No results returned for " . $safe_search . "</h1>"; } } ?> </div> <?php include "footer.php";
?> '><img border='0' src='images/cell_comment.png'/></a></div> <div class='basic_thumbnail'><a href='<?php plinkto("papers.php", $page_vars, array("comment_source" => "Science")); ?> '><img border='0' src='images/science_comment.png'/></a></div> --> <div class='postbox_footer'> </div> </div> </div> <?php print_searchbox("Papers"); ?> </div> <div class='content'> <?php $papers = get_papers($safe_order_by, $filters); # pagination control if ($papers) { print_pagination($papers, $safe_skip, "papers.php", $GLOBALS["config"]['papers_per_page']); foreach ($papers as $paper) { print_paper($paper, array("display" => "minimal")); } print_pagination($papers, $safe_skip, "papers.php", $GLOBALS["config"]['papers_per_page']); } else { print "No papers found."; } ?> </div> <?php include "footer.php";