Bar and Club Listings Featured Bands of the Month! Places open after 3am! Photo galleries of nightlife in broad ripple! Posts your thoughts about Broad Ripple!
<% ' FileName="Connection_odbc_conn_dsn.htm" ' Type="ADO" ' HTTP="false" ' Catalog="" ' Schema="" MM_connDUpics_STRING = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("_private\DUpics.mdb") %> <% '**************************************************************************************** '** Copyright Notice '** Copyright 2003 DUware All Rights Reserved. '** This program is free software; you can modify (at your own risk) any part of it '** under the terms of the License that accompanies this software and use it both '** privately and commercially. '** All copyright notices must remain in tacked in the scripts and the '** outputted HTML. '** You may use parts of this program in your own private work, but you may NOT '** redistribute, repackage, or sell the whole or any part of this program even '** if it is modified or reverse engineered in whole or in part without express '** permission from the author. '** You may not pass the whole or any part of this application off as your own work. '** All links to DUware and powered by logo's must remain unchanged and in place '** and must remain visible when the pages are viewed unless permission is first granted '** by the copyright holder. '** This program is distributed in the hope that it will be useful, '** but WITHOUT ANY WARRANTY; without even the implied warranty of '** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR ANY OTHER '** WARRANTIES WHETHER EXPRESSED OR IMPLIED. '** No official support is available for this program but you may post support questions at: - '** http://www.duware.com/support '**************************************************************************************** %> <% If Request.QueryString("iPic") <> "" Then set rsJustVoted = Server.CreateObject("ADODB.Recordset") rsJustVoted.ActiveConnection = MM_connDUpics_STRING rsJustVoted.Source = "SELECT * FROM PICTURES WHERE PIC_APPROVED = 1 AND PIC_ID = " & Request.QueryString("iPic") rsJustVoted.CursorType = 0 rsJustVoted.CursorLocation = 2 rsJustVoted.LockType = 3 rsJustVoted.Open() rsJustVoted_numRows = 0 Dim voteAverage, voteCount, voteValue voteCount = rsJustVoted.Fields.Item("PIC_VOTE_COUNT").Value voteValue = rsJustVoted.Fields.Item("PIC_VOTE_VALUE").Value If voteCount <> 0 Then voteAverage = (voteValue/voteCount) Dim imageWidth, imageHeight, imagePercent, imageFixWidth, imageFixHeight imageWidth = rsJustVoted.Fields.Item("PIC_WIDTH").Value imageHeight = rsJustVoted.Fields.Item("PIC_HEIGHT").Value imageFixWidth = 135 imagePercent = (imageFixWidth/imageWidth) imageFixHeight = (imageHeight*imagePercent) End If %>
<% If Request.QueryString("iPic") <> "" Then %> <% End If %>
" width="<%= imageFixWidth %>" height="<%= imageFixHeight %>">
<%=(rsJustVoted.Fields.Item("PIC_NAME").Value)%>
Your Vote: <%= Request.Cookies(Request.QueryString("iPic")) %>
Total Votes: <%= voteCount %>
Average: <%= FormatNumber(voteAverage, 1, -2, -2, -2) %>
 
» Vote 4 Males
» Vote 4 Females
» Submit Your Picture
» View All Pictures

Sponsored by:


<% If Request.QueryString("iPic") <> "" Then rsJustVoted.Close() End If %>

Get Listed On Broadripplenightlife.com Door cover charge pricing! Purchase tickets to events! Weekly specials at your favorite club/bar! Fun links and resources! Contact Broadripplenightlife.com
Copyright © 2003 Star Graphix Indianapolis, IN . All Rights Reserved.

Star Graphix - Where the sky is the limit!