Server IP : 51.89.169.208 / Your IP : 3.148.107.92 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/yellowleaf/public_html/junk/ |
Upload File : |
<? include_once('connect.php'); $area_sql = mysql_query("SELECT * FROM `score3` WHERE `hotfrog` = '1' LIMIT 1"); if(!mysql_num_rows($area_sql)){echo 'done';die;} while($area_row = mysql_fetch_array($area_sql)){ $mid=$area_row['score_id']; $mresults_for =$area_row['results_for']; echo $mresults_for; } //////////////// $area_sql = mysql_query("SELECT * FROM `score3` WHERE `results_for` = '{$mresults_for}' ORDER BY pop DESC"); if(!mysql_num_rows($area_sql)){echo 'done';die;} while($area_row = mysql_fetch_array($area_sql)){ $count++; $result =$area_row['result']; $score_id =$area_row['score_id']; $pop =$area_row['pop']; if ($count > 19) { mysql_query("DELETE FROM `score3` WHERE `score_id` = '{$score_id}'"); } } //$count = $count/11; echo "<hr>$count"; mysql_query("UPDATE score3 SET hotfrog='2' WHERE results_for = '{$mresults_for}'"); echo "<meta http-equiv=\"refresh\" content=\"0\"/>"; ?>