• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior ACC] Polls System v.2.2 + graphic bars

You have space after <?php in bar.php.
Look at this error:
Code:
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\bar.php:1) in C:\xampp\htdocs\bar.php on line 16
GIF87a €˙, „Ź;
 
go to layouts/tibiacom/layout.php

under
PHP:
  <div id="NewcomerBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/newcomer/newcomerbox.gif);">
    <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=createaccount')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>
      <div class="ButtonText" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/_sbutton_jointibia.gif);"></div>
    </div>
    <div>
    </div>
add this
PHP:
  <div id="CurrentpollBox" class="Themebox" style="background-image:url(<?PHP echo $layout_name; ?>/images/themeboxes/layout/currentpollbox.gif);">
<br><br><br>
<tr><td><front color="black"><b>Would you use a</b></front></td></tr><br>
<tr><td><front color="black"><b>poll system?</b></front></td></tr>
    <div class="ThemeboxButton" onClick="BigButtonAction('?subtopic=polls')" onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton.gif);"><div class="BigButtonOver" style="background-image:url(<?PHP echo $layout_name; ?>/images/buttons/sbutton_over.gif);"></div>
      <div class="ButtonText" style="background-image:url(http://static.tibia.com/images/global/buttons/_sbutton_votenow.gif);"></div>
    </div>
    <div class="Bottom" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/box-bottom.gif);"></div>
  </div>
to edit the test on the poll window you will edit:
PHP:
<tr><td><front color="black"><b>Would you use a</b></front></td></tr><br>
<tr><td><front color="black"><b>poll system?</b></front>
you also need the "pic"
save this pic and put in the path named below
currentpollbox.gif

http://data.fuskbugg.se/skalman01/currentpollbox.gif
you put it in this path (for example)
Code:
C:\xampp\htdocs\layouts\tibiacom\images\themeboxes\layout
do all that and you will get a tibia.com like poll layout

sry for 2x post but if you want to see how the poll layout i did give a "tutorial" on go to Scooba - Latest News
 
Last edited by a moderator:
Small edit to look more like rl tibia poll layout
Replace:
Code:
$main_content .= '<div class=\'hr1\'></div><a href="index.php?subtopic='.$link.'"><font size="2"><b>Go to list of polls</b></font></a>';

Whit:
Code:
$main_content .= '<br><div align="left" ><table border="0" cellspacing="0" cellpadding="0" ><form action="index.php?subtopic=polls" method="post" ><tr><td style="border:0px;" ><div class="BigButton" style="background-image:url('.$layout_name.'/images/buttons/sbutton.gif)" ><div onMouseOver="MouseOverBigButton(this);" onMouseOut="MouseOutBigButton(this);" ><div class="BigButtonOver" style="background-image:url('.$layout_name.'/images/buttons/sbutton_over.gif);" ></div><input class="ButtonText" type="image" name="Poll Back" alt="poll back" src="'.$layout_name.'/images/buttons/_sbutton_back.gif" ></div></div></td></tr></form></table></div>';

and you will get this back button
back.bmp


Instead of the text "Go to list of polls"
 
Back
Top