Jump to content


Bummer

Member Since 13/09/2003
Offline Last Active 07/03/2004, 15:13
-----

Topics I've Started

Como Eu Faço Este Efeito

14/01/2004, 02:46

Pasem o mause sobre o menu que está escrito home e tals Efeito que quro

Gostaria de saber como eu faço este efeito, orbigado desde já.

Paginação

08/01/2004, 02:31

Galera fiz uma paginação para o meu site....fiz as da news, dos downloads....e na hora dos membros...fiz certinho...mal quadno vou testar ensite em dar erro!

Olhem o menu news.hp que coloqeui a paginação certa:

<?$Link = mysql_connect("localhost", "", "");$Consulta = "SELECT News.*, Users.Nick, Users.Email, Users.Face FROM News, Users WHERE Users.ID = News.Postador ORDER BY News.ID DESC";$Resultado = mysql_db_query("demon_site", $Consulta, $Link);$TotalRecs = mysql_num_rows($Resultado);$Páginas = ceil($TotalRecs / 7);mysql_close($Link);if(!$Página) {$Página = 1;}$inicio = ($Página - 1) * 7;$fim = 7;$Link = mysql_connect("localhost", "demon_mafia", "123");$Consulta = "SELECT News.*, Users.Nick, Users.Email, Users.Face FROM News, Users WHERE Users.ID = News.Postador ORDER BY News.ID DESC LIMIT $inicio, $fim";$Resultado = mysql_db_query("demon_site", $Consulta, $Link);while($Linha = mysql_fetch_array($Resultado)) {$Titulo = $Linha["Titulo"];$Titulo = eregi_replace("<","&lt;",$Titulo);$Titulo = eregi_replace(">","&gt;",$Titulo);$Noticia = $Linha["Noticia"];$Noticia = eregi_replace("<","&lt;",$Noticia);$Noticia = eregi_replace(">","&gt;",$Noticia);$Noticia = eregi_replace("\n","<br>",$Noticia);$Noticia = eregi_replace("(\[url\])(http://)?([^[:space:]]+)([[:alnum:]\.,-_?/&=])(\[/url\])","<a href=\"http://\\3\\4\" targer=\"_blank\">\\3\\4</a>",$Noticia);$Noticia = eregi_replace("(\[url=)(http://)?([^[:space:]]+)([[:alnum:]\.,-_?/&=])(\])(.+)(\[/url\])","<a href=\"http://\\3\\4\" targer=\"_blank\">\\6</a>",$Noticia);$Noticia = eregi_replace("(\[email\])(.+)(@)(.+\..+)(\[/email\])","<a href=\"mailto:\\2\\3\\4\" targer=\"_blank\">\\3\\4</a>",$Noticia);$Noticia = eregi_replace("(\[ftp\])(ftp://)?([^[:space:]]+)([[:alnum:]\.,-_?/&=])(\[/ftp\])","<a href=\"ftp://\\3\\4\" targer=\"_blank\">\\3\\4</a>",$Noticia);$Noticia = eregi_replace("(\[img\])(http://)?([^[:space:]]+)([[:alnum:]\.,-_?/&=])(\[/img\])","<img src=\"http://\\3\\4\" border=\"0\">",$Noticia);$Noticia = eregi_replace("(\[b\])(.+)(\[/b\])","<b>\\2</b>",$Noticia);$Noticia = eregi_replace("(\[i\])(.+)(\[/i\])","<i>\\2</i>",$Noticia);$Noticia = eregi_replace("(\[u\])(.+)(\[/u\])","<u>\\2</u>",$Noticia);$Noticia = eregi_replace("(\[s\])(.+)(\[/s\])","<s>\\2</s>",$Noticia);$Noticia = eregi_replace("(\[esquerda\])(.+)(\[/esquerda\])","<div align=\"left\">\\2</div>",$Noticia);$Noticia = eregi_replace("(\[centro\])(.+)(\[/centro\])","<div align=\"center\">\\2</div>",$Noticia);$Noticia = eregi_replace("(\[direita\])(.+)(\[/direita\])","<div align=\"right\">\\2</div>",$Noticia);$Noticia = eregi_replace("(\[hr\])","<hr />",$Noticia);$Noticia = eregi_replace("(\[cor=)(.+)(\])(.+)(\[/cor\])","<font color=\"\\2\">\\4</font>",$Noticia);$Noticia = eregi_replace("(\[tamanho=)([0-9])(\])(.+)(\[/tamanho\])","<font size=\"\\2\">\\4</font>",$Noticia);$Noticia = eregi_replace("(\[fonte=)(.+)(\])(.+)(\[/fonte\])","<font face=\"\\2\">\\4</font>",$Noticia);?>      
<table align="center" cellspacing="1" cellpadding="0" width="400" style="border: 1px #000000 solid">
  <tr>          
    <th bordercolor="#FFFFFF" bgcolor="#222222" style="background-color: #222222; border: 1px #222222 solid"> 
      <div style="border-top: 1px #222222 solid; border-left: 1px #222222 solid; border-right: 1px #222222 solid; border-bottom: 1px #222222 solid; "><font color="#CCCCCC">:: 
        </font><? echo $Titulo; ?> <font color="#CCCCCC">::</font></div>          </th>        </tr>        <tr>          
    <td bordercolor="#222222" bgcolor="#222222" style="border: 1px #222222 solid"> 
      <table width="400" bgcolor="#222222">
        <tr>                <td rowspan="3" width="80" height="80"><img src="faces/<? echo $Linha[Face]; ?>" width="80" height="80"></td>                
          <td><b><font color="#CCCCCC" size="2">Data:</font></b> <? echo substr($Linha[Data], 8, 2); echo "/"; echo substr($Linha[Data], 5, 2); echo "/"; echo substr($Linha[Data], 0, 4); ?></td>
        </tr>              <tr>                
          <td><b><font color="#CCCCCC" size="2">Horário:</font></b> <? echo $Linha[Hora]; ?></td>
        </tr>              <tr>                
          <td><b><font color="#CCCCCC" size="2">Postador</font>:</b> <a href="mailto:<? echo $Linha[Email]; ?>"><? echo $Linha[Nick]; ?></a></td>
        </tr>            </table>            
      <hr size="1" noshade color="#666666">
      <? echo $Noticia; ?>            <? if ($UserID == $Linha[Postador]) { ?>            <div align="center">
        <hr size="1" noshade color="#666666">
        [<a href="deletanews.php?id=<? echo $Linha[ID]; ?>">Deletar</a>] [<a href="javascript:void(0)" onclick="window.open('editanews.php?id=<? echo $Linha[ID]; ?>','Sistema','status=no,resizeble=no,navigation=no,width=300,height=230')">Editar</a>]</div>
      <? } ?>          </td>        </tr>      </table><?}mysql_close($Link);?><? if($UserID) { ?><div align="center">[<a href="javascript:void(0)" onclick="window.open('adicionanews.php','Sistema','status=no,resizeble=no,navigation=no,width=300,height=230')">Adicionar Notícia</a>]</div>
<? } ?>
<p>&nbsp;</p><table width="100%" border="1" align="center" cellspacing="0" bordercolor="#113C5F">
  <tr bgcolor="#000000"> 
    <td width="15%"> 
      <?          if($Página != 1) {          ?>
      <a href="index.php?Se%E7%E3o=Noticias&P%E1gina=<? echo $Página-1; ?>">Anterior</a> 
      <?          }          else {          echo "&nbsp;";          }          ?>
    </td>
    <td width="70%" align="center"> 
      <?          for($x = 1; $x <= $Páginas; $x++) {          if($x == $Página) {          ?>
      <b><? echo $x; ?></b> 
      <? } else { ?>
      <a href="index.php?Seção=Noticias&Página=<? echo $x; ?>"><? echo $x; ?></a> 
      <?          }          }          ?>
    <td width="15%"> 
      <?          if($Página != $Páginas) {          ?>
      <a href="index.php?Seção=Noticias&Página=<? echo $Página+1; ?>">Próxima</a> 
      <?          }          else {          echo "&nbsp;";          }          ?>
    </td>
  </tr>
</table>

E quero Colocar está paginação que tem nos news.php nos membros.php que é este aqui:

<html>
<head>
 
<table width="100%" border="1" cellspacing="0" bordercolor="#113C5F">
  <tr bgcolor="#000000"> 
    <td width="0%"><font color="#FFFFFF">Temos um total de<b> 
      <? $Link = mysql_connect("localhost", "", ""); $Consulta = "SELECT ID FROM Users"; $Resultado = mysql_db_query("demon_site", $Consulta, $Link); $x = mysql_num_rows($Resultado); $xlength = 0 - strlen($x); for($i = 1; $i <= $xlength; $i++) { echo "<font color=\"#a9a9a9\">0</font>"; } if($x == 0) { echo "<font color=\"#a9a9a9\">$x</font>"; } else { echo $x; } ?>
      </b> Membros Na Gold</font> </td>
  </tr>
</table>

<?

$Link = mysql_connect("localhost", "demon_mafia", "123");



$Consulta = "SELECT * FROM Users ORDER BY Nick ASC";

$Resultado = mysql_db_query("demon_site", $Consulta, $Link);



while($Linha = mysql_fetch_array($Resultado)) {

?> 

<p>&nbsp;</p>
<table width="400" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#213C56" style="border: 1px #213C56 solid">
  <tr> 
    <th bordercolor="#213C56" bgcolor="#000000" style="background-color: #000000; border: 1px #213C56 solid"> 
      <div style="border-top: 1px #213C56 solid; border-left: 1px #213C56 solid; border-right: 1px #213C56 solid; border-bottom: 1px #213C56 solid; "><font color="#CCCCCC">:: 
        </font><? echo $Linha[Nick]; ?><font color="#CCCCCC"> ::</font></div></th>
  </tr>
  <tr> 
    <th height="135" bordercolor="#213C56" bgcolor="#000015" style="border: 1px #213C56 solid"> 
      <table width="400" bordercolor="#213C56">
        <tr bordercolor="#213C56"> 
          <td width="80" height="80" rowspan="4"><img src="faces/<? echo $Linha[Face]; ?>"></td>
          <td><b><font color="#CCCCCC" size="2" face="Verdana, Arial, Helvetica, sans-serif">Nome</font><font color="#CCCCCC">:</font></b> 
            <? echo $Linha[Nome]; ?></td>
        </tr>
        <tr> 
          <td><b><font color="#CCCCCC" size="2" face="Verdana, Arial, Helvetica, sans-serif">E-Mail</font><font color="#CCCCCC">:</font></b> 
            <? echo $Linha[Email]; ?></td>
        </tr>
        <tr> 
          <td><b><font color="#CCCCCC" size="2" face="Verdana, Arial, Helvetica, sans-serif">ICQ:</font></b> 
            <? if($Linha[ICQ] != "") { echo $Linha[ICQ]; } else { echo "Não possui"; } ?>
          </td>
        </tr>
        <tr> 
          <td><b><font color="#CCCCCC" size="2" face="Verdana, Arial, Helvetica, sans-serif">Cargo</font><font color="#CCCCCC">:</font></b> 
            <? echo $Linha[Influencia]; ?></td>
        </tr>
      </table>
      <div align="center"> <b><font color="#CCCCCC" size="2" face="Verdana, Arial, Helvetica, sans-serif">Função:</font></b> <br>
        <? echo $Linha[Funcao]; ?> </div></th>
  </tr>
</table>

<p>
  <?

}

