"Erik Ginnerskov" <erik.ginnerskov@live.dk> skrev i meddelelsen
news:49512d8f$0$90265$14726298@news.sunsite.dk...
> Søren wrote:
>> Ved ikke lige hvordan det er lavet, og hvad jeg skal fjerne.. Men det
>> ser sådan ud..
>
>> klip en masse kode
>
> Sådan laver du dit textarea uden begrænsninger:
>
> <textarea name="aboutme" cols="60" rows="10"></textarea>
>
> --
> Med venlig hilsen
> Erik Ginnerskov
>
http://hjemmesideskolen.dk -
http://ginnerskov.dk
>
http://vestfynswebdesign.dk -
http://html-faq.dk
Hej..
Det virker også fint nok.. der er ikke noget der tæller ned på den måde. Men
der er stadig begrænsning på den side teksten hentes ind på.. Og hvis man
kopierer tekst ind, kommer der slet ikke noget med ? Øv..
Siden teksten skal vises på, ser sådan ud. Ved ikke om det siger noget
Mvh Søren
<?php
$view_page='profile';
include_once 'includes/config.php';
include 'languages/default/'.C_LANG.'.php';
if(PROFILES>='1'){include_once 'includes/session.php';}
if(!isset($admin) && PROFILES=='2' &&
$p_member!='1'){header("Refresh:0;URL=premium.php");die;}
setcookie("vprofile", $user, 0, "/");
include_once 'templates/header.php';
include_once 'includes/countrys.php';
include 'layout/menu.php';
include 'layout/menubar.php';
if($addusr){$user = $addusr;}
$none = '<i>'.$lang_profile_1.'</i>';
$tmp=mysql_query("SELECT DISTINCT * FROM pro_membersu_privchatf WHERE
usrname = '".$user."' OR id = '".$user."' LIMIT 1");
while($i=mysql_fetch_array($tmp)) {$user=($i['usrname']);$_views =
($i['profile_views'])+1;
if($vprofile!=$user){
$sql = "UPDATE pro_membersu_privchatf set profile_views='$_views' where
usrname='$user'";mysql_query($sql);
}
?>
<table class="table_body" width="900"><tr><td>
<table width="780" border=0><tr><td>
<br>
<!-- page title -->
<table width="780" border="0"><tr><td align="center"><h4>
<?if($add=='1'){?>
<?=$lang_profile_2?>
<?}else{?>
<?}?>
<?if($add!='1'){?>
<?}?>
</table>
<table width="850" height="462" border="0" align="center" cellpadding="20">
<tr><td valign="top" align="left" class="body_text">
<?if ($add == '1' && $pro_id && $pro_name){include 'fav.php';return;}?>
<!-- members profile -->
<?
$_memberid = ($i['id']);
$_membername = ($i['usrname']);
$_memberlevel = ($i['memberlevel']);
$_age = ($i['age']); if($_age=='0'){$_age=' - ';}
$_gender = ($i['gender']);
$_website = ($i['website']);
$_photo = ($i['photo']);
$_location = ($i['location']);
$_aboutme = (nl2br($i['aboutme']));
$_birthday = ($i['birthday']);
$_city = ($i['city']);
$_mar_status = ($i['mar_status']);
$_firstname = ($i['firstname']);
$_lastname = ($i['lastname']);
$seek_age = ($i['seek_age']);
$seek_gender = ($i['seek_gender']);
$seek_purpose = ($i['seek_purpose']);
$seek_location = ($i['seek_location']);
//// CHECK ONLINE STATUS ////
$get_online=mysql_query("SELECT status FROM pro_membersu_privchatd WHERE
membername = '".$user."'");
while($_online=mysql_fetch_array($get_online)) {
$_is_online = ($_online['status']);
if ($_is_online=='Offline'){$_is_online='<font size=1
color=red>'.$_is_online.'</font><img src="off.gif" align=absmiddle height=12
width=12>';}
if ($_is_online=='Online'){$_is_online='<font size=1
color=green>'.$_is_online.'</font><img src="on.gif" align=absmiddle
height=12 width=12>';}
}
?>
<div align=center>
<a href="gallery/?member=<?=$user?>"><?=$lang_profile_5?></a>
<?
if(C_CHAT_MODULE){
if(isset($pro_name) && PRIVATE_CHAT=='1' || isset($pro_name) &&
PRIVATE_CHAT=='2'){?>
<?if(CHAT=='2' && $p_member=='1' || CHAT=='1'){?>
<a href="#"
onClick="window.open('messenger/index.php?rec=<?=$_memberid?>&snd=<?=$pro_id?>&new=1','<?=$_memberid?>','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=433,left=230,top=200');return
false;"><?=$lang_profile_9?></a> |
<?}else{?>
<a href="premium.php"><?=$lang_profile_9?></a> |
<?}?>
<?}else{?>
<a href="login.php"><?=$lang_profile_9?></a> |
<?}}?>
<?if ($pro_id && $pro_name){?>
<a
href="profile.php?user=<?=$user?>&add=1&addusr=<?=$_membername?>"><?=$lang_profile_10?></a></div>
<?}else{?>
<a href="login.php"><?=$lang_profile_10?></a></div>
<?}?>
<br>
<table align="center" cellspacing="0" width="800" border="0"
cellpadding="0">
<tr>
<td width="80%" height="12" background="images/<?=C_STYLE?>/bg.gif"
class="body_title">
<div class="tl"><div class="tr"> <?if ($_memberlevel=='1'){echo
$lang_premium_1;}?></div></div>
</td>
<td align="center" valign="top" width="20%" height="12"
background="images/<?=C_STYLE?>/bg.gif" class="body_title">
<div class="tl"><div class="tr"><?=$_is_online?></div></div>
</td>
</tr>
</table>
<table align=center cellspacing="0" cellpadding="0" border=0 width="800"
class="body_text">
<tr class="table_body"><td class="table_border" width=120 height=100%
valign=top align=left>
<?if($_photo=='' && $_gender==$lang_browse_7){?>
<img src="<?=C_URL?>/members/uploads/nopic_<?=$lang_browse_7s?>.jpg"
height=90 border=0>
<?}elseif($_photo=='' && $_gender==$lang_browse_8){?>
<img src="<?=C_URL?>/members/uploads/nopic_<?=$lang_browse_8s?>.jpg"
height=90 border=0>
<?}elseif($_photo=='' && $_gender==$lang_browse_9a){?>
<img src="<?=C_URL?>/members/uploads/nopic_<?=$lang_browse_9s?>.jpg"
height=90 border=0>
<?}elseif($_photo=='' && $_gender==''){?>
<img src="<?=C_URL?>/members/uploads/nopic.gif" height=90 border=0>
<?}else{?>
<a href="<?=C_URL?>/members/uploads/<?=$_photo?>" target="_blank">
<img src="<?=C_URL?>/members/uploads/<?=$_photo?>" height=90 border=0>
<br></a>
<?}?>
</td><td class="table_body_light" valign=top>
<table align=left cellspacing="0" cellpadding="4" border=0 width="100%"
class="body_text">
<tr><td>
<?
if($_firstname ==''){$_firstname=$none;}
if($_lastname ==''){$_lastname='';}
if($_gender ==''){$gender=$none;}
if($_age ==''){$_age=$none;}
if($_mar_status ==''){$_mar_status=$none;}
if($_birthday ==''){$_birthday=$none;}
if($_city ==''){$_city=$none;}
if($_location ==''){$_location=$none;}
if($_views ==''){$_views='none';}
if($_hobbies ==''){$_hobbies=$none;}
if($_aboutme ==''){$_aboutme=$none;}
?>
<b><?=$lang_profile_11?></b>: <?=$_membername?><br>
<?if (REQ_FN){?><b><?=$lang_profile_12?></b>: <?=$_firstname?>
<?=$_lastname?><br><?}?>
<?if (REQ_GNDR){?><b><?=$lang_profile_13?></b>: <?=$_gender?><br><?}?>
<?if (REQ_AGE){?><b><?=$lang_profile_14?></b>: <?=$_age?><br><?}?>
<?if (REQ_MS){?><b><?=$lang_profile_15?></b>: <?=$_mar_status?><br><?}?>
<?if (REQ_AGE){?><b><?=$lang_profile_16?></b>: <?=$_birthday?><br><?}?>
<?if (REQ_CTY){?><b><?=$lang_profile_17?></b>: <?=$_city?><br><?}?>
<?if (REQ_CTRY){?><b><?=$lang_profile_18?></b>: <?=$_location?><br><?}?>
<?if (REQ_POP){?><b><?=$lang_profile_19?></b>: <?=$_views?><br><?}?>
<?if (REQ_ABME){?><b><?=$lang_profile_21?></b>: <?=$_aboutme?><br><?}?>
<br>
</td><tr>
</table>
<?}?>
</td><tr></table>
<?if(DATING && $seek_gender!=''){?>
<br><br>
<table align=center cellspacing="0" cellpadding="0" border=0 width="800"
class=body_text>
<tr><td align=left>
<b><?=$_membername?></b> <?=$lang_profile_22?></b>: <?=$seek_gender?>,
<?=$lang_profile_23?> <?=$seek_age?> <?=$lang_profile_24?>
<?=$seek_location?> <?=$lang_profile_25?> <?=$seek_purpose?>.
</td><tr>
</table>
<?}?>
<?if (!$_membername || !$user){?>
<table cellspacing="0" height=100% cellpadding="0" border=0 width="800"
class=body_text>
<tr><td colspan="2" align=left class=body_text>
<b><font color=red><?=$lang_profile_26?>:</font></b>
<?=$lang_profile_27?><br>
<a href="<?=C_URL?>/"><?=$lang_profile_28?></a>
</td></tr>
<table>
<?}?>
</table>
</td></tr></table>
</td><td height="151"></tr></table>
<?
include_once 'templates/footer.php';
?>