%OPTION EXPLICIT%> <% If Session("loggedin") <> "1" Then Response.Redirect("photo_login.asp") End If Dim teaser_id : teaser_id = Request("id") If teaser_id <> "" Then Dim dir : dir = Request("d") Dim sortby : sortby = Request("num") If dir = "delete" Then Remove teaser_id, sortby Else Reorder teaser_id, sortby, dir End If End If %>
|
||||
|
||||||||||||||||||||
© 2008 Empire Entertainment, Inc. | Disclaimer |
<% Function GetTeasers() Dim tableStr tableStr = "
| Title (Click to edit) | Thumbnail | Order | |
| " & .Item("teaser_title") & " | " Response.Write ""
Response.Write .Item("teaser_sortby")
If .Item("teaser_sortby") > 1 Then
Response.Write " "
End If
If .Item("teaser_sortby") < oRs.RecordCount Then
Response.Write " "
End If
Response.Write " | "
Response.Write "