- 1
- 2
- 3
- 4
- 5
- 6
$uu=substr($d_users,-2);
$ux1=array(2,3,4,22,23,24,32,33,34,42,43,44,52,53,54,62,63,64,72,73,74,82,83,84,92,93,94);
$ux2=array(1,21,31,41,51,61,71,81,91);
$ut='Участников';
if(in_array($uu,$ux1)){ $ut='Участника'; }
elseif(in_array($uu,$ux2)){ $ut='Участник'; }