flirten Leipzig

kostenlos flirten
Leipzig

bundesweite Webseite zum kostenlos flirten
Anzeigen:






Anzeigen:
User->CheckForErrors()) { $view_type = 'friend'; } else { $view_type = 'friend_save'; } } else { $view_type = 'friend'; } if($view_type == 'friend') { if($this->User->IsGuest()) { $this->User->startseite(); } else if($this->User->IsProfileOk() == 1) { echo '
'; if($_GET['action_friend'] == 'friend_richtung' && $_GET['chart_friend_save'] == 'true') { if($_GET['richtung'] == 'hoch') { //echo 'xx'; $GetIdRegistered = $this->User->GetIdRegistered(); $user_id = $_GET['user_id']; $sql_relation = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $fields_relation = mysql_fetch_assoc($sql_relation); $fields_friend_anz = substr_count($fields_relation['id_freund'],';'); $suche = preg_match("=^[0-9]+$=i",$user_id); if($fields_friend_anz >= 3 && $suche == 1) { $user_id_str = ";".$user_id.";"; /* echo $user_id_str; echo '
'.$fields_relation['id_freund']; */ $pos_id = strpos($fields_relation['id_freund'], $user_id_str); $teilstring_vor = substr($fields_relation['id_freund'],0,$pos_id); $teilstring_nach = substr($fields_relation['id_freund'],$pos_id+1); $teilstring_nach_pos_id = strpos($teilstring_nach,';'); $teilstring_nach = substr($teilstring_nach,$teilstring_nach_pos_id+1); $teilstring_vor_pos_id = strrpos($teilstring_vor,';'); $teilstring_mitte = substr($teilstring_vor,$teilstring_vor_pos_id+1); $teilstring_vor = substr($teilstring_vor,0,$teilstring_vor_pos_id); $teilstring_final_nach = $user_id_str.$teilstring_mitte.";".$teilstring_nach; $teilstring_final = $teilstring_vor.$teilstring_final_nach; /* echo "
pos_id".$pos_id; echo "
Teilstring_vor = ".$teilstring_vor; echo "
Teilstring_nach = ".$teilstring_nach; echo "
Teilstring_vor_pos_id = ".$teilstring_vor_pos_id; echo "
Teilstring_mitte = ".$teilstring_mitte; echo "
Teilstring_final_string = ".$teilstring_final; echo "

Teilstring_final_nach = ".$teilstring_final_nach; */ mysql_real_escape_string($this->Query('UPDATE user_relation SET id_freund = \''.$teilstring_final.'\' WHERE id_registered = '.$GetIdRegistered.'')); echo '
Mitglied hoch!

'; mysql_free_result($sql_relation); } } if($_GET['richtung'] == 'runter') { $GetIdRegistered = $this->User->GetIdRegistered(); $user_id = $_GET['user_id']; $sql_relation = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $fields_relation = mysql_fetch_assoc($sql_relation); $fields_friend_anz = substr_count($fields_relation['id_freund'],';'); $suche = preg_match("=^[0-9]+$=i",$user_id); if($fields_friend_anz >= 3 && $suche == 1) { $user_id_str = ";".$user_id.";"; /* echo $user_id_str; echo '
'.$fields_relation['id_freund']; */ $pos_id = strpos($fields_relation['id_freund'], $user_id_str); $teilstring_vor = substr($fields_relation['id_freund'],0,$pos_id+1); $teilstring_nach = substr($fields_relation['id_freund'],$pos_id+1); $teilstring_nach_pos_id = strpos($teilstring_nach,';'); $teilstring_nach = substr($teilstring_nach,$teilstring_nach_pos_id+1); $teilstring_nach_pos_id = strpos($teilstring_nach,';'); $teilstring_mitte = substr($teilstring_nach,0,$teilstring_nach_pos_id); $teilstring_nach = substr($teilstring_nach,$teilstring_nach_pos_id+1); $teilstring_final_nach = $teilstring_mitte.$user_id_str.$teilstring_nach; $teilstring_final = $teilstring_vor.$teilstring_final_nach; /* echo "
pos_id".$pos_id; echo "
Teilstring_vor = ".$teilstring_vor; echo "
Teilstring_nach = ".$teilstring_nach; echo "
Teilstring_vor_pos_id = ".$teilstring_nach_pos_id; echo "
Teilstring_mitte = ".$teilstring_mitte; echo "
Teilstring_final_string = ".$teilstring_final; echo "

Teilstring_final_nach = ".$teilstring_final_nach; */ mysql_real_escape_string($this->Query('UPDATE user_relation SET id_freund = \''.$teilstring_final.'\' WHERE id_registered = '.$GetIdRegistered.'')); echo '
Mitglied runter!

'; mysql_free_result($sql_relation); } } mysql_free_result($sql_relation); } if($_GET['nachricht_schreiben'] != 'true') { echo ' '; } echo '
'; $GetIdRegistered = $this->User->GetIdRegistered(); $sql = $this->Query('SELECT geschlecht,angemeldet_seit,premium,premium_gutschein,kostenlos_gutschein FROM user_profile WHERE id_registered = '.$GetIdRegistered); $row = mysql_fetch_array($sql); $my_premium = $row['premium']; $my_premium_gutschein = $row['premium_gutschein']; $my_premium_kostenlos = $row['kostenlos_gutschein']; if($my_premium == 1 || $my_premium_gutschein == 1 || $my_premium_kostenlos == 1) { $premium = "1000000"; } elseif($my_premium == 2 || $my_premium_gutschein == 2 || $my_premium_kostenlos == 2) { $premium = "1000000"; } else { $premium = "1000000"; } if(SHOW_SORTIERUNG == 'YES') { echo '
nach:
'; } if($_GET['nachricht_schreiben'] == 'true') { $geschlecht = $row['geschlecht']; if($my_premium == 0 && $my_premium_gutschein == 0 && $my_premium_kostenlos == 0 && $geschlecht == 'maennlich') { echo '




Wenn Du diesem Profil und unbegrenzt weiteren Mitgliedern eine Nachricht schicken
und zusätzlich Zugriff auf neue tolle Funktionen haben möchtest,

dann brauchst Du nur die Premium-Mitgliedschaft auf der nächsten Seite freischalten!

Hier weitere Infos zum Bestellen:

'; } else { if($_GET[nachricht] != "") { $nachricht = $_GET[nachricht]; } else { $nachricht = $_POST[nachricht_textarea]; } //mit-Single-flirten echo '
flirten '.$this->User->stadtname().'
an alle ausgewählten Flirtprofile deiner Freundesliste
(neben dem Foto die Haken setzen, um allen diesen Freunden zu schreiben)

Restzeichen:

'; if($_GET[mark] == "all") { $mark = " checked"; $mark_url = "alle demarkieren"; $mark_value = "no"; } elseif($_GET[mark] == "no") { $mark = ""; $mark_url = "alle markieren"; $mark_value = "all"; } elseif($_GET[mark] == "") { $mark = ""; $mark_url = "alle markieren"; $mark_value = "all"; } echo ''.$mark_url.''; } } switch($_POST[sortby]) { case 'Name': $order_by = 'name'; break; case 'Alter': $order_by = 'jahrgang'; break; case 'online'; $order_by = 'online'; break; default: $order_by = 'name'; break; } $senden = $_POST[senden]; if(isset($senden) && !empty($_POST[nachricht_textarea])) { echo ''; } $GetIdRegistered = $this->User->GetIdRegistered(); /* $result = $this->Query('SELECT * FROM user_relation WHERE id_registered = '.$GetIdRegistered.''); $fields = mysql_fetch_assoc($result); */ $a = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = '.$GetIdRegistered); $b = mysql_fetch_array($a); $d = $user_id; $e = strtok($b[0], ';'); unset($foo,$i); $foo = 0; $i = 0; $array_sortby = array(); while($e) { //echo $e; if($e == 'a') { } elseif($e == '0') { } else { //echo 'hallo'; $result_3 = $this->Query('SELECT rights FROM user_registered WHERE id = '.$e); $fields_3 = mysql_fetch_assoc($result_3); if( $fields_3['rights'] != 1) { $result2 = $this->Query('SELECT * FROM user_profile WHERE id_registered = \''.$e.'\' ORDER BY \''.$order_by.'\' ASC'); $fields2 = mysql_fetch_assoc($result2); $foo = $foo+1; /* $GetIdQuelle = $this->User->GetIdRegistered(); $sql = $this->Query('SELECT premium,premium_gutschein,kostenlos_gutschein FROM user_profile WHERE id_registered = '.$GetIdQuelle); $row = mysql_fetch_assoc($sql); $my_premium = $row['premium']; $my_premium_gutschein = $row['premium_gutschein']; $my_premium_kostenlos = $row['kostenlos_gutschein']; */ if($my_premium >= 1 || $my_premium_gutschein >= 1 || $my_premium_kostenlos >= 1) { $anzahl = 101; } else { $anzahl = 11; } if($foo >= $anzahl) { } else { echo '
'; $result_del = $this->Query('SELECT password FROM user_registered WHERE id = '.$e); $fields_del = mysql_fetch_assoc($result_del); if($fields_del[password] == "xh6t9ge4p7sk") { echo '
'.$fields2[name].'  
User gesperrt!
'; } else if($fields_del[password] == "xh6t9ge4p7skdel") { /* echo '
'.$fields2[name].'  
User hat Mitgliedschaft beendet!
'; */ } else { echo ''; $sql = $this->Query('SELECT foto,foto_checked FROM user_foto WHERE id_registered = '.$fields2[id_registered].' ORDER BY id ASC'); $rows = mysql_num_rows($sql); $fields6 = mysql_fetch_assoc($sql); if($rows < 1) { if($fields2['geschlecht'] == 'maennlich') { $foto = ' Foto_pruefen '; } else { $foto = ' Foto_pruefen '; } } if($fields6[foto_checked] < 2 && $rows >= 1) { $foto = ' Foto_pruefen '; } elseif($fields6[foto_checked] == 2) { if($fields2['privat_foto'] == 'freund') { $GetIdRegistered = $this->User->GetIdRegistered(); $a3 = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$fields2[id_registered].'\''); $b3 = mysql_fetch_assoc($a3); $freund_string = $b3[id_freund]; $match = preg_match("/;".$GetIdRegistered.";/",$freund_string,$z); $id = str_replace(";","",$z[0]); //echo $id; //echo $GetIdRegistered; if($id == $GetIdRegistered) { $foto = ' .$fields6[foto]. '; } } if($fields2['privat_foto'] == 'jeder') { $foto = ' .$fields6[foto]. '; } } echo '
'.$foto.'
'; /* $sql = $this->Query('SELECT * FROM user_profile WHERE id_registered = '.$GetIdRegistered); $row = mysql_fetch_array($sql); */ //echo 'ID:'.$fields2[id_registered]; echo '
'.$fields2[name].'  '; if($fields2['privat_online'] == 'freund') { $GetIdRegistered = $this->User->GetIdRegistered(); $a4 = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$fields2[id_registered].'\''); $b4 = mysql_fetch_assoc($a4); $freund_string = $b4[id_freund]; $match = preg_match("/;".$GetIdRegistered.";/",$freund_string,$z); $id = str_replace(";","",$z[0]); if($id == $GetIdRegistered) { /* $e4 = strtok($b4[0], ';'); while($e4) { if($e4 == 'a') { } elseif($e4 == '0') { } elseif($e4 == $GetIdRegistered) { $vorhanden_privat_online4 = 1; } else { //$vorhanden_1 = 1; } $e4 = strtok(';'); } mysql_free_result($a4); */ if($fields2['online'] == 1) { echo 'online_status'; } else { echo 'offline_status'; } } } if($fields2['privat_online'] == 'jeder') { if($fields2['online'] == 1) { echo 'flirten '.$this->User->stadtname().''; } else { echo 'flirten '.$this->User->stadtname().''; } } if($fields2['geschlecht'] == maennlich) { echo ' maennlich_icon'; } else { echo ' weiblich_icon'; } $next_jahrgang = $fields2['jahrgang']; $plz = $fields2[plz]; $GetIdRegistered = $this->User->GetIdRegistered(); $ab = $this->Query('SELECT id_user_quelle, insert_time FROM nachricht WHERE id_user_ziel = \''.$fields2[id_registered].'\' ORDER BY insert_time ASC'); while($ba = mysql_fetch_assoc($ab)) { if($ba[id_user_quelle] == $GetIdRegistered) { $letzter_kontakt = $ba[insert_time]; } } $last_contact = date("d.m.Y - H:i", $letzter_kontakt); $ab2 = $this->Query('SELECT id_user_ziel, insert_time FROM nachricht WHERE id_user_quelle = \''.$GetIdRegistered.'\' ORDER BY insert_time ASC'); while($ba2 = mysql_fetch_assoc($ab2)) { if($ba2[id_user_ziel] == $GetIdRegistered) { $letzter_kontakt_other = $ba2[insert_time]; } } $last_contact_other = date("d.m.Y - H:i", $letzter_kontakt_other); echo '   PLZ '.$plz[0].$plz[1].' '.$fields2[ort].'
'; if($last_contact != "01.01.1970 - 01:00") { echo'letzter Kontakt von Dir: '.$last_contact.'
'; } else { echo'letzter Kontakt von Dir: keiner
'; } if($last_contact_other != "01.01.1970 - 01:00") { echo'letzter Kontakt von diesem Profil: '.$last_contact_other.'
'; } else { echo'letzter Kontakt von diesem Profil: keiner
'; } if($fields2['privat_freundesliste'] == "freund") { $GetIdRegistered = $this->User->GetIdRegistered(); $a2 = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$fields2[id_registered].'\''); $b2 = mysql_fetch_assoc($a2); $freund_string = $b2[id_freund]; $match = preg_match("/;".$GetIdRegistered.";/",$freund_string,$z); $id = str_replace(";","",$z[0]); if($id == $GetIdRegistered) { echo ' Geburtstag: '.$fields2[tag].'.'.$fields2[monat].'.19'.$fields2[jahr].'

Geburtstags-Counter:'; //$eine_woche = 604800; $month = $fields2['monat'] - date("m"); $day = $fields2['tag'] - date("d"); if($month < 0) { $month += 12; } if($day < 0) { $day += 30; } /* $month = $month-1; if($month == -1) { $month = 0; } */ //echo 'x'.$month; /* if($month == 1 && $fields2['tag'] < date("d")) { $month = 0; } if($month == 11 && $fields2['tag'] > date("d")) { $month = 0; } if($month == 0 && $fields2['tag'] < date("d")) { $month = 11; } */ if($month == 0 && $fields2['tag'] < date("d")) { $month = 11; $next_jahrgang = $next_jahrgang+1; } $erg = $month.' Monaten'; if($day == 1) { $erg_2 = $day.' Tag'; } else { $erg_2 = $day.' Tagen'; } if($month > 0) { echo '
Wird '.$next_jahrgang.' Jahre alt in '.$erg.' '.$erg_2.' '; } if($day >= 1 && $month == 0) { echo '

Wird '.$next_jahrgang.' Jahre alt
in '.$erg_2.'


'; $this->User->banner_friend(); } if($day == 0 && $month == 0) { echo '

Wird heute '.$next_jahrgang.' Jahre alt



'; } } } if($fields2[privat_freundesliste] == "jeder") { echo ' Geburtstag: '.$fields2[tag].'.'.$fields2[monat].'.19'.$fields2[jahr].'

Geburtstags-Counter:'; //$eine_woche = 604800; $month = $fields2['monat'] - date("m"); $day = $fields2['tag'] - date("d"); if($month < 0) { $month += 12; } if($day < 0) { $day += 30; } /* $month = $month-1; if($month == -1) { $month = 0; } */ //echo 'x'.$month; /* if($month == 1 && $fields2['tag'] < date("d")) { $month = 0; } if($month == 11 && $fields2['tag'] > date("d")) { $month = 0; } if($month == 0 && $fields2['tag'] < date("d")) { $month = 11; } */ if($month == 0 && $fields2['tag'] < date("d")) { $month = 11; $next_jahrgang = $next_jahrgang+1; } $erg = $month.' Monaten'; if($day == 1) { $erg_2 = $day.' Tag'; } else { $erg_2 = $day.' Tagen'; } if($month > 0) { echo '
Wird '.$next_jahrgang.' Jahre alt in '.$erg.' '.$erg_2.' '; } if($day >= 1 && $month == 0) { echo '

Wird '.$next_jahrgang.' Jahre alt
in '.$erg_2.'


'; $this->User->banner_friend(); } if($day == 0 && $month == 0) { echo '

Wird heute '.$next_jahrgang.' Jahre alt



'; } } echo '

'; $sql_relation99 = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $fields_relation99 = mysql_fetch_assoc($sql_relation99); $fields_friend_letzte = substr_count($fields_relation99['id_freund'],';'); $fields_friend_letzte_2 = $fields_friend_letzte - 1; if($foo <= 1) { echo' flirten '.$this->User->stadtname().'
'; } if($foo > 1 && $foo < $fields_friend_letzte_2) { echo'
flirten '.$this->User->stadtname().'
'; echo' flirten '.$this->User->stadtname().'
'; } //echo "
Anzahl semikolon".$fields_friend_letzte."
anzahl freunde".$fields_friend_letzte_2; //echo $foo; //echo '
'.$fields_friend_letzte_2; if($foo == $fields_friend_letzte_2) { echo'
flirten '.$this->User->stadtname().'    '; } echo'

'; /* if(SHOW_ENTFERNUNG == 'YES') { $GetIdRegistered = $this->User->GetIdRegistered(); $result_entfernung = $this->Query('SELECT plz,ort FROM user_profile WHERE id_registered = '.$GetIdRegistered); $fields_entfernung = mysql_fetch_assoc($result_entfernung); echo ' '; mysql_free_result($result_entfernung); }*/ } echo '

'; /* $i = $i+1; $array_sortby[$i] = $fields2[name]; */ }//foo } } $e = strtok(';');//freunde anzeigen else von strtok-Algorithmus } // while $array_2 = array(); unset($z); $z = 0; $array_sortby = asort($array_sortby, SORT_STRING); //print_r($array_sortby); /* foreach($array_sortby AS $e) { $resultat = $this->Query('SELECT * FROM user_profile WHERE id_registered = \''.$e.'\''); $feld = mysql_fetch_assoc($resultat); $z = $z+1; $array_2[$z][name] = $feld[name]; $array_2[$z][user_id] = $e; } for($i=1;$i<=$z;$i++) { $array_2 = array_merge($array_2); } var_dump($array_2); */ echo' '; $senden = $_POST[senden]; //echo 'senden:'.$senden; //echo '
nachricht:'.$_POST[nachricht]; // echo 'checkbox name:'.$_POST[check_friend_nachricht1]; if(isset($senden) && !empty($_POST[nachricht_textarea])) { //echo 'hal'; $GetIdQuelle = $this->User->GetIdRegistered(); unset($e); for($i=1;$i<=$foo;$i++) { $a = 'check_friend_nachricht'.$i; //echo '
a:'.$a; $j = $_POST[$a]; //echo '
j:'.$j; if($j != 0) { $e = $j; } if(isset($e)) { //echo 'e'.$e; $GetIdRegistered = $this->User->GetIdRegistered(); $user_id = $e; $result = $this->Query('SELECT id FROM user_relation WHERE id_registered = '.$GetIdRegistered.' ORDER BY id_ignorieren ASC'); $vorhanden_ignorieren = 0; while($fields = mysql_fetch_assoc($result)) { $a = $this->Query('SELECT id_ignorieren FROM user_relation WHERE id_registered = \''.$user_id.'\''); $b = mysql_fetch_array($a); $d = $GetIdRegistered; $e = strtok($b[0], ';'); while($e) { if($e == $d) { $vorhanden_ignorieren = 1; } $e = strtok(';'); } } $sql2 = $this->Query('SELECT jahrgang,premium,premium_gutschein,kostenlos_gutschein FROM user_profile WHERE id_registered = \''.$GetIdRegistered.'\''); $row2 = mysql_fetch_array($sql2); $sql3 = $this->Query('SELECT privat_alt,privat_jung FROM user_profile WHERE id_registered = \''.$user_id.'\''); $row3 = mysql_fetch_array($sql3); $vorhanden_zu_alt = 1; if($row3[privat_alt] == 0) { $vorhanden_zu_alt = 0; } if($row2[jahrgang] <= $row3[privat_alt] && $row2[jahrgang] >= $row3[privat_jung]) { $vorhanden_zu_alt = 0; } mysql_free_result($sql3); /* $time = time()-86400; $sql4 = $this->Query('SELECT id_user_ziel FROM nachricht WHERE id_user_quelle = \''.$GetIdRegistered.'\' AND insert_time > \''.$time.'\''); $abc = array(); $xyz = 0; $kkk = 0; if(mysql_num_rows($sql4) > 0) { while($row4 = mysql_fetch_array($sql4)) { $kkk = $kkk+1; if(count($abc) <= 4) { if(in_array($row4['id_user_ziel'],$abc)) { } else { $abc[$kkk] = $row4['id_user_ziel']; } } } //print_r($abc); $nachrichten5 = 0; $premium = $row2['premium']; if($premium == 0 ) { if(count($abc) > 4) { if(in_array($user_id,$abc)) { $nachrichten5 = 0; } else { //echo 'OOOOO'; $nachrichten5 = 1; } } else { $nachrichten5 = 0; } } } else { $nachrichten5 = 0; } */ /* echo $vorhanden_zu_alt; echo $vorhanden_ignorieren; echo $nachrichten5; */ //echo 'user_id'.$user_id; //echo $_GET[user_id]; //&& $nachrichten5 == 0 if($vorhanden_zu_alt == 0 && $vorhanden_ignorieren == 0 ) { //echo 'hallo'; /* $GetIdQuelle = $this->User->GetIdRegistered(); $sql = $this->Query('SELECT premium,premium_gutschein,kostenlos_gutschein FROM user_profile WHERE id_registered = '.$GetIdQuelle); $row = mysql_fetch_assoc($sql); */ $my_premium = $row2['premium']; $my_premium_gutschein = $row2['premium_gutschein']; $my_premium_kostenlos = $row2['kostenlos_gutschein']; if($my_premium == 0 && $my_premium_gutschein == 0 && $my_premium_kostenlos == 0) { /*$y = count($abc); $x = 5-$y; echo'
Du darfst noch '.$x.' Flirt-Profilen schreiben (innerhalb der letzten 24 Stunden).
Den schon geschriebenen Profilen darfst Du heute noch weiterhin schreiben!


