File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_gallery_albums.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_albums_6 {
var $ipsclass;
//===========================================================================
// <ips:album_form:desc:>
//===========================================================================
function album_form($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}" method="post" name="theForm">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="albums" />
<input type="hidden" name="op" value="{$data['type_op']}" />
{$data['hiddens']}
{$data['errors']}
<div class="borderwrapm">
<div class="maintitle">{$this->ipsclass->lang['album_manage']}</div>
<table cellspacing="1" width="100%">
<td class="subtitle" colspan="2">{$this->ipsclass->lang[ $data['type'] ]}</td>
<tr>
<td class="pformleft">{$this->ipsclass->lang['album_name']}</td>
<td class="pformright">
<input type="text" size="40" maxlength="60" name="name" value="{$data['name']}" />
</td>
</tr>
<tr>
<td class="pformleft">{$this->ipsclass->lang['album_desc']}</td>
<td class="pformright">
<input type="text" size="40" name="description" value="{$data['description']}" />
</td>
</tr>
EOF;
//startif
if ( $data['q_cat'] == false )
{
$IPBHTML .= <<<EOF
<tr>
<td class="pformleft">{$this->ipsclass->lang['cat_name']}</td>
<td class="pformright">
{$data['cat_dropdown']}
</td>
</tr>
EOF;
}//endif
//startelse
else
{
$IPBHTML .= <<<EOF
<input type="hidden" name="cat" value="{$this->ipsclass->input['cat']}" />
EOF;
}//endelse
$IPBHTML .= <<<EOF
<tr>
<td class="pformleft">{$this->ipsclass->lang['album_public']}</td>
<td class="pformright">
<input type="checkbox" name="public" value="1" class="checkbox" {$data['public']} /> {$this->ipsclass->lang['album_public_chk']}
</td>
</tr>
<tr>
<td class="formbuttonrow" align="center" colspan="2">
<input type="submit" value="{$data['type']}" class="button" />
</td>
</tr>
</table>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_no_friends:desc:>
//===========================================================================
function buddy_no_friends() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr><td class="row2"><b>
{$this->ipsclass->lang['gallery_nofriends']}
</b></td>
</tr>
</table><br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_buddy:desc:>
//===========================================================================
function buddy_perms_buddy($buddy="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr><td class="row1" valign="top" width="50%">
<b><a href="javascript:gallery_toggleview( 'perm_{$buddy['contact_id']}' );">{$buddy['contact_name']}</a>
</b>[ {$buddy['contact_desc']} ]
<div id="perm_{$buddy['contact_id']}" class="popupmenu" style="position: relative; display:none;">
<table class="ipbtable">
<tr><th>VIEW</th><!--<th>EDIT</th><th>UPLOAD</th><th>DELETE</th>--></tr>
<tr>
<td align="center"><input type="checkbox" name="perm_view_{$buddy['contact_id']}" {$buddy['perm_view']}/></td>
<!--<td align="center"><input type="checkbox" name="perm_edit_{$buddy['contact_id']}" {$buddy['perm_edit']}/></td>
<td align="center"><input type="checkbox" name="perm_upload_{$buddy['contact_id']}" {$buddy['perm_upload']}/></td>
<td align="center"><input type="checkbox" name="perm_delete_{$buddy['contact_id']}" {$buddy['perm_delete']}/></td>-->
</tr>
</table>
</div>
</td>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_end:desc:>
//===========================================================================
function buddy_perms_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</td></tr>
<tr><td colspan="2" align="center">
<input type="submit" name="formSubmit" value="{$this->ipsclass->lang['gallery_perms_submit']}" /></form></td></tr>
</table>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_perms_end:desc:>
//===========================================================================
function buddy_perms_perms_end($perms="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</td></tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_perms_row:desc:>
//===========================================================================
function buddy_perms_perms_row($perms="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<table class="ipbtable">
<tr>
<td align="center">VIEW: <img src="{$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_view']}" border="0" /></td>
<!--<td align="center">EDIT: <img src="{$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_edit']}" border="0" /></td>
<td align="center">UPLOAD: <img src="{$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_upload']}" border="0" /></td>
<td align="center">DELETE: <img src="{$this->ipsclass->vars['board_url']}/style_images/<#IMG_DIR#>/{$perms['perm_delete']}" border="0" /></td>-->
</tr>
</table>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_perms_st:desc:>
//===========================================================================
function buddy_perms_perms_st($perms="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<td class="row2" valign="top" width="50%">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:buddy_perms_start:desc:>
//===========================================================================
function buddy_perms_start($album="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['perms_album']}</div>
<script language="javascript" src="jscripts/ipb_galleryjs.js"></script>
<br />
<form action="{$this->ipsclass->base_url}" method="post" name="theForm">
<input type="hidden" name="automodule" value="gallery" />
<input type="hidden" name="cmd" value="albums" />
<input type="hidden" name="op" value="buddyperms" />
<input type="hidden" name="do" value="changeperms" />
<input type="hidden" name="album" value="{$album}" />
<table width="98%" align="center" cellpadding="1" cellspacing="1" border="0">
<tr><th colspan="2">Buddies</th></tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:confirm_delete:desc:>
//===========================================================================
function confirm_delete($album="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrapm">
<div class="maintitle">{$this->ipsclass->lang['delete']}</div>
<div class='formsubtitle'><center>{$this->ipsclass->lang['del_confirm']}
<br /><br /><a href='{$this->ipsclass->base_url}&act=module&module=gallery&cmd=albums&op=del&album={$album}&confirm_delete=true'>{$this->ipsclass->lang['del_conf_link']}</a>
</center></div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:error:desc:>
//===========================================================================
function error($type="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang[$type.'_title']}</div>
<p>{$this->ipsclass->lang[$type.'_text']}</p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:form_errors:desc:>
//===========================================================================
function form_errors($text="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="errorwrap">
<h4>{$this->ipsclass->lang['errors_found']}</h4>
{$text}
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:index_end:desc:>
//===========================================================================
function index_end() {
$IPBHTML = "";
//--starthtml--//
//startif
if ( $this->ipsclass->vars['gallery_album_create']==1 )
{
$IPBHTML .= <<<EOF
<tr>
<td class="formbuttonrow" align="center" colspan="6"><b><a href="{$this->ipsclass->base_url}automodule=gallery&cmd=albums&op=addnew">{$this->ipsclass->lang['create_album']}</a></b></td>
</tr>
<else />
<tr></tr>
EOF;
}//endif
$IPBHTML .= <<<EOF
</table>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:index_row:desc:>
//===========================================================================
function index_row($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row1"><b>{$data['name']}</b><br /><i>{$data['description']}</i>
</td>
<td class="row1" align="left"><i>{$data['status']}</i></td>
<td class="row1" align="center"><i>{$data['in_category']}</i></td>
<td class="row2" align="center">{$data['comments']}</td>
<td class="row2" align="center">{$data['images']}</td>
<td class="row2" align="center">{$data['controls']}</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:index_top:desc:>
//===========================================================================
function index_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language="javascript">
<!--
function do_op( obj )
{
goto_url= obj.options[obj.selectedIndex].value;
locationjump( goto_url );
}
-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['album_manage']}</div>
<table cellspacing="1" width="100%">
<tr>
<th width="35%">{$this->ipsclass->lang['album_info']}</th>
<th width="5%" align="center">{$this->ipsclass->lang['album_status']}</th>
<th width="15%" align="center">{$this->ipsclass->lang['cat_name']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['comments']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['images']}</th>
<th width="25%" align="center">{$this->ipsclass->lang['album_controls']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:no_albums:desc:>
//===========================================================================
function no_albums() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['no_album']}</div>
<p><a href="{$this->ipsclass->base_url}automodule=gallery&cmd=albums&op=addnew">{$this->ipsclass->lang['first_album']}</a></p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:perms_finished:desc:>
//===========================================================================
function perms_finished() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<table class="ipbtable" width="98%" align="center" cellpadding="1" cellspacing="0" border="0">
<tr><td>{$this->ipsclass->lang['gallery_perms_done']}</td></tr>
</table>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:upload_form_top:desc:>
//===========================================================================
function upload_form_top($errors="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language="Javascript" type="text/javascript">
<!--
function PopUp(url, name, width,height,center,resize,scroll,posleft,postop){
if (posleft != 0){ x = posleft }
if (postop != 0){ y = postop }
if (!scroll){ scroll = 1 }
if (!resize){ resize = 1 }
if ((parseInt (navigator.appVersion) >= 4 ) && (center)){
X = (screen.width - width ) / 2;
Y = (screen.height - height) / 2;
}
if (scroll != 0){ scroll = 1 }
var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
}
//-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['submit_post']}</div>
{$errors}
<form method="post" action="{$this->ipsclass->base_url}" name="REPLIER" enctype="multipart/form-data">
<input type="hidden" name="act" value="module" />
<input type="hidden" name="module" value="gallery" />
<input type="hidden" name="cmd" value="albums" />
<input type="hidden" name="op" value="do_upload" />
<input type="hidden" name="album" value="{$this->ipsclass->input['album']}" />
<table cellspacing="1" width="100%">
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>