File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_blog_search.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 2 */
/* CACHE FILE: Generated: Sat, 16 Dec 2006 04:15:57 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_blog_search_6 {
var $ipsclass;
//===========================================================================
// <ips:blog_show_entry:desc:>
//===========================================================================
function blog_show_entry($entry="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class='maintitle'>
<p class="expand"><a href="{$entry['url']}">{$entry['blog_name']}</a></p>
<p><{CAT_IMG}> <a href="{$entry['url']}showentry={$entry['entry_id']}"><b>{$entry['entry_name']}</b></a></p>
</div>
<div class='post2' style='padding:4px 4px 4px 4px;height:200px;overflow:auto'><div class='postcolor'>
EOF;
//startif
if ( $entry['hide_private'] )
{
$IPBHTML .= <<<EOF
<span style="color:#992A2A;">{$this->ipsclass->lang['blog_private_entry']}<br /><br />
<a href="{$entry['url']}&showprivate=1">{$this->ipsclass->lang['blog_show_privateentry']}</a></span>
EOF;
}//endif
//startelse
else
{
$IPBHTML .= <<<EOF
{$entry['entry']} <!--IBF.ATTACHMENT_{$entry['entry_id']}-->
EOF;
}//endelse
$IPBHTML .= <<<EOF
</div></div>
<table cellspacing="1" class="ipbtable">
<tr>
<td class="formbuttonrow" nowrap="nowrap">
<div style='text-align:left'>
<span style="float:right;">
<a href="{$entry['url']}showentry={$entry['entry_id']}">{$this->ipsclass->lang['entry_comments']} {$entry['entry_num_comments']}</a>
</span>
{$this->ipsclass->lang['entry_posted_on']} {$entry['entry_date']}
</div>
</td>
</tr>
</table>
<div class="catend"><!-- no content --></div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:search_error_page:desc:>
//===========================================================================
function search_error_page($keywords="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['search_results']}</div>
<table cellspacing="1" class="ipbtable">
<tr>
<th><b>{$this->ipsclass->lang['you_search_for']}</b> {$keywords}</th>
</tr>
<tr>
<td class="row1">{$this->ipsclass->lang['no_results_so_there_ha_ha']}<br /><br /><b><a href="{$this->ipsclass->base_url}automodule=blog">{$this->ipsclass->lang['return_to_blog']}</a></b></td>
</tr>
<tr>
<td class="catend"><!-- no content --></td>
</tr>
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_attachment_title:desc:>
//===========================================================================
function show_attachment_title($title="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br /><br /><b><span class="edit">$title</span></b><br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:Show_attachments:desc:>
//===========================================================================
function Show_attachments($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<a href="{$this->ipsclass->base_url}automodule=blog&req=attach&id={$data['id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank"><img src="{$this->ipsclass->vars['mime_img']}/{$data['image']}" alt="{$this->ipsclass->lang['attached_file']}" /></a>
<a href="{$this->ipsclass->base_url}automodule=blog&req=attach&id={$data['id']}" title="{$this->ipsclass->lang['attach_dl']}" target="_blank">{$data['name']}</a> ( {$data['size']} )
<span class="desc">{$this->ipsclass->lang['attach_hits']}: {$data['hits']}</span><br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:Show_attachments_img:desc:>
//===========================================================================
function Show_attachments_img($file_name="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<img src="{$this->ipsclass->vars['upload_url']}/$file_name" alt="{$this->ipsclass->lang['pic_attach']}" />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:Show_attachments_img_thumb:desc:>
//===========================================================================
function Show_attachments_img_thumb($file_name="",$width="",$height="",$aid="",$size="",$hits="",$file="",$method="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<a href="{$this->ipsclass->base_url}automodule=blog&req=attach&id=$aid" title="$file - {$this->ipsclass->lang['attach_size']} $size, {$this->ipsclass->lang['attach_ahits']} $hits" target="_blank"><img src="{$this->ipsclass->vars['upload_url']}/$file_name" width="$width" height="$height" class="attach" alt="{$this->ipsclass->lang['pic_attach']}" /></a>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_page_links:desc:>
//===========================================================================
function show_page_links($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div>{$data[SHOW_PAGES]}</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>