/ 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
HTML ?
Fra : Søren


Dato : 10-12-08 17:32

Hej..

Er dette html ? Har nemlig brug for lidt hjælp med det

Mvh Søren


<!-- Begin
function textCounter(field, countfield, maxlimit)
{if (field.value.length > maxlimit) field.value = field.value.substring(0,
maxlimit);
else countfield.value = maxlimit - field.value.length;}
function eraseValue(field){ field.value = ''; }
// End -->
</script>
<tr class="table_body_light"><td
width=200><?=$lang_reg_48?></td><td><textarea name="aboutme" cols="60"
rows="6" onKeyDown="textCounter(this.form.aboutme,this.form.remLen,1000);"
onKeyUp="textCounter(this.form.aboutme,this.form.remLen,1000);"></textarea><br><font
size=1>Karakterer tilbage</font>&nbsp;<input readonly type="text"
name="remLen" size="3" maxlength="5" value="1000"></td></tr>
<?}?>


 
 
Philip Nunnegaard (10-12-2008)
Kommentar
Fra : Philip Nunnegaard


Dato : 10-12-08 17:56

"Søren" <s.thomsen@mail.dk> skrev

> Er dette html ? Har nemlig brug for lidt hjælp med det

Det kommer an på hvilket af det du har problemer med.
Noget af det er javascript, mens andet er html med lidt php pakket ind.

> <!-- Begin

Jeg går ud fra at der før ovenstående står noget i retning af:
<script type="text/javascript">

Ellers får du nok problemer med at afvikle scriptet.
Ligeledes kan det muligvis give problemer hvis javascript-blokken er
placeret i <body>-delen (som det umiddelbart ser ud af det kodesnip du har
vedlagt) - og ikke i <head>.

Men det bedste ville altså være et link til siden, så vi kan se koden i
kontekst.


Søren (10-12-2008)
Kommentar
Fra : Søren


Dato : 10-12-08 23:35


"Philip Nunnegaard" <nunnenospam@hitsurf.dk> skrev i meddelelsen
news:493ff48a$0$56778$edfadb0f@dtext02.news.tele.dk...
> "Søren" <s.thomsen@mail.dk> skrev
>
>> Er dette html ? Har nemlig brug for lidt hjælp med det
>
> Det kommer an på hvilket af det du har problemer med.
> Noget af det er javascript, mens andet er html med lidt php pakket ind.
>
>> <!-- Begin
>
> Jeg går ud fra at der før ovenstående står noget i retning af:
> <script type="text/javascript">
>
> Ellers får du nok problemer med at afvikle scriptet.
> Ligeledes kan det muligvis give problemer hvis javascript-blokken er
> placeret i <body>-delen (som det umiddelbart ser ud af det kodesnip du har
> vedlagt) - og ikke i <head>.
>
> Men det bedste ville altså være et link til siden, så vi kan se koden i
> kontekst.

Du kan se hele koden herunder..
Men kan det være den side, hvor teksten skal vises på, som skal ændres ?

Hilsen Søren

<?php
include_once 'includes/config.php';
include 'languages/default/'.C_LANG.'.php';
include_once 'templates/header.php';
include_once 'includes/countrys.php';
include 'layout/menu.php';
include 'layout/menubar.php';
?>

<!-- Register -->

<script language="JavaScript">
<!--
function formCheck(form) {
if (form.usr_name.value == "") {alert( "<?=$lang_form_7?> ");return false ;}
if (form.usr_pass.value == "") {alert( "<?=$lang_form_8?> ");return false ;}
if (form.e_mail.value == "") {alert( "<?=$lang_form_2?> ");return false ;}
validRegExp = /^[^@]+@[^@]+.[a-z]{2,}$/i;
strEmail = form.e_mail.value;

if (strEmail.search(validRegExp) == -1)
{
alert('You have entered an invalid email address. ');return false;
}

<?if (REQ_FN){?>if (form.firstname.value == "") {alert( "<?=$lang_form_1?>
");return false ;}<?}?>
<?if (REQ_GNDR){?>if (form.gender.value == "") {alert( "<?=$lang_form_9?>
");return false ;}<?}?>
<?if (REQ_AGE){?>
if (form.age.value == "0") {alert( "<?=$lang_form_10?> ");return false ;}
if (form.day.value == "") {alert( "<?=$lang_form_11?> ");return false ;}
if (form.month.value == "") {alert( "<?=$lang_form_12?> ");return false ;}
if (form.year.value == "") {alert( "<?=$lang_form_13?> ");return false ;}
<?}?>
<?if (REQ_MS){?>if (form.mar_status.value == "") {alert( "<?=$lang_form_14?>
");return false ;}<?}?>
<?if (REQ_CTY){?>if (form.city.value == "") {alert( "<?=$lang_form_15?>
");return false ;}<?}?>
<?if (REQ_CTRY){?>if (form.location.value == "0") {alert(
"<?=$lang_form_16?> ");return false ;}<?}?>
<?if (REQ_ABME){?>if (form.aboutme.value == "") {alert( "<?=$lang_form_17?>
");return false ;}<?}?>
<?if (DATING){?>
if (form.seek_gender.value =="") {alert( "<?=$lang_form_18?> ");return false
;}
if (form.minage.value =="0") {alert( "<?=$lang_form_19?> ");return false ;}
if (form.maxage.value =="0") {alert( "<?=$lang_form_20?> ");return false ;}
if (form.seek_purpose.value =="") {alert( "<?=$lang_form_21?> ");return
false ;}
<?}?>

if (!(form.terms.checked)) {alert( "<?=$lang_form_22?> ");return false ;}
}
// -->
</script>

<?
if(sizeof($_POST)){
$_POST = strip_tags($_POST);
$maxsize = PHOTOSIZE; // photo size - set in config.php
$usr_name = ereg_replace (" ", "", $usr_name); // remove spaces from
username

if ($action!='update'){
$tmp=mysql_query("SELECT DISTINCT * FROM pro_membersu_privchatf WHERE
usrname='$usr_name' OR e_mail='$e_mail' order by id DESC LIMIT 1");
while($i=mysql_fetch_array($tmp)) {
if ($i['usrname'] == $usr_name){$reg_error='Username';}
if ($i['e_mail'] == $e_mail){$reg_error='Email';}
?>
<table class="table_body" width="900"><tr><td>
<br><br><br><br><br><br>
<table width="900" class=body_text cellpadding=0><tr><td align=center
valign=middle>
<br><br>
<font color=red><b><?=$lang_reg_1?></b></font><br>
<?=$reg_error?> <?=$lang_reg_2?>
<br><br>
<a href="javascript:history.back()"><?=$lang_reg_3?></font>
</td></tr></table>
<br><br><br><br><br><br>
<br><br><br>
<?
include_once 'templates/footer.php';
return;
}
}

//// CHECK MEMBERSHIP EXISTS OR IS NEW ////
$sql = "SELECT * FROM pro_membersu_privchatf WHERE usrname = '$usr_name'
LIMIT 1";
$result=mysql_query($sql);
$num_rows = mysql_num_rows($result);

if (
FREE_MEMBERSHIP && FREE_GENDER =='1' && $gender==$lang_browse_7 ||
FREE_MEMBERSHIP && FREE_GENDER =='2' && $gender==$lang_browse_8 ||
FREE_MEMBERSHIP && FREE_GENDER =='3' && $gender==$lang_browse_9 ||
FREE_MEMBERSHIP && FREE_GENDER =='4'
){
$expires_date = date('U', strtotime('+'.FREE_DURATION.' days'));
$mlevel='1';
}

$file = $_FILES['file']['tmp_name'];

if ($file !='' and $num_rows <='0'){
$file_name = $_FILES['file']['name'];
$new_name = $usr_name;

if ($_FILES['file']['size']>$maxsize) $status = "$lang_reg_4<br>$lang_reg_5
$maxsize bytes.";
if (($_FILES['file']['type']!="image/gif") &&
($_FILES['file']['type']!="image/jpeg") &&
($_FILES['file']['type']!="image/jpg") &&
($_FILES['file']['type']!="image/pjpeg")) $status .= $lang_reg_6;
$picext = substr($file_name,-3);
$picext = strtolower($picext);
if ((!$status) && ($picext!="gif") && ($picext!="jpg") && ($picext!="peg"))
$status .= $lang_reg_6;

if (!$status){

$file_name = str_replace(' ', '_', $new_name.'.'.$picext);
if(file_exists("./members/uploads/".$file_name.".".$picext)){unlink("./members/uploads/".$file_name.".".$picext);}
@copy($file, "./members/uploads/".$file_name);
chmod("./members/uploads/".$file_name, 0644);
}

$aboutme = preg_replace("/([^\s]{25})/","$1 ",$aboutme);
$birthday = $day."-".$month."-".$year;
$seeking_ages = $minage."-".$maxage;
$location = $wcr[$location];
$seek_location = $wcr[$seek_location];
if(C_APPR_MEMBER=='0'){$admin_check='0';}else{$admin_check='1';}
$firstname = ereg_replace ("'", "", $firstname);
$lastname = ereg_replace ("'", "", $lastname);
$city = ereg_replace ("'", "", $city);
$birthday = ereg_replace ("'", "", $birthday);
$usr_name = ereg_replace ("'", "", $usr_name);
$usr_pass = ereg_replace ("'", "", $usr_pass);
$e_mail = ereg_replace ("'", "", $e_mail);
$aboutme = ereg_replace ("'", "", $aboutme);
$sql = "INSERT INTO pro_membersu_privchatf (firstname, lastname,
seek_location, city, seek_purpose, seek_age, seek_gender, mar_status,
birthday, usrname, usrpassword, e_mail, age, gender, location, hobbies,
aboutme, photo, terms, date, admin_check, expires_date, memberlevel)
VALUES ('$firstname', '$lastname', '$seek_location', '$city',
'$seek_purpose', '$seeking_ages', '$seek_gender', '$mar_status',
'$birthday', '$usr_name', '$usr_pass', '$e_mail', '$age', '$gender',
'$location', '$hobbies', '$aboutme', '$file_name', '$terms', NOW(),
'$admin_check', '$expires_date', '$mlevel')";mysql_query($sql) or
die(mysql_error());

$tmp=mysql_query("SELECT * FROM pro_membersu_privchatf WHERE usrname =
'$usr_name' order by id DESC LIMIT 1");
while($e=mysql_fetch_array($tmp)) {$new_member = ($e['usrname']);$new_id =
($e['id']);}
$system_c = date("U");$today = date("M j, Y - g:i a");
$sql = "INSERT INTO pro_membersu_privchatd (memberid, membername, status,
ontime, active) VALUES ('$new_id', '$new_member', 'Online', '$today',
'$system_c')";mysql_query($sql) or die(mysql_error());
$sql = "INSERT INTO pro_membersu_privchatk (userid, username, view_page)
VALUES ('$new_id', '$new_member', 'online')";mysql_query($sql) or
die(mysql_error());

$fromname = C_ADMINM; // site name
$fromaddress = C_MAIL; // email address
$subject = C_SNAME." - membership details";
if(C_APPR_MEMBER=='0'){
$body = $lang_reg_7." ".$usr_name."\n\n".$lang_reg_8."
".C_SNAME."\n".$lang_reg_9."\n\n".$lang_reg_10.":
".$usr_name."\n".$lang_reg_11.": ".$usr_pass."\n".$lang_reg_12.":
".$e_mail."\n\n".$lang_reg_13."\n\n\n".$lang_reg_14.",\n".C_ADMINM."\n".C_URL;
}else{
$body = $lang_reg_7." ".$usr_name."\n\n".$lang_reg_8."
".C_SNAME."\n".$lang_reg_9."\n\n".$lang_reg_10.":
".$usr_name."\n".$lang_reg_11.": ".$usr_pass."\n".$lang_reg_12.":
".$e_mail."\n\n".$lang_reg_13."\n\n".$lang_reg_13b."\n".C_URL."/activate.php?u=".$new_id."&a=".md5(date("U"))."\n\n\n".$lang_reg_14.",\n".C_ADMINM."\n".C_URL;
}
$to = $e_mail;
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
if (mail($to, $subject, $body, $headers)){echo("");} else {echo("");}

//// END //////////////////////////

}

elseif ($file =='' and $num_rows <='0'){
$aboutme = preg_replace("/([^\s]{25})/","$1 ",$aboutme);
$birthday = $day."-".$month."-".$year;
$seeking_ages = $minage."-".$maxage;
$location = $wcr[$location];
$seek_location = $wcr[$seek_location];
if(C_APPR_MEMBER=='0'){$admin_check='0';}else{$admin_check='1';}
$firstname = ereg_replace ("'", "", $firstname);
$lastname = ereg_replace ("'", "", $lastname);
$city = ereg_replace ("'", "", $city);
$birthday = ereg_replace ("'", "", $birthday);
$usr_name = ereg_replace ("'", "", $usr_name);
$usr_pass = ereg_replace ("'", "", $usr_pass);
$e_mail = ereg_replace ("'", "", $e_mail);
$aboutme = ereg_replace ("'", "", $aboutme);
$sql = "INSERT INTO pro_membersu_privchatf (firstname, lastname,
seek_location, city, seek_purpose, seek_age, seek_gender, mar_status,
birthday, usrname, usrpassword, e_mail, age, gender, location, hobbies,
aboutme, terms, date, photo, admin_check, expires_date, memberlevel)
VALUES ('$firstname', '$lastname', '$seek_location', '$city',
'$seek_purpose', '$seeking_ages', '$seek_gender', '$mar_status',
'$birthday', '$usr_name', '$usr_pass', '$e_mail', '$age', '$gender',
'$location', '$hobbies', '$aboutme', '$terms', NOW(), '$photo',
'$admin_check', '$expires_date', '$mlevel')";mysql_query($sql) or
die(mysql_error());

$tmp=mysql_query("SELECT * FROM pro_membersu_privchatf WHERE usrname =
'$usr_name' order by id DESC LIMIT 1");
while($e=mysql_fetch_array($tmp)) {$new_member = ($e['usrname']);$new_id =
($e['id']);}
$system_c = date("U");$today = date("M j, Y - g:i a");
$sql = "INSERT INTO pro_membersu_privchatd (memberid, membername, status,
ontime, active) VALUES ('$new_id', '$new_member', 'Online', '$today',
'$system_c')";mysql_query($sql) or die(mysql_error());
$sql = "INSERT INTO pro_membersu_privchatk (userid, username, view_page)
VALUES ('$new_id', '$new_member', 'online')";mysql_query($sql) or
die(mysql_error());

$fromname = C_ADMINM; // site name
$fromaddress = C_MAIL; // email address
$subject = C_SNAME." - membership details";
if(C_APPR_MEMBER=='0'){
$body = $lang_reg_7." ".$usr_name."\n\n".$lang_reg_8."
".C_SNAME."\n".$lang_reg_9."\n\n".$lang_reg_10.":
".$usr_name."\n".$lang_reg_11.": ".$usr_pass."\n".$lang_reg_12.":
".$e_mail."\n\n".$lang_reg_13."\n\n\n".$lang_reg_14.",\n".C_ADMINM."\n".C_URL;
}else{
$body = $lang_reg_7." ".$usr_name."\n\n".$lang_reg_8."
".C_SNAME."\n".$lang_reg_9."\n\n".$lang_reg_10.":
".$usr_name."\n".$lang_reg_11.": ".$usr_pass."\n".$lang_reg_12.":
".$e_mail."\n\n".$lang_reg_13."\n\n".$lang_reg_13b."\n".C_URL."/activate.php?u=".$new_id."&a=".md5(date("U"))."\n\n\n".$lang_reg_14.",\n".C_ADMINM."\n".C_URL;
}
$to = $e_mail;
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n";
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
if (mail($to, $subject, $body, $headers)){echo("");} else {echo("");}

//// END //////////////////////////

}

elseif ($file !='' and $num_rows >='1'){

$file_name = $_FILES['file']['name'];
$new_name = $usr_name;

if ($_FILES['file']['size']>$maxsize) $status =
"$lang_reg_4<br>$lang_reg_5";
if (($_FILES['file']['type']!="image/gif") &&
($_FILES['file']['type']!="image/jpeg") &&
($_FILES['file']['type']!="image/jpg") &&
($_FILES['file']['type']!="image/pjpeg")) $status .= $lang_reg_6;
$picext = substr($file_name,-3);
$picext = strtolower($picext);
if ((!$status) && ($picext!="gif") && ($picext!="jpg") && ($picext!="peg"))
$status .= $lang_reg_6;

if (!$status){

$file_name = str_replace(' ', '_', $new_name.'.'.$picext);
if(file_exists("./uploads/".$file_name.".".$picext)){unlink("./uploads/".$file_name.".".$picext);}
@copy($file, "./uploads/".$file_name);
chmod("./uploads/".$file_name, 0644);
}

$aboutme = preg_replace("/([^\s]{25})/","$1 ",$aboutme);
$sql = "UPDATE pro_membersu_privchatf SET usrname='$usr_name',
usrpassword='$usr_pass', e_mail='$e_mail', age='$age', gender='$gender',
location='$location', hobbies='$hobbies', aboutme='$aboutme',
photo='$file_name', terms='$terms', date = NOW(''), website='$site_id' WHERE
usrname = '$usr_name'";;mysql_query($sql);
}

elseif ($file =='' and $num_rows >='1'){
$aboutme = preg_replace("/([^\s]{25})/","$1 ",$aboutme);
$sql = "UPDATE pro_membersu_privchatf SET usrname='$usr_name',
usrpassword='$usr_pass', e_mail='$e_mail', age='$age', gender='$gender',
location='$location', hobbies='$hobbies', aboutme='$aboutme',
terms='$terms', date = NOW('') WHERE usrname =
'$usr_name'";;mysql_query($sql);
}

else{}
?>
<table class="table_body" width="800"><tr><td>
<br><br><br><br>
<table width="780" border="0"><tr><td
align="center"><h4><?=$lang_reg_15?></h4></td></tr></table>
<table width="900" height="250" class="body_text" cellpadding="0">
<tr><td align="center" valign="top">
<?if(C_APPR_MEMBER!='0'){?>
<?=$lang_reg_61?>
<?}else{?>
<?=$lang_reg_16?><br><?=$lang_reg_17?> <a
href="login.php"><?=$lang_reg_18?></a>.
<?}?>
</td></tr></table>
<?
include_once 'templates/footer.php';
return;
}
?>
<table class="table_body" width="900"><tr><td>
<table width="850"><tr>
<div align="left"></div>
<td class="body_text">
<div align="left"></div>

<br>

<!-- page title -->
<table width="850" border="0"><tr><td
align="center"><h4><?=$lang_reg_19?></h4></td></tr>
<tr><td align="center" class="body_text">
<?=$lang_reg_20?><br>
</td></tr></table>

<?if (isset($pro_name)){?><br><center><font
color=red><b><?=$lang_reg_23?></b></font> <a
href="members.php">(<?=$lang_reg_24?>)</a></center><?}?>

<form enctype="multipart/form-data" method="post" action="register.php"
name=form OnSubmit="return formCheck(this)">
<div align="left"></div>

<input type="hidden" name="MAX_FILE_SIZE" value="<?=$maxsize?>">
<table align=center border="0" width="600" cellpadding="10">
<tr><td valign="top" width="120">

<!-- showcase existing members -->



<!-- registration details -->
</td><td valign="top" align=center>

<table align="center" cellspacing="0" width="700" border="0"
cellpadding="0">
<tr><td height="12" background="images/<?=C_STYLE?>/bg.gif"
class="body_title">
<div class="tl"><div class="tr">&nbsp;<?=$lang_reg_26?> <font
size=1>(<?=$lang_reg_27?>)</font></div></div></td></tr></table>

<table cellspacing="0" width="700" class="table_border" border="0"
cellpadding="4">
<tr class="table_body"><td colspan=2><b><?=$lang_reg_28?></b></td></tr>
<tr class="table_body"><td width=150><?=$lang_reg_29?></td><td><input
type="text" name="usr_name" value="" minlength="2" maxlength="16"></td></tr>
<tr class="table_body"><td width=150><?=$lang_reg_30?></td><td><input
type="password" name="usr_pass" value="" minlength="2"
maxlength="25"></td></tr>
<tr class="table_body"><td width=150><?=$lang_reg_31?></td><td><input
type="text" name="e_mail" value="" ></td></tr>
<?if (REQ_PR){?>
<tr class="table_body"><td colspan=2>&nbsp;</td></tr>
<tr class="table_body_light"><td
colspan=2><b><?=$lang_reg_31a?></b></td></tr>
<?}?>
<?if (REQ_FN){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_32?></td><td><input
type="text" name="firstname" value="" minlength="2"
maxlength="20"></td></tr>
<tr class="table_body_light"><td width=150><?=$lang_reg_33?></td><td><input
type="text" name="lastname" value="" minlength="2" maxlength="20"></td></tr>
<?}?>
<?if (REQ_GNDR){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_34?></td><td>
<select name="gender">
<option value=""><?=$lang_reg_18a?>
<option value="<?=$lang_browse_7?>"><?=$lang_browse_7?>
<option value="<?=$lang_browse_8?>"><?=$lang_browse_8?>
<option value="<?=$lang_browse_9a?>"><?=$lang_browse_9?>
</select>
</td></tr>
<?}?>
<?if (REQ_AGE){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_35?></td>
<td>
<select name="age"><option value="0"> -----
<?for($p=MINAGE;$p<MAXAGE+1;$p++) {echo '<option>'.$p;}?>
</select></td>
</tr>
<tr class="table_body_light"><td width=150><?=$lang_reg_36?></td>
<td>
<font size="1">
<input type="text" name="day" maxlength="2" size="2"> (<?=$lang_reg_37?>)
<input type="text" name="month" maxlength="2"size="2"> (<?=$lang_reg_38?>)
<input type="text" name="year" maxlength="4" size="4">
(<?=$lang_reg_39?>)</font></tr>
<?}?>
<?if (REQ_MS){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_40?></td><td>
<select name="mar_status">
<option value=""><?=$lang_reg_18a?>
<option value="<?=$lang_reg_41?>"><?=$lang_reg_41?>
<option value="<?=$lang_reg_42?>"><?=$lang_reg_42?>
<option value="<?=$lang_reg_43?>"><?=$lang_reg_43?>
<option value="<?=$lang_reg_44?>"><?=$lang_reg_44?>
<option value="<?=$lang_reg_45?>"><?=$lang_reg_45?>
</select></td></tr>
</td></tr>
<?}?>
<?if (REQ_CTY){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_46?></td><td>
<input type="text" name="city" value=""></td></tr>
<?}?>
<?if (REQ_CTRY){?>
<tr class="table_body_light"><td width=150><?=$lang_reg_47?></td><td>
<select name="location"><option value="0"> -----
<? $p=0;asort($wcr);reset($wcr);
while (list ($p, $val) = each ($wcr)) {
echo '<option value="'.$p.'">'.$val;
}
?>
</select>
</td></tr>
<?}?>
<?if (REQ_ABME){?>
<script language="JavaScript">
<!-- Begin
function textCounter(field, countfield, maxlimit)
{if (field.value.length > maxlimit) field.value = field.value.substring(0,
maxlimit);
else countfield.value = maxlimit - field.value.length;}
function eraseValue(field){ field.value = ''; }
// End -->
</script>
<tr class="table_body_light"><td
width=200><?=$lang_reg_48?></td><td><textarea name="aboutme" cols="60"
rows="6" onKeyDown="textCounter(this.form.aboutme,this.form.remLen,1000);"
onKeyUp="textCounter(this.form.aboutme,this.form.remLen,1000);"></textarea><br><font
size=1>Karakterer tilbage</font>&nbsp;<input readonly type="text"
name="remLen" size="3" maxlength="5" value="1000"></td></tr>
<?}?>
<?if(DATING){?>
<tr class="table_body_light"><td colspan=2>&nbsp;</td></tr>
<tr class="table_body"><td colspan=2><b><?=$lang_reg_49?></b></td></tr>

<tr class="table_body"><td width=150><?=$lang_browse_12?></td><td>
<select name="seek_gender">
<option value=""><?=$lang_reg_18a?>
<option value="<?=$lang_browse_7?>"><?=$lang_browse_7?>
<option value="<?=$lang_browse_8?>"><?=$lang_browse_8?>
<option value="<?=$lang_browse_9a?>"><?=$lang_browse_9a?>
</select>
</td></tr>

<tr class="table_body"><td width=150><?=$lang_browse_13?></td><td>
<select name="minage"><option value="0"> -----
<?for($p=18;$p<101;$p++) {echo '<option>'.$p;}?>
</select>
&nbsp;<?=$lang_browse_17?>&nbsp;
<select name="maxage"><option value="0"> -----
<?for($p=18;$p<101;$p++) {echo '<option>'.$p;}?>
</select>
</td></tr>

<tr class="table_body"><td width=150><?=$lang_browse_14?></td><td>
<select name="seek_location"><option value="0"> -----
<? $p=0;asort($wcr);reset($wcr);
while (list ($p, $val) = each ($wcr)) {
echo '<option value="'.$p.'">'.$val;
}
?>
</select>
</td></tr>
<tr class="table_body"><td width=150><?=$lang_reg_50?></td><td>
<select name="seek_purpose">
<option value=""><?=$lang_reg_18a?>
<option value="<?=$lang_reg_51?>"><?=$lang_reg_51?>
<option value="<?=$lang_reg_52?>"><?=$lang_reg_52?>
<option value="<?=$lang_reg_53?>"><?=$lang_reg_53?>
<option value="<?=$lang_reg_54?>"><?=$lang_reg_54?>
<option value="<?=$lang_reg_55?>"><?=$lang_reg_55?>
</select>
</td></tr>
<tr class="table_body"><td colspan=2>&nbsp;</td></tr>
<?}?>
<?if (REQ_PIC){?>
<tr class="table_body_light"><td
colspan=2><b><?=$lang_reg_56?></b></td></tr>
<tr class="table_body_light"><td width=150><?=$lang_reg_57?></td><td>
<input class=input type=file name="file<?=$i?>">
</td></tr>
<?}?>
<tr class="table_body_light"><td width=150>&nbsp;</td><td><input
type="checkbox" name="terms" value="yes" CHECKED><?=$lang_reg_58?> <a
href="terms.php" target="_blank"><?=$lang_reg_59?></a>.</td></tr>
<tr class="table_body"><td width=150>&nbsp;</td><td>
<?if(!isset($pro_name)){?>
<input type="submit" name="submit" value="<?=$lang_reg_60?>">
<?}else{?>
<input type="button" name="reset" value="<?=$lang_reg_60?>" onClick="return
false;">
<?}?>
</td></tr>
</table>
</td></tr>
</table>
</td>
<div align="left"></div>
</tr>
<div align="left"></div>
</table>
</form>
<?
include_once 'templates/footer.php';
?>



Allan Vebel (11-12-2008)
Kommentar
Fra : Allan Vebel


Dato : 11-12-08 00:10

Søren skrev:

>> Men det bedste ville altså være et link til
>> siden, så vi kan se koden i kontekst.

Det var da ikke et link, som Phillip bad om

> Du kan se hele koden herunder.

Vi kan ikke bruge 20k kode til noget, der er
ingen der gider at klippe det ud, gemme det i
en fil, og lægge det ud på en server for at teste
det.

I øvrigt er der heller ingen der kan få det til at
fungere - der mangler dine "includes", og du har
sikkert også nogle billeder, der ikke kan ses på
den måde.

Hvorfor gør du ikke bare hvad du bliver bedt om?

--
Allan Vebel
http://html-faq.dk
http://vebel.dk



Kim Ludvigsen (11-12-2008)
Kommentar
Fra : Kim Ludvigsen


Dato : 11-12-08 01:11

Allan Vebel skrev:

> Hvorfor gør du ikke bare hvad du bliver bedt om?

Det ville også hjælpe betydeligt, hvis Søren fortalte, hvad
det er, han vil have hjælp med.

Søren: Fortæl os, hvad der ikke fungerer, som du forventer.
Tjek gerne denne side:
http://infimum.dk/HTML/hjaelpmig.html

--
Mvh. Kim Ludvigsen
http://pc-sikkerhed.dk

Søren (11-12-2008)
Kommentar
Fra : Søren


Dato : 11-12-08 17:42


>>> Men det bedste ville altså være et link til
>>> siden, så vi kan se koden i kontekst.
>
> Det var da ikke et link, som Phillip bad om
>
>> Du kan se hele koden herunder.
>
> Vi kan ikke bruge 20k kode til noget, der er
> ingen der gider at klippe det ud, gemme det i
> en fil, og lægge det ud på en server for at teste
> det.
>
> I øvrigt er der heller ingen der kan få det til at
> fungere - der mangler dine "includes", og du har
> sikkert også nogle billeder, der ikke kan ses på
> den måde.
>
> Hvorfor gør du ikke bare hvad du bliver bedt om?
>

---------------------------------
Hej.. det er disse 2 link..

Har skrevet sådan, ved oprettlesen.....

Hej..
Nu håber jeg det virker
Hilsen mig

Men når siden vises, ser det sådan ud...

Hej.. Nu håber jeg det virker Hilsen mig



http://www.test.vardeportalen.dk/register.php

http://www.test.vardeportalen.dk/profile.php?user=igenigen


Søren


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

Månedens bedste
Årets bedste
Sidste års bedste