File size: 818B
<?php
/*-----------------------------------------------------------------------------------------
mcGalleryPRO
All code is © 2003 Marc Cagninacci.
No files may be redistributed in whole or significant part.
----------------- mcgalleryPRO IS NOT FREE SOFTWARE -------------------
You should have receive a file called license.txt in this package
--------------------------------------------------------------------------------------------*/
session_start();
if (!empty($_SESSION['private_login']))
{
$private_login = $_SESSION['private_login'];
if ($sel == 1) { $t = 'P'; }
elseif ($sel == 2) { $t = 'V'; }
$query="SELECT file FROM mcgallery_select WHERE login='$private_login'";
$result=mysql_query($query);
while ($row = mysql_fetch_array($result))
{
echo '<br>'.$row['file'];
}
}
?>