133 lines
3.7 KiB
PHP
133 lines
3.7 KiB
PHP
<?php
|
|
|
|
/*
|
|
+--------------------------------------------------------------------------
|
|
| Invision Power Board
|
|
| =============================================
|
|
| by Matthew Mecham
|
|
| (c) 2001 - 2006 Invision Power Services, Inc.
|
|
| http://www.invisionpower.com
|
|
| =============================================
|
|
| Web: http://www.invisionboard.com
|
|
| Licence Info: http://www.invisionboard.com/?license
|
|
+---------------------------------------------------------------------------
|
|
| > $Date: 2006-03-23 07:34:25 -0500 (Thu, 23 Mar 2006) $
|
|
| > $Revision: 177 $
|
|
| > $Author: brandon $
|
|
+--------------------------------------------------------------------------
|
|
*/
|
|
|
|
global $ipsclass;
|
|
|
|
$LOFISKIN['wrapper'] = <<<EOF
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset={$ipsclass->vars['gb_char_set']}" />
|
|
<meta name="robots" content="index,follow" />
|
|
<link rel="stylesheet" rev="stylesheet" href="<% FULL_URL %>lofiscreen.css" media="screen" />
|
|
<link rel="stylesheet" rev="stylesheet" href="<% FULL_URL %>lofihandheld.css" media="handheld" />
|
|
<link rel="stylesheet" rev="stylesheet" href="<% FULL_URL %>lofiprint.css" media="print" />
|
|
<title><% TITLE %></title>
|
|
</head>
|
|
<body>
|
|
<div id='ipbwrapper'>
|
|
<div class='ipbnavsmall'>
|
|
<a href='{$ipsclass->base_url}act=Help'>{$ipsclass->lang['tb_help']}</a> -
|
|
<a href='{$ipsclass->base_url}act=Search'>{$ipsclass->lang['tb_search']}</a> -
|
|
<a href='{$ipsclass->base_url}act=Members'>{$ipsclass->lang['tb_mlist']}</a> -
|
|
<a href='{$ipsclass->base_url}act=calendar'>{$ipsclass->lang['tb_calendar']}</a>
|
|
</div>
|
|
<div id='largetext'>{$ipsclass->lang['lofi_fullversion']}<a href='<% LINK %>'><% LARGE_TITLE %></a></div>
|
|
<div class='ipbnav'><% NAV %></div>
|
|
<% PAGES %>
|
|
<div id='ipbcontent'>
|
|
<% CONTENT %>
|
|
</div>
|
|
<div class='smalltext'>{$ipsclass->lang['lofi_maintext']}<a href='<% LINK %>'>{$ipsclass->lang['lofi_clickhere']}</a>.</div>
|
|
</div>
|
|
<div id='ipbcopyright'><% COPYRIGHT %></div>
|
|
</body>
|
|
</html>
|
|
EOF;
|
|
|
|
|
|
function LOFISKIN_forums($forums="") {
|
|
return <<<EOF
|
|
<div class='forumwrap'>
|
|
<ul>
|
|
$forums
|
|
</ul>
|
|
</div>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_forums_entry($depth_guide, $forum_data, $win_path="" ) {
|
|
global $ipsclass;
|
|
return <<<EOF
|
|
\n{$depth_guide}<li><a href='{$win_path}f{$forum_data['id']}.html'>{$forum_data['name']}</a> <span class='desc'>({$forum_data['total_posts']} {$ipsclass->lang['lofi_posts']})</span></li>
|
|
EOF;
|
|
}
|
|
|
|
|
|
function LOFISKIN_forums_entry_end($depth_guide) {
|
|
return <<<EOF
|
|
\n{$depth_guide}</ul></li>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_forums_entry_start($depth_guide) {
|
|
return <<<EOF
|
|
\n{$depth_guide}<li><ul>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_forums_entry_first($forum_data, $win_path="") {
|
|
return <<<EOF
|
|
\n<li><strong><a href='{$win_path}f{$forum_data['id']}.html'>{$forum_data['name']}</a></strong></li>\n<ul>
|
|
EOF;
|
|
}
|
|
|
|
|
|
function LOFISKIN_topics($topics="") {
|
|
return <<<EOF
|
|
<div class='topicwrap'>
|
|
<ol>
|
|
$topics
|
|
</ol>
|
|
</div>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_topics_entry($r, $win_path="") {
|
|
global $ipsclass;
|
|
return <<<EOF
|
|
\n<li>{$r['_prefix']}<a href='{$win_path}t{$r['tid']}.html'>{$r['title']}</a> <span class='desc'>({$r['posts']} {$ipsclass->lang[$r['lang_key']]})</span></li>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_posts_entry($r) {
|
|
return <<<EOF
|
|
<div class='postwrapper'>
|
|
<div class='posttopbar'>
|
|
<div class='postname'>{$r['author_name']}</div>
|
|
<div class='postdate'>{$r['post_date']}</div>
|
|
</div>
|
|
<div class='postcontent'>
|
|
{$r['post']}
|
|
</div>
|
|
</div>
|
|
EOF;
|
|
}
|
|
|
|
function LOFISKIN_pages($pages="") {
|
|
global $ipsclass;
|
|
return <<<EOF
|
|
<div class='ipbpagespan'>
|
|
{$ipsclass->lang['lofi_please']} $pages
|
|
</div>
|
|
EOF;
|
|
}
|
|
|
|
?>
|