File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_3/skin_forum.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD 3 */
/* CACHE FILE: Skin set id: 3 */
/* CACHE FILE: Generated: Tue, 18 Aug 2009 18:02:03 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_forum_3 {
/**
* Construct
*/
function __construct( ipsRegistry $registry )
{
/* Make object */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
}
/* -- forumAttachments --*/
function forumAttachments($title, $rows) {
$IPBHTML = "";
$IPBHTML .= "";
return $IPBHTML;
}
/* -- forumAttachmentsAjaxWrapper --*/
function forumAttachmentsAjaxWrapper($output) {
$IPBHTML = "";
$IPBHTML .= "";
return $IPBHTML;
}
/* -- forumIndexTemplate --*/
function forumIndexTemplate($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1) {
$IPBHTML = "";
$IPBHTML .= "" . ((is_array( $sub_forum_data ) AND count( $sub_forum_data )) ? ("
<div id='categories'>
<h3 class='maintitle'>{$data['name']} {$this->lang->words['sub_forum_title']}</h3>
<ol class='lofi_list'>
".$this->__f__b4637950f3cf1b2c9ed97fd4b0dd092e($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)." </ol>
</div>
") : ("")) . "
" . (($forum_data['sub_can_post']) ? ("<div class='topic_controls'>
<ul class='topic_buttons'>
" . (($forum_data['_user_can_post']) ? ("
<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&section=post&do=new_post&f={$forum_data['id']}", 'publicWithApp','' ), "", "" ) . "' title='{$this->lang->words['topic_start']}' accesskey='s'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']}' /> {$this->lang->words['topic_start']}</a></li>
") : ("
<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
")) . "
</ul>
{$forum_data['SHOW_PAGES']}
</div>
<br />
<div id='topics'>
<h3>{$forum_data['name']}</h3>
<ol class='lofi_list lofi_topics'>
" . ((is_array( $announce_data ) AND count( $announce_data )) ? ("
".$this->__f__f2885e48b9f0dba5175d415643c89912($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)." ") : ("")) . "
" . ((is_array( $topic_data ) AND count( $topic_data )) ? ("
".$this->__f__dbf00541da25793d2288ff9255f82f2a($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum)." ") : ("
<p class='no_messages'>
{$this->lang->words['no_topics']}
</p>
")) . "
</ol>
</div>
<div class='topic_controls'>
{$forum_data['SHOW_PAGES']}
<br />
<ul class='topic_buttons'>
" . (($forum_data['_user_can_post']) ? ("
<li><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "module=post&section=post&do=new_post&f={$forum_data['id']}", 'publicWithApp','' ), "", "" ) . "'><img src='{$this->settings['img_url']}/page_white_add.png' alt='{$this->lang->words['topic_start']} Icon' /> {$this->lang->words['topic_start']}</a></li>
") : ("
<li class='disabled'><span>{$this->lang->words['forum_no_start_topic']}</span></li>
")) . "
</ul>
</div>") : ("")) . "";
return $IPBHTML;
}
function __f__7d1f5385b1c7b0c775c510d089d2b6ce($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1,$_data='')
{
$_ips___x_retval = '';
foreach( $_data['forum_data'] as $forum_id => $forum_data )
{
$_ips___x_retval .= "
" . (($forum_data['redirect_on']) ? ("
<li>
<h4><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "\" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a> <span class='desc'>(Redirect)</span></h4>
</li>
") : ("
<li>
<h4><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$forum_data['id']}", 'public','' ), "{$forum_data['name_seo']}", "showforum" ) . "\" title='{$this->lang->words['goto_forum']}'>{$forum_data['name']}</a> <span class='desc'>( {$forum_data['topics']} {$this->lang->words['topics']} / {$forum_data['posts']} {$this->lang->words['replies']} )</h4>
</li>
")) . "
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
function __f__b4637950f3cf1b2c9ed97fd4b0dd092e($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
$_ips___x_retval = '';
foreach( $sub_forum_data as $_data )
{
$_ips___x_retval .= "
" . ((is_array( $_data['forum_data'] ) AND count( $_data['forum_data'] )) ? ("
".$this->__f__7d1f5385b1c7b0c775c510d089d2b6ce($forum_data,$announce_data,$topic_data,$other_data,$multi_mod_data,$sub_forum_data,$footer_filter,$active_user_data,$mod_data,$inforum,$_data)." ") : ("")) . "
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
function __f__f2885e48b9f0dba5175d415643c89912($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
$_ips___x_retval = '';
foreach( $announce_data as $aid => $adata )
{
$_ips___x_retval .= "
<li class='lofi_topic'>
<a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showannouncement={$adata['announce_id']}&f={$forum_data['id']}", 'public','' ), "%%{$adata['announce_title']}%%", "showannouncement" ) . "\" title='{$this->lang->words['view_announcement']}'>{$adata['announce_title']}</a> <span class='desc'>{$this->lang->words['announce_row']}</span><br />
<span class='desc'>{$this->lang->words['posted_by']} <strong><a href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showuser={$adata['member_id']}", 'public','' ), "{$adata['members_seo_name']}", "showuser" ) . "\" title='{$this->lang->words['view_profile']}'>{$adata['member_name']}</a> " . $this->registry->getClass('output')->getTemplate('global')->user_popup($adata['member_id'], $adata['members_seo_name']) . "</strong>
" . (($adata['announce_start'] AND $adata['announce_start'] != '--') ? (", {$adata['announce_start']}") : ("")) . "
</span>
</li>
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
function __f__dbf00541da25793d2288ff9255f82f2a($forum_data, $announce_data, $topic_data, $other_data, $multi_mod_data, $sub_forum_data, $footer_filter, $active_user_data, $mod_data, $inforum=1)
{
$_ips___x_retval = '';
foreach( $topic_data as $tid => $data )
{
$_ips___x_retval .= "
" . (($data['approved']) ? ("<li class='lofi_topic'>
<a id=\"tid-link-{$data['tid']}\" href=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "\" title='{$this->lang->words['View topic, started on']} {$data['start_date']}' class='topic_title'>{$data['title']}</a> " . (($data['prefix']) ? ("<span class='desc'>{$data['prefix']}</span>") : ("")) . " " . (($data['posts']) ? ("<span class='desc'>({$data['_posts']} " . ((intval($data['posts']) == 1) ? ("{$this->lang->words['reply']}") : ("{$this->lang->words['replies']}")) . ")</span>") : ("")) . "<br />
<span class='desc'>
Last post by {$data['last_poster']} on <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showtopic={$data['tid']}&view=getlastpost", 'public','' ), "{$data['title_seo']}", "showtopic" ) . "' title='{$this->lang->words['goto_last_post']}'>{$data['last_post']}</a>
</span>
</li>") : ("")) . "
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
/* -- forumPasswordLogIn --*/
function forumPasswordLogIn($fid="") {
$IPBHTML = "";
$IPBHTML .= "<form action=\"" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "showforum={$fid}", 'public','' ), "", "" ) . "\" method=\"post\">
<input type=\"hidden\" name=\"L\" value=\"1\" />
<h2>{$this->lang->words['need_password']}</h2>
<p class='message'>{$this->lang->words['need_password_txt']}</p>
<div class='generic_bar'></div>
<div class='post_form'>
<fieldset class='row1'>
<h3 class='bar'>{$this->lang->words['enter_pass']}</h3>
<ul>
<li class='field'>
<label for='forum_pass'>{$this->lang->words['enter_pass']}</label>
<input type=\"password\" size=\"20\" name=\"f_password\" id='forum_pass' class='input_text' />
</li>
</ul>
</fieldset>
<fieldset class='submit'>
<input type=\"submit\" value=\"{$this->lang->words['f_pass_submit']}\" class=\"input_submit\" /> {$this->lang->words['or']} <a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "", 'public','' ), "", "" ) . "' title='{$this->lang->words['cancel']}' class='cancel'>{$this->lang->words['cancel']}</a>
</fieldset>
</div>
</form>";
return $IPBHTML;
}
/* -- show_rules --*/
function show_rules($rules="") {
$IPBHTML = "";
$IPBHTML .= "";
return $IPBHTML;
}
/* -- topic_rating_image --*/
function topic_rating_image($rating_id=1) {
$IPBHTML = "";
$IPBHTML .= "";
return $IPBHTML;
}
/* -- topicPrefixWrap --*/
function topicPrefixWrap($text) {
$IPBHTML = "";
$IPBHTML .= "" . (($text) ? ("
<span class='topic_prefix'>{$text}</span>
") : ("")) . "";
return $IPBHTML;
}
/* -- who_link --*/
function who_link($tid="",$posts="") {
$IPBHTML = "";
$IPBHTML .= "";
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/* END OF FILE */
/*--------------------------------------------------*/
?>