File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_subscriptions.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 6 */
/* CACHE FILE: Generated: Sat, 12 Aug 2006 15:09:52 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_subscriptions_6 {
var $ipsclass;
//===========================================================================
// <ips:do_generic_payscreen_with_button:desc:>
//===========================================================================
function do_generic_payscreen_with_button($data=array()) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$data['lang_title']}</div>
<p>
{$data['lang_explain']}
<br /><br />
{$data['lang_desc']}
<br /><br />
<b>{$data['lang_extra']}</b>
</p>
<form action="{$data['formaction']}" method="post">
{$data['formfields']}
<br />
<br />
<div>{$data['button']}</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:do_manual_normal_screen:desc:>
//===========================================================================
function do_manual_normal_screen($new_sub_id="",$desc_string="",$ccode="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript">
<!--
function pop_ticket(){
window.open('{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid=0&upgrade=0&sid=$new_sub_id¤cy=$ccode','TICKET','width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes');
}
-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['sc_complete']}</div>
<p>
$desc_string<br /><br />
{$this->ipsclass->lang['post_manual']}<br /><br />
{$this->ipsclass->lang['post_manual_more']}
</p>
<br /><br />
<div>
<input type="button" value="{$this->ipsclass->lang['gw_manual']}" onclick="pop_ticket()" />
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:do_manual_upgrade_screen:desc:>
//===========================================================================
function do_manual_upgrade_screen($new_sub_id="",$cur_id="",$desc_string="",$ccode="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript">
<!--
function pop_ticket(){
window.open('{$this->ipsclass->js_base_url}act=paysubs&type=manual&CODE=custom&mode=ticket&tickid={$cur_id}&upgrade=1&sid=$new_sub_id¤cy=$ccode','TICKET','width=250,height=350,resizable=yes,scrollbars=yes,toolbar=yes');
}
-->
</script>
<div class="formsubtitle">{$this->ipsclass->lang['sc_upgrade_title']}</div>
<p>
$desc_string<br /><br />
{$this->ipsclass->lang['post_manual']}<br /><br />
{$this->ipsclass->lang['post_manual_more']}
</p>
<br /><br />
<div>
<input type="button" value="{$this->ipsclass->lang['gw_manual']}" onclick="pop_ticket()" />
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_ticket:desc:>
//===========================================================================
function show_ticket($sub="",$id="",$paid="",$extra="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<h2>{$this->ipsclass->lang['man_title']}</h2>
<table cellspacing="1" class="ticket">
<tr>
<td>
<table class='ipbtable' cellspacing="1">
<tr>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_mem']}</td>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['members_display_name']}</td>
</tr>
<tr>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_mem_id']}</td>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['id']}</td>
</tr>
<tr>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_email']}</td>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->member['email']}</td>
</tr>
<tr>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_trans_id']}</td>
<td width="50%" bgcolor="#FFFFFF">{$id}</td>
</tr>
<tr>
<td width="50%" bgcolor="#FFFFFF">{$this->ipsclass->lang['man_sub']}</td>
<td width="50%" bgcolor="#FFFFFF">{$sub['sub_title']} $extra</td>
</tr>
<tr>
<td width="50%" bgcolor="#FFFFFFF">{$this->ipsclass->lang['man_pay']}</td>
<td width="50%" bgcolor="#FFFFFF">{$paid}</td>
</tr>
</table>
</td>
</tr>
</table>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_current_bottom:desc:>
//===========================================================================
function sub_choose_current_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_current_row:desc:>
//===========================================================================
function sub_choose_current_row($id="",$name="",$start="",$end="",$paid="",$state="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row3" align="center">$id</td>
<td class="row3"><b>$name</b></td>
<td class="row3" align="center">$start</td>
<td class="row3" align="center">$end</td>
<td class="row3" align="center">{$paid}</td>
<td class="row3" align="center">$state</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_current_top:desc:>
//===========================================================================
function sub_choose_current_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['s_current_subs']}</div>
<p>{$this->ipsclass->lang['s_current_explain']}</p>
<div class="borderwrapm">
<table class='ipbtable' cellspacing="1">
<tr>
<th width="5%" align="center">{$this->ipsclass->lang['s_transid']}</th>
<th width="35%">{$this->ipsclass->lang['s_detail']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_started']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['s_paid']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['s_status']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_dead_bottom:desc:>
//===========================================================================
function sub_choose_dead_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</table>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_dead_row:desc:>
//===========================================================================
function sub_choose_dead_row($id="",$name="",$start="",$end="",$paid="",$state="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row3" align="center">$id</td>
<td class="row3"><b>$name</b></td>
<td class="row3" align="center">$start</td>
<td class="row3" align="center">$end</td>
<td class="row3" align="center">{$paid}</td>
<td class="row3" align="center">$state</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_dead_top:desc:>
//===========================================================================
function sub_choose_dead_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['s_dead_subs']}</div>
<p>{$this->ipsclass->lang['s_dead_explain']}</p>
<div class="borderwrapm">
<table class='ipbtable' cellspacing="1">
<tr>
<th width="5%" align="center">{$this->ipsclass->lang['s_transid']}</th>
<th width="35%">{$this->ipsclass->lang['s_detail']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_started']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['s_paid']}</th>
<th width="10%" align="center">{$this->ipsclass->lang['s_status']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_new_bottom:desc:>
//===========================================================================
function sub_choose_new_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</table>
</div>
<div class="borderwrapm">
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['s_continue_button']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_new_row:desc:>
//===========================================================================
function sub_choose_new_row($id="",$name="",$desc="",$cost="",$duration="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row3" align="center"><input type="radio" name="sub" value="$id" /></td>
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
<td class="row3" align="center">$duration</td>
<td class="row3" align="center">{$cost}</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_new_top:desc:>
//===========================================================================
function sub_choose_new_top($currency="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['s_available_subs']}</div>
<p>{$this->ipsclass->lang['s_explain']}</p>
<br />
<form action="{$this->ipsclass->base_url}act=paysubs&nocp={$this->ipsclass->input['nocp']}&CODE=paymentmethod&currency=$currency" method="post">
<div class="borderwrapm">
<table class='ipbtable' cellspacing="1">
<tr>
<th width="5%"> </th>
<th width="55%">{$this->ipsclass->lang['s_detail']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_duration']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_cost']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_upgrade_bottom:desc:>
//===========================================================================
function sub_choose_upgrade_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</table>
</div>
<div class="borderwrapm">
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['s_continue_button']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_upgrade_row:desc:>
//===========================================================================
function sub_choose_upgrade_row($id="",$name="",$desc="",$cost="",$duration="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row3" align="center"><input type="radio" name="sub" value="$id" /></td>
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
<td class="row3" align="center">$duration</td>
<td class="row3" align="center">{$cost}</td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_choose_upgrade_top:desc:>
//===========================================================================
function sub_choose_upgrade_top($cur_id="",$currency="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<div class="formsubtitle">{$this->ipsclass->lang['s_upgrade_subs']}</div>
<p>{$this->ipsclass->lang['s_upgrade_explain']}</p>
<br />
<form action="{$this->ipsclass->base_url}act=paysubs&nocp={$this->ipsclass->input['nocp']}&upgrade=1&CODE=paymentmethod&curid=$cur_id&currency=$currency" method="post">
<div class="borderwrapm">
<table class='ipbtable' cellspacing="1">
<tr>
<th width="5%"> </th>
<th width="55%">{$this->ipsclass->lang['s_detail']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_end']}</th>
<th width="20%" align="center">{$this->ipsclass->lang['s_balance_cost']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_currency_change_bottom:desc:>
//===========================================================================
function sub_currency_change_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</select>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_currency_change_form:desc:>
//===========================================================================
function sub_currency_change_form($select="",$url="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div align="right">
<form action="$url" method="post">
{$this->ipsclass->lang['cc_currency_in']} $select
<input type="submit" value="{$this->ipsclass->lang['cc_change']}" />
</form>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_currency_change_row:desc:>
//===========================================================================
function sub_currency_change_row($id="",$name="",$default="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<option value="$id" $default>$id $name</option>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_currency_change_top:desc:>
//===========================================================================
function sub_currency_change_top() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<select name="currency">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_msg_force:desc:>
//===========================================================================
function sub_msg_force() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrapm">
<div class="row1">
<b>{$this->ipsclass->lang['msg_force_title']}</b><br /><br />
{$this->ipsclass->lang['msg_force_text']}
EOF;
//startif
if ( $this->ipsclass->input['CODE'] == "paymentmethod" )
{
$IPBHTML .= <<<EOF
<br /><br />
<div>
<input type="button" class="button" value="< < {$this->ipsclass->lang['choose_another_pkg']}" onclick="locationjump('act=paysubs&nocp=1&msgtype=general');" />
</div>
EOF;
}//endif
$IPBHTML .= <<<EOF
</div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_msg_fromreg:desc:>
//===========================================================================
function sub_msg_fromreg() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class='borderwrap'>
<div class='maintitle'>{$this->ipsclass->lang['msg_reg_title']}</div>
<div class="row1" style='padding:10px;'>
{$this->ipsclass->lang['msg_reg_text']}
<br /><br />
<div align='center'>
<input type="button" class="button" value="< < {$this->ipsclass->lang['choose_another_pkg']}" onclick="locationjump('act=paysubs&nocp=1&msgtype=general');" />
EOF;
//startif
if ( $this->ipsclass->vars['subsm_enforce'] != 1 )
{
$IPBHTML .= <<<EOF
<input type="button" class="button" value="{$this->ipsclass->lang['cancel_purchase']} > >" onclick="locationjump('act=paysubs&nocp=1&CODE=cancelfromreg');" />
EOF;
}//endif
$IPBHTML .= <<<EOF
</div>
</div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_msg_general:desc:>
//===========================================================================
function sub_msg_general() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrapm">
<div class="row1">
<b>{$this->ipsclass->lang['msg_gen_title']}</b><br /><br />
{$this->ipsclass->lang['msg_gen_text']}<br /><br />
<div>
EOF;
//startif
if ( $this->ipsclass->vars['subsm_enforce'] != 1 )
{
$IPBHTML .= <<<EOF
<input type="button" class="button" value="{$this->ipsclass->lang['cancel_purchase']} > >" onclick="locationjump('act=paysubs&nocp=1&CODE=cancelfromreg');" />
EOF;
}//endif
$IPBHTML .= <<<EOF
</div>
</div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_no_cp_end:desc:>
//===========================================================================
function sub_no_cp_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_no_cp_start:desc:>
//===========================================================================
function sub_no_cp_start() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--{MSG}-->
<div class="borderwrapm">
<div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_page_bottom:desc:>
//===========================================================================
function sub_page_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<p>{$this->ipsclass->lang['s_current_bottom']}</p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_methods_bottom:desc:>
//===========================================================================
function sub_two_methods_bottom() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_methods_continue_button:desc:>
//===========================================================================
function sub_two_methods_continue_button() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<div class="borderwrapm">
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['s_continue_button2']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_methods_row:desc:>
//===========================================================================
function sub_two_methods_row($mid="",$name="",$desc="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<tr>
<td class="row3" align="center"><input type="radio" name="methodid" value="$mid" /></td>
<td class="row3"><b>$name</b><br /><i>$desc</i></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_methods_top:desc:>
//===========================================================================
function sub_two_methods_top($sub_chosen="",$upgrade="",$curid="",$currency="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['sc_available_methods']}</div>
<form action="{$this->ipsclass->base_url}act=paysubs&nocp={$this->ipsclass->input['nocp']}&upgrade=$upgrade&CODE=paymentscreen&curid=$curid&sub=$sub_chosen&currency=$currency" method="post">
<div class="borderwrapm">
<table class='ipbtable' cellspacing="1">
<tr>
<th width="5%" align="center"> </th>
<th width="95%">{$this->ipsclass->lang['sc_method']}</th>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_normal_summary:desc:>
//===========================================================================
function sub_two_normal_summary() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['sc_normal_title']}</div>
<p>{$this->ipsclass->lang['sc_upgrade_explain']}<br /><br />
{$this->ipsclass->lang['sc_normal_string']}
</p>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:sub_two_upgrade_summary:desc:>
//===========================================================================
function sub_two_upgrade_summary() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="formsubtitle">{$this->ipsclass->lang['sc_upgrade_title']}</div>
<p>{$this->ipsclass->lang['sc_upgrade_explain']}<br /><br />
{$this->ipsclass->lang['sc_upgrade_string']}
</p>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>