芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/rentandbuyrealty.com/requests/engage.php
'; if(siteConfig('fEngage') == 'Yes'){ $query = $mysqli->query("SELECT id FROM users where fake = 0 and last_access <= '".$lastAccess."' order by RAND() limit $el"); if ($query->num_rows > 0) { while($u = $query->fetch_object()){ getUserInfo($u->id,6); $chance = rand(1, 100); echo '
User: '.$sm['search']['name'].'
'; //LIKE echo 'Engage method: Like!
'; engageUser($sm['search']['lat'],$sm['search']['lng'],$sm['search']['s_gender'],$sm['search']['s_age']); echo 'Engage: '.$sm['profile']['name'].'
'; $mysqli->query("INSERT INTO users_likes (u1,u2,love) VALUES ('".$sm['profile']['id']."','".$sm['search']['id']."',1)"); $mysqli->query("UPDATE users set popular = popular+1 where id = '".$sm['search']['id']."'"); if(isFan($sm['search']['id'],$sm['profile']['id']) == 0){ fanMailNotification($sm['search']['id']); } if(isFan($sm['search']['id'],$sm['profile']['id']) == 1){ matchMailNotification($sm['search']['id']); } } } echo 'Engage - ended!'; }