File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_awards.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 6 */
/* CACHE FILE: Generated: Sat, 12 Aug 2006 15:09:51 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_awards_6 {
var $ipsclass;
//===========================================================================
// <ips:award_cp:desc:>
//===========================================================================
function award_cp($content='',$mid='',$name='',$awards_m='',$button='',$js_func='',$reson='',$mname='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle">{$this->ipsclass->lang['cp_aw_title']}: $name</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td valign="top" width="50%">
<fieldset>
<legend><b>{$this->ipsclass->lang['cp_aw_main']}</b></legend>
<table class='ipbtable' cellspacing="0">
$awards_m
</table>
</fieldset>
<fieldset>
<legend><b>{$this->ipsclass->lang['cp_aw_wach']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="row1">
<center>{$this->ipsclass->lang['cp_aw_op_n']} <a href="javascript:{$js_func}">{$this->ipsclass->lang['cp_aw_open']}</a></center></td></tr>
</table>
</fieldset>
</td>
<td valign="top" width="50%">
<fieldset>
<legend><b>{$this->ipsclass->lang['cp_aw_award']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="row1" valign="top"><b>{$this->ipsclass->lang['cp_aw_new']}</b></td>
<td class="row1" width="60%"> $content</td>
</tr>
<tr>
<td class="row1" valign="top"><b>{$this->ipsclass->lang['cp_aw_reson']}</b></td>
<td class="row1"><textarea cols="35" rows="5" name="reson">$reson</textarea></td>
</tr>
<tr>
<td class="row1" valign="top"><b>{$this->ipsclass->lang['cp_aw_mname']}</b><br /><i>{$this->ipsclass->lang['cp_aw_nameinfo']}</i></td>
<td class="row1"><input type="text" size="35" name="mname" value="$mname" /></td>
</tr>
<tr>
<td class="row1" width="60%"> </td>
<td align="right" class="row1" width="40%"><input type="submit" value="$button" /></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<div class="formsubtitle" align="center"> </div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:award_info:desc:>
//===========================================================================
function award_info($awards="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class='row1' align='center' style='font-size:14px'>
<b>{$awards['title']}</b>
</td>
<td class='row2' align='center'>
<img src='awards/{$awards['img']}' alt='{$awards['title']}' width='{$awards['img_w']}' height='{$awards['img_h']}' /> </td>
<td class='row2' align='center'>
{$awards['reason']}
</td>
<td class='row2' align='center'>
{$awards['mname']}
</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:award_nocontent:desc:>
//===========================================================================
function award_nocontent() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row1"> {$this->ipsclass->lang['cp_aw_no']}</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:award_popup:desc:>
//===========================================================================
function award_popup($name='',$text='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-content'>
<div class='borderwrap'>
<div class='maintitle' style='font-size:13px; text-align: center;' ><b>{$this->ipsclass->lang['aw_award']} :: {$this->ipsclass->lang['aw_member']} $name </b>
</div>
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr>
<th width="20%" align="center">{$this->ipsclass->lang['aw_name']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_img']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_desc']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_from']}</th>
</tr>
$text
<tr><td class="catend" colspan="5" height="2"><!-- Award Mod by SAT --></td></tr></table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:login:desc:>
//===========================================================================
function login() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language='javascript' type="text/javascript">
<!--
function redirect_to(where, closewin)
{
opener.location= '{$this->ipsclass->base_url}' + where;
if (closewin == 1)
{
self.close();
}
}
function check_form(helpform)
{
opener.name = "ibfmain";
if (helpform == 1) {
document.theForm2.target = 'ibfmain';
} else {
document.theForm.target = 'ibfmain';
}
return true;
}
function shrink()
{
window.resizeTo('200','75');
}
function expand()
{
window.resizeTo('200','450');
}
//-->
</script>
<form action="{$this->ipsclass->base_url}act=Login&CODE=01&CookieDate=1&buddy=1" method="post" name="theForm" onSubmit="return check_form();">
<div class="borderwrap">
<h3>{$this->ipsclass->lang['page_title']}</h3>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in_needed']}</div>
<p>{$this->ipsclass->lang['no_guests']}</p>
<div class="formsubtitle" align="center">{$this->ipsclass->lang['log_in']}</div>
<div class="fieldwrap">
<h4>{$this->ipsclass->lang['lin_name']}</h4>
<input type="text" name="UserName" />
<h4>{$this->ipsclass->lang['lin_pass']}</h4>
<input type="password" name="PassWord" />
<input type="submit" value="{$this->ipsclass->lang['log_in']}" class="button" />
</div>
<p>{$this->ipsclass->lang['reg_text']}<br /><a href="javascript:redirect_to('&act=Reg', 1);">{$this->ipsclass->lang['reg_link']}</a></p>
<div align="center"><!--CLOSE.LINK--></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:member_awards:desc:>
//===========================================================================
function member_awards($aw_title="",$aw_img="",$edit="",$delet="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row1"> $aw_title </td>
<td class="row1"> $aw_img</td>
<td class="row1" align="right">$edit</td>
<td class="row1" align="right">$delet</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:popup_js:desc:>
//===========================================================================
function popup_js($name='',$text='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language='javascript' type="text/javascript">
<!--
function redirect_to(where, closewin)
{
opener.location= '{$this->ipsclass->base_url}' + where;
if (closewin == 1)
{
self.close();
}
}
function check_form(helpform)
{
opener.name = "ibfmain";
if (helpform == 1) {
document.theForm2.target = 'ibfmain';
} else {
document.theForm.target = 'ibfmain';
}
return true;
}
function shrink()
{
window.resizeTo('200','75');
}
function expand()
{
window.resizeTo('200','450');
}
//-->
</script>
<div class='borderwrap'>
<div class='maintitle' style='font-size:13px; text-align: center;' ><b>{$this->ipsclass->lang['aw_award']} :: {$this->ipsclass->lang['aw_member']} $name </b>
</div>
</div>
<table width="100%" border="0" cellspacing="1" cellpadding="5">
<tr>
<th width="20%" align="center">{$this->ipsclass->lang['aw_name']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_img']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_desc']}</th>
<th width="40%" align="center">{$this->ipsclass->lang['aw_from']}</th>
</tr>
$text
<tr><td class="row1" style='text-align: center;' colspan="5"><!--CLOSE.LINK--></td></tr>
<tr><td class="catend" colspan="5"><!--Awards Mod by SAT--></td></tr></table>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:windclose:desc:>
//===========================================================================
function windclose() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<p><a href="javascript:window.location=window.location;">{$this->ipsclass->lang['refresh']}</a> / <a href="javascript:self.close();">{$this->ipsclass->lang['close_win']}</a></p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:xml_wrap:desc:>
//===========================================================================
function xml_wrap($content='') {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='mya-back'>
{$content}
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>