Вход Регистрация
Файл: _gladiators2_/gladiators2/gladiators/gladiators/forum/footer.php
Строк: 145
<?

/* This file decoded and nulled by NukLeoN [AnTiSh@Re] */



  
$forum_id explode ('?'$path[2]);
  
$topic_id explode ('.'$path[3]);
  
$topic_p explode ('?'$topic_id[1]);
  
$post_id explode ('_'$path[4]);
  
$file file ($root '/database/forum/' $forum_id[0] . '/settings.set');
  
$moder $file[0];
  
$moder explode (' '$moder);
  
$moder_on 0;
  if (!((!
preg_match ('/^(uid_' $_SESSION['id'] . ';)/'$moder[1]) AND !preg_match ('/(;uid_' $_SESSION['id'] . ';)/'$moder[1]))))
  {
    
$moder_on 1;
  }

  echo 
'<br><br><hr size=1 color=#000000>

<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
<form action='
/forum/' . $forum_id[0] . '/' . $topic_id[0] . '.html?' . $topic_p[1] . '' method=post name=send_from>
<input type=hidden name=add value=1>
<input type=hidden name=edit_id value=' 
$post_id[1] . '>
<td height=40><b>'
;
  if (!(
$row_string))
  {
    echo 
'Добавить тему/сообщение';
  }
  else
  {
    echo 
'Редактирование сообщения';
  }

  echo 
'</b></td>
<td align=center><b>Смайлы (<a href=#extended onclick="showSmiles();" class=comm><b>дополнительно</b></a>)</b></td></tr>
<tr><td>'
;
  if (
$row_string)
  {
    
$row_string[4] = str_replace ('<br>''
'
$row_string[4]);
    echo 
'Тема сообщения: <input type=text name=tema style='color:#000000;font-size:11px' size=40 maxlength=60 value='' . $row_string[1] . ''><br>
<input type=button value='Ж' class=button onclick="cs('<B>', '</B>');" style='font-size:11px' title='Жирный'>
<
input type=button value='К' class=button onclick="cs('<I>', '</I>');" style='font-size:11px' title='Курсив'>
<
input type=button value='Ч' class=button onclick="cs('<U>', '</U>');" style='font-size:11px' title='Подчеркнутый'>
<
input type=button value='КОД' class=button onclick="cs('<CODE>', '</CODE>');" style='font-size:11px' title='Код программы'';
    if ($topic_id[0])
    {
      echo '
<input type=button value=' &lt; ' class=button  onclick="cs('//', '');" style='font-size:11px' title='Цытата'>';
    }

    echo '
<br><textarea cols=60 rows=10 name=mess style='color:#000000;font-size:11px'>' . $row_string[4] . '</textarea><br>';
    if ($moder_on)
    {
      if (!(($topic_id[0] AND !$post_id[1])))
      {
        echo '
<input type=checkbox name=importent ';
        if (check_pr ('', $post_id[1]))
        {
          echo '
checked';
        }

        echo '
Важное сообщение<br>';
      }
    }

    echo '
<input type=submit value='Измененить' style='font-weight:bold;font-size:11px' class=button>';
  }
  else
  {
    if (!($topic_id[0]))
    {
      echo '
Тема сообщения: <input type=text name=tema style='color:#000000;font-size:11px' size=40 maxlength=60></b><br>';
    }

    echo '
<input type=button value='Ж' class=button onclick="cs('<B>', '</B>');" style='font-size:11px' title='Жирный'>
<
input type=button value='К' class=button onclick="cs('<I>', '</I>');" style='font-size:11px' title='Курсив'>
<
input type=button value='Ч' class=button onclick="cs('<U>', '</U>');" style='font-size:11px' title='Подчеркнутый'>
<
input type=button value='КОД' class=button onclick="cs('<CODE>', '</CODE>');" style='font-size:11px' title='Код программы'';
    if ($topic_id[0])
    {
      echo '
<input type=button value=' &lt; ' class=button  onclick="cs('//', '');" style='font-size:11px' title='Цытата'>';
    }

    echo '
<br><textarea cols=70 rows=10 name=mess style='color:#000000;font-size:11px'></textarea><br>';
    if ($moder_on)
    {
      if (!(($topic_id[0] AND !$post_id[1])))
      {
        echo '
<input type=checkbox name=importentВажное сообщение<br>';
      }
    }

    echo '
<input type=submit value='Добавить' style='font-weight:bold;font-size:11px' class=button>';
  }

  echo '
</form><br>
<
span class=comm>
В тексте сообщение возможно использовать следующие теги
<
span style='color:darkred'>&lt;B&gt;</span><b>жирный</b><span style='color:darkred'>&lt;/B&gt;</span>,
<
span style='color:darkred'>&lt;I&gt;</span><i>курсив</i><span style='color:darkred'>&lt;/I&gt;</span>,
<
span style='color:darkred'>&lt;U&gt;</span><u>подчеркнутый</u><span style='color:darkred'>&lt;/U&gt;</span>, а для выделения текста программ используйте тег 
<span style='color:darkred'>&lt;CODE&gt;</span> ... <span style='color:darkred'>&lt;/CODE&gt;</span>
</
span>
</
td><td width=100valign=top align=center>
<
table border=0 cellspacing=4 cellpadding=4 bgcolor=#cbcbb0>
<tr>';
  $smiles_path = $root . '
/img/smiles/forum/main';
  $dir = opendir ($smiles_path);
  $i = 1;
  while ($file = readdir ($dir))
  {
    if (strstr ($file, '
.gif'))
    {
      $smile = str_replace ('
.gif', '', $file);
      echo '
<td bgcolor=#cbcbb0><a href=#smile onclick=AddSmile(':' . $smile . ':');><img src=' . $config['img_server'] . '/smiles/forum/main/' . $file . ' border=0></a></td>';
      
if ($i == 0)
      {
        echo 
'</tr><tr>
'
;
      }

      ++
$i;
      continue;
    }
  }

  
closedir ($dir);
  echo 
'</tr></table>


</td></tr></table>

<br><br>
<center>&copy <a href=/><b>Truth of Wars</b></a>, ' 
date ('Y') . '<br>Все права защищены</center>';
  echo 
'<br><center>


</table><br>

</center>

</td>
<td valign=bottom background=/img/right_kolona.gif width=16 height=100%></td>
</tr>
<tr>
<td colspan=6 width=100% height=27 background=/img/bottom_bg.gif></td>
</tr></table>
</body>
</html>'
;
?>
Онлайн: 0
Реклама