Back to Main Menu


USCHO Photo Admin

\n"; print "$actionoutput\n"; print "
\n"; } if ($subscreen=="view") { if (empty($dir) && !empty($image_type)) // $image_type will be empty if this is a search { if ($image_type=="headshots_c") $dir="headshots"; elseif ($image_type=="taction") $dir="teasers"; elseif ($image_type=="theadshot") $dir="headshots/teasers"; elseif ($image_type=="logos" || $image_type=="ads") $dir=$image_type; else $dir="$image_type/$subdir"; } if ($search) print "

Search Results: $searchterm

\n"; else print "

Contents of: $dir

\n"; ?>
"; print displayCheckbox("update[$x]","",1); print displayCheckbox("delete[$x]","",1); $displayname = ($search) ? "$path/$filename" : "$filename"; print ""; print ""; print ""; print ""; $gray = ($gray==0) ? 1 : 0; $hiddenoutput .= "\n"; ++$x; } } print "\n"; } if ($subscreen=="edit") { print "\n"; if (count($delete)) { print "After hitting submit, these photos will be deleted:
\n"; $x=0; foreach ($delete as $photoNo => $on) { $thisfile=dataFromID($pid[$photoNo],"filename","photos","content"); if ($search) $thispath=dataFromID($pid[$photoNo],"path","photos","content"); $displayname = ($search) ? "$thispath/$thisfile" : "$thisfile"; print "DELETE: $pid[$photoNo] ... $displayname
"; print "\n"; ++$x; } } if (count($update)) { ?>
You have chosen to make changes to the following photos:
UpdDelFilenameSizeDescriptionCredit
$displayname{$width}x{$height}$description  $credit  
$on) { $sql = "SELECT * FROM photos WHERE ID=$pid[$photoNo]"; $result=mysqli_query($dbh,$sql); $row=mysqli_fetch_array($result); extract($row); print ""; print displayTextbox ("filename[$x]",$filename,30,60,1); print displayTextbox ("credit[$x]",$credit,25,50,1); print displayTextbox ("description[$x]",$description,60,255,1); print "\n"; $hiddenoutput .= "\n"; ++$x; } } else print "
FilenameCreditDescription
\n\n"; // dummy table so it validates after adding the table close below } // the end of the form/table for each previous part if (!empty($subscreen)) { ?>
\n"; print "\n"; } ?>
Image TypeSubDirectory
Action
Head shot — Player
Head shot — Coach/Official
Teaser, Action
Teaser, Headshot
Logo
Ad
2009-2010
2008-2009
2007-2008
2006-2007
2005-2006
2004-2005
2003-2004
2002-2003
2001-2002
2000-2001
Archives
Upload a Photo

Perform a Search

Back to Main Menu