Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Name of the image

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
top Posted - 17 May 2012 : 05:30:50

Thanks in advance
I want to write the code name of the uploaded image when shown in this figure
<CENTER> 
<TABLE BORDER=1 WIDTH=506 Background="https://encrypted-tbn3.google.com/images?q=tbn:ANd9GcRXTgCb70pk-RNIRvAG3VBhbHxrIzj8lJQGwfy6aGqvG96IUuqE" height="419"> <TR><TD ALIGN=CENTER>
<h1 align="right"> <h1 align="right"> <h1 align="right"> <p align="right"> </p>
<p align="right"> </p>
<p align="right"> </p>
<h1 align="right">
<FONT COLOR="white" FACE="DecoType Naskh" SIZE="5"> Name image</FONT> </center> </marquee></TD></TR></TABLE></center>


Add a line to write the image name upload.html
Add a column name of the image inside the Database
Text to show the image with the code name

I need help
1   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 17 May 2012 : 19:00:23
Which mod does this belong to? Don't recall any upload program which used an "upload.html" file.

If you change that code to asp and response.write format, you could start with something like this. I'm assuming the image name you want displayed is the background image? If so, that name is probably in a field in the database already. So you'd change the (CONDITIONS) to say something like this ENCODED_IMAGE = '" & trim(Request.Form("imagecode")) & "'


<%
strSql = "SELECT IMAGE_NAME, ENCODED_IMAGE FROM [TABLE] WHERE (CONDITIONS)"
Set rsImage=my_Conn.Execute(strSql)
If not rsImage.EOF Then
	strImageName = rsImage("IMAGE_NAME")
	strEncodedImage = rsImage("ENCODED_IMAGE")
	rsImage.Close
End If
Set rsImage = Nothing
Response.Write	"<table align=""center"" border=""1"" width=""506px;"" background=""https://encrypted-tbn3.google.com/images?q=tbn:" & strEncodedImage & """ height=""419"">" & vbNewLine & _
	"	<tr valign=""middle"">" & vbNewLine & _
	"		<td align=""center"">" & vbNewLine & _
	"			<h1><br /><br /><br /><br /><br /><br /><br /></h1>" & vbNewLine & _
	"			<font color=""white"" face=""decotype naskh"" size=""5"">" & vbNewLine & _
	"				"<marquee onmouseover=""this.stop();"" onmouseout=""this.start();""><a href=""" & strImageURL & """ & strImageName & ">" & strImageName & "</a>" & vbNewLine & _
	"				</marquee>" & vbNewLine & _
	"			</font>" & vbNewLine & _
	"		</td>" & vbNewLine & _
	"	</tr>" & vbNewLine & _
	"</table>" & vbNewLine
%>

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.01 seconds. Powered By: Snitz Forums 2000 Version 3.4.07