#################      AzeriFire ################
,  ,   ""  8.0. 
: 
1)        
2)     ""  . 
3)         ""         
4)  1    1  ,  1  . 
5)          "",      "" 
6)    .

1.     :
################################### 1  ############################

CREATE TABLE `dle_thanks` (
  `id` int(12) NOT NULL auto_increment,
  `id_post` int(15) NOT NULL default '0',
  `user_id` int(15) NOT NULL default '0',
  `user_name` varchar(255) NOT NULL default '',
  `host_ip` varchar(255) NOT NULL default '',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM;



#################################### 2  ###############################

ALTER TABLE dle_users ADD COLUMN thx_num int(11) not null default '0';


2.    `upload`     :

  :

1.  ./engine/modules/show.full.php
:
$tpl->set( '', $news_find );
 :
require_once ENGINE_DIR.'/modules/thanks.php';

2.  ./engine/modules/profile.php
:
$tpl->set('{news_num}', $row['news_num']);
 :
$tpl->set('{thx_num}', $row['thx_num']);

03.  ./templates/Default/userinfo.tpl
: 
<br /> : {news_num}
 :
<br /><B> : {thx_num}</b>

04.  ./templates/Default/fullstory.tpl
: 
{full-story} 
 :
<div id="thx-layer" style="text-align: justify;">
[allow_add]<a href="#" onclick="AddThx();return false;" ><b> !</b></a>[/allow_add] 
{thx_sayed} {thanks}.
</div>

 ,  !

 : Hamer,   8.0: FlashBlack(http://dle-code.com),  AzeriFire :) (azerifire@gmail.com)
