Variables

/home/ivan/src/sit/branches/3.x/portal/download.php File Reference

Go to the source code of this file.

Variables

 $permission = 0
 $accesslevel = 'any'
 $inlinefiles = array('jpg','jpeg','png','gif','txt','htm','html')
 $id = clean_int($_GET['id'])
 $sql
 $result = mysql_query($sql)
 $fileobj = mysql_fetch_object($result)
 $incidentid = clean_int($fileobj->incidentid)
 $updateid = clean_int($fileobj->updateid)
 $filename = cleanvar($fileobj->filename)
 $fileid = $fileobj->fileid
 $visibility = $fileobj->category
 $access = FALSE

Variable Documentation

$access = FALSE

Definition at line 47 of file download.php.

$accesslevel = 'any'

Definition at line 22 of file download.php.

$fileid = $fileobj->fileid

Definition at line 44 of file download.php.

Referenced by draw_file_row().

$filename = cleanvar($fileobj->filename)
$fileobj = mysql_fetch_object($result)

Definition at line 40 of file download.php.

Referenced by draw_file_row().

$id = clean_int($_GET['id'])

Definition at line 28 of file download.php.

$incidentid = clean_int($fileobj->incidentid)

Definition at line 41 of file download.php.

$inlinefiles = array('jpg','jpeg','png','gif','txt','htm','html')

Definition at line 23 of file download.php.

$permission = 0

Definition at line 17 of file download.php.

$result = mysql_query($sql)

Definition at line 39 of file download.php.

$sql
Initial value:
"SELECT *, u.id AS updateid, f.id AS fileid
        FROM `{$dbFiles}` AS f, `{$dbLinks}` AS l, `{$dbUpdates}` AS u
        WHERE l.linktype='5'
        AND l.origcolref=u.id
        AND l.linkcolref='{$id}'
        AND l.direction='left'
        AND l.linkcolref=f.id
        ORDER BY f.filedate DESC"

Definition at line 30 of file download.php.

$updateid = clean_int($fileobj->updateid)

Definition at line 42 of file download.php.

$visibility = $fileobj->category

Definition at line 45 of file download.php.

Referenced by group_user_selector(), is_kb_article(), and softwareproduct_drop_down().

For more help developing with SiT! see http://sitracker.org/wiki/DevelopmentHowTo

© 2008-2011 Support Incident Tracker

Tsohost Logo