Хотелось бы узнать на какое действие или когда высканивает это сообщение? При загрузке содержимогостраницы, иногдапри клике на смайл. Мой вклад, смайлы в три столбца: В файле mod_elfchat.php меняем код функции smile на function smile()
{
$html = "<table border='0'>"; #Открываем таблицу
$this->ipsclass->DB->simple_construct( array( 'select' => 'typed, image', 'from' => 'emoticons', 'where' => "emo_set='".$this->ipsclass->skin['_emodir']."' AND clickable=1" ) );
$this->ipsclass->DB->simple_exec();
if ( $this->ipsclass->DB->get_num_rows() )
{
$c=0; #Счетчик для подсчета столбцов
while ( $r = $this->ipsclass->DB->fetch_row() )
{
$smilie_id++;
if (strstr( $r['typed'], """ ) )
{
$in = "'";
$out = '"';
}
else
{
$in = '"';
$out = "'";
}
if($c==1) #Пишем <td></td>
{
$html .= "<td><a href='#' onclick={$out}java script:addin({$in} ".stripslashes($r['typed'])." {$in});{$out}><img src=\"style_emoticons/<#EMO_DIR#>/".stripslashes($r['image'])."\"></a></td>";
$c++;
}
elseif($c==0) #Пишем <tr><td></td>
{
$html .= "<tr><td><a href='#' onclick={$out}java script:addin({$in} ".stripslashes($r['typed'])." {$in});{$out}><img src=\"style_emoticons/<#EMO_DIR#>/".stripslashes($r['image'])."\"></a></td>";
$c++;
}
elseif($c==2) #Пишем <td></td></tr>
{
$html .= "<td><a href='#' onclick={$out}java script:addin({$in} ".stripslashes($r['typed'])." {$in});{$out}><img src=\"style_emoticons/<#EMO_DIR#>/".stripslashes($r['image'])."\"></a></td></tr>";
$c=0;
}
}
}
$html .='</table>'; #Закрываем таблицу
$this->out_smile["html"] = str_replace( "<#EMO_DIR#>" , $this->ipsclass->skin['_emodir'] , $html );
} Ааа, можно на нее взглянуть?