<? include_once '../../sys/inc/start.php'; include_once '../../sys/inc/compress.php'; include_once '../../sys/inc/sess.php'; include_once '../../sys/inc/home.php'; include_once '../../sys/inc/settings.php'; include_once '../../sys/inc/db_connect.php'; include_once '../../sys/inc/ipua.php'; include_once '../../sys/inc/fnc.php'; include_once '../../sys/inc/user.php'; $l = mysql_fetch_assoc(mysql_query("SELECT * FROM `gallery_foto` WHERE `id` > '$_SESSION[test]' ORDER BY `id` ASC LIMIT 1")); /* if (isset($_SESSION['test'])) $_SESSION['test']=$l['id']; else $_SESSION['test']=1; echo "<img src='/foto/foto50/$_SESSION[test].jpg' alt='*'> $_SESSION[test]<br />"; echo ' <a onclick="formObj1.submit()" method="post" name="myForm1">Мне нравится ♥</a> '; */ ?>