Файл: anifun.ru/files/GeoData/op_pm.php
Строк: 23
<?
############################################
## By Holopsicon
## https://psgame.net
############################################
/*#######инфо от гма#######
$information = DB::$dbs->query("SELECT `text`,`url`,`link` FROM `l2ps_gm_information` WHERE `type` = ? ORDER by `id` DESC LIMIT 3", array(1));
while($gmif = $information -> fetch()) {
#######
if($gmif[link]==0){
?>
<div class="xxx">
<b><font color=red><?=$gmif[text]?></font></b>
</div>
<?
}else{
?>
<div class="xxx"> <a href="<?=$gmif[url]?>"><i class="fal fa-comments"></i> <?=$gmif[text]?></a>
</div>
<?
}
}*/
?>
<?
#######оповещения
if(isset($_COOKIE['user_id'])){
?><div class='block'><?
$history_b = DB::$dbs->query("SELECT `text`,`id` FROM `user_history` WHERE `user_id` = ? ORDER by `id`DESC LIMIT 3", array($USER_ID));
while($hi_b = $history_b -> fetch()) {
?>
<?=$hi_b[text]?><br>
<?
}
?></div><?
}
if(!isset($_COOKIE['user_id'])){
$USER_ID=0;
DB::$dbs->query("DELETE FROM `user_history` WHERE `id` = ? and `user_id` = ? ", array($hi_b[id],$USER_ID));
}
/*?><div class="title mt15"><?*/
$id=0; // id вашего сайта
$mfile='0'; // имя файла
require_once($_SERVER['DOCUMENT_ROOT'].'/glp.php');
echo gl($id,$mfile);
/*?></div><?*/
?><a class="cd-panel-link" href="https://miglinks.com/place/0/"><span class="material-icons">shopping_cart</span> Купить Рекламу</a><br><?
?>