View file moduls/photo.php

File size: 1.52Kb
<?php
/**********************************************/
/* Автор скрипта: Александр Есин              */
/* E-Mail: [email protected] ([email protected]) */
/* ICQ: 6464729                               */
/* Site: http://ticlove.ru                    */
/**********************************************/
?>
<?php define ('SECURED', true); ?>
<?php require (dirname(__FILE__).'/../_inc/sql.php'); ?>
<?php require (dirname(__FILE__).'/../_inc/config.php'); ?>
<?php require (dirname(__FILE__).'/../_inc/function.php'); ?>
<?php
	 
	 if (!empty($_SESSION['auth_id']) && (intval($_POST['user_id']) == $_SESSION['auth_id']))
	 {
	      $user_uid = intval($_POST['user_uid']);
	      $foto_id = intval($_POST['foto']);
	      $n = intval($_POST['n']);
	      ?>
	      <div class="box_title">
	      <div class="left" style="padding-top: 2px; padding-left: 10px;">Просмотр фотографий</div><div class="box_close right b-modal_close arcticmodal-close"></div>
	      </div>
	      <div class="clear"></div>
	      <div class="box_conetnt">
	      <div style="padding: 5px;">
	      <script type="text/javascript">
	      photo_id('<?php echo $n; ?>');
	      </script>
	      <div id="foto_id_status" style="text-align: center;"></div>
	      </div>
	      </div>
	      <div class="box_footer">
	      <div class="right"><button class="submit_red b-modal_close arcticmodal-close">Отмена</button></div>
	      </div>
	      <div class="clear"></div>
	      </div>
	      <?php
	 }
?>