HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_poll.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_poll_6 {

 var $ipsclass;
//===========================================================================
// <ips:button_null_vote:desc:>
//===========================================================================
function button_null_vote() {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<input type="submit" name="nullvote" value="{$this->ipsclass->lang['poll_null_vote']}" title="{$this->ipsclass->lang['tt_poll_null']}" />
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:button_show_results:desc:>
//===========================================================================
function button_show_results() {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<input type="button" value="{$this->ipsclass->lang['pl_show_results']}" title="{$this->ipsclass->lang['tt_poll_show']}" onclick="go_gadget_show()" />
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:button_show_voteable:desc:>
//===========================================================================
function button_show_voteable() {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<input type="button" name="viewresult" value="{$this->ipsclass->lang['pl_show_vote']}"  title="{$this->ipsclass->lang['tt_poll_svote']}" onclick="go_gadget_vote()" />
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:button_vote:desc:>
//===========================================================================
function button_vote() {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<input type="submit" name="submit" value="{$this->ipsclass->lang['poll_add_vote']}" title="{$this->ipsclass->lang['tt_poll_vote']}" />
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_footer:desc:>
//===========================================================================
function poll_footer() {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
			<td colspan="3" class="formbuttonrow"><!--IBF.VOTE-->&nbsp;<!--IBF.SHOW--></td>
		</tr>
		<tr>
			<td class="catend" colspan="3"><!-- no content --></td>
		</tr>
		</table>
</form>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_header:desc:>
//===========================================================================
function poll_header($tid="",$poll_q="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<script type="text/javascript">
function go_gadget_show()
{
	window.location = "{$this->ipsclass->base_url}&showtopic=$tid&mode=show&st={$this->ipsclass->input['start']}";
}
function go_gadget_vote()
{
	window.location = "{$this->ipsclass->base_url}&showtopic=$tid&st={$this->ipsclass->input['start']}";
}
</script>
<form action="{$this->ipsclass->base_url}showtopic=$tid&amp;st={$this->ipsclass->input['st']}&amp;addpoll=1" method="post">
 <table class='ipbtable' cellspacing="1">
  <tr>
	  <th colspan="3" align="center"><b>$poll_q</b></th>
  </tr>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_show_form_choice:desc:>
//===========================================================================
function poll_show_form_choice($choice_id="",$votes="",$id="",$answer="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
    <td class="post2" colspan="3"><input type="radio" name="choice[{$id}]" value="$choice_id" class="radiobutton" />&nbsp;<b>$answer</b></td>
</tr>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_show_form_question:desc:>
//===========================================================================
function poll_show_form_question($id="",$question="",$choice_html="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
  <td colspan='3' class='row1'>
<div class='borderwrap'>
  <div class='row1' style='padding:4px;'><span class='postdetails'><strong>{$question}</strong></span></div>
   <table class='ipbtable' cellpadding='4' cellspacing='0'>
	$choice_html
   </table>
</div>
  </td>
</tr>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_show_rendered_choice:desc:>
//===========================================================================
function poll_show_rendered_choice($choice_id="",$votes="",$id="",$answer="",$percentage="",$width="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
	<td class="post2" width='25%'
EOF;
//startif
if ( $this->ipsclass->input['_low_act'] == 'home' )
{
$IPBHTML .= <<<EOF
colspan='2'
EOF;
}//endif

$IPBHTML .= <<<EOF
>$answer</td>
EOF;
//startif
if ( $this->ipsclass->input['_low_act'] == 'home' )
{
$IPBHTML .= <<<EOF
<td class="post2">&nbsp</td>
</tr>
<tr>
EOF;
}//endif

$IPBHTML .= <<<EOF
	<td class="post2" width='10%' nowrap='nowrap'> [ <b>$votes</b> ] </td>
	<td class="post2" width='70%' nowrap='nowrap'><{BAR_LEFT}><img src="{$this->ipsclass->vars['img_url']}/bar.gif" width="$width" height="11" align="middle" alt="" /><{BAR_RIGHT}>&nbsp;[$percentage%]</td>
EOF;
//startif
if ( $this->ipsclass->input['_low_act'] == 'home' )
{
$IPBHTML .= <<<EOF
<td class="post2">&nbsp</td>
EOF;
}//endif
$IPBHTML .= <<<EOF
</tr>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:poll_show_rendered_question:desc:>
//===========================================================================
function poll_show_rendered_question($id="",$question="",$choice_html="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
  <td colspan='3' class='row1'>
<div class='borderwrap'>
  <div class='row1' style='padding:4px;'><span class='postdetails'><strong>{$question}</strong></span></div>
   <table class='ipbtable' cellpadding='4' cellspacing='0'>
	$choice_html
   </table>
   </div>
  </td>
</tr>
EOF;

//--endhtml--//
return $IPBHTML;
}

//===========================================================================
// <ips:show_total_votes:desc:>
//===========================================================================
function show_total_votes($total_votes="") {
$IPBHTML = "";
//--starthtml--//


$IPBHTML .= <<<EOF
<tr>
    <td class="row1" colspan="3" align="center"><b>{$this->ipsclass->lang['pv_total_votes']}: $total_votes</b></td>
</tr>
EOF;

//--endhtml--//
return $IPBHTML;
}



}

/*--------------------------------------------------*/
/*<changed bits>

</changed bits>*/
/* END OF FILE                                      */
/*--------------------------------------------------*/

?>