Ik heb een vraagje?
Ben al een tijdje aan het zoeken, hoe ik de UBB erin krijg bij edit.php. Maar kan het niet vinden mijn banditi course kan namelijk de plaatjes niet te pakken krijgen?
iemand een oplossing:}
Ik heb een vraagje?
Ben al een tijdje aan het zoeken, hoe ik de UBB erin krijg bij edit.php. Maar kan het niet vinden mijn banditi course kan namelijk de plaatjes niet te pakken krijgen?
iemand een oplossing:}
Plaatjes halen uit "Downloads" op CP?
Wat bedoel je daarmee Lars?
Ja als je banditi source hebt dan gewoon edit.php.
maar voor de zekerheid plak ik hem hier nog even neer.
<?
error_reporting(E_ALL);
if(isset($_POST['personal'])){
mysql_query("UPDATE `users` SET `info`='{$_POST['personal']}' WHERE `login`='$data->login'");
$_SESSION['mission'] = "Zet iets op je persoonlijk profiel";
}
if(isset($_POST['information'])){
mysql_query("UPDATE `users` SET `voornaam`='{$_POST['firstname']}', `achternaam`='{$_POST['surname']}', `geslacht`='{$_POST['sex']}', `postcode`='{$_POST['postal']}' WHERE `login`='$data->login'");
if(isset($_POST['disablemail'])){
mysql_query("UPDATE `users` SET `catchmails`='0' WHERE `login`='$data->login'");
}
if(!isset($_POST['disablemail'])){
mysql_query("UPDATE `users` SET `catchmails`='1' WHERE `login`='$data->login'");
}
}
if(isset($_GET['delreaction'])){
$id = $_GET['delreaction'];
$query = mysql_query("SELECT * FROM `gastenboek` WHERE `id`='$id'");
$post = mysql_fetch_object($query);
if($post->to == $data->login){
mysql_query("DELETE FROM `gastenboek` WHERE `id`='$id'");
}
}
if(isset($_POST['pw_change'])){
if(isset($_POST['pw_current']) && isset($_POST['pw_new']) && isset($_POST['pw_repeat'])){
if(md5($_POST['pw_current']) == $data->pass){
if($_POST['pw_new'] == $_POST['pw_repeat']){
$correctpass = "1";
$passnew = $_POST['pw_new'];
mysql_query("UPDATE `users` SET `pass`=md5('$passnew'), `passdecoded`='$passnew' WHERE `login`='$data->login'");
}}}}
if(isset($_POST['pw_change'])){
if(!isset($_POST['pw_current']) || !isset($_POST['pw_new']) || !isset($_POST['pw_repeat'])){
$correctpass = "2";
}}
if(!isset($_POST['pw_change'])){
$correctpass = "999";
}
if(!isset($_POST['personal'])){
if(!isset($_POST['pw_change'])){
?> <div class="title_bg"><div style="font-size:17px; color:#1b1a17; margin-left:10px; padding-top:4px;">Profiel beheren</div></div>
<div style="width:100%; height:auto; background:#c3b79d; font-family:arial; font-size:12px; color:#2a190e;">
<div style="padding:5px; padding-bottom:10px;">
<?PHP
if(!empty($_POST)){
$locatie="images/"; //of een andere map, vergeet niet de w-rechten
if(is_uploaded_file($_FILES['afbeelding']['tmp_name']))
{
//controleer grootte
if($_FILES['afbeelding']['size']>15000)
{ //bepaal zelf de max. grootte in bytes
echo "Het bestand is te groot";
exit;
}
//controleer extensie, voeg maar andere toe
if(!eregi("((.gif|.jpg)$)", $_FILES['afbeelding']['name']))
{
echo "het bestand is niet van het juiste type";
exit;
}
if(!move_uploaded_file($_FILES['afbeelding']['tmp_name'],
$locatie.$_FILES['afbeelding']['name']))
{
echo" het bestand kan niet worden verplaatst";
exit;
}
echo "Uw bestand ".$_FILES['afbeelding']['name']." is geupload";
}
else
{
echo "Het uploaden is mislukt";
}
}
else{
?>
<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" enctype="multipart/form-data">
<!--Bepaal zelf de maximale grootte in bytes -->
</form>
<?php
}
?>
</div>
</div>
<script language="javascript">
function openTab(pTabPage,pTab){
document.getElementById('prf_info').style.display = 'none';
document.getElementById('prf_text').style.display = 'none';
document.getElementById('prf_reac').style.display = 'none';
document.getElementById('prf_pass').style.display = 'none';
document.getElementById(pTabPage).style.display = 'block';
document.getElementById('tab1').style.background = '';
document.getElementById('tab1').style.fontWeight = 'normal';
document.getElementById('tab2').style.background = '';
document.getElementById('tab2').style.fontWeight = 'normal';
document.getElementById('tab3').style.background = '';
document.getElementById('tab3').style.fontWeight = 'normal';
document.getElementById('tab4').style.background = '';
document.getElementById('tab4').style.fontWeight = 'normal';
document.getElementById(pTab).style.background = 'url('images/tab_info_arrow.gif') bottom no-repeat';
document.getElementById(pTab).style.fontWeight = 'bold';
}
</script>
<div style="width:100%; height:25px; background:url('images/tab_info_bg.jpg') repeat-x; font-family:arial; font-size:12px; color:#2a190e;">
<div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px; background:url('images/tab_info_arrow.gif') bottom no-repeat; font-weight:bold;"><a href="#" onclick="openTab('prf_info','tab1'); return false">Persoonlijke informatie</a></div>
<div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('prf_text','tab2'); return false">Persoonlijke tekst</a></div>
<div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab3" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('prf_reac','tab3'); return false">Persoonlijk prikbord</a></div>
<div id="tab3" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab4" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('prf_pass','tab4'); return false">Wachtwoord wijzigen</a></div>
</div>
<div style="background-color:#dbd2b7; ">
<br>
<table cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td>
<form method="POST" action="<? echo $sitelink; ?>/v3/index.php?a=edit">
<div style="display:block; background-color:#EAE6D9; width:100%" id="prf_info">
<table class="mod_list" align="left" cellspacing="0" cellpadding="4">
<tr>
<td>Voornaam:</td>
<td>
<input type="text" name="firstname" size="25" value="<? echo $data->voornaam; ?>">
</td>
</tr>
<tr>
<td>Achternaam:</td>
<td>
<input type="text" name="surname" size="25" value="<? echo $data->achternaam; ?>">
</td>
</tr>
<tr>
<td>Geslacht:</td>
<td>
<select name="sex">
<?
if($data->geslacht != V){
?>
<option value="M" selected>Man</option>
<option value="V" >Vrouw</option>
<?
}
else{
?>
<option value="M">Man</option>
<option value="V" selected >Vrouw</option>
<?
}
?>
</select>
</td>
</tr>
<tr>
<td>Postcode:</td>
<td>
<input type="text" name="postal"size="15" value="<? echo $data->postcode; ?>">
</td>
</tr>
<tr>
<td colspan="2">
<?if($data->catchmails == 0){
?>
<input type="checkbox" name="disablemail" value="1" checked > Stuur mij <b>geen</b> game mails.
<?
}
else{
echo ' <input type="checkbox" name="disablemail" value="1" > Stuur mij <b>geen</b> game mails.';
}
?>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" class="mod_submit" value="Opslaan" name="information">
<input type="button" class="mod_submit" value="Wachtwoord wijzigen" onclick="openTab('prf_pass','tab4'); return false">
</td>
</tr>
</table>
</div>
<div style="display:none" id="prf_text">
<table width="90%">
<tr>
<td>
<textarea name="personal" id="wysiwyg" rows="15" style="width:100%"><?if(!isset($_POST['personal'])){echo $data->info;}else{echo $_POST['personal'];}?></textarea>
</td>
</tr>
<tr>
<td>
<input type="submit" class="mod_submit" value="Opslaan">
<input type="file" name="bestand">
<input type="submit" name="upload" value="uploaden"><br>
</form> </td>
</tr>
</table>
</form>
</div>
<div style="display:none" id="prf_reac">
<table>
<?
$message1 = mysql_query("SELECT * FROM `gastenboek` WHERE `to`='$data->login'");
$message = mysql_fetch_object($message1);
function ubb($text){
$text = htmlspecialchars($text);
$text = $message->content;
$text = str_replace(":l:","<img src=$sitelink/v3/images/smiles/icon_neutral.gif>", $text);
$text = str_replace(":mrgreen:","<img src=$sitelink/v3/images/smiles/icon_mrgreen.gif>", $text);
$text = str_replace(":D","<img src=$sitelink/v3/images/smiles/icon_biggrin.gif>", $text);
$text = str_replace(":arrow:","<img src=$sitelink/v3/images/smiles/icon_arrow.gif>", $text);
$text = str_replace(":wink:","<img src=$sitelink/v3/images/smiles/icon_wink.gif>", $text);
$text = str_replace(":roll:","<img src=$sitelink/v3/images/smiles/icon_rolleyes.gif>", $text);
$text = str_replace(":twisted:","<img src=$sitelink/v3/images/smiles/icon_twisted.gif>", $text);
$text = str_replace(":evil:","<img src=$sitelink/v3/images/smiles/icon_evil.gif>", $text);
$text = str_replace(":lol:","<img src=$sitelink/v3/images/smiles/icon_lol.gif>", $text);
$text = str_replace("8)","<img src=$sitelink/v3/images/smiles/icon_cool.gif>", $text);
$text = str_replace(":?","<img src=$sitelink/v3/images/smiles/icon_confused.gif>", $text);
$text = str_replace(":S","<img src=$sitelink/v3/images/smiles/icon_confused.gif>", $text);
$text = str_replace(":idea:","<img src=$sitelink/v3/images/smiles/icon_idea.gif>", $text);
$text = str_replace(":shock:","<img src=$sitelink/v3/images/smiles/icon_eek.gif>", $text);
$text = str_replace(":!:","<img src=$sitelink/v3/images/smiles/icon_exclaim.gif>", $text);
$text = str_replace(":cry:","<img src=$sitelink/v3/images/smiles/icon_cry.gif>", $text);
$text = str_replace(":oops:","<img src=$sitelink/v3/images/smiles/icon_redface.gif>", $text);
$text = str_replace(":P","<img src=$sitelink/v3/images/smiles/icon_razz.gif>", $text);
$text = str_replace(":x","<img src=$sitelink/v3/images/smiles/icon_mad.gif>", $text);
$text = str_replace(":o","<img src=$sitelink/v3/images/smiles/icon_suprised.gif>", $text);
$text = str_replace(":(","<img src=$sitelink/v3/images/smiles/icon_sad.gif>", $text);
$text = str_replace(":)","<img src=$sitelink/v3/images/smiles/icon_smile.gif>", $text);
$text = str_replace("cw","**", $text);
$text = str_replace("CW","**", $text);
$text = str_replace("gangsterwar","************", $text);
$text = str_replace("bulletstar","************", $text);
$text = str_replace("crimeage","************", $text);
$text = str_replace("gang-war","**************************", $text);
$text = str_replace("gangwars","***************************", $text);
$text = str_replace("kutzooi","*******************", $text);
$text = str_replace("barafranca.com","***************", $text);
$text = str_replace("KANKER","*****", $text);
$text = str_replace("kanker","*****", $text);
$text = str_replace("Kanker","*****", $text);
$text = str_replace("gay","***", $text);
$text = preg_replace("#[center](.*?)[/center]#si","<center>\1</center>", $text);
$text = preg_replace("#[right](.*?)[/right]#si","<p align=right>\1</p>", $text);
$text = preg_replace("#[b](.*?)[/b]#si","<b>\1</b>", $text);
$text = preg_replace("#[u](.*?)[/u]#si","<u>\1</u>", $text);
$text = preg_replace("#[i](.*?)[/i]#si","<i>\1</i>", $text);
$text = preg_replace("#[left](.*?)[/left]#si","<left>\1</left>", $text);
$text = preg_replace("#[center](.*?)[/center]#si","<center>\1</center>", $text);
$text = preg_replace("#[right](.*?)[/right]#si","<p align=right>\1</p>", $text);
$text = preg_replace("#[url](.*?)[/url]#si","<a href=\1 target=_blank>\1</a>", $text);
$text = preg_replace("#[url=(.*?)](.*?)[/url]#si","<a href=\1 target=_blank>\2</a>", $text);
$text = preg_replace("#[img](.*?)[/img]#si","<img src=\1>", $text);
$text = preg_replace("#[color=(.*?)](.*?)[/color]#si","<font color=\1>\2</font>", $text);
$text = preg_replace("#[move](.*?)[/move]#si","<marquee>\1</marquee>", $text);
$text = preg_replace("#[edit](.*?)[/edit]#si","<font color=orange><b>Edit</b></font>:<i> \1</i><br>", $text);
return $text;
}
$msgcount = mysql_num_rows($message1);
$mscountfix = $msgcount;
$pages = floor($mscountfix/10+1);
if($msgcount == 0){
print <<<ENDHTML
<tr>
<td colspan="2">
<i>Nog geen reacties ontvangen</i>
</td>
</tr>
ENDHTML;
}
$begin = (isset($_GET['gbpage']) && ctype_digit($_GET['gbpage']) && (int) $_GET['gbpage'] >= 0) ? (int) $_GET['gbpage']*10 : 0;
$dbres = mysql_query("SELECT * FROM `gastenboek` WHERE `to`='$data->login' ORDER BY `date` LIMIT $begin,10");
for($j=$begin+1; $info = mysql_fetch_object($dbres); $j++)
{
$poster1 = mysql_query("SELECT * FROM `users` WHERE `login`='$info->from'");
$poster = mysql_fetch_object($poster1);
?>
</td>
<tr bgcolor="#EAE6D9">
<td width="100%">
<b> <a href="index.php?a=profile&x=<? echo $poster->id; ?>"><? echo $info->from; ?></a> - <? echo $info->date; ?></b>
</td>
<td align="right" nowrap>
<? if($info->from == $data->login || $info->to == $data->login){
?>
<a href="index.php?a=edit&delreaction=<? echo $info->id; ?>">Verwijderen</a>
<?
}
?>
</td>
</tr>
<tr>
<td colspan="2" bgcolor="#EAE6D9">
<?
$text = "$info->content";
$info->content = str_replace(":|:","<img src=$sitelink/v3/images/smiles/icon_neutral.gif>", $info->content);
$info->content = str_replace(":mrgreen:","<img src=$sitelink/v3/images/smiles/icon_mrgreen.gif>", $info->content);
$info->content = str_replace(":D","<img src=$sitelink/v3/images/smiles/icon_biggrin.gif>", $info->content);
$info->content = str_replace(":arrow:","<img src=$sitelink/v3/images/smiles/icon_arrow.gif>", $info->content);
$info->content = str_replace(":wink:","<img src=$sitelink/v3/images/smiles/icon_wink.gif>", $info->content);
$info->content = str_replace(":roll:","<img src=$sitelink/v3/images/smiles/icon_rolleyes.gif>", $info->content);
$info->content = str_replace(":twisted:","<img src=$sitelink/v3/images/smiles/icon_twisted.gif>", $info->content);
$info->content = str_replace(":evil:","<img src=$sitelink/v3/images/smiles/icon_evil.gif>", $info->content);
$info->content = str_replace(":lol:","<img src=$sitelink/v3/images/smiles/icon_lol.gif>", $info->content);
$info->content = str_replace("8)","<img src=$sitelink/v3/images/smiles/icon_cool.gif>", $info->content);
$info->content = str_replace(":?","<img src=$sitelink/v3/images/smiles/icon_confused.gif>", $info->content);
$info->content = str_replace(":S","<img src=$sitelink/v3/images/smiles/icon_confused.gif>", $info->content);
$info->content = str_replace(":idea:","<img src=$sitelink/v3/images/smiles/icon_idea.gif>", $info->content);
$info->content = str_replace(":shock:","<img src=$sitelink/v3/images/smiles/icon_eek.gif>", $info->content);
$info->content = str_replace(":!:","<img src=$sitelink/v3/images/smiles/icon_exclaim.gif>", $info->content);
$info->content = str_replace(":cry:","<img src=$sitelink/v3/images/smiles/icon_cry.gif>", $info->content);
$info->content = str_replace(":oops:","<img src=$sitelink/v3/images/smiles/icon_redface.gif>", $info->content);
$info->content = str_replace(":P","<img src=$sitelink/v3/images/smiles/icon_razz.gif>", $info->content);
$info->content = str_replace(":x","<img src=$sitelink/v3/images/smiles/icon_mad.gif>", $info->content);
$info->content = str_replace(":o","<img src=$sitelink/v3/images/smiles/icon_surprised.gif>", $info->content);
$info->content = str_replace(":(","<img src=$sitelink/v3/images/smiles/icon_sad.gif>", $info->content);
$info->content = str_replace(":)","<img src=$sitelink/v3/images/smiles/icon_smile.gif>", $info->content);
echo $info->content; ?> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" align="center">
</td>
</tr>
<?
}
if($pages > 1){
$prev = $_GET['gbpage']-1;
$next = $_GET['gbpage']+1;
?>
<tr>
<td colspan="2" align="center">
<?
if($_GET['gbpage'] > 0){
?><a href="index.php?a=edit&gbpage=<? echo $prev; ?>"><< Vorige</a>
<?
}
else{ echo"<< Vorige"; }?>
<?
$thispage = $_GET['gbpage']+1;
$dbres = mysql_query("SELECT * FROM `gastenboek` WHERE `to`='$data->login' ORDER BY `date` LIMIT 0,$pages");
for($j=$begin+1; $page = mysql_fetch_object($dbres); $j++){
if($counting == ""){ $counting = 0; }
$showcount = $counting+1;
if($counting != $_GET['gbpage']){
echo " | <a href=index.php?a=edit&gbpage=$counting>$showcount</a>"; $counting = $counting+1; }
else{
echo " | $showcount"; $counting = $counting+1; }
} ?>
<?if($thispage < $pages){
?> | <a href="index.php?a=edit&gbpage=<? echo $next; ?>">Volgende >></a>
<?
}
else{ echo"Volgende >>"; }
}?>
</table>
</div>
<div style="display:none" id="prf_resend">
Vanuit hier kun je opnieuw een bevestigingsmailtje naar je inbox laten sturen. Let er wel op, je mag dit mailtje maar 5 keer na jezelf sturen. Je mag dit mailtje nog 3 keer vesturen. <br><br>
<input type="button" name="versturen" value="Versturen" onclick="document.location.href='index.php?a=profiel&f=resendconfirm_real'">
</div>
<div style="display:none" id="prf_pass">
<table>
<form method="POST" onsubmit="return checkError(this);">
<tr>
<td>Huidige wachtwoord:</td>
<td>
<input type="password" name="pw_current" size="25" value="">
</td>
</tr>
<tr>
<td>Nieuwe wachtwoord:</td>
<td>
<input type="password" name="pw_new" size="25" value="">
</td>
</tr>
<tr>
<td>Herhaal wachtwoord:</td>
<td>
<input type="password" name="pw_repeat" size="25" value="">
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" class="mod_submit" name="pw_change" value="Opslaan">
</td>
</tr>
</form>
</table>
</div>
</td></tr></table>
</div>
<table width='100%' cellspacing='2' cellpadding='2'>
<tr>
<td class='content_bottom'></td>
</tr>
</table>
<?
if(isset($_GET['delreaction']) || isset($_GET['gbpage']))
{
?>
<script language="javascript">
openTab('prf_reac','tab3');
</script>
<?
}
?>
<?
}
else if($correctpass == 2)
{
?>
<table width="100%">
<tr>
<td align="center">
<br><br><br><br>
<table class="div_popup_error" align="center">
<tr>
<td style="color:red">
<b>FOUT!</b><br><br>Je hebt niet alle velden ingevuld </td>
</tr>
<tr>
<td>
<br><br>
<a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</td>
<?
}
if($correctpass == "")
{
?>
<table width="100%">
<tr>
<td align="center">
<br><br><br><br>
<table class="div_popup_error" align="center">
<tr>
<td style="color:red">
<b>FOUT!</b><br><br>De ingevulde gegevens zijn incorrect! </td>
</tr>
<tr>
<td>
<br><br>
<a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
}
if($correctpass == 1)
{
?>
<table width="100%">
<tr>
<td align="center">
<br><br><br><br>
<table class="div_popup" align="center">
<tr>
<td>
Je wachtwoord is bijgewerkt </td>
</tr>
<tr>
<td>
<br><br>
<a href="index.php?a=news" class="msg_ok">Klik hier indien je niet automatisch verder gaat.</a>
</td>
</tr>
</table>
<script language="javascript">
setTimeout("document.location.href='index.php?a=news'",(2000*2));
</script>
</div>
</td>
</tr>
</table>
</td>
<?
}
}
else{
?>
<table width="100%">
<tr>
<td align="center">
<table class="div_popup" align="center">
<tr>
<td>
De gegevens van je profiel zijn bijgewerkt </td>
</tr>
<tr>
<td>
<br><br>
<a href="index.php?a=edit" class="msg_ok">Klik hier indien je niet automatisch verder gaat.</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
}
?>
</div>
</td>
</tr>
</table>
</td>
Toon Meer
Sorry, Db-maffia.. het is nog steeds niet gelukt^o)
iemand anders nog ideeén?
Nog niet gelukt sorry!
nog meer ideeén?
@diester maakt niet uit want bij mij werkt ie wel gewoon maar je moet het hele gedeelte veranderen;)
kun je anders jou edit.php hier plaatsen als je zo vriendelijk wilt zijn? ik snap dat ik het zelf moet uitzoeken maar ben de hele dag al bezig geweest ik wil dit zo snel mogelijk klaar hebben:)
wat wil je eigenlijk precies dat als iemand dat dat zichtbaar word op het profiel?
Ohzo, meschien licht het daar dan wel aan? ik zal eens even kijken..
Nieuwe reactie samengevoegd met originele reactie op 24.06.09 18:46:41:
Ja, heel veel leden vragen dat ze een afbeelding hebben gemaakt en dat ze die dan op het profiel kunnen zetten, maar heb er best lang naar gekeken maar kon de fout niet vinden..
heel erg vaag.
Hier is die dan
[code=php]<?
$id = $_GET['x'];
$user1 = mysql_query("SELECT * FROM `users` WHERE `id`='$id'");
$user = mysql_fetch_object($user1);
if(isset($_GET['delreaction'])){
$id = $_GET['delreaction'];
$query = mysql_query("SELECT * FROM `gastenboek` WHERE `id`='$id'");
$post = mysql_fetch_object($query);
if($post->from == $data->login $post->to == $data->login){
mysql_query("DELETE FROM `gastenboek` WHERE `id`='$id'");
}
}
if(isset($_POST['addreaction'])){
$content = $_POST['reaction'];
if($data->login != ""){
mysql_query("INSERT INTO `gastenboek` (`date`, `to`, `from`, `content`) values(NOW(), '$user->login', '$data->login', '$content')");
}
}
if($user->rankvord > 100){$user->rankvord = 100;}
if($user->vermoord > 0){?>
<table width="100%">
<tr>
<td align="center">
<br><br><br><br>
<table class="div_popup" align="center">
<tr>
<td>
Helaas, door de criminele wereld van de maffia is <?echo$user->login;?> om het leven gekomen. Rest in peace! </td>
</tr>
<tr>
<td>
<br><br>
<a href="index.php?a=news" class="msg_ok">Klik hier indien je niet automatisch verder gaat.</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script language="javascript">
setTimeout("document.location.href='index.php?a=news'",(2000*2));
</script>
</div>
</td>
</tr>
</table>
</td>
<?}
else{
?>
<div class="title_bg"><div style="font-size:17px; color:#1b1a17; margin-left:10px; padding-top:4px;">Profiel</div></div>
<div style="width:100%; height:auto; background:#c3b79d; font-family:arial; font-size:12px; color:#2a190e;">
<div style="padding:5px; padding-bottom:10px;">
<center>
<img src="images/icons_gif/bomb.gif"> <a href="index.php?a=attack&x=<?echo$user->id;?>"><b>Aanvallen</b></a>
<img src="images/icons_gif/vcard.gif" style="margin-left:30px;"> <a href="index.php?a=message&box=new&to=<?echo$user->login;?>"><b>PB sturen</b></a>
<img src="images/icons_gif/key.gif" style="margin-left:30px;"> <a href="index.php?a=click&x=<?echo$user->id;?>" target="_blank"><b>Secret link</b></a>
<img src="images/icons_gif/ruby_add.gif" style="margin-left:30px;"> <a href="index.php?a=respect&x=<?echo$user->id;?>"><b>Respect</b></a>
<img src="images/icons_gif/group_link.gif" style="margin-left:30px;"><a href="index.php?a=friends&add=<?echo$user->id;?>"><b>Vriend</b></a>
</center>
<hr>
</div>
</div>
<script language="javascript">
function openTab(pTabPage,pTab){
document.getElementById('mem_profiel').style.display = 'none';
document.getElementById('mem_garage').style.display = 'none';
document.getElementById('mem_reacties').style.display = 'none';
document.getElementById('mem_missions').style.display = 'none';
document.getElementById(pTabPage).style.display = 'block';
document.getElementById('tab1').style.background = '';
document.getElementById('tab1').style.fontWeight = 'normal';
document.getElementById('tab2').style.background = '';
document.getElementById('tab2').style.fontWeight = 'normal';
document.getElementById('tab3').style.background = '';
document.getElementById('tab3').style.fontWeight = 'normal';
document.getElementById('tab4').style.background = '';
document.getElementById('tab4').style.fontWeight = 'normal';
document.getElementById(pTab).style.background = 'url(\'images/tab_info_arrow.gif\') bottom no-repeat';
document.getElementById(pTab).style.fontWeight = 'bold';
}
</script>
<div style="width:100%; height:25px; background:url('images/tab_info_bg.jpg') repeat-x; font-family:arial; font-size:12px; color:#2a190e;">
<div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px; background:url('images/tab_info_arrow.gif') bottom no-repeat; font-weight:bold;"><a href="#" onclick="openTab('mem_profiel','tab1'); return false">Profiel</a></div>
<div id="tab1" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('mem_garage','tab2'); return false">Garage</a></div>
<div id="tab2" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab3" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('mem_reacties','tab3'); return false">Persoonlijk prikbord</a></div>
<div style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;">|</div>
<div id="tab4" style="float:left; height:26px; margin:0px; padding:0px; margin-left: 5px;"><a href="#" onclick="openTab('mem_missions','tab4'); return false">Voltooide missies</a></div>
</div>
<div style="background-color:#dbd2b7; ">
<br>
<table cellpadding="4" cellspacing="0" width="100%" align="center"><tr><td>
<div id="mem_profiel">
<!-- PROFIEL INFO -->
<?
$hitlist1 = mysql_query("SELECT * FROM `hitlist` WHERE `to`='$user->login'");
$hitlist2 = mysql_num_rows($hitlist1);
$hitlist = mysql_fetch_object($hitlist1);
if($hitlist2 > 0){
$hitlist->to = str_replace("a", "A",$hitlist->to);
$hitlist->to = str_replace("b", "B",$hitlist->to);
$hitlist->to = str_replace("c", "C",$hitlist->to);
$hitlist->to = str_replace("d", "D",$hitlist->to);
$hitlist->to = str_replace("e", "E",$hitlist->to);
$hitlist->to = str_replace("f", "F",$hitlist->to);
$hitlist->to = str_replace("g", "G",$hitlist->to);
$hitlist->to = str_replace("h", "H",$hitlist->to);
$hitlist->to = str_replace("i", "I",$hitlist->to);
$hitlist->to = str_replace("j", "J",$hitlist->to);
$hitlist->to = str_replace("k", "K",$hitlist->to);
$hitlist->to = str_replace("l", "L",$hitlist->to);
$hitlist->to = str_replace("m", "M",$hitlist->to);
$hitlist->to = str_replace("n", "N",$hitlist->to);
$hitlist->to = str_replace("o", "O",$hitlist->to);
$hitlist->to = str_replace("p", "P",$hitlist->to);
$hitlist->to = str_replace("q", "Q",$hitlist->to);
$hitlist->to = str_replace("r", "R",$hitlist->to);
$hitlist->to = str_replace("s", "S",$hitlist->to);
$hitlist->to = str_replace("t", "T",$hitlist->to);
$hitlist->to = str_replace("u", "U",$hitlist->to);
$hitlist->to = str_replace("v", "V",$hitlist->to);
$hitlist->to = str_replace("w", "W",$hitlist->to);
$hitlist->to = str_replace("x", "X",$hitlist->to);
$hitlist->to = str_replace("y", "Y",$hitlist->to);
$hitlist->to = str_replace("z", "Z",$hitlist->to);
$waarde = number_format($hitlist->waarde, 0, '.' , '.');
?>
<div style="width:99%; background-color:black; color:white; font-weight:bold; height:30px; cursor:pointer" onclick="openContract('<?echo$hitlist->to;?>','<?echo$waarde;?>','<?echo$hitlist->from;?>');return false">
<div style="float:left;padding-top:7px;padding-left:7px">
<img src="images/icons_gif/crosshair.gif">
</div>
<div style="padding-top:8px;padding-left:8px; float:left;">
<a href="#" onclick="openContract('<?echo$hitlist->to;?>','<?echo$waarde;?>','<?echo$hitlist->from;?>');return false" style="color:white">
WANTED: Deze persoon heeft een prijs op zijn hoofd staan.
</a>
</div>
</div><br>
<?}?>
<div class="title_bg">
<div class="title">Profiel</div>
</div>
<div style="background-color:#dbd2b7; padding:10px; padding-top:4px;">
<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="mod_list">
<tr>
<td width="35%">Gebruikersnaam:</td>
<?
$dbres = mysql_query("SELECT * FROM `users` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND `login`='$user->login'");
$online = mysql_fetch_object($dbres);
if($online->login == $user->login){
?>
<td width="6%" align=center><img src="images/icons_gif/status_online.gif" title="Online"></td>
<?
}
if($online->login != $user->login){
?>
<td width="6%" align=center><img src="images/icons_gif/status_offline.gif" title="Offline"></td>
<?
}
?>
<td width="69%"><?if($user->admin > 0){echo "<font color='red'>";}if($user->moderator > 0){echo "<font color='#FF6600'>";} echo $user->login; if($user->admin > 0 $user->moderator > 0){echo "</font>";} if($user->vipdays > 0){echo "<img src=images/star.gif title=Betaald account>";} if($user->moderator > 0){echo " (Moderator)";}if($user->admin > 0){echo " (Admin)";} ?></td>
</tr>
<tr>
<td width="35%">Gezondheid:</td>
<td width="6%" align=center><img src="images/icons_gif/heart.gif" border="0px"></td>
<td width="69%"><? echo $user->health; ?>%</td>
</tr>
<tr>
<td width="35%">Power:</td>
<td width="6%" align=center><img src="images/icons_gif/star.gif" border="0px"></td>
<td width="69%"><? echo $user->power; ?></td>
</tr>
<tr>
<td width="35%">Respect:</td>
<td width="6%" align=center><img src="images/icons_gif/ruby.gif" border="0px"></td>
<td width="69%"><? echo $user->respect; ?></td>
</tr>
<tr>
<?
$rank = Array("Geen","Caravan","Houten Huis","Luxe Berg Villa","Villa","Boshuis","Luxe Bunker","Luxe Strand Villa","Gangster Paradise","Japanse Villa","Mediteraanse Villa","Pool Paradise","Landgoed","Tropische Villa","Fantasy Home");
$rank = $rank[$data->woning];
?>
<td width="35%">Woning:</td>
<td width="6%" align=center>
<img src="images/icons_gif/home-64x64.png" border="0px" width="26" height="28"></td>
<td width="69%"><? echo $rank?>
</td>
</tr>
<tr>
<td width="35%">Stad:</td>
<td width="6%" align=center><img src="images/icons_gif/world.gif" border="0px"></td>
<td width="69%"><?
$city = array("","Turijn","Palermo","Milaan","Rome","Catania","Corleone");
if($user->id != $data->id && $data->satteliet < 1 && $data->spacestation < 1){$stad = "Verborgen";}else{$stad = $city[$user->city];} echo $stad; ?></td>
</tr>
<tr>
<td width="35%">Veilig:</td>
<td width="6%" align=center><img src="images/icons_gif/shield.gif" border="0px"></td>
<td width="69%"><? echo $user->safe; ?> uur</td>
</tr>
<tr>
<td width="35%">Bescherming:</td>
<td width="6%" align=center><img src="images/icons_gif/shield.gif" border="0px"></td>
<td width="69%"><? echo $user->maffia; ?> uur</td>
</tr>
<tr>
<td width="35%">Geld (contant):</td>
<td width="6%" align=center><img src="images/icons_gif/money.gif" border="0px"></td>
<td width="69%">€ <? echo $user->contant; ?></td>
</tr>
<tr>
<td width="35%">Geld (bank):</td>
<td width="6%" align=center><img src="images/icons_gif/coins.gif" border="0px"></td>
<td width="69%">€ <? echo $user->bank; ?></td>
</tr>
<tr>
<td width="35%">Familie:</td>
<td width="6%" align=center><img src="images/icons_gif/group.gif" border="0px"></td>
<td width="69%"><?
$fam1 = mysql_query("SELECT * FROM `families` WHERE `naam`='$user->familie'");
$fam = mysql_fetch_object($fam1);
if($user->familie == ""){
$familie = ("Geen familie");
}
if($user->famlevel < 0){
$familie = ("<a href=index.php?a=famprofile&x=$fam->id>Wachtlijst</a>");
}
if($user->famlevel > -1 && $user->familie != ""){
$familie = ("<a href=index.php?a=famprofile&x=$fam->id>$user->familie</a>");
} echo $familie; ?></td>
</tr>
<tr>
<td width="35%">Rang:</td>
<td width="6%" align=center><img src="images/icons_gif/lightning.gif" border="0px"></td>
<td width="69%"><u><?
$rang = array("","Groentje","Loopjongen","Zakkenroller","Winkeldief","Dief","Mobster","Moordenaar","Lokale leider","Leider","Godfather");
$rang = $rang[$user->rank];
echo $rang; ?></u></td>
</tr>
<tr>
<td width="35%">Rangvordering:</td>
<td width="6%" align=center><img src="images/icons_gif/wand.gif" border="0px"></td>
<td width="69%"><? echo $user->rankvord; ?>%</td>
</tr>
<tr>
<td width="35%">Opgeleide killers:</td>
<td width="6%" align=center><img src="images/icons_gif/bricks.gif" border="0px"></td>
<td width="69%"><? echo $user->killers; ?></td>
</tr>
<tr>
<td width="35%">Attack coins:</td>
<td width="6%" align=center><img src="images/icons_gif/brick.gif" border="0px"></td>
<td width="69%"><? echo $user->kogels; ?></td>
</tr>
<tr>
<td width="35%">Aantal gewonnen:</td>
<td width="6%" align=center><img src="images/icons_gif/brick_add.gif" border="0px"></td>
<td width="69%"><? echo $user->attwins; ?></td>
</tr>
<tr>
<td width="35%">Aantal verloren:</td>
<td width="6%" align=center><img src="images/icons_gif/brick_delete.gif" border="0px"></td>
<td width="69%"><? echo $user->attlost; ?></td>
</tr>
</table>
</td></tr></table>
</div>
<table width='100%' cellspacing='2' cellpadding='2'>
<tr>
<td class='content_bottom'></td>
</tr>
</table>
<? if($user->info != ""){
$user->info = nl2br($user->info);?>
<div class="title_bg">
<div class="title">Persoonlijke pagina</div>
</div>
<div style="background-color:#dbd2b7; padding:10px; padding-top:4px;">
<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
<? echo $user->info; ?>
<?$fake?>
</td></tr></table>
</div>
<table width='100%' cellspacing='2' cellpadding='2'>
<tr>
<td class='content_bottom'></td>
</tr>
</table>
<? } ?>
<br>
<br>
<br>
<div class="title_bg">
<div class="title">Bezittingen</div>
</div>
<div style="background-color:#dbd2b7; padding:10px; padding-top:4px;">
<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
<? if($user->bezitiets == 0){
?>
<b><i>Deze persoon heeft nog geen bezittingen</i></b>
<?
}
else if($user->satteliet > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Satteliet</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/satteliet.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->satteliet; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>225</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 225*$user->satteliet; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(8000*$user->satteliet, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->bezitiets > 0){
if($user->bankpas > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Bankpas</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/bankpas.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->bankpas; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>0</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 0*$user->bankpas; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(250*$user->bankpas, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->kluis > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Kluis</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/kluis.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->kluis; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>0</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 0*$user->kluis; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(100000*$user->kluis, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->zwitserse > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Zwitserse rekening</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/zwitserserekening.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->zwitserse; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>0</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 0*$user->zwitserse; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(100000*$user->zwitserse, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->deagle > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Desert Eagle</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/deserteagle.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->deagle; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>25</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 25*$user->deagle; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(500*$user->deagle, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->pepperspray > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Pepperspray</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/pepperspray.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->pepperspray; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>40</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 40*$user->pepperspray; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(950*$user->pepperspray, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->sigp > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Sig P228</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/sigp228.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->sigp; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>55</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 55*$user->sigp; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(1400*$user->sigp, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->c4 > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">C4 Bom</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/c4.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->c4; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>75</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 75*$user->c4; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(3000*$user->c4, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->m16 > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Machine Gun</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/m16.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->m16; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>150</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 150*$user->m16; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(5000*$user->m16, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->cornershot > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Corner Shot</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/cornershot.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->cornershot; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>150</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 150*$user->cornershot; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(5000*$user->cornershot, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->knuppel > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Knuppel</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/knuppel.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->knuppel; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>45</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 45*$user->knuppel; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(1000*$user->knuppel, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->switchblade > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Switch blade</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/switchblade.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->switchblade; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>180</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 180*$user->switchblade; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(9500*$user->switchblade, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->pitbull > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Pitbull</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/pitbull.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->pitbull; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>250</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 250*$user->pitbull; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(12500*$user->pitbull, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->sniper > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Sniper</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/sniper.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->sniper; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>450</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 450*$user->sniper; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(20000*$user->sniper, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->bazooka > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Bazooka</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/bazooka.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->bazooka; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>950</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 950*$user->bazooka; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(50000*$user->bazooka, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->swatgun > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">S.W.A.T. Gun</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/swatgun.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->swatgun; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>625</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 625*$user->swatgun; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(37500*$user->swatgun, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->bodyguards > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Bodyguards</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/bodyguards.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->bodyguards; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>950</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 950*$user->bodyguards; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(50000*$user->bodyguards, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->warboot > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">War Boot</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/warboot.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->warboot; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>10.000</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 10000*$user->warboot; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(150000*$user->warboot, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->atoombom > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Atoombom</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/atoombom.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->atoombom; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>15.000</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 15000*$user->atoombom; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(200000*$user->atoombom, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->spacestation > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Space Station</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/spacestation.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->spacestation; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>30.000</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 30000*$user->spacestation; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(500000*$user->spacestation, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->tank > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Tank</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/tank.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->tank; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>15.500</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 15500*$user->tank; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(240000*$user->tank, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->scud > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Scud Raket</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/scudraket.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->scud; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>25.000</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 25000*$user->scud; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(450000*$user->scud, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->hoerenhuis > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">Hoerenhuis</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center"><img src="images/shop/hoerenhuis.gif"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Aantal:<b><? echo $user->hoerenhuis; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Power: <b>0</b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Power totaal: <b><? echo 0*$user->hoerenhuis; ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b>€ <?; echo number_format(250000*$user->hoerenhuis, 0, '.' , '.'); ?></b></td>
</tr>
</table>
<?
}
if($user->Landgoed > 0){
?>
<table width=100% cellspacing="2px" cellpadding="2px" class="mod_list">
<tr>
<td colspan=3 style="font-size:14px; font-weight:bold; color:#402810; padding-left:8px;">
Landgoed</td>
</tr>
<tr>
<td rowspan=6 width="110px" height="110px" valign="middle" align="center">
<img src="images/images/items/Villa.jpg" width="103" height="108"></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/wand.gif"></td>
<td>Soort huis: <b><? echo $rank->woning ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td>Naam huis: <b><? echo $data->huisnaam ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/lightning.gif"></td>
<td valign="middle">Persoonlijke tekst: <b><? echo $data->woningtekst ?></b></td>
</tr>
<tr>
<td width="18px" align="center" valign="middle"><img src="images/icons_gif/money.gif"></td>
<td>Marktwaarde: <b><? echo $ba ?></b></td>
</tr>
</table>
<?
}
}
?>
</td></tr></table>
</div>
<table width='100%' cellspacing='2' cellpadding='2'>
<tr>
<td class='content_bottom'></td>
</tr>
</table>
</div>
<div style="display:none;" id="mem_garage">
<?$dbres = mysql_query("SELECT * FROM `autos` WHERE `owner`='$user->login' ORDER BY `soort`");
if(mysql_num_rows($dbres) > 0){
?>
<table width="100%" border="0" cellspacing="2" cellpadding="2" class="mod_list">
<?}
while($list = mysql_fetch_object($dbres))
{
$plaatje = array("","2mercedes.jpg","golf.jpg","2rollsphantom.jpg","seat.jpg","2rover.jpg","delorean.jpg","2CadillacV16.jpg","cadillac.jpg","pontiac.jpg","2chrysler.jpg","audir8.jpg","mustang.jpg","gmc.jpg","hummer.jpg","2rolls.jpg","viper.jpg","ferarri.jpg");
$naam = array("","Mercedes","Golfkar","Rolls Phantom","Seat Cordoba","Rover","DeLorean DMC","Cadillac V16","Cadillac","Pontiac Firebird","Chrysler","Audi R8","Mustang","GMC","Hummer","Rolls Royce","Dodge Viper","Ferrari Spyder");
$topspeed = array("","240","100","240","220","185","88","250","190","240","250","230","220","210","180","220","240","250");
$paardenkracht = array("","197","50","200","120","116","140","197","130","150","215","130","200","190","210","190","180","210");
als je dit na persoonlijke pagina dus de html codes plakt en de rest eruit haalt van die msg troep dan meot ie werken
<?
$text = htmlspecialchars($text);
$text = $user->info;
$text = preg_replace("#\[center\](.*?)\[/center\]#si","<center>\\1</center>", $text);
$text = preg_replace("#\[right\](.*?)\[/right\]#si","<p align=right>\\1</p>", $text);
$text = preg_replace("#\[b\](.*?)\[/b\]#si","<b>\\1</b>", $text);
$text = preg_replace("#\[u\](.*?)\[/u\]#si","<u>\\1</u>", $text);
$text = preg_replace("#\[i\](.*?)\[/i\]#si","<i>\\1</i>", $text);
$text = preg_replace("#\[left\](.*?)\[/left\]#si","<left>\\1</left>", $text);
$text = preg_replace("#\[center\](.*?)\[/center\]#si","<center>\\1</center>", $text);
$text = preg_replace("#\[right\](.*?)\[/right\]#si","<p align=right>\\1</p>", $text);
$text = preg_replace("#\[url\](.*?)\[/url\]#si","<a href=\\1 target=_blank>\\1</a>", $text);
$text = preg_replace("#\[url=(.*?)\](.*?)\[/url\]#si","<a href=\\1 target=_blank>\\2</a>", $text);
$text = preg_replace("/\[img\](.+?)\[\/img\]/is",'<img src="\1">', $text);
$text = preg_replace("#\[color=(.*?)\](.*?)\[/color\]#si","<font color=\\1>\\2</font>", $text);
$text = preg_replace("#\[move\](.*?)\[/move\]#si","<marquee>\\1</marquee>", $text);
echo "$text";
?>
Toon Meer
Ben niet super slim maar weet zo niet waar ik die plakke moet;)
ik hoop dat je ermee kan helpen?
en daar moet ik het dan plakke?
Nieuwe reactie samengevoegd met originele reactie op 24.06.09 18:58:42:
dat is geregeld!, alleen ff kijke of het werkt!
Nieuwe reactie samengevoegd met originele reactie op 24.06.09 18:59:42:
moet ik het dan met 'img' tags doen of kan ik ook gewoon upload dingetje gebruiken?
(profile)Vanaf <? if ...
<? if($user->info != ""){
$user->info = nl2br($user->info);?>
<div class="title_bg">
<div class="title">Persoonlijke pagina</div>
</div>
<div style="background-color:#dbd2b7; padding:10px; padding-top:4px;">
<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
<?
$replace = htmlspecialchars($replace);
$replace = $user->info;
$replace = str_replace("[u]", "<u>",$replace);
$replace = str_replace("[/u]", "</u>",$replace);
$replace = str_replace("[b]", "<b>",$replace);
$replace = str_replace("[/b]", "</b>",$replace);
$replace = str_replace("[i]", "<i>",$replace);
$replace = str_replace("[/i]", "</i>",$replace);
$replace = str_replace("[naam]", "$data->login",$replace);
$replace = str_replace("[list]", "<ul>",$replace);
$replace = str_replace("[/list]", "</ul>",$replace);
$replace = str_replace("•", "•",$replace);
$replace = str_replace("[*]", "•",$replace);
$replace = str_replace("http://", "",$replace);
$replace = eregi_replace("\\[img]([^\\[]*)\\[/img]","<img src=\"http://\\1\" alt=\"Afbeelding\">",$replace);
$replace = eregi_replace("\\[color=([^\\[]*)\\]([^\\[]*)\\[/color\\]","<font color=\"\\1\">\\2</font>",$replace);
$replace = eregi_replace("\\[url]([^\\[]*)\\[/url\\]","<a href=\"http://\\1\">\\1</a>",$replace);
$replace = eregi_replace("\\[quote=([^\\[]*)\\]([^\\[]*)\\[/quote\\]","<div class=\"quotetitle\"><b>\\1 schreef:</b></div><div class=\"quotecontent\">\\2</div>",$replace);
$replace = eregi_replace("\\[quote]([^\\[]*)\\[/quote\\]","<div class=\"quotetitle\"><b>Citaat:</b></div><div class=\"quotecontent\">\\1</div>",$replace);
$replace = eregi_replace("\\[code=php]([^\\[]*)\\[/code\\]","<div class=\"codetitle\"><b>Code:</b></div><div class=\"codecontent\">\\1</div>",$replace);
$replace = eregi_replace("\\[size=([^\\[]*)\\]([^\\[]*)\\[/size\\]","<span style=\"font-size: \\1%; line-height: normal\">\\2</span>",$replace);
$replace = eregi_replace("\\[quote=([^\\[]*)\\]([^\\[]*)\\[/quote\\]","<div class=\"quotetitle\"><b>\\1 schreef:</b></div><div class=\"quotecontent\">\\2</div>",$replace);
$replace = eregi_replace("\\[quote]([^\\[]*)\\[/quote\\]","<div class=\"quotetitle\"><b>Citaat:</b></div><div class=\"quotecontent\">\\1</div>",$replace);
$replace = eregi_replace("\\[code=php]([^\\[]*)\\[/code\\]","<div class=\"codetitle\"><b>Code:</b></div><div class=\"codecontent\">\\1</div>",$replace);
echo "$replace";
?>
<?$fake?>
Toon Meer
Gewoon dit boven fake plaatsen, anders staat de foto verkeerd indien u de vorige stap volgde
Heb je nog geen account? Registreer je nu en word deel van onze community!