forked from snewscms/snews1.80
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
68 lines (64 loc) · 1.36 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
<?php
// Include all system function files here
include('snews.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php title(); ?>
<meta name="robots" content="index,follow" />
<meta name="author" content="Solucija.com" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="top">
<ul id="topmenu">
<?php pages(); ?>
</ul>
<div id="search">
<?php searchform(); ?>
</div>
</div>
<div id="logo">
<h1><?php echo s('website_title'); ?></h1>
<p><?php echo s('website_description'); ?></p>
</div>
</div>
<div id="crumbs"><?php breadcrumbs(); ?></div>
<div id="content">
<div id="main">
<?php center(); ?>
</div>
<div id="side">
<div class="single">
<h3>Categories</h3>
<ul>
<?php categories(); ?>
</ul>
<h3>RSS Feeds</h3>
<ul>
<?php rss_links(); ?>
</ul>
<?php extra(); ?>
</div>
<div class="single">
<h3>New Posts</h3>
<ul>
<?php menu_articles(0, 3, 1); ?>
</ul>
<h3>New Comments</h3>
<ul>
<?php new_comments(5, 30); ?>
</ul>
<?php other_function(); ?>
</div>
</div>
</div>
<div id="footer">
<p>This site is powered by <a href="http://snewscms.com/" title="sNews CMS" onclick="target='_blank';">sNews</a> | <?php login_link(); ?></p>
</div>
</div>
</body>
</html>