mysql_close($Link);

?>
  <? if(($UserID == 1) || ($UserID == 2) || ($UserID == 3)) { ?>
</p>
<p align="center">[ <a href="javascript:void(0)" onclick="window.open('adminmembros.php','Sistema','navigation=no,resizeble=no,status=no,scrollbars=yes,width=640,height=480')">Administrar...</a>]</p>
<? } ?>
<tr bgcolor="#000000"> 
  <td width="15%">&nbsp;</td>
</tr>

Por favor, poderiam me ajudar....como ficaria o membro.php ..... me desculpe por não ter postado o membro.php errado na paginação...pois tinha ficado com raiva e apagado....

Espero que me ajudem

Agradeço desde já

Enviar Imagem Para O Mysql

05/12/2003, 18:07

Ae galera gostaria de saba como eu faço para enviar imagem para o my sql, assim ó:

Tem um campo para preencher, que pede para vc enviar uma foto e tals, dai vc colocar o link ou uplod(uplod eu sei fazer) e dai quadno ele enviar...na pagina que grava as informações a foto vai estar la...como faço isso?

Erro No Inviosion

22/09/2003, 22:05

ae galera ontem fui durmi meu forum estvava normal....hoje cheguei agora em casa fui olhar como estava e estava dando ero quuando entra no boards e nos topicos...dau um erro no my sql eu acho.,..vejam você mesmos ae http://rmgold2.webci...pload/index.php por fasvor galera me ajudem a arrumar

Invision

21/09/2003, 19:12

Ae galera tengho um forum do invsion e instalei um mod de rpg...só que dai quando vai aparecer o topico as informaçoes fica emcima do post...e eu qeuria que ficasse na parte que ta o avatr e as informaçoes...alguem pode me ajudar... esse é o codigo para aparecer as informaçoes:

<div align='right'>
        {$post['report_link']}{$post['delete_button']}{$post['edit_button']}<a href='{$ibforums->base_url}act=Post&amp;CODE=06&amp;f={$ibforums->input[f]}&amp;t={$ibforums->input[t]}&amp;p={$post['pid']}'><{P_QUOTE}></a>
      </div>
      
      </td>
    </tr>
    <tr>
      <td colspan="4" class="maintitle"><center>{$author['name']}'s Rpg Info </center></td>
   </tr>
   <tr>
    <td width="25%" class="titlemedium"><center>Clan Name</center></td>
    <td width="25%" class="titlemedium"><center> Job </center></td>
    <td width="25%" class="titlemedium"><center> <a href="javascript:openwin('index.php?act=tran&mid={$author['id']}',300,400)">Zeny</a> </center></td>
    <td width="25%" class="titlemedium"><center> Weapon </center></td>
    </tr>
    <tr>
    <td width="25%" class="row4"><center>{$author['clanname']}<br></center></td>
    <td width="25%" class="row4"><center> {$author['classicon']}<br>
      {$author['classtext']}<br> </center></td>
    <td width="25%" class="row4"><center> 
      {$author['zeny']}<br> </center></td>
    <td width="25%" class="row4"><center> {$author['swordicon']}<br> {$author['sword']}<br> </center></td>
    </tr>
    <tr>
    <td width="25%" class="titlemedium"><center>Character Stats</center></td>
    <td width="25%" class="titlemedium"><center> Current Summon </center></td>
    <td width="25%" class="titlemedium"><center> Armor </center></td>
    <td width="25%" class="titlemedium"><center> Current Level </center></td>
    </tr>
    <tr>
    <td width="25%" class="row4">{$author['hp']}
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bhg.gif" width="{$author['zhp']}" height="9"><img src="html/bhb.gif" width="1" height="9"></td>
  </tr>
</table>
{$author['mp']} 
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bmg.gif" width="{$author['mpf']}" height="9"><img src="html/bmb.gif" width="1" height="9"></td>
  </tr>
</table>
{$author['exp']} 
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bxg.gif" width="{$author['xp']}" height="9"><img src="html/bxb.gif" width="1" height="9"></td>
  </tr>
</table>

               </td>
    <td width="25%" class="row4"><center> {$author['summonicon']}<br> {$author['summons']}<br> </center></td>
    <td width="25%" class="row4"><center> {$author['armoricon']}<br> {$author['armor']}<br> </center></td>
    <td width="25%" class="row4"><center>{$author['level']} </center></td>
    </tr>
   <tr>

quero que foique igual desse forum aqui http://www.ffmyths.c...final/index.php

olhem meu skin.topic

<?php

class skin_topic {

function warn_level_warn($id, $percent) {
global $ibforums;
return <<<EOF
{$ibforums->lang['tt_warn']} (<a href="javascript:PopUp('{$ibforums->base_url}act=warn&amp;mid={$id}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$percent}</a>%)
EOF;
}

function warn_level_rating($id, $level,$min=0,$max=10) {
global $ibforums;
return <<<EOF
&lt;&nbsp;$min ( <a href="javascript:PopUp('{$ibforums->base_url}act=warn&amp;mid={$id}&amp;CODE=view','Pager','500','450','0','1','1','1')">{$level}</a> ) $max&nbsp;&gt;
EOF;
}


function report_link($data) {
global $ibforums;
return <<<EOF
<a href='{$ibforums->base_url}act=report&amp;f={$data['forum_id']}&amp;t={$data['topic_id']}&amp;p={$data['pid']}&amp;st={$ibforums->input['st']}'><{P_REPORT}></a>
EOF;
}

function ip_show($data) {
global $ibforums;
return <<<EOF
<span class='desc'>{$ibforums->lang['ip']}: $data</span>
EOF;
}

function golastpost_link($fid, $tid) {
global $ibforums;
return <<<EOF
( <a href='{$ibforums->base_url}act=ST&amp;f=$fid&amp;t=$tid&amp;view=getnewpost'>{$ibforums->lang['go_new_post']}</a> )
EOF;
}

function mm_start($tid) {
global $ibforums;
return <<<EOF
<br />
<form action='{$ibforums->base_url}act=mmod&amp;t=$tid' method='post'>
<input type='hidden' name='check' value='1'>
<select name='mm_id' class='forminput'>
<option value='-1'>{$ibforums->lang['mm_title']}</option>
EOF;
}

function mm_entry($id, $name) {
global $ibforums;
return <<<EOF
<option value='$id'>$name</option>
EOF;
}

function mm_end() {
global $ibforums;
return <<<EOF
</select>&nbsp;<input type='submit' value='{$ibforums->lang['mm_submit']}' class='forminput' /></form>
EOF;
}

function Mod_Panel($data, $fid, $tid, $key="") {
global $ibforums;
return <<<EOF
  <div align='left' style='float:left;width:auto'>
	<form method='POST' style='display:inline' name='modform' action='{$ibforums->base_url}'>
	<input type='hidden' name='t' value='$tid' />
	<input type='hidden' name='f' value='$fid' />
	<input type='hidden' name='st' value='{$ibforums->input['st']}' />
	<input type='hidden' name='auth_key' value='$key' />
	<input type='hidden' name='act' value='Mod' />
	<select name='CODE' class='forminput' style="font-weight:bold;color:red">
	<option value='-1' style='color:black'>{$ibforums->lang['moderation_ops']}</option>
	$data
	</select>&nbsp;<input type='submit' value='{$ibforums->lang['jmp_go']}' class='forminput' /></form>
  </div>
        
EOF;
}

function mod_wrapper($id="", $text="") {
global $ibforums;
return <<<EOF
<option value='$id'>$text</option>
EOF;
}




function quick_reply_box_open($fid="",$tid="",$show="hide", $key="") {
global $ibforums;
return <<<EOF
	<script type="text/javascript">
	<!--
	function emo_pop()
	{
   window.open('index.{$ibforums->vars['php_ext']}?act=legends&amp;CODE=emoticons&amp;s={$ibforums->session_id}','Legends','width=250,height=500,resizable=yes,scrollbars=yes'); 
	}
	//-->
	</script>
	<br />
	<div align='left' id='qr_open' style="display:$show;position:relative;">
    <form name='REPLIER' action="{$ibforums->base_url}" method='post'>
    <input type='hidden' name='act' value='Post' />
    <input type='hidden' name='CODE' value='03' />
    <input type='hidden' name='f' value='$fid' />
    <input type='hidden' name='t' value='$tid' />
    <input type='hidden' name='st' value='{$ibforums->input['st']}' />
    <input type='hidden' name='auth_key' value='$key' />
    <!-- TITLE DIV -->
    <div class="tableborder">
      <div class='maintitle'><{CAT_IMG}>&nbsp;{$ibforums->lang['qr_title']}</div>
   <div class="tablepad" align="center">
    <textarea cols='70' rows='8' name='Post' class='textinput' tabindex="1"></textarea>
    <br /><br />
    <a href='javascript:emo_pop();'>{$ibforums->lang['show_emo']}</a> |
    <input type='checkbox' name='enableemo' value='yes' class="checkbox" checked="checked" />&nbsp;{$ibforums->lang['qr_add_smilie']} |
    <input type='checkbox' name='enablesig' value='yes' class="checkbox" checked="checked" />&nbsp;{$ibforums->lang['qr_add_sig']}
    <br /><br />
    <input type='submit' name='submit' value='{$ibforums->lang['qr_submit']}' class='forminput' tabindex="2" accesskey="s" />&nbsp;
    <input type='submit' name='preview' value='{$ibforums->lang['qr_more_opts']}' class='forminput' />
    &nbsp;&nbsp; <input type='button' name='qrc' onclick="ShowHide('qr_open','qr_closed');" value='{$ibforums->lang['qr_closeit']}' class='forminput' />
   </div>
   </div>
    </form>
	</div>
EOF;
}

function quick_reply_box_closed() {
global $ibforums;
return <<<EOF
	<!-- DEFAULT DIV -->
	<a href="javascript:ShowHide('qr_open','qr_closed');" title="{$ibforums->lang['qr_open']}" accesskey="f"><{T_QREPLY}></a>
EOF;
}

function start_poll_link($fid, $tid) {
global $ibforums;
return <<<EOF
	<a href="{$ibforums->base_url}act=Post&amp;CODE=14&amp;f=$fid&amp;t=$tid">{$ibforums->lang['new_poll_link']}</a> |&nbsp;
EOF;
}



function PageTop($data) {
global $ibforums;
return <<<EOF
    <script language='javascript' type='text/javascript'>
    <!--
    
    function link_to_post(pid)
    {
   	 temp = prompt( "{$ibforums->lang['tt_prompt']}", "{$ibforums->base_url}showtopic={$ibforums->input['t']}&view=findpost&p=" + pid );
   	 return false;
    }
    
    function delete_post(theURL) {
       if (confirm('{$ibforums->lang['js_del_1']}')) {
          window.location.href=theURL;
       }
       else {
          alert ('{$ibforums->lang['js_del_2']}');
       } 
    }
    
    function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
    if (posleft != 0) { x = posleft }
    if (postop  != 0) { y = postop  }

    if (!scroll) { scroll = 1 }
    if (!resize) { resize = 1 }

    if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
      X = (screen.width  - width ) / 2;
      Y = (screen.height - height) / 2;
    }
    if (scroll != 0) { scroll = 1 }

    var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
	}
	
	function ShowHide(id1, id2) {
   if (id1 != '') expMenu(id1);
   if (id2 != '') expMenu(id2);
	}
	
	function expMenu(id) {
   var itm = null;
   if (document.getElementById) {
  itm = document.getElementById(id);
   } else if (document.all){
  itm = document.all[id];
   } else if (document.layers){
  itm = document.layers[id];
   }
	
   if (!itm) {
    // do nothing
   }
   else if (itm.style) {
  if (itm.style.display == "none") { itm.style.display = ""; }
  else { itm.style.display = "none"; }
   }
   else { itm.visibility = "show"; }
	}
    //-->
    </script>
    
<a name='top'></a>
<!--IBF.FORUM_RULES-->

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
 <td align='left' width="20%" nowrap="nowrap">{$data['TOPIC']['SHOW_PAGES']}&nbsp;{$data['TOPIC']['go_new']}</td>
 <td align='right' width="80%">{$data[TOPIC][REPLY_BUTTON]}<a href='{$ibforums->base_url}act=Post&amp;CODE=00&amp;f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
</tr>
</table>
<br />
<div class="tableborder">
    <div class='maintitle'><{CAT_IMG}>&nbsp;<b>{$data['TOPIC']['title']}</b>{$data['TOPIC']['description']}</div>
	<!--{IBF.POLL}-->
	<div align='right' class='postlinksbar'>
   <strong><!--{IBF.START_NEW_POLL}--><a href='{$ibforums->base_url}act=Track&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$ibforums->lang['track_topic']}</a> |
   <a href='{$ibforums->base_url}act=Forward&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$ibforums->lang['forward']}</a> |
   <a href='{$ibforums->base_url}act=Print&amp;client=printer&amp;f={$data['FORUM']['id']}&amp;t={$data['TOPIC']['tid']}'>{$ibforums->lang['print']}</a></strong>
	</div>
	
EOF;
}


