<?php $photo = DB::GET_STRING("SELECT * FROM `PHOTOS` WHERE `ID` = '".INTVAL(GET('photo_id'))."' LIMIT 1"); $title = 'Фото - '.TEXT_ABSOLUTE($photo['NAME']).''; ?>