/ Forside / Teknologi / Udvikling / HTML / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
HTML
#NavnPoint
molokyle 11184
Klaudi 5506
bentjuul 3377
severino 2040
smorch 1950
strarup 1525
natmaden 1396
scootergr.. 1320
e.c 1150
10  miritdk 1110

</tr>
<tr align="center">
<td colspan="2"><div align="left"><p><font color="white"
face="arial,helvetica,verdana" size="3"><b>New Article:</b></font></p>
</div><p><!--webbot bot="Validation"
B-Value-Required="TRUE" --><textarea cols="66" name="body" rows="9"
wrap="virtual" style="font-family: Verdana; color:
rgb(255,0,0)"></textarea></td>
</tr>
<tr align="center">
<td colspan="2"><div align="left"></div></td>
</tr>
</table>
</center></div></dd>
</dl>
<div align="center"><center><table border="0" cellpadding="2"
cellspacing="0" background="Img/baggrnd.jpg">
<tr>
<td colspan="13"><div align="center"><center><p><strong>Choose a
pic!</strong></td>
</tr>
<tr align="center">
<td><div align="center"><center><p><img src="Img/01.gif" WIDTH="15"
HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/02.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/03.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/04.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/05.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/06.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/07.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/08.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/09.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/10.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/11.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/12.gif" WIDTH="15" HEIGHT="15"></td>
<td align="center"><div align="center"><center><p><img
src="Img/13.gif" WIDTH="15" HEIGHT="15"></td>
</tr>
<tr align="center">
<td><input type="radio" value="01" checked name="funimg"></td>
<td><input type="radio" name="funimg" value="02"></td>
<td><input type="radio" name="funimg" value="03"></td>
<td><input type="radio" name="funimg" value="04"></td>
<td><input type="radio" name="funimg" value="05"></td>
<td><input type="radio" name="funimg" value="06"></td>
<td><input type="radio" name="funimg" value="07"></td>
<td><input type="radio" name="funimg" value="08"></td>
<td><input type="radio" name="funimg" value="09"></td>
<td><input type="radio" name="funimg" value="10"></td>
<td><input type="radio" name="funimg" value="11"></td>
<td><input type="radio" name="funimg" value="12"></td>
<td><input type="radio" name="funimg" value="13"></td>
</tr>
</table>
</center></div><div align="center"><center><p><input type="submit"
value="Save"><input type="reset" value="Delete All"></p>
</center></div>
</form>
</body>
</html>

Nogle ideer?
vh Gimmer



tagwall?
Fra : Gimmer


Dato : 15-01-05 13:52

Hej..
Jeg har forsøgt at lave en tagwall på www.gimsing.net/Add.asp
Jeg aner bare ikke hvad der er galt...
Add.asp ser således ud... og den skriver fejl i linie 28.

<%
Response.Buffer = True
if Request.ServerVariables("REQUEST_METHOD") = "POST" then

Response.Cookies("TagWall")("Name") = Request.Form("name")
Response.Cookies("TagWall")("Email") = Request.Form("Email")
Response.Cookies("TagWall")("Url") = Request.Form("Url")
Response.Cookies("TagWall").Expires = Date+365
End If
Name = Request.Cookies("TagWall")("Name")
Email = Request.Cookies("TagWall")("Email")
Url = Request.Cookies("TagWall")("Url")
%>
<%
Const adOpenKeyset = 1
Const adLockOptimistic = 3


tempConn = "PROVIDER=MSDASQL;DRIVER={Microsoft Access Driver (*.mdb)};DBQ="
& Server.MapPath("TagWall.mdb") & ";UID=admin;PWD=;"
if Request.ServerVariables("REQUEST_METHOD") = "POST" then
Name = Trim(Request.Form("Name"))
Email = Trim(Request.Form("email"))
subject = Trim(Request.Form("subject"))
url = Trim(Request.Form("url"))
Body = Trim(Request.Form("Body"))
funimg = Trim(Request.Form("funimg"))
Set rs = Server.CreateObject("ADODB.RecordSet")
strSQL = "SELECT * FROM TagWall WHERE ID = 0"
rs.Open strSQL, tempConn, adOpenKeyset, adLockOptimistic
If (rs.BOF Or rs.EOF) Then
rs.AddNew
rs("Name") = Name
rs("email") = email
rs("subject") = subject
rs("url") = url
rs("Body") = Body
rs("funimg") = funimg
rs("Ip") = Request.ServerVariables("REMOTE_ADDR")
rs.Update
End If
rs.Close
Set rs = Nothing
End If
if Request.ServerVariables("REQUEST_METHOD") = "POST" then
Response.Redirect("Default.asp")
End If
%>
<html>

<head>
<title>Add Message</title>
</head>

<body aLink="#FFFFFF" link="#FFFFFF" text="#FFFFFF" vLink="#FFFFFF"
style="font-family: Verdana" background="img/back.jpg">
<font color="#FFFFFF">

<p align="center"><img src="img/AddMessage.gif" WIDTH="208" HEIGHT="41"></p>

<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script
Language="JavaScript"><!--
function FrontPage_Form1_Validator(theForm)
{

if (theForm.name.value == "")
{
alert("Please enter a value for the \"name\" field.");
theForm.name.focus();
return (false);
}

if (theForm.email.value == "")
{
alert("Please enter a value for the \"email\" field.");
theForm.email.focus();
return (false);
}

if (theForm.email.value.length > 75)
{
alert("Please enter at most 75 characters in the \"email\" field.");
theForm.email.focus();
return (false);
}

if (theForm.subject.value == "")
{
alert("Please enter a value for the \"subject\" field.");
theForm.subject.focus();
return (false);
}

if (theForm.subject.value.length > 75)
{
alert("Please enter at most 75 characters in the \"subject\" field.");
theForm.subject.focus();
return (false);
}

if (theForm.body.value == "")
{
alert("Please enter a value for the \"body\" field.");
theForm.body.focus();
return (false);
}
return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form
method="POST" action="Add.asp" onsubmit="return
FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
<dl>
<dd align="center"><div align="center"><center><table border="0"
cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"></td>
</tr>
<tr align="center">
<td><div align="left"><p></font><font color="#FFFFFF" size="2"
face="Verdana"><b>Name:</b></font></td>
<font><td><div align="left"><p><!--webbot bot="Validation"
B-Value-Required="TRUE" --><input name="name" size="30" style="font-weight:
bold; color: rgb(255,0,0); font-family: Verdana"
value="<%=Name%>"></font></td>
</tr>
<tr align="center">
<td><div align="left"><p><font color="#FFFFFF" size="2"
face="Verdana"><b>E-mail:</b></font></td>
<td><div align="left"><p><!--webbot bot="Validation"
B-Value-Required="TRUE" I-Maximum-Length="75" --><input name="email"
size="30" maxLength="75" style="color: rgb(255,0,0); font-weight: bold;
font-family: Verdana" value="<%=email%>"></td>
</tr>
<tr align="center">
<td><div align="left"><p><font color="#FFFFFF" size="2"
face="Verdana"><b>Subject:</b></font></td>
<td><div align="left"><p><!--webbot bot="Validation"
B-Value-Required="TRUE" I-Maximum-Length="75" --><input name="subject"
size="30" maxLength="75" style="font-weight: bold; color: rgb(255,0,0);
font-family: Verdana"></td>
</tr>
<tr>
<td><font color="#FFFFFF" size="2"
face="Verdana"><b>Homepage:</b></font></td>
<td><div align="left"><p><input type="text" name="Url" size="30"
style="font-weight: bold; color: rgb(255,0,0); font-family: Verdana"
value="<%=Url%>"><font face="Verdana" color="#FF0000"><strong><small>&nbsp;
Http://
 
 
jopa (15-01-2005)
Kommentar
Fra : jopa


Dato : 15-01-05 14:02

Gimmer skriblede bla:
> Hej..
> Jeg har forsøgt at lave en tagwall på www.gimsing.net/Add.asp
> Jeg aner bare ikke hvad der er galt...
> Add.asp ser således ud... og den skriver fejl i linie 28.

Prøv rigtig gruppe

news:dk.edb.internet.webdesign.serverside.asp



--

Mvh John
www.johns-web.dk
www.john.jp-web.dk
www.shoppen.jp-web.dk



Gimmer (15-01-2005)
Kommentar
Fra : Gimmer


Dato : 15-01-05 14:08

Ups... sorry.
vh Gimmer
"jopa" <admin@jp-web.invalid> wrote in message
news:41e91459$0$33701$edfadb0f@dread16.news.tele.dk...
> Gimmer skriblede bla:
>> Hej..
>> Jeg har forsøgt at lave en tagwall på www.gimsing.net/Add.asp
>> Jeg aner bare ikke hvad der er galt...
>> Add.asp ser således ud... og den skriver fejl i linie 28.
>
> Prøv rigtig gruppe
>
> news:dk.edb.internet.webdesign.serverside.asp
>
>
>
> --
>
> Mvh John
> www.johns-web.dk
> www.john.jp-web.dk
> www.shoppen.jp-web.dk
>



Søg
Reklame
Statistik
Spørgsmål : 177559
Tips : 31968
Nyheder : 719565
Indlæg : 6408935
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste