<& /designobservercomp/header.comp, site=>1, adcols=>2 &> <& /designobservercomp/nav_designobserver.comp &>
50 Books/50 Covers

<& /designobserver/50Books50Covers/5050-2011-nav.comp &>
Information & Guidelines Judges & Advisors Nominate a Book Nominations Winners

Entry


% if (!$sessid){ Please log in to manage your entry.

Email


Password




% } else { You are managing the following entry:

Book Information

% if ($nomination[0] eq "on"){ 50 Books Entry
%} % if ($nomination[1] eq "on"){ 50 Covers Entry
%} <%$nomination[2]%>
<%$nomination[3]%>
(<%$nomination[4]%>)

ART DIRECTOR: <%$nomination[5]%>
DESIGNER(S): <%$nomination[6]%>
DESIGN FIRM: <%$nomination[7]%>
ADDITIONAL CREDITS: <%$nomination[8]%>
Edit Information >>

Images

% if ($#images >= 0){ % for ($i = 0; $i <= $#images; $i++){ % } % } else { No images have been uploaded. % }
Upload Image >>

Payment Information

% if ($nomination[9]){ Your entry payment has been received. % } else { Your entry payment was not received on time. To inquire about late payments, contact Betsy Vardell, betsy@designobserver.com.
% } % }
<& /designobservercomp/adDOG_2col.comp &>
<& /designobservercomp/footer.comp &> <%args> $entry=>"" <%init> use RubyCore::ObjectInit; use designobserver::Config(); my $rso = new RubyCore::ObjectInit { %designobserver::Config::c }; $rso->dbconnect(); my ($i, $sql, $sth, $createdby); my @nomination; my @temp; my @images; my $cookie_header = $r->headers_in->get('Cookie'); my @cookies = split (";",$cookie_header); my ($key,$value,$sessid); foreach my $cookie (@cookies){ ($key,$value) = split("=",$cookie); if ($key eq "DO" || $key eq " DO"){ $sessid = $value; } } $sql = "SELECT book, cover, title, author, publisher, artdirector, designer, designfirm, othercredits, paid FROM 5050_2013 WHERE id=?"; $sth = $rso->dosqlp($sql,$entry); @nomination = $sth -> fetchrow_array(); $sql = "SELECT id, filename FROM 5050_2013_images WHERE entryid=?"; $sth = $rso->dosqlp($sql,$entry); while (@temp = $sth->fetchrow_array ()){ push @images, [@temp]; #add each array reference to the news array }