<?php
	
	
	$documentId = 153656;
	$documentPath = "main.djru.photos.153656";
	
		
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<TITLE>Фоторепортаж вечеринки: Вечеринка в клубе Rai | Фотогалереи DJ.ru</TITLE>
<META NAME="keywords" CONTENT="Фотографии: Вечеринка в клубе Rai | Фотогалереи DJ.ru">
<META NAME="description" CONTENT="Фотографии: Вечеринка в клубе Rai | Фотогалереи DJ.ru">


<link href="/styles.css" type="text/css" rel="stylesheet">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">




</HEAD>
<body>
<?php
	include($_SERVER['DOCUMENT_ROOT'] . '/includes/shapka.phtml');
?>
<div id="line3"><spacer></spacer></div>
<?php
	include($_SERVER['DOCUMENT_ROOT'] . '/includes/menu.phtml');
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" id="line5">
<tr>
<td width="24%" valign="top">
<div id="line6">
  	<?php
		include($_SERVER['DOCUMENT_ROOT'] . '/includes/articles.phtml');
		include($_SERVER['DOCUMENT_ROOT'] . '/includes/sales.phtml');
	    print '</div>';
	    include($_SERVER['DOCUMENT_ROOT'] . '/includes/music_man.phtml');
      	include($_SERVER['DOCUMENT_ROOT'] . '/includes/newslenta.phtml');
    ?>    
    </td>
    <td width="4%" rowspan="2">&nbsp;</td>
    <td width="43%" rowspan="2" valign="top">
      <div id="line26">

		
  
<?php
	$isInner = false;
	include($_SERVER['DOCUMENT_ROOT'] . '/photos/document153656_digest.phtml');

	if (isset($_SERVER['PATH_INFO']) && preg_match('#/page([0-9]+)#', $_SERVER['PATH_INFO'], $m)) {
		$currentPage = $m[1];
	} else {
		$currentPage = 1;
	}
?>		

		
		                        
                                			
    	    
    	    	    	
    	    	        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        		  			  			  	
		  			  	
		  			  			  	
			        
						
		                
                
			        <div class="nav-left">
<?php

		$totalItems = 86;
		$totalPages = 5;
		$perPage = 21;
		$perRow = 10;
		
		$startPage = $currentPage;
		if ($startPage + $perRow > $totalPages) $startPage = $totalPages - $perRow + 1;
		if ($startPage < 1) $startPage = 1; 
	
		$endPage = min($totalPages, $startPage + $perRow);
		
		$pageSpan = ($startPage - 1) * $perPage + 1;
		$pageSpan .= ' &mdash; ';
		$pageSpan .= min($totalItems, $startPage * $perPage);
?>	

        <?php print $pageSpan; ?> / 86
        </div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/document153656.phtml/page' . max($currentPage - $perRow, 1) . '">&lt;&lt;</a> |';
        	}
        
        	for ($i = $startPage; $i <= $endPage; ++$i) {
        		if ($i != $startPage) print ' | ';
        		if ($i == $currentPage) {
        			print '<span>' . $i . '</span>';
        		} else {
        			print '<a href="/photos/document153656.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/document153656.phtml/page' . min($currentPage + $perRow, $totalPages) . '">&gt;&gt;</a>';
        	}
        	
?>
	        </div>
	        <div class="hr3"><spacer></spacer></div>
 		 		
 		               
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="foto2">
<?php
		
		$onPhoto = $community->PhotoMeGetList('153660,153661,153662,153663,153664,153665,153666,153667,153668,153669,153670,153671,153672,153673,153674,153675,153676,153677,153678,153679,153680,153681,153682,153683,153684,153685,153686,153687,153688,153689,153690,153691,153692,153693,153694,153695,153696,153697,153698,153699,153700,153701,153702,153703,153704,153705,153706,153707,153708,153709,153710,153711,153712,153713,153714,153715,153716,153717,153718,153719,153720,153721,153722,153723,153724,153725,153726,153727,153728,153729,153730,153731,153732,153733,153734,153735,153736,153737,153738,153739,153740,153741,153742,153743,153744,153745');
		
	
    	include($_SERVER['DOCUMENT_ROOT'] . '/photos/document153656_page' . $currentPage . '.phtml'); 
?>		        
          
          <tr>
            <td colspan="3" class="clearline">&nbsp;</td>
          </tr>
        </table>
        
        
         
        <div class="hr3"><spacer></spacer></div>
        	<div class="nav-left">
	    <?php 
    		print $pageSpan; 
    	?> / 86</div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/document153656.phtml/page' . max($currentPage - $perRow, 1) . '">&lt;&lt;</a> |';
        	}
        
        	for ($i = $startPage; $i <= $endPage; ++$i) {
        		if ($i != $startPage) print ' | ';
        		if ($i == $currentPage) {
        			print '<span>' . $i . '</span>';
        		} else {
        			print '<a href="/photos/document153656.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/document153656.phtml/page' . min($currentPage + $perRow, $totalPages) . '">&gt;&gt;</a>';
        	}
        	
        ?>
	        </div>
				
		
        <h3><A href="/">Главная</A>&nbsp;&nbsp;|&nbsp;&nbsp;<A href="/photos/index">Фотогалереи</A></h3>
      </div>
    </td>
    <td width="4%" rowspan="2">&nbsp;</td>
    <td width="25%" valign="top">
      <div id="line14"><?php
      	include($_SERVER['DOCUMENT_ROOT'] . '/includes/banners/photo240x400.phtml');
      ?>
      </div>
      <?php
      	include($_SERVER['DOCUMENT_ROOT'] . '/php/onphoto_found.phtml');
      ?>
      	<div id="line20">
      	<?php
      	  include($_SERVER['DOCUMENT_ROOT'] . '/includes/archive_calendar.phtml');
        ?>
		</div>
    </td>
  </tr>
  <tr>
    <td valign="bottom"> </td>
    <td valign="bottom"> </td>
  </tr>
  <tr>

    <td colspan="5" height="20"><spacer></spacer></td>
  </tr>
</table>
<div id="line3"><spacer></spacer></div>
<?php
      	include($_SERVER['DOCUMENT_ROOT'] .'/includes/copyright.phtml');
?>
</body>
</html>


