 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 //    DLE  Age-Web Media Group
 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
  /*---------------------------------
        
		  @ Author: Hamer
		  @ Age-Web Media Group
		  @ www.age-web.org
		  @ www.getdle.ru
    ----------------------------------------------*/

 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 //    ,    !
 //  ,   
 // Age-Web Media Group 2007-2008 , (c) 2008
 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 


        1)  
    ----------------------------------------------------------------
     ALTER TABLE `dle_users` ADD `invites_num` int( 6 ) NOT NULL;
    ----------------------------------------------------------------
        
        2)  engine/modules/profile.php  :
    ----------------------------------------------------------------
     $tpl->set('{lastdate}', langdate("j F Y H:i", $row['lastdate']));
    ----------------------------------------------------------------
            
    ----------------------------------------------------------------
    // ~~~~~~ Friend Invites ~~~~~~~ //
      require_once ( ENGINE_DIR . ('/modules/friend_invite.php'));
   // ~~~~~~ Friend Invites ~~~~~~~ //
    ---------------------------------------------------------------- 
        
       3)   admin.php  : 
    ----------------------------------------------------------------
     $system_modules = array('addnews'      => 'user',
    ----------------------------------------------------------------
            
    ----------------------------------------------------------------
    'invites'      => 'admin',
    ---------------------------------------------------------------- 
      
       4)  engine/inc/options.php  :
    ----------------------------------------------------------------
     array(
         'name'       => $lang['opt_google'],
         'url'        => "$PHP_SELF?mod=googlemap",
	 'descr'      => $lang['opt_googlec'],
	 'image'    => "googlemap.png",
         'access'     => "1",
         ),
    ----------------------------------------------------------------
            
    ----------------------------------------------------------------
    array(
        'name'       => '',
        'url'        => "$PHP_SELF?mod=invites",
	'descr'      => ' ,  e-mail ',
	'image'      => "invites.png",
        'access'     => "1",
        ),
    ---------------------------------------------------------------- 

       5)  userinfo.tpl  ,     :

    ----------------------------------------------------------------

     [ <a href="#" onclick="ShowOrHide('friend'); return false;"> </a> ]
     <br /><br />
<div id="friend" style="display:none;" >[this-user]
<form action="" method="post">
<input type="text" name="friendmail"  onblur="this.style.border='1px solid black'"   onfocus="this.style.border='1px solid red'"  style="width:200px;border:1px solid black;" class="f_input" />
           <input type="submit" value=""  class="bbcodes" />
           <input type="hidden" name="doact" value="send_link" />
           <br/> 
[if-limit]    <b> {invites_num} </b> [/if-limit] 							
	</form>
 [/this-user]
</div>

    ----------------------------------------------------------------

   !
       :  !