File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_gallery_cats.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 2 */
/* CACHE FILE: Generated: Sat, 16 Dec 2006 04:15:58 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_gallery_cats_6 {
var $ipsclass;
//===========================================================================
// <ips:active_users:desc:>
//===========================================================================
function active_users($online="",$totals="",$str="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class='formsubtitle' colspan='2'>{$totals}</td></tr>
<tr>
<td class="row1" width="1%"><{F_ACTIVE}></td>
<td class="row2">{$str['reg']} {$str['guests']} {$str['anon']}
<div class="thin">{$online}</div>
</td>
</tr>
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:album_end:desc:>
//===========================================================================
function album_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!-- no content -->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:album_row:desc:>
//===========================================================================
function album_row($info="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="{$info['css']}" align="center" width="1%">{$info['img_new_post']}</td>
<td class="{$info['css']}"><b><a href="{$info['link']}">{$info['name']}</a></b><br /><span>{$info['description']}</span></td>
<td class="{$info['css']}" align="center">{$info['member']}</td>
<td class="{$info['css']}" align="center"><b>{$info['images']}</b></td>
<td class="{$info['css']}" align="center"><b>{$info['comments']}</b></td>
<td class="{$info['css']}" nowrap="nowrap">
<span>{$info['last_pic']}<br />{$this->ipsclass->lang['by']}: {$info['last_poster']}<br />{$this->ipsclass->lang['on']} {$info['date']}</span>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:album_top:desc:>
//===========================================================================
function album_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<th width="40%" colspan="2">{$this->ipsclass->lang['album_name']}</th>
<th align="center" width="19%">{$this->ipsclass->lang['sort_name']}</th>
<th align="center" width="7%">{$this->ipsclass->lang['images']}</th>
<th align="center" width="7%">{$this->ipsclass->lang['comments']}</th>
<th width="25%">{$this->ipsclass->lang['last_post_info']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:approve_images_line:desc:>
//===========================================================================
function approve_images_line($num="",$approve_url="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='ipbtable'>
<a href="{$approve_url}">{$num}</a></div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_end:desc:>
//===========================================================================
function cat_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--cat_end.start-->
</table>
<br />
<!--cat_end.end-->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_end_tr:desc:>
//===========================================================================
function cat_end_tr() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_log_in:desc:>
//===========================================================================
function cat_log_in($cid='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="sc" />
<input type="hidden" name="cat" value="{$cid}" />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['need_password']}</div>
<div class="tablepad">{$this->ipsclass->lang['need_password_txt']}</div>
<div class="tablepad">
<b>{$this->ipsclass->lang['enter_pass']}</b>
<input type="password" size="20" name="f_password" />
</div>
<div class="pformstrip" align="center"><input type="submit" value="{$this->ipsclass->lang['f_pass_submit']}" class="forminput" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_page_end:desc:>
//===========================================================================
function cat_page_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript" src='jscripts/ipb_galleryjs.js'></script>
<script type='text/javascript'>
//<![CDATA[
// Resize thumb divs...
var use_thumbs = parseInt("{$this->ipsclass->vars['gallery_create_thumbs']}");
var thumbs_x = parseInt("{$this->ipsclass->vars['gallery_thumb_width']}");
var thumbs_y = parseInt("{$this->ipsclass->vars['gallery_thumb_height']}");
html_resize_thumb_divs( use_thumbs, thumbs_x, thumbs_y );
//]]>
</script>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_row:desc:>
//===========================================================================
function cat_row($info="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--skin_gallery_cats:cat_row.start-->
<td {$info['colspan']}width="{$info['cat_width']}" valign="top">
<div class="borderwrap" id="fc_{$info['id']}">
<table cellspacing="0" cellpadding="3" width="100%">
<div class="maintitle">{$info['has_subcats']}<u><a href="{$info['link']}">{$info[ 'name' ]}</a></u> </div>
<div class="popupmenu" id="sub_{$info['id']}" style="position: absolute; display: none;">
<div class="popupmenu-item">
{$info['sub_cats']}
</div>
</div>
<tr>
<th colspan="2">{$this->ipsclass->lang['last_post_info']} {$info['date']} </th>
</tr>
<tr>
<td class="row2" valign="middle" align="center" width="30%">
<table align="center" cellpadding="3" width="100%" height="{$this->ipsclass->vars['gallery_thumb_height']}">
<tr><td align="center">
{$info['last_pic']}</td></tr>
<tr><td align="center">{$info['photo_bar']}{$info['photo_info']}
</td></tr>
</table>
</td>
<td class="row1" valign="middle" width="75%"><span class="postdetails"><strong>{$info['description']}</strong>
<br />
{$info['desc_subcats']}<br />
{$info['approve_images']}
</span></td>
</tr>
<tr>
<th align="right" colspan="2"> <i> {$info['images']} {$this->ipsclass->lang['images']}, {$info['comments']} {$this->ipsclass->lang['comments']}</i></th>
</table></div></td>
<!--skin_gallery_cats:cat_row.end-->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_start_tr:desc:>
//===========================================================================
function cat_start_tr() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_top:desc:>
//===========================================================================
function cat_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<style type="text/css">
.camera {
cursor: pointer;
cursor: hand;
}
</style>
<table width="100%" cellspacing="0" cellpadding="1" border="0">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_view_end:desc:>
//===========================================================================
function cat_view_end($span="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="catend" colspan="6">{$span['multi_mod']}</td>
</tr>
</table>
</div>
<table cellspacing="1" class="ipbtable" width="100%">
<tr>
<td width="20%" nowrap="nowrap">{$span['CATS']}<br /><br />{$span['SHOW_PAGES']}</td>
<td align="right" width="80%">{$span['ss_button']} {$span['post_button']} {$span['multi_upload_button']}{$span['media_button']}</td>
</tr>
</table>
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['sorting_options']}</div>
<table cellspacing="1" width="100%">
<tr>
<td class="row2" align="center">
<form method="post" action="{$this->ipsclass->base_url}">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="sc" />
<input type="hidden" name="cat" value="{$this->ipsclass->input['cat']}" />
<input type="hidden" name="st" value="{$this->ipsclass->input['st']}" />
<input type="hidden" name="op" value="{$this->ipsclass->input['op']}" />
{$this->ipsclass->lang['showing']} {$this->ipsclass->lang['sort_options']}
<input type="submit" name="submit" value="{$this->ipsclass->lang['go']}" class="button" />
</form>
</td>
</tr>
<tr>
<td class="catend">
</td>
</tr>
</table>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:cat_view_top:desc:>
//===========================================================================
function cat_view_top($info="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<table cellspacing="1" class="ipbtable" width="100%">
<tr>
<td width="20%" nowrap="nowrap">{$info['CATS']}<br /><br />{$info['SHOW_PAGES']}</td>
<td align="right" width="80%">{$info['ss_button']} {$info['post_button']} {$info['multi_upload_button']} {$info['media_button']}</td>
</tr>
</table>
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$info['name']}</div>
<table cellspacing="1" class="ipbtable" width="100%">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:index_list_end:desc:>
//===========================================================================
function index_list_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="catend" colspan="5"><!-- no content --></td>
</tr>
</table>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:index_list_top:desc:>
//===========================================================================
function index_list_top($name='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$name}</div>
<table cellspacing="1" width="100%" class="ipbtable">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:legacy_cat_end:desc:>
//===========================================================================
function legacy_cat_end($in="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="catend" colspan="5"><!-- no content --></td>
</tr>
</table>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:legacy_cat_header:desc:>
//===========================================================================
function legacy_cat_header($in="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle">
<p><{CAT_IMG}> {$this->ipsclass->lang['galleries']}</a></p>
</div>
<table class='ipbtable' cellspacing="1">
<tr>
<th colspan="2" width="66%">{$this->ipsclass->lang['cat_name']}</th>
<th align="center" width="7%">{$this->ipsclass->lang['images']}</th>
<th align="center" width="7%">{$this->ipsclass->lang['comments']}</th>
<th width="35%">{$this->ipsclass->lang['last_post_info']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:legacy_cat_row:desc:>
//===========================================================================
function legacy_cat_row($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td align="center" class="row2" width="1%" valign="middle">{$data['img_new_post']}</td>
<td class="row2" valign="middle"><b><a href="{$data['link']}">{$data['name']}</a></b><br /><span class="forumdesc">{$data['description']}{$data['desc_subcats']}<br /><i>{$data['approve_images']}</i></td>
<td align="center" class="row1" valign="middle"><b>{$data['images']}</b></td>
<td align="center" class="row1" valign="middle"><b>{$data['comments']}</b></td>
<td class="row1" nowrap="nowrap" valign="middle">{$data['last_pic']} <span><br /><b>{$this->ipsclass->lang['by']}:</b> {$data['last_poster']}<br /><b>{$this->ipsclass->lang['on']}</b> {$data['date']}</span></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:multi_mod_form:desc:>
//===========================================================================
function multi_mod_form($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form name="modform" method="post" action="index.php">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="gallerymmod" />
<input type="hidden" value="" name="selectedimgids" />
<input type="hidden" value="{$this->ipsclass->input['cat']}" name="cat" />
<div style='float:left;width:auto'>
<select name="galleryact" id="galleryact" onchange="check_move_select()">
<option value="pin">{$this->ipsclass->lang['pin_images']}</option>
<option value="unpin">{$this->ipsclass->lang['unpin_images']}</option>
<option value="delete">{$this->ipsclass->lang['delete_images']}</option>
<option value="move">{$this->ipsclass->lang['move_images']}</option>
<option value="approve">{$this->ipsclass->lang['approve_images']}</option>
<option value="unapprove">{$this->ipsclass->lang['unapprove_images']}</option>
</select>
</div>
<div id='move_cat_div' style='display:none;position:relative;float:left;width:auto'>
{$data}
</div>
<input type="submit" name="gobutton" value="{$this->ipsclass->lang['mod_button']}" class="button" />
</form>
<script type="text/javascript">
//<![CDATA[
var move_cat_div = document.getElementById('move_cat_div');
var galleryact = document.getElementById('galleryact');
function check_move_select()
{
for( var i = 0 ; i < galleryact.options.length ; i++ )
{
if ( galleryact.options[i].value == 'move' )
{
move_cat_div.style.display = ( galleryact.options[i].selected ) ? '' : 'none';
}
}
}
//]]>
</script>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:search_form:desc:>
//===========================================================================
function search_form($txt='',$type='',$id=0) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div id='userlinks'>
<form action='{$this->ipsclass->base_url}' method='post'>
<input type='hidden' name='automodule' value='gallery'>
<input type='hidden' name='cmd' value='search'>
<input type='hidden' name='search_where' value='{$type}'>
<input type='hidden' name='search_where_id' value='{$id}'>
<p>
<b>
<i>{$txt}</i></b><input name='search_for' type='text' class='input'>
<b>in</b> <select name='search_in'><option value='caption'>{$this->ipsclass->lang['caption']}</option><option value='description' class='select'>{$this->ipsclass->lang['description']}</option></select>
<input type='submit' name='submit' value='{$this->ipsclass->lang['search_gallery']}'>
</p>
</form>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:ss_form:desc:>
//===========================================================================
function ss_form() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script text="text/javascript" src="jscripts/ipb_galleryjs.js"></script>
<form method="post" action="?automodule=gallery">
<input type="hidden" name="cmd" value="slideshow" />
<input type="hidden" name="cat" value="{$this->ipsclass->input['cat']}" />
<input type="hidden" name="album" value="{$this->ipsclass->input['album']}" />
<input type="hidden" name="show" value="first" />
<div class="borderwrap">
<table cellspacing="1" width="100%">
<tr>
<td class="maintitle" colspan="2"><{CAT_IMG}> {$this->ipsclass->lang['ss_options']}</td>
</tr>
<tr>
<td width="35%" class="row2">
<fieldset>
<legend>{$this->ipsclass->lang['ss_duration']}</legend>
<input type="text" name="duration" value="5" /> {$this->ipsclass->lang['ss_seconds']}
</fieldset>
</td>
<td width="65%" class="row2">
<fieldset>
<legend>{$this->ipsclass->lang['ss_sorting']}</legend>
{$this->ipsclass->lang['sort_options']}
</fieldset>
</td>
</tr>
<tr>
<td class="formbuttonrow" colspan="2">
<input type='checkbox' name='hfoff' value='1'> {$this->ipsclass->lang['ss_hfoff']}<br />
<input onClick="start_slideshow();" type="submit" name="submit" value="{$this->ipsclass->lang['ss_go']}" tabindex="4" class="forminput" accesskey="s" />
</td>
</tr>
</table>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:ss_slide:desc:>
//===========================================================================
function ss_slide($photo='',$goto='',$img='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<meta http-equiv="refresh" content="{$this->ipsclass->input['duration']}; url={$goto}">
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['slideshow_start']}</div>
<div class="row2" style="padding: 4px; text-align: center;"><b><a href="{$this->ipsclass->base_url}automodule=gallery&cmd=si&img={$img}">{$this->ipsclass->lang['ss_stop']}</a></b></div>
</div>
<div class="fullimagewrap">
{$photo}
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:stats:desc:>
//===========================================================================
function stats($stats="",$active="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['stats']}</div>
<table class="ipbtable" cellspacing="1" width="100%">
<tr>
<th colspan='2' align='right'>
<a href='{$this->ipsclass->base_url}&act=module&module=gallery&cmd=stats&op=ratings'>{$this->ipsclass->lang['top10']}</a> · <a href='{$this->ipsclass->base_url}&act=module&module=gallery&cmd=stats&op=views'>{$this->ipsclass->lang['views10']}</a>
· <a href='{$this->ipsclass->base_url}&act=module&module=gallery&cmd=stats&op=comments'>{$this->ipsclass->lang['comments10']}</a>
</th>
<tr>
<td colspan='2' class='formsubtitle'>{$this->ipsclass->lang['stats']}</td>
</tr>
<tr>
<td class="row1" width="1%"><{F_STATS}></td>
<td class="row2">$stats</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:stats_comment_row:desc:>
//===========================================================================
function stats_comment_row($info="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td width='20%' class='row1' align='center' valign='center'>
<div class='thumbwrap'>
{$info['image']}
</td>
</div>
<td width='80%' class='row2' 'align='left' valign='top'>
{$info['comment']}<br /><br />
<b>{$this->ipsclass->lang['postedby']}</b> {$info['name']}<br /> <b>{$this->ipsclass->lang['on']}</b> {$info['date']}</p>
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>