##############################################
##	:			NEO				##
##	:			~18$				##
##	:			http://mxneo.ru/		##
##	E-Mail:			mxneo@qip.ru			##
##	Vkontakte:		id43473421			##
##	Skype:			mxneos				##
##	ICQ:			306183				##
##############################################

:
	 DLE 9.x (9.2/6) + IPB 3.x (3.1.x - 3.3.x) RC6

:
1.          . 
2.      dle_uploads     .
3.    ipb3_uploads    .
4.   conf_global.php     (/engine/data/) 

   DLE:

/engine/inc/editusers.php
-------------------------------------------------------
 (18-21):
-------------------------------------------------------
if(!defined('DATALIFEENGINE'))
{
  die("Hacking attempt!");
}
-------------------------------------------------------
  :
-------------------------------------------------------
require_once(ENGINE_DIR . '/integrator.php');
-------------------------------------------------------



 (685):
-------------------------------------------------------
    $db->query( "INSERT INTO " . USERPREFIX . "_users (name, password, email, user_group, reg_date, lastdate, info, signature, favorites, xfields) values ('$regusername', '$regpassword', '$regemail', '$reglevel', '$add_time', '$add_time','','','','')" );
-------------------------------------------------------
 :
-------------------------------------------------------
	$ipb->CreateMember($regusername, md5( $_POST['regpassword'] ), $regemail, '', true);
-------------------------------------------------------



 (1066-1067):
-------------------------------------------------------
$sql_update = "UPDATE " . USERPREFIX . "_users set user_group='$editlevel', banned='$banned', icq='$editicq', land='$editland', info='$editinfo', signature='$editsignature', email='$editmail', fullname='$editfullname', time_limit='$time_limit', xfields='$filecontents'";
-------------------------------------------------------
 :
-------------------------------------------------------
$ipb->UpdateProfile($id, $editmail, $_POST['editpass'], $editicq, $editland, $editinfo, true, $banned);
if (trim( $editlogin ) != "") { $ipb->ChangeUserName($id, $editlogin); }
-------------------------------------------------------




 (1190):
-------------------------------------------------------
	$db->query( "delete FROM " . USERPREFIX . "_pm WHERE user='$id'" );
-------------------------------------------------------
 :
-------------------------------------------------------
	$ipb->DeleteUser($row['name']);
-------------------------------------------------------










/engine/inc/mass_user_actions.php
-------------------------------------------------------
:
-------------------------------------------------------
$selected_users = $_REQUEST['selected_users'];
-------------------------------------------------------
 :
-------------------------------------------------------
require_once(ENGINE_DIR.'/integrator.php');
-------------------------------------------------------





:
-------------------------------------------------------
@unlink( ROOT_DIR . "/uploads/fotos/" . $row['foto'] );
-------------------------------------------------------
 :
-------------------------------------------------------
$ipb->DeleteUser($row['name']);
-------------------------------------------------------










/engine/modules/lostpassword.php
-------------------------------------------------------
 (48):
-------------------------------------------------------
		$db->query( "UPDATE " . USERPREFIX . "_users set password='" . md5( md5( $new_pass ) ) . "', allowed_ip = '' WHERE user_id='$douser'" );
		$db->query( "DELETE FROM " . USERPREFIX . "_lostdb WHERE lostname='$douser'" );
-------------------------------------------------------
 :
-------------------------------------------------------
		$ipb->LostPassword($username, $new_pass);
-------------------------------------------------------















/engine/modules/profile.php
-------------------------------------------------------
 (219-226):
-------------------------------------------------------
	if (strlen($password1)>0) {

	$password1 = md5(md5($password1));

	$sql_user = "UPDATE " . USERPREFIX . "_users set fullname='$fullname', land='$land', icq='$icq', email='$email', info='$info', signature='$signature', password='$password1', allow_mail='$allow_mail', xfields='$filecontents', allowed_ip='$allowed_ip' where name='$user'";
	} else {
	$sql_user = "UPDATE " . USERPREFIX . "_users set fullname='$fullname', land='$land', icq='$icq', email='$email', info='$info', signature='$signature', allow_mail='$allow_mail', xfields='$filecontents', allowed_ip='$allowed_ip' where name='$user'";
	}
-------------------------------------------------------
 :
-------------------------------------------------------
$ipb->UpdateProfile($user, $email, $password1, $icq, $land, $info);
-------------------------------------------------------








/engine/modules/register.php
-------------------------------------------------------
 (337):
		$db->query( "UPDATE " . USERPREFIX . "_users SET fullname='$fullname', info='$info', land='$land', icq='$icq', xfields='$filecontents' WHERE user_id='{$row['user_id']}'" );
-------------------------------------------------------
 :
		$ipb->UpdateRegister($user, $land, $icq, $info);
-------------------------------------------------------


 (375):
-------------------------------------------------------
		$db->query( "INSERT INTO " . USERPREFIX . "_users (name, password, email, reg_date, lastdate, user_group, info, signature, favorites, xfields, logged_ip) VALUES ('$name', '$regpassword', '$email', '$add_time', '$add_time', '" . $config['reg_group'] . "', '', '', '', '', '" . $_IP . "')" );
-------------------------------------------------------
 :
	$ipb->CreateMember($name, $user_arr[2], $email, $add_time);
-------------------------------------------------------








## NEO Integreator




/engine/modules/sitelogin.php
-------------------------------------------------------

 (23):
-------------------------------------------------------
if(!defined('DATALIFEENGINE'))
{
	die("Hacking attempt!");
}
-------------------------------------------------------
  :
-------------------------------------------------------
include_once(ENGINE_DIR . "/integrator.php");
-------------------------------------------------------






 (30):
-------------------------------------------------------
if( isset( $_REQUEST['action'] ) and $_REQUEST['action'] == "logout" ) {
-------------------------------------------------------
 :
-------------------------------------------------------
	$ipb->logout();
-------------------------------------------------------




 (202):
-------------------------------------------------------
?>
-------------------------------------------------------
 :
-------------------------------------------------------
$ipb->login($member_id);
-------------------------------------------------------











-------------------------------------------------------
   IPB:
1.   /admin/applications/forums/extensions/dbconfig.php        (          ). 
2.   /admin/applications/forums/extensions/dle_config.php        .
-------------------------------------------------------


 DLE (admincentr):
-------------------------------------------------------
1.      :
     ? -> 
-------------------------------------------------------


 IPB (adminpanel):
-------------------------------------------------------
1.       ,      .               ,   
          Cookies:
	
 > System Settings > System >   
(Cookies)	 -> .sample.com
-------------------------------------------------------

-------------------------------------------------------
2.            :
    ? -> 
-------------------------------------------------------

       !
-------------------------------------------------------
System Settings  >  System  >  Security and Privacy ( )
Disable new registrations = Disable All...
 ? =  
-------------------------------------------------------


================ . : ==========================
     DLE    IPB   :
 engine/init.php     , ~342 :
-------------------------------------------------------
$tpl->set( '{login}', $member_id['name'] );
-------------------------------------------------------
 :
-------------------------------------------------------
$tpl->set( '{forum-url}', $ipb->IPBConfig('board_url') . "/index.php/user/{$ipb->member['member_id']}-{$member_id['name']}/");
-------------------------------------------------------
  login.tpl   {forum-url}




> Gunchenkov
>  ,     ,  ,           .
C          ?

  engine/modules/cron.php (~125)
:
-------------------------------------------------------
@unlink( ROOT_DIR . "/uploads/fotos/" . $row['foto'] );
-------------------------------------------------------
 :
-------------------------------------------------------
include_once(ENGINE_DIR . "/integrator.php");
$ipb->DeleteUser($row['name']);
-------------------------------------------------------


> Mek
>          .

 engine/modules/register.php
 :
-------------------------------------------------------
	$password2 = $_POST['password2'];
-------------------------------------------------------
 :
-------------------------------------------------------
	/*       md5,    
	,       utf-8   
	 md5...      ... */
	$_SESSION['_pass_temp'] = $password1;
-------------------------------------------------------