%
if not Request.Cookies("lvlbeta")("mapperid") > 0 then
'they ain't welcomed, get them out of here
Response.Redirect("login.asp")
else
'they must have logged in fine let them have the world
%>
 |
| level |
map id |
screen shot names should be |
Status |
<%
set tigCON = Server.CreateObject("ADODB.Connection")
tigCON.Open(DSN)
query = "select id, title, " & _
"active " & _
"from beta_levels where " & _
"author = " & Request.Cookies("lvlbeta")("mapperid") & _
"order by datestamp desc"
'Response.Write("Query = [" & query & "] ")
set tigRS = tigCON.Execute(query)
if (tigRS.EOF) then
%>
It appears that there are no maps listed under your account at the moment.
If you think there should be, because you definitely entered one, plz email
tigger@ebom.org
<%
end if
dim recCount, firstID
recCount = 0
dim id
do while not tigRS.EOF
id = tigRS("id")
if recCount = 0 then
firstID = id
recCount = 1
end if
%>
| <%=tigRS("title")%> |
<%=id%> |
<%=id%>lg.jpg (640x480 40kb) | <%=id%>sm.jpg (160x120 3kb) |
<% if tigRS("active") then %>
shown |
<% else %>
not shown |
<% end if %>
<%
tigRS.MoveNext
loop
tigRS.close
tigCON.close
%>
<%
end if
%>
If you want to have a screen shot displayed with your level, you need to do the following (the larger image is optional);
- take a screen shot :]
- save the screen shot as a large and a small jpg format file.
- Large screen shot 640 pixels wide by 480 pixels high with a file size less than 40kb (41000 bytes). The file name should be the level's map ID followed by 'lg' eg. the file for your latest map is <%=firstID%>lg.jpg
- Small screen shot 160 pixels wide by 120 pixels high with a file size less than 3kb (3100 bytes). The file name should be the level's map ID followed by 'sm' eg. <%=firstID%>sm.jpg
- zip up the screen shots in a .zip and send them to Tigger-oN (lvl@ebom.org), make sure you include the subject *q3a beta map screen shots*
- wait for screens shots to be uploaded (takes anywhere up to 24hours)
If either file size is LARGER than what is stated above make sure the subject line of the email is *oversize q3a beta map screen shots*.
This way we can re-size the images to fit the requirements. We will not take shots for you. We will ONLY upload the .jpg's (and re-size if required!)
|