
	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	  DataLife Engine
	 0.09 - ""

	" !  !"

	Admin-club.ru (c) 2011


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	   .

	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

	
	  :

		 DataLife Engine		7.0 
		   	16 
		 GD			1.0 
		    	


	  :

		 DataLife Engine		9.0 
		   	128 
		 GD			2.0+ 
		    	
		  		.htaccess


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

	!   ,  
	 "backup" ,     .

	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


		!    
		  []   ,
		       ,  
		Total Commander 6 !


	     :


	1.   <upload>    .

		         - Default
		 Flexible,      <upload/templates/Default>
		 <upload/templates/siteShablon>,  <SiteShablon> -   
		 . 

		            (
		 <upload/templates/Default/photo>   <upload/templates/Default/style/photo.css>).

	2.   <dle_photo.php>      .

	3.    .

		3.1.   <engine/engine.php>

		:

------------------------------------------------------------------------------------
switch ( $do ) {
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
		case "photo":

			include ENGINE_DIR.'/photo/brain.php';

		break;
------------------------------------------------------------------------------------

		 .


		3.2.   <engine/modules/profile.php>

		:

------------------------------------------------------------------------------------
$tpl->set( '{news_num}', $row['news_num'] );
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
require_once( ROOT_DIR  . '/engine/photo/photo_nucleus/peace/profile.php'  );
------------------------------------------------------------------------------------

		 .

		3.3.   <.htaccess>
 
		:

------------------------------------------------------------------------------------
RewriteEngine On
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
# DLE Photoalboms
#RewriteCond%{REQUEST_FILENAME} -f
#RewriteRule^.+$ - [L,PT]
RewriteRule ^photo(/?)+$ index.php?do=photo [L]
RewriteRule ^photo-([a-z]+)(/?)+$ index.php?do=photo&a=$1 [L]
RewriteRule ^photo-([0-9]+)(/?)+$ index.php?do=photo&albom=$1 [L]
RewriteRule ^photo-id-([0-9]+).html$ index.php?do=photo&photoid=$1&a=showphoto [L]
RewriteRule ^photo-id-([0-9]+)-([0-9]+).html$ index.php?do=photo&photoid=$1&a=showphoto&pagecomments=$2 [L]
RewriteRule ^photo-([0-9]+)/([0-9]+)([^/]*)(/?)+$ index.php?do=photo&albom=$1&onpage=$2 [L]
RewriteRule ^photo/([0-9]+)([^/]*)(/?)+$ index.php?do=photo&onpage=$1 [L]
RewriteRule ^photo/mark-([0-9]+)+$ index.php?do=photo&mark=$1 [L]
RewriteRule ^photo/mark-([0-9]+)/([0-9]+)$ index.php?do=photo&mark=$1&onpage=$2 [L]
RewriteRule ^photo/rss(/?)+$ engine/photo/rss.php [L]
RewriteRule ^photo/rss-([0-9]+)+$ engine/photo/rss.php?id=$1 [L]
RewriteRule ^photo/tegs(/?)+$ index.php?do=photo&a=tegs [L]
RewriteRule ^photo/tegs-([^/]*)(/?)+$ index.php?do=photo&tegs=$1 [L]
RewriteRule ^photo/tegs-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&tegs=$1&onpage=$2 [L]
RewriteRule ^photo/search(/?)+$ index.php?do=photo&a=search [L]
RewriteRule ^photo/search-([^/]*)(/?)+$ index.php?do=photo&search=$1 [L]
RewriteRule ^photo/search-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&search=$1&onpage=$2 [L]
RewriteRule ^photo/user-([^/]*)(/?)+$ index.php?do=photo&user=$1 [L]
RewriteRule ^photo/user-([^/]*)/([0-9]+)(/?)+$ index.php?do=photo&user=$1&onpage=$2 [L]
RewriteRule ^photo-([a-z]+)/([0-9]+)(/?)+$ index.php?do=photo&a=$1&onpage=$2 [L]
RewriteRule ^uploads/photos/(micro|others|previews|show|temp)/(.*).(jpg|png|gif|jpeg)+$ engine/photo/image.php?type=$1&file=$2&filetype=$3 [L]
RewriteRule ^uploads/photos/(.*).(jpg|png|gif|jpeg)+$ engine/photo/image.php?file=$1&filetype=$2 [L]
RewriteRule ^photo/([0-9]+)-([0-9]+)/(.*).(jpg|png|gif|jpeg)(/?)+$ engine/photo/show.php?see=$3.$4&d=$1&s=$2 [L]
RewriteRule ^photo/([0-9]+)-([0-9]+)-([0-9]+)/(.*).(jpg|png|gif|jpeg)(/?)+$ engine/photo/other.php?otherpixsize=$1&q=$2&w=$3&pid=$4.$5 [L]
# DLE Photoalboms
------------------------------------------------------------------------------------

		 .

		3.4.   <templates//userinfo.tpl>

		:

------------------------------------------------------------------------------------
: {rate}
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
<if moder> :<alboms><br></if>
  : <comms> [ <a href="<href comms>"></a> ]<br>
: <photos> [ <a href="<href photos>"></a> ]<br>
%PHOTOS%
------------------------------------------------------------------------------------

		 .


		3.5.    8.0.

		  <admin.php>

		:

------------------------------------------------------------------------------------
'googlemap',
------------------------------------------------------------------------------------

		    :

------------------------------------------------------------------------------------
'photo',
------------------------------------------------------------------------------------

		 .

		  <engine/inc/options.php>

		:


------------------------------------------------------------------------------------
$options['others'] = array (
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
array (
											'name' => '<font color=teal><u></u></font>',
											'url' => "$PHP_SELF?mod=photo",
											'descr' => '   !',
											'image' => "photo.gif",
											'access' => 'admin'
								),
------------------------------------------------------------------------------------

		 .

		    8.0,  ,    ,      /hand install/sqls/after_8.2.txt.

		3.6.     7.5.

		  <admin.php>

		:


------------------------------------------------------------------------------------
'cmoderation' => 'user',
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
'photo' => 'admin',
------------------------------------------------------------------------------------

		 .

		  <engine/inc/options.php>

		:


------------------------------------------------------------------------------------
$options['others'] = array (
------------------------------------------------------------------------------------

		    :


------------------------------------------------------------------------------------
array (
											'name' => '<font color=teal><u></u></font>',
											'url' => "$PHP_SELF?mod=photo",
											'descr' => '   !',
											'image' => "photo.gif",
											'access' => '1'
								),
------------------------------------------------------------------------------------

		 .

		3.7.    9.0.

		  <index.php>

		:


------------------------------------------------------------------------------------
$config['thumb_gallery'] AND ($dle_module == "showfull" OR $dle_module == "static"
------------------------------------------------------------------------------------

		 :


------------------------------------------------------------------------------------
$config['thumb_gallery'] AND ($dle_module == "showfull" OR $dle_module == "static" OR $do == "photo"
------------------------------------------------------------------------------------

		 .

		3.7.    8.5.

		  <index.php>

		:


------------------------------------------------------------------------------------
$config['thumb_gallery'] AND !$pm_alert AND $dle_module == "showfull"
------------------------------------------------------------------------------------

		 :


------------------------------------------------------------------------------------
$config['thumb_gallery'] AND !$pm_alert AND ($dle_module == "showfull" OR $do=="photo")
------------------------------------------------------------------------------------

		 .

		4.       .

			<uploads/photos> 					- 	777
			<uploads/photos/micro> 					- 	777
			<uploads/photos/others> 				- 	777
			<uploads/photos/previews> 				- 	777
			<uploads/photos/show> 					- 	777
			<uploads/photos/temp> 					- 	777
			<uploads/photos/originals> 				- 	777
			<engine/photo/caches> 					- 	777
			<engine/photo/data> 					- 	777
			<engine/photo/data/history> 				- 	777
			<engine/photo/data/logs> 				- 	777
			<engine/photo/data/logs/system_log.txt> 		- 	777
			<engine/photo/data/recovery> 				- 	777
			<engine/photo/photo_nucleus/configurations> 		- 	777
			<engine/photo/photo_nucleus/languages> 			- 	777
			+      
	

			*  ,      .
			*      .htaccess

		5.  .
			

	   ,   
	 : 
		
		http://_/photo 

			

		http://_/index.php?do=photo

	     :

		-   ;
		-   /;
		- " ";
		-  , ,

		      
		   ICQ 709-056   
		   .


	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	" " 		- http://admin-club.ru
		      		- http://admin-club.ru/forum

	Data Life Engine 	- http://dle-news.ru

	_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_


	() RedRat, 2011

