game/_incl_data/class/priem/174.php

35 lines
1.1 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
if(!defined('GAME')) {
die();
}
/*
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
$pvr = array();
//
$prv['upd'] = $this->rezadEff($u->info['id'],'wis_water');
if( $prv['upd'] == false ) {
$cup = true;
}else{
$pvr['os']['sp23'] = mysql_query('SELECT * FROM `eff_users` WHERE `data` LIKE "%add_nousepriem=%" AND `data` NOT LIKE "%add_noshock_voda=%" AND `uid` = "'.$u->info['id'].'" AND `delete` = 0 AND `v1` = "priem" LIMIT 1');
while( $pvr['os']['pl23'] = mysql_fetch_array($pvr['os']['sp23']) ) {
if( isset($pvr['os']['pl23']['id']) ) {
$pvr['os']['pl23']['data'] .= '|add_noshock_voda=1';
mysql_query('UPDATE `eff_users` SET `data` = "'.$pvr['os']['pl23']['data'].'" WHERE `id` = "'.$pvr['os']['pl23']['id'].'" LIMIT 1');
}
}
$prv['color2'] = '000000';
$prv['text'] = $btl->addlt(1 , 21 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL);
$prv['text2'] = '{tm1} '.$prv['text'].'.';
$btl->priemAddLog( $id, 1, 2, $u->info['id'], 0,
'<font color^^^^#'.$prv['color2'].'><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></font>',
$prv['text2'],
($btl->hodID + 1)
);
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
$this->mintr($pl);
}
unset($pvr);
?>