flirten Metaller Singles

kostenlos flirten
Metaller Singles

bundesweite Webseite zum kostenlos flirten
Anzeigen:






Anzeigen:
User->CheckForErrors()) { $view_type = 'fotovoting'; } else { $view_type = 'fotovoting_save'; } } else { $view_type = 'fotovoting'; } if($view_type == 'fotovoting') { if($this->User->IsGuest()) { $this->User->startseite(); } else if($this->User->IsProfileOk() == 1) { echo '





'; if($_GET[action_geschlecht] == 'beide' || !isset($_GET[action_geschlecht])) { $result = $this->Query('SELECT id_registered,name,geschlecht,privat_foto,privat_voting FROM user_profile WHERE foto = 1 AND show_user = 1 AND privat_voting = "jeder" order by RAND() LIMIT 1'); } if($_GET[action_geschlecht] == 'weiblich') { $result = $this->Query('SELECT id_registered,name,geschlecht,privat_foto,privat_voting FROM user_profile WHERE geschlecht = "weiblich" AND foto = 1 AND show_user = 1 AND privat_voting = "jeder" order by RAND() LIMIT 1'); } if($_GET[action_geschlecht] == 'maennlich') { $result = $this->Query('SELECT id_registered,name,geschlecht,privat_foto,privat_voting FROM user_profile WHERE geschlecht = "maennlich" AND foto = 1 AND show_user = 1 AND privat_voting = "jeder" order by RAND() LIMIT 1'); } $fields = mysql_fetch_assoc($result); $GetIdRegistered = $this->User->GetIdRegistered(); //echo $fields[id_registered]; if(isset($fields[id_registered]) && $fields[id_registered] != $GetIdRegistered) { /* $result_3 = $this->Query('SELECT password,rights FROM user_registered WHERE id = '.$fields[id_registered]); $fields_3 = mysql_fetch_assoc($result_3); if( $fields_3['rights'] < 1 && $fields_3['password'] != "xh6t9ge4p7sk" && $fields_3['password'] != "xh6t9ge4p7skdel") { if($fields[privat_voting] == "jeder") { */ $sql = $this->Query('SELECT foto,foto_checked FROM user_foto WHERE id_registered = '.$fields[id_registered].' ORDER BY id ASC'); $rows = mysql_num_rows($sql); $fields6 = mysql_fetch_assoc($sql); if($rows >= 1) { if($fields6[foto_checked] == 2) { //echo 'hallo'.$fields6[foto]; $foto = ' .$fields6[foto]. '; echo '
'.$foto.'

'.$fields[name].' '; if($fields['geschlecht'] == maennlich) { echo 'maennlich_icon'; } else { echo ' weiblich_icon'; } echo '


'; $GetIdRegistered = $this->User->GetIdRegistered(); $result = $this->Query('SELECT voting_count,voting_average FROM user_relation WHERE id_registered = '.$fields[id_registered]); $fields_2 = mysql_fetch_array($result); if($fields_2['voting_average'] == '0') { $average_2 = '0'; } else { $average_2 = $fields_2['voting_average']; } echo '
Durchschnittswert:
'.$average_2.'
Anzahl der Bewertungen:
'.$fields_2['voting_count'].'
Ihre Bewertung: (sehr schlecht =) '; for($i = 1; $i <= 10; ++$i) { echo ' '.$i.''; } echo ' (= sehr gut)




'; } } mysql_free_result($sql); //} //} //mysql_free_result($result_3); } mysql_free_result($result); if($_GET['letztenfotovotings_save'] == 'true') { $user_id = $_GET['user_id']; $GetIdRegistered = $this->User->GetIdRegistered(); $sql_relation = $this->Query('SELECT id_vote,voting,voting_count FROM user_relation WHERE id_registered = \''.$user_id.'\''); $fields_relation = mysql_fetch_assoc($sql_relation); $a = strlen($GetIdRegistered); $b = strlen($fields_relation['id_vote']); //$c = $b-$a; //$d = substr($fields_relation['id_vote'], $c); $d = substr($fields_relation['id_vote'],0,$a); if($d == $GetIdRegistered) { } else { $erg = $GetIdRegistered.';'.$fields_relation['id_vote']; mysql_real_escape_string($this->Query('UPDATE user_relation SET id_vote = \''.$erg.'\' WHERE id_registered = '.$user_id.'')); $suche = preg_match("=^[0-9]+$=i",$_GET[vote_id]); if($suche == 1) { //echo $fields_relation['voting_count']; //echo $user_id; $counter = $fields_relation['voting_count']+1; $new_voting_2 = $fields_relation['voting'] + $_GET[vote_id]; $new_voting = round($new_voting_2 / $counter,2); $sql_Geschlecht = $this->Query('SELECT geschlecht FROM user_profile WHERE id_registered = '.$user_id); $row_Geschlecht = mysql_fetch_assoc($sql_Geschlecht); mysql_real_escape_string($this->Query('UPDATE user_relation SET voting = \''.$new_voting_2.'\', voting_count = \''.$counter.'\', voting_average = \''.$new_voting.'\', geschlecht = \''.$row_Geschlecht['geschlecht'].'\' WHERE id_registered = '.$user_id.'')); mysql_real_escape_string($this->Query('UPDATE user_profile SET voting = \''.$new_voting.'\' WHERE id_registered = '.$user_id.'')); echo '

Foto gevotet!

oben weitervoten, wenn Du magst!

'; //Weitervoten? } } mysql_free_result($sql_relation); mysql_free_result($sql_Geschlecht); } } } ?>







Sitemap | Stadtliste | Impressum | Domainverkauf




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

flirten Metaller Singles, singles Metaller Singles singles, kostenlos flirt Metaller Singles flirt



Copyright © 2020

Anzeigen: