| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/personal_sites/cruzkirchhausen.com/ |
Upload File : |
<?php
include('mysql.php');
$db = new MySQL('db.syndbs.com', 'lc2user', 'SYN57CRUZ', 'geo');
//check for real mission call
$res = $db->get_results("SELECT country FROM geo.cruz_real_call WHERE 1 LIMIT 1");
if(!empty($res)) {
die('real_mission_there');
}
$res = $db->get_results("SELECT c.id,c.name,c.country,cc.short_name as country_name,s.state as state_name
FROM geo.cruz_new c
LEFT JOIN geo.country cc ON c.country=cc.iso2
LEFT JOIN geo.states s ON c.state=s.state_short
WHERE shown_big_screen=0
LIMIT 1");
if(!empty($res)) {
$r = $res[0];
$db->query("UPDATE geo.cruz_new
SET shown_big_screen=1
WHERE id='".$db->clean($r->id)."'");
?>
<div id="popup">
<center style="background:rgba(255,255,255,0.6);display:inline-block;padding:10px 50px;color:black;border:1px solid black;">
<div><img src="country_flag_pics/<?= strtolower($r->country);?>.png" style="border:1px solid black;" /></div>
<div style="margin:10px 0px;font-size:36px;"><strong><?= $r->name;?></strong></div>
<div style="margin:10px 0px;font-size:36px;"><?= $r->country_name;?></div>
<?php if(!empty($r->state_name)) { ?>
<div style="margin:10px 0px;font-size:36px;"><?= $r->state_name;?></div>
<?php } ?>
</center>
</div>
<?php
}