<?php
$profile_group = $PowerBB->_CONF['group_info']['id'] ;
$first_group = "1,4"; // أرقام المجموعات الخاصة الأولى
$second_group = "5,6"; // أرقام المجموعات الخاصة الثانية
if (in_array($profile_group, preg_split('#\s*,\s*#s', $first_group, -1, PREG_SPLIT_NO_EMPTY))) // خلفيات بروفايل أعضاء المجموعات الخاصة الأولى
{
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}elseif (in_array($profile_group, preg_split('#\s*,\s*#s', $second_group, -1, PREG_SPLIT_NO_EMPTY))) // خلفيات بروفايل أعضاء المجموعات الخاصة الثانية
{
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}else{ // خلفيات بروفايل المجموعات الأخرى
echo "
<style type='text/css'>
.UserProfile .pp-name{
}
.UserProfile .pp-tabon{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .pp-taboff, .UserProfile .pp-tabshaded{
background: #E1DDD8 url('images/gradient_thead.gif');
}
.UserProfile .pp-contentbox-back{
background: #323FE2;
}
.UserProfile .pp-tabclear{
background: #4F3030 url('images/bar_bg.gif');
}
.UserProfile .borderwrap{
}
.UserProfile .tcat{
background: #4F3030 url('images/gradient_tcat.gif');
}
.UserProfile .row1{
background: #F9F6F6;
}
.UserProfile .row3{
background: #F9F6F6;
}
</style>
" ;
}
?>