-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
103 lines (83 loc) · 3.74 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
/**
* Gnuplotting.org
* index.php gets the whole side (header, main, sidebar, footer)
**/
get_header(); ?>
<!-- ======= Main Content ======= -->
<div class="container">
<!-- ======= Navbar ======= -->
<ul class="nav nav-pills">
<li class="active"><a href="<?php echo site_url(); ?>">Home</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Gnuplot basics<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="<?php echo site_url(); ?>/plotting-functions/">Plotting functions</a></li>
<li><a href="<?php echo site_url(); ?>/plotting-data/">Plotting data</a></li>
<li><a href="<?php echo site_url(); ?>/output-terminals/">Output terminals</a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Manpages<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="<?php echo site_url(); ?>/manpage-gnuplot-4-6/">Gnuplot 4.6</a></li>
<li><a href="http://gnuplot.info/docs_5.0/gnuplot.pdf">Gnuplot 5.0</a></li>
<li><a href="http://gnuplot.info/docs_5.2/Gnuplot_5.2.pdf">Gnuplot 5.2</a></li>
</ul>
</li>
<li><a href="<?php echo site_url(); ?>/about/">About</a></li>
<?php if (is_user_logged_in()) { ?><li><a href="<?php echo site_url(); ?>/wp-admin">Dashboard <i class="icon-arrow-right"></i></a></li><?php } ?>
</ul>
<!-- Grid for main content and sidebar -->
<div class="row">
<!-- ======= Sidebar ======= -->
<div class="span3 sidebar">
<?php get_sidebar(); ?>
</div><!-- </span3> -->
<!-- ======= Main page ======= -->
<div class="span9" id="main">
<!-- Get content -->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<!-- Single entry -->
<section <?php post_class() ?> id="post-<?php the_ID(); ?>">
<!-- Title of post -->
<div class="page-header">
<h1><a href="<?php the_permalink() ?>"
rel="bookmark"
title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
</div><!-- </page-header> -->
<!-- Entry -->
<div class="entry">
<!-- Time, comments and edit -->
<p class="date">
<?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --> |
<?php comments_popup_link('<i class="icon-comments-alt"></i> No Comments', '<i class="icon-comments"></i> 1 Comment', '<i class="icon-comments"></i> % Comments'); ?>
<?php edit_post_link('Edit', ' | ', ''); ?>
</p><!-- </date> -->
<?php the_content('Read the rest of this entry »'); ?>
</div>
<!-- Tags -->
<p class="postmetadata">
<?php the_tags('<strong>Tags:</strong> ', ', ', '<br />'); ?>
</p>
</section><!-- </post> -->
<?php endwhile; ?>
<!-- Link to next/past page -->
<!--<div class="pagination">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>-->
<?php pagination($additional_loop->max_num_pages); ?>
<?php else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- </span9> -->
</div><!-- </row> -->
<div class="footer_art">
</div><!-- </footer_art> -->
</div><!-- </container> -->
<?php get_footer(); ?>
<?php // vim: set textwidth=120 ts=2 sw=2: ?>