<?php
	
	
	$documentId = 141609;
	$documentPath = "main.djru.photos.141609";
	
		
?><!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>Фоторепортаж вечеринки: First house party in da First Club | Фотогалереи DJ.ru</TITLE>
<META NAME="keywords" CONTENT="Фотографии: First house party in da First Club | Фотогалереи DJ.ru">
<META NAME="description" CONTENT="Фотографии: First house party in da First Club | Фотогалереи 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/141609_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 = 137;
		$totalPages = 7;
		$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; ?> / 137
        </div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/141609.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/141609.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/141609.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('141610,141611,141612,141613,141614,141615,141616,141617,141618,141619,141620,141621,141622,141623,141624,141625,141626,141627,141628,141629,141630,141631,141632,141633,141634,141635,141636,141637,141638,141639,141640,141641,141642,141643,141644,141645,141646,141647,141648,141649,141650,141651,141652,141653,141654,141655,141656,141657,141658,141659,141660,141661,141662,141663,141664,141665,141666,141667,141668,141669,141670,141671,141672,141673,141674,141675,141676,141677,141678,141679,141680,141681,141682,141683,141684,141685,141686,141687,141688,141689,141690,141691,141692,141693,141694,141695,141696,141697,141698,141699,141700,141701,141702,141703,141704,141705,141706,141707,141708,141709,141710,141711,141712,141713,141714,141715,141716,141717,141718,141719,141720,141721,141722,141723,141724,141725,141726,141727,141728,141729,141730,141731,141732,141733,141734,141735,141736,141737,141738,141739,141740,141741,141742,141743,141744,141745,141746');
		
	
    	include($_SERVER['DOCUMENT_ROOT'] . '/photos/141609_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; 
    	?> / 137</div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/141609.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/141609.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/141609.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>

