<?php

	$documentId = 372808;
	$documentPath = "settings.links.photos.372808";
	
		
?><!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>RTS.FM night: Sascha Funke @ StereoBar | DJ.ru</TITLE>
<META NAME="keywords" CONTENT="Dj.ru -  ">
<META NAME="description" CONTENT="Dj.ru -  ">
<META NAME="copyright" CONTENT="Dj.ru">
<META NAME="revisit-after" CONTENT="1 день">
<META NAME="distribution" CONTENT="Global">
<META NAME="robots" CONTENT="INDEX,FOLLOW">
<META NAME="rating" CONTENT="Общий">
<META HTTP-EQUIV="content-language" CONTENT="ru">
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META NAME="classification" CONTENT="Entertainment">
<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">
<link href="/com_styles.css" type="text/css" rel="stylesheet">
<link href="/php/css/selector.css" type="text/css" rel="stylesheet">

</HEAD>

<body>
<?php
	include($_SERVER['DOCUMENT_ROOT'] . '/includes/shapka.phtml');
?>
<script>
	var documentData = {id: 372808, authed: <?php print $djem->IsAuthed() ? $djem->IsAuthed() : 'false'; ?>}; 
</script>
<script src="/php/js/img_area_select.js"></script>
<script src="/php/js/photo_select.js"></script>

<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="71%" rowspan="2" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="1%">&nbsp;</td>

          <td colspan="2" width="99%">
            <div id="line26">
            <?php
            	include($_SERVER['DOCUMENT_ROOT'] . '/php/view_count.php'); 
            	
            	$isInner = true;
              	include($_SERVER['DOCUMENT_ROOT'] . '/photos/document372796_digest.phtml');
              	
              	$urlPrevious = false;
              	$urlNext = false;
              	$photoCount = 1; 
              	
              	foreach ($imageIds as $key => $value) {
              		if ($urlNext == 'fetchMe') {
              			$urlNext = $value;
              			break;
              		} else
              		if ($key == $documentId) {
              			$urlNext = 'fetchMe';
              		} else {
              			$urlPrevious = $value;
              			++$photoCount;
              		}          	
              	}
            	
            ?>
            
            </div>
          </td>
        </tr>
        <tr>
          <td valign="top" style="padding-left: 20px; padding-right: 20px;"><div id="line26"><div class="number2"><?php print $photoCount; ?></div></div>


          <br><br>
          <div class="preview">
                    </div>
          
          </td>
          <td colspan="2" valign="top">
          <a name="mainimage"></a>
          <div id="line26">          
<?php	
	if ($urlNext) {
?>
          	<table width="1%" border="0" cellspacing="0" cellpadding="0" class="foto">
              <tr>
                <td><div  style="position: relative;" id="divImage"><a href="<?php print $urlNext; ?>" title="Следующая"><img src="/photos/372796//372808.jpg" alt="" border="0" id="imgMain"></a></div>
                </td>
              </tr>
                          </table>
<?php
	} else {
?>
          	<table width="1%" border="0" cellspacing="0" cellpadding="0" class="foto">
              <tr>
                <td><img src="/photos/372796//372808.jpg" border="0"></td>
              </tr>
                          </table>
<?php
	}
?>
				
          	</div>

<script>
	$('DIV.preview IMG').hover(function() {
		if (this.id != 'preview372808') {
			$(this).animate({opacity: '1'}, 300); 
		}
	}, function() {
		if (this.id != 'preview372808') {
			$(this).animate({opacity: '0.5'}, 300); 
		}
	}).each(function() {
		if (this.id != 'preview372808') {
			$(this).css('opacity', '0.5');
		}
	});

</script>

         	
          	<div id="line50">      		
          	
<?php
	if ($urlPrevious) {
		print '<a href="' . $urlPrevious . '">Предыдущая</a>';
	} else {
		print '<span>Предыдущая</span>';
	}
	
	print '<a href="' . $photosUrl . '">Все фотографии</a>';
	
	if ($urlNext) {
		print '<a href="' . $urlNext . '">Следующая</a>';
	} else {
		print '<span>Следующая</span>';
	}
?>				
          	</div>

          	
          	<div id="divPhotoList" class="onPhoto" style="clear: both">
          	<?php
          		print $community->PhotoMeGet($documentId); 
          	?></div>
          	
          	
          	
          	
          	
          </td>
        </tr>

      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="38%" valign="top" style="padding-left: 20px;">
            <div id="line17a">
			<?php
				include($_SERVER['DOCUMENT_ROOT'] . '/php/ratings.phtml');
			?>

              <h1>ЧТО МОЖНО СДЕЛАТЬ</h1>
              <UL>
                <li class="current"><a href="">Поставить на мобильник...</a></li>
                <li><a href="">Версия для печати...</a></li>
                <li><a href="">Отправить по почте...</a></li>
                
              </UL>
            </div>
          </td>
          <td width="62%" valign="top">

		  <?php
			include($_SERVER['DOCUMENT_ROOT'] . '/php/comments.php');
			$shown=1;		  	
		  ?>
            <div id="line26">
              <h1><A href="/">Главная</A>&nbsp;&nbsp;|&nbsp;&nbsp;<A href="">Статьи</A> </h1>
            </div>
          </td>
        </tr>
      </table>

    </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>
    </td>
  </tr>
  <tr>
    <td valign="bottom">
<?php
	if (@$shown!=1) {
		if (file_exists($_SERVER['DOCUMENT_ROOT'] . '/cache/comments/372808.shtml')) {
			readfile($_SERVER['DOCUMENT_ROOT'] . '/cache/comments/372808.shtml');
		}
	}	
?>    
      <div id="line18">

		
		
 	</div>       
        
    </td>
  </tr>
  <tr>
    <td colspan="3" height="20"><spacer></spacer></td>
  </tr>

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