Location: PHPKode > projects > PBBoard > PBBoard_v2.1.4/Upload/look/styles/forum/main/templates/show_poll_top.tpl
<form method="post" action="index.php?page=vote&amp;start=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">

<table align="center" border="0" cellspacing="1" class="border" width="98%">
	<tr>
		<td class="tcat" width="95%" colspan="3">
<span style="FLOAT: left">
<a href="index.php?page=vote&amp;show_votes=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['show_votes']}</a>
</span>
{if !{$mod_toolbar}}
		<span style="FLOAT: left">
<a href="index.php?page=vote&amp;poll_edit=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}&amp;poll_section={$poll_section}&amp;user={$poll_writer}">
{$lang['poll_edit']}</a>
 | <a href="index.php?page=vote&amp;poll_delet=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_delet']}</a>
 |
 {if {$Info['close_poll_subject']} == '0'}
<a href="index.php?page=vote&amp;poll_close=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_close']}</a>
 |
{else}
<a href="index.php?page=vote&amp;poll_open=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_open']}</a>
 |
{/if}
</span>
{else}
{if {$_CONF['member_row']['username']} == {$poll_writer}}
		<span style="FLOAT: left">
<a href="index.php?page=vote&amp;poll_edit=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}&amp;poll_section={$poll_section}&amp;user={$poll_writer}">
{$lang['poll_edit']}</a>
 | <a href="index.php?page=vote&amp;poll_delet=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_delet']}</a>
 |
 {if {$Info['close_poll_subject']} == '0'}
<a href="index.php?page=vote&amp;poll_close=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_close']}</a>
 |
{else}
<a href="index.php?page=vote&amp;poll_open=1&amp;id={$Poll['id']}&amp;subject_id={$subject_id}">
{$lang['poll_open']}</a>
 |
{/if}
</span>
{/if}
{/if}

<span style="FLOAT: right">

{$lang['Poll']}
<?php $PowerBB->_CONF['template']['Poll']['qus']= $PowerBB->functions->CleanVariable($PowerBB->_CONF['template']['Poll']['qus'],'html'); ?>
<?php $PowerBB->_CONF['template']['Poll']['qus'] = $PowerBB->Powerparse->censor_words($PowerBB->_CONF['template']['Poll']['qus']); ?>
  <?php echo $PowerBB->_CONF['template']['Poll']['qus']; ?> !
</span>
		</td>
	</tr>
	<tr align="center">
		<td class="thead" width="95%" colspan="3">
		{$lang['qus']}
		<strong><?php echo $PowerBB->_CONF['template']['Poll']['qus']; ?> !</strong>
		</td>
	</tr>
Return current item: PBBoard