include_once('commonfunctions.php'); session_start(); if (isset($_SESSION['userNick'])) $userNick = $_SESSION['userNick']; if (!isset($_GET['faceId']) || !is_numeric($_GET['faceId'])) { includeHeader(); print 'No '.$glbItem.' selected'; includeFooter(); return; } $faceId = $_GET['faceId']; include 'config.inc.php'; includeHeader(); $connected = mysql_connect($mysqlhost, $mysqluser, $mysqlpsw) or die ("MySql error1: ".mysql_error()); mysql_select_db($mysqldb) or die ("MySql error2: ".mysql_error()); $sqlgetInfo = "SELECT {$dbTablePrefix}_main.`name`, {$dbTablePrefix}_main.`author`, {$dbTablePrefix}_main.`category`, {$dbTablePrefix}_main.`date`, {$dbTablePrefix}_main.`downloads`, {$dbTablePrefix}_main.`rating`, {$dbTablePrefix}_main.`ratingnum`, {$dbTablePrefix}_main.`comments`, {$dbTablePrefix}_main.`thumbext`, {$dbTablePrefix}_prop.`notes`, {$dbTablePrefix}_prop.`version`, {$dbTablePrefix}_prop.`subject` FROM {$dbTablePrefix}_main INNER JOIN {$dbTablePrefix}_prop ON ({$dbTablePrefix}_main.`id`={$dbTablePrefix}_prop.`id`) WHERE ({$dbTablePrefix}_main.`id` = $faceId)"; $res = mysql_query($sqlgetInfo) or die ("MySql Error3: ".mysql_error()); $row = @mysql_fetch_array($res); $name = $row['name']; $author = $row['author']; $category = $row['category']; $date = $row['date']; $downloads = $row['downloads']; $rating = $row['rating']; $ratingInt = round($rating); $ratingNum = $row['ratingnum']; $numComments = $row['comments']; $thumbExtension = $row['thumbext']; $notes = $row['notes']; $version = $row['version']; $subject = $row['subject']; ?>
| " rel="nofollow"> |
|
print "$name". ($version != '' ? " v$version":'') ." Subject: $subject |
Author's description: |
| include 'rate.inc.php'; ?> | Users' comments( print $numComments; ?>): $isCommentsIncluded = true; include 'comments.php'; ?> |
| > " rel="nofollow">Download < | |
How can I open this file?
.jfa files can be opened with EyeRoller