function RenderRow($post, $author) {
global $ibforums;
return <<<EOF

	<!--Begin Msg Number {$post['pid']}-->
    <table width='100%' border='0' cellspacing='1' cellpadding='3'>
    <tr>
      <td valign='middle' class='row4' width="1%"><a name='entry{$post['pid']}'></a><span class='{$post['name_css']}'>{$author['name']}</span></td>
        <td class='row4' valign='top' colspan='3'>
        
        <!-- POSTED DATE DIV -->
        
        <div align='left' class='row4' style='float:left;padding-top:4px;padding-bottom:4px'>
        {$post['post_icon']}<span class='postdetails'><b><a title="{$ibforums->lang['tt_link']}" href="#" onclick="link_to_post({$post['pid']}); return false;" style="text-decoration:underline">{$ibforums->lang['posted_on']}</a></b> {$post['post_date']}</span>
        </div>
        
        <!-- REPORT / DELETE / EDIT / QUOTE DIV -->
        
         <div align='right'>
        {$post['report_link']}{$post['delete_button']}{$post['edit_button']}<a href='{$ibforums->base_url}act=Post&amp;CODE=06&amp;f={$ibforums->input[f]}&amp;t={$ibforums->input[t]}&amp;p={$post['pid']}'><{P_QUOTE}></a>
      </div>

      </td>
    </tr>
    <tr>
      <td colspan="4" class="maintitle"><center>{$author['name']}'s Rpg Info </center></td>
   </tr>
   <tr>
    <td width="25%" class="titlemedium"><center>Clan Name</center></td>
    <td width="25%" class="titlemedium"><center> Job </center></td>
    <td width="25%" class="titlemedium"><center> <a href="javascript:openwin('index.php?act=tran&mid={$author['id']}',300,400)">Zeny</a> </center></td>
    <td width="25%" class="titlemedium"><center> Weapon </center></td>
    </tr>
    <tr>
    <td width="25%" class="row4"><center>{$author['clanname']}<br></center></td>
    <td width="25%" class="row4"><center> {$author['classicon']}<br>
      {$author['classtext']}<br> </center></td>
    <td width="25%" class="row4"><center>
      {$author['zeny']}<br> </center></td>
    <td width="25%" class="row4"><center> {$author['swordicon']}<br> {$author['sword']}<br> </center></td>
    </tr>
    <tr>
    <td width="25%" class="titlemedium"><center>Character Stats</center></td>
    <td width="25%" class="titlemedium"><center> Current Summon </center></td>
    <td width="25%" class="titlemedium"><center> Armor </center></td>
    <td width="25%" class="titlemedium"><center> Current Level </center></td>
    </tr>
    <tr>
    <td width="25%" class="row4">{$author['hp']}
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bhg.gif" width="{$author['zhp']}" height="9"><img src="html/bhb.gif" width="1" height="9"></td>
  </tr>
</table>
{$author['mp']}
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bmg.gif" width="{$author['mpf']}" height="9"><img src="html/bmb.gif" width="1" height="9"></td>
  </tr>
</table>
{$author['exp']}
<table width="100" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
  <tr>
    <td class="row4"><img src="html/bxg.gif" width="{$author['xp']}" height="9"><img src="html/bxb.gif" width="1" height="9"></td>
  </tr>
</table>

               </td>
    <td width="25%" class="row4"><center> {$author['summonicon']}<br> {$author['summons']}<br> </center></td>
    <td width="25%" class="row4"><center> {$author['armoricon']}<br> {$author['armor']}<br> </center></td>
    <td width="25%" class="row4"><center>{$author['level']} </center></td>
    </tr>
   <tr>
      <td valign='top' class='{$post['post_css']}'>
        <span class='postdetails'>{$author['avatar']}<br /><br />
        {$author['title']}<br />
        {$author['member_rank_img']}<br /><br />
        {$author['member_group']}<br />
        {$author['member_posts']}<br />
        {$author['member_number']}<br />
        {$author['member_joined']}<br /><a href="javascript:openwin('index.php?act=char&id={$author['id']}',508,385)">View
      Character Sheet</a><br><br />
        {$author['warn_text']} {$author['warn_minus']}{$author['warn_img']}{$author['warn_add']}<br />
        Participação: {$author['participacao']}%</span><br />
        <!--$ author[field_1]-->
        <img src='{$ibforums->vars['img_url']}/spacer.gif' alt='' width='160' height='1' /><br /> 
      </td>
      <td colspan='3' valign='top' class='{$post['post_css']}'>
        <!-- THE POST {$post['pid']} -->
        <div class='postcolor'>{$post['post']} {$post['attachment']}</div>
        {$post['signature']}
        <!-- THE POST -->
      </td>
    </tr>
    <tr>
      <td class='darkrow3' align='left'><b>{$post['ip_address']}</b></td>
      <td class='darkrow3' nowrap align='left' colspan="3">
      
        <!-- PM / EMAIL / WWW / MSGR -->
      
        <div align='left' class='darkrow3' style='float:left;width:auto'>
        {$author['addresscard']}{$author['message_icon']}{$author['email_icon']}{$author['website_icon']}{$author['integ_icon']}{$author['icq_icon']}{$author['aol_icon']}{$author['yahoo_icon']}{$author['msn_icon']}
        </div>
        
        <!-- REPORT / UP -->
         
        <div align='right'>
         <a href='javascript:scroll(0,0);'><img src='{$ibforums->vars['img_url']}/p_up.gif' alt='Top' border='0' /></a>
        </div>
      </td>
    </tr>
    </table>
    <div class='darkrow1' style='height:5px'><!-- --></div>
    
EOF;
}

function TableFooter($data) {
global $ibforums;
return <<<EOF
      
      <!--IBF.TOPIC_ACTIVE-->
      <div class="activeuserstrip" align="center">&laquo; <a href='{$ibforums->base_url}showtopic={$data[TOPIC]['tid']}&amp;view=old'>{$ibforums->lang['t_old']}</a> | <strong><a href='{$ibforums->base_url}showforum={$data['FORUM']['id']}'>{$data['FORUM']['name']}</a></strong> | <a href='{$ibforums->base_url}showtopic={$data[TOPIC]['tid']}&amp;view=new'>{$ibforums->lang['t_new']}</a> &raquo;</div>
</div>
 
<br />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
 <td align='left' width="20%" nowrap="nowrap"><!--IBF.TOPIC_OPTIONS_CLOSED-->{$data[TOPIC][SHOW_PAGES]}</td>
 <td align='right' width="80%">{$data[TOPIC][REPLY_BUTTON]}<!--IBF.QUICK_REPLY_CLOSED--><a href='{$ibforums->base_url}act=Post&amp;CODE=00&amp;f={$data[FORUM]['id']}' title='{$ibforums->lang['start_new_topic']}'><{A_POST}></a>{$data[TOPIC][POLL_BUTTON]}</td>
</tr>
</table>

<!--IBF.QUICK_REPLY_OPEN-->
<!--IBF.TOPIC_OPTIONS_OPEN-->

<br />
<!--IBF.MOD_PANEL-->
<div align='right'>{$data[FORUM]['JUMP']}</div>
<!--IBF.MULTIMOD-->
<br />
EOF;
}

function topic_opts_open($fid, $tid) {
global $ibforums;
return <<<EOF
<div id='topic_open' style='display:none;z-index:2;'>
    <div class="tableborder">
   <div class='maintitle'><{CAT_IMG}>&nbsp;<a href="javascript:ShowHide('topic_open','topic_closed')">{$ibforums->lang['to_close']}</a></div>
   <div class='tablepad'>
    <b><a href='{$ibforums->base_url}act=Track&amp;f={$fid}&amp;t={$tid}'>{$ibforums->lang['tt_title']}</a></b>
    <br />
    <span class='desc'>{$ibforums->lang['tt_desc']}</span>
    <br /><br />
    <b><a href='{$ibforums->base_url}act=Track&amp;f={$fid}&amp;type=forum'>{$ibforums->lang['ft_title']}</a></b>
    <br />
    <span class='desc'>{$ibforums->lang['ft_desc']}</span>
    <br /><br />
    <b><a href='{$ibforums->base_url}act=Print&amp;client=choose&amp;f={$fid}&amp;t={$tid}'>{$ibforums->lang['av_title']}</a></b>
    <br />
    <span class='desc'>{$ibforums->lang['av_desc']}</span>
  </div>
   </div>
</div>
EOF;
}

function topic_opts_closed() {
global $ibforums;
return <<<EOF
<a href="javascript:ShowHide('topic_open','topic_closed')" title="{$ibforums->lang['to_open']}"><{T_OPTS}></a>
EOF;
}


function topic_active_users($active=array()) {
global $ibforums;
return <<<EOF
   <div class="activeuserstrip">{$ibforums->lang['active_users_title']} ({$ibforums->lang['active_users_detail']})</div>
   <div class='row2' style='padding:6px'>{$ibforums->lang['active_users_members']} {$active['names']}</div>
EOF;
}

function Show_attachments_img($file_name) {
global $ibforums;
return <<<EOF
<br />
<br />
<strong><span class='edit'>{$ibforums->lang['pic_attach']}</span></strong>
<br />
<img src='{$ibforums->vars['upload_url']}/$file_name' class='attach' alt='{$ibforums->lang['pic_attach']}' />
EOF;
}

function Show_attachments_img_thumb($file_name, $width, $height, $aid) {
global $ibforums;
return <<<EOF
<br />
<br />
<strong><span class='edit'>{$ibforums->lang['pic_attach_thumb']}</span></strong>
<br />
<a href='{$ibforums->base_url}act=Attach&amp;type=post&amp;id=$aid' title='{$ibforums->lang['pic_attach_thumb']}' target='_blank'><img src='{$ibforums->vars['upload_url']}/$file_name' width='$width' height='$height' class='attach' alt='{$ibforums->lang['pic_attach']}' /></a>
EOF;
}

function Show_attachments($data) {
global $ibforums;
return <<<EOF
<br />
<br />
<strong><span class='edit'>{$ibforums->lang['attached_file']} ( {$ibforums->lang['attach_hits']}: {$data['hits']} )</span></strong>
<br />
<a href='{$ibforums->base_url}act=Attach&amp;type=post&amp;id={$data['pid']}' title='{$ibforums->lang['attach_dl']}' target='_blank'><img src='{$ibforums->vars['mime_img']}/{$data['image']}' border='0' alt='{$ibforums->lang['attached_file']}' /></a>
&nbsp;<a href='{$ibforums->base_url}act=Attach&amp;type=post&amp;id={$data['pid']}' title='{$ibforums->lang['attach_dl']}' target='_blank'>{$data['name']}</a>
EOF;
}


}
?>

Por favor galera me ajudem...

IPB Skin By Virteq