| 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/usa_sites/governmentgrants.us/wp-content/themes/governmentgrants/ |
Upload File : |
<?php
include_once($_SERVER['DOCUMENT_ROOT'].'/vx_/site_info.php');
include_once($_SERVER['DOCUMENT_ROOT'].'/vx/lib/mysql.php');
$ad_category = $db->get_results("SELECT category FROM mormon.current_ad_group
WHERE 1
LIMIT 1");
if(empty($ad_category)) {
$ad_category = array();
$ad_category[0] = (object) array('category'=>'Jesus Christ');
}
$all_ads = $db->get_results("SELECT * FROM mormon.ad_groups
WHERE category='".$db->clean($ad_category[0]->category)."'
ORDER BY RAND()
LIMIT 1");
?>
<style>
.mormon_ad_img {
width:238px;
}
.mormon_ad_side {
display:inline-block;
width:50%;
}
.mormon_ad {
padding-left:100px;
}
@media only screen and (max-width: 500px) {
.mormon_ad_img {
margin:0px;
}
.mormon_ad_side {
display:block;
width:100%;
}
.mormon_ad {
padding:0px;
text-align:center;
}
}
</style>
<img src="https://pcisecureform.com/lcapi/MormonTracking.php?site=<?= $siteCode;?>&ad_id=<?= $all_ads[0]->id;?>&request_uri=<?= urlencode($_SERVER['REQUEST_URI']);?>&source=<?= urlencode($all_ads[0]->category);?>&type=load" style="width:1px;height:1px;border:none;" />
<div class="mormon_ad">
<a href="<?= $all_ads[0]->link_to;?>" alt="<?= $all_ads[0]->description;?>" target="_blank" rel="nofollow" class="mormon_ad_a"><img src="<?= $all_ads[0]->image_url;?>" class="mormon_ad_img" /></a>
</div>