*/ if(SHOW_PREMIUM == 'YES') { echo' Kein Premium Account '; } } else { if($my_premium == 1 || $my_premium_gutschein == 1 || $my_premium_kostenlos == 1) { $premium = "10300"; } elseif($my_premium == 2 || $my_premium_gutschein == 2 || $my_premium_kostenlos == 2) { $premium = "55000"; } else { $premium = "615"; } $ar = "@"; $suche = preg_match("/".$ar."/",$_POST[nachricht_textarea]); $nachricht = str_replace('@','',$_POST[nachricht_textarea]); if($suche == 0) { $INHALT = " friend @ als email mehrmals? gesendet\n \n http://www.mycityflirt.de \n\n "; $mail_webmaster = $this->User->GetEmailWebmaster(); mail("$mail_webmaster", "friend @ gesendet - mycityflirt", "$INHALT", "From:noreply@mycityflirt.de"); } $nachricht = htmlentities($nachricht, ENT_QUOTES); //echo strlen($nachricht); //&& $suche == 0 if(strlen($nachricht) >= 1 && strlen($nachricht) <= $premium ) { $nachricht = nl2br($nachricht); //$nachricht = str_split($nachricht, $premium); $sql_ip = $this->Query('SELECT ip FROM user_online WHERE id_registered = '.$GetIdQuelle); $row_ip = mysql_fetch_assoc($sql_ip); $ip = $row_ip['ip']; mysql_free_result($sql_ip); //echo $premium; //echo 'insert'; $upload = 'INSERT INTO nachricht ( id_user_quelle, id_user_ziel, nachricht, gelesen, beantwortet, ziel_geloescht, quelle_geloescht, premium, ip, nachricht_ok, insert_time ) VALUES ( "'.$GetIdQuelle.'", "'.$user_id.'", "'.$nachricht.'", 0, 0, "'.$_POST['ziel_geloescht'].'", "'.$_POST['quelle_geloescht'].'", "'.$my_premium.'", "'.$ip.'", 0, "'.time().'" ) '; mysql_real_escape_string($this->Query($upload)); } } } } unset($e); } echo '

Nachricht an alle Freunde gesendet!

Bitte ins Menü klicken, um fortzufahren!


'; mysql_free_result($result2); mysql_free_result($result); mysql_free_result($sql2); mysql_free_result($sql4); }//nachricht true if($_GET['ignorieren2_save'] == 'true' && $_GET['user_id'] != '') { $GetIdRegistered = $this->User->GetIdRegistered(); $sql = $this->Query('SELECT id_registered FROM user_profile WHERE id_registered = '.$GetIdRegistered); $row = mysql_fetch_assoc($sql); $id_registered = $row['id_registered']; $user_id = $_GET['user_id']; $a = $this->Query('SELECT id_ignorieren FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $b = mysql_fetch_array($a); $d = $user_id; $c = $b[0].$d.";"; //echo $GetIdRegistered; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_ignorieren = \''.$c.'\' WHERE id_registered = '.$GetIdRegistered.'')); $sql = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $result = mysql_fetch_assoc($sql); //echo $result[id_freund].' = ID_FREUND
'; $del_friend = $_GET[user_id]; //echo $del_friend.' = DEL_FRIEND
'; $str2 = str_replace(';'.$del_friend.';',';',$result[id_freund]); //echo "
".$str2; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_freund = \''.$str2.'\' WHERE id_registered = \''.$GetIdRegistered.'\'')); $e = strtok(';'); echo '

Freund ignoriert und aus Freundesliste gelöscht!

Bitte ins Menü klicken, um fortzufahren!


'; } if($_GET['merken2_save'] == 'true' && $_GET['user_id'] != '') { $GetIdRegistered = $this->User->GetIdRegistered(); $result = $this->Query('SELECT id FROM user_relation WHERE id_registered = '.$GetIdRegistered.' ORDER BY id_merken ASC'); while($fields = mysql_fetch_assoc($result)) { $a = $this->Query('SELECT id_merken FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $b = mysql_fetch_array($a); $d = $_GET['user_id']; $e = strtok($b[0], ';'); while($e) { if($e == $d) { $vorhanden_2 = 0; } else { //$vorhanden_2 = 1; } $e = strtok(';'); } } if(!isset($vorhanden_2)) { $sql = $this->Query('SELECT id_registered FROM user_profile WHERE id_registered = '.$GetIdRegistered); $row = mysql_fetch_assoc($sql); $id_registered = $row['id_registered']; $user_id = $_GET['user_id']; $a = $this->Query('SELECT id_merken FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $b = mysql_fetch_array($a); $d = $user_id; //echo $b[0].'
'; //echo $d; $c = $b[0].$d.";"; //echo '
'.$c.'id
'; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_merken = \''.$c.'\' WHERE id_registered = '.$GetIdRegistered.'')); $sql = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $result = mysql_fetch_assoc($sql); //echo $result[id_freund].' = ID_FREUND
'; $del_friend = $_GET[user_id]; //echo $del_friend.' = DEL_FRIEND
'; $str2 = str_replace(';'.$del_friend.';',';',$result[id_freund]); //echo "
".$str2; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_freund = \''.$str2.'\' WHERE id_registered = \''.$GetIdRegistered.'\'')); $e = strtok(';'); echo '

Freund auf Merkliste herabgesetzt und aus Freundesliste gelöscht!

Bitte ins Menü klicken, um fortzufahren!


'; } } if($_GET[action] == "del" && $_GET[del_id] != "") { $sql = $this->Query('SELECT id_freund FROM user_relation WHERE id_registered = \''.$GetIdRegistered.'\''); $result = mysql_fetch_assoc($sql); //echo $result[id_freund].' = ID_FREUND
'; $del_friend = $_GET[del_id]; //echo $del_friend.' = DEL_FRIEND
'; $str2 = str_replace(';'.$del_friend.';',';',$result[id_freund]); //echo "
".$str2; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_freund = \''.$str2.'\' WHERE id_registered = \''.$GetIdRegistered.'\'')); $e = strtok(';'); echo '

Freund aus Liste gelöscht!

Bitte ins Menü klicken, um fortzufahren!


'; } mysql_free_result($sql); mysql_free_result($a); }//isguest } //view_type if($view_type == 'friend_save') { echo '

User zur Freundesliste dazugefügt!

Bitte ins Menü klicken, um fortzufahren!


'; } ?>







Sitemap | Stadtliste | Impressum | Domainverkauf




Linkpartner
Mit Singles kostenlos flirten und kennenlernen.
Kostenlose Flirtseite mit städtischer Flirt-Community für Singles.

flirten Leipzig, singles Leipzig singles, kostenlos flirt Leipzig flirt



Copyright © 2020

Anzeigen: