<?php
	
	
	$documentId = 135344;
	$documentPath = "main.djru.photos.135344";
	
		
?><!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>Фоторепортаж вечеринки: 11 лет радио рекорд | Фотогалереи DJ.ru</TITLE>
<META NAME="keywords" CONTENT="Фотографии: 11 лет радио рекорд | Фотогалереи DJ.ru">
<META NAME="description" CONTENT="Фотографии: 11 лет радио рекорд | Фотогалереи 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/135344_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 = 115;
		$totalPages = 6;
		$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; ?> / 115
        </div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/135344.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/135344.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/135344.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('135345,135346,135347,135348,135349,135350,135351,135352,135353,135354,135355,135356,135357,135358,135359,135360,135361,135362,135363,135364,135365,135366,135367,135368,135369,135370,135371,135372,135373,135374,135375,135376,135377,135378,135379,135380,135381,135382,135383,135384,135385,135386,135387,135388,135389,135390,135391,135392,135393,135394,135395,135396,135397,135398,135399,135400,135401,135402,135403,135404,135405,135406,135407,135408,135409,135410,135411,135412,135413,135414,135415,135416,135417,135418,135419,135420,135421,135422,135423,135424,135425,135426,135427,135428,135429,135430,135431,135432,135433,135434,135435,135436,135437,135438,135439,135440,135441,135442,135443,135444,135445,135446,135447,135448,135449,135450,135451,135452,135453,135454,135455,135456,135457,135458,135459');
		
	
    	include($_SERVER['DOCUMENT_ROOT'] . '/photos/135344_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; 
    	?> / 115</div>
        <div class="nav-right"><?php
        	
        	if ($startPage != 1) {
        		print '<a href="/photos/135344.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/135344.phtml/page' . $i . '">' . $i . '</a>';
        		}
        	}
        	
        	if ($endPage != $totalPages) {
        		print ' | <a href="/photos/135344.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>

