mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +09:00
issue 70 menu working. Not yet completed source
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8590 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d803e8b89d
commit
683f041593
12 changed files with 393 additions and 292 deletions
|
|
@ -695,5 +695,22 @@
|
|||
return $output->data->member_srl;
|
||||
}
|
||||
|
||||
function getAdminGroupSrl($site_srl = 0)
|
||||
{
|
||||
$groupSrl = 0;
|
||||
$output = $this->getGroups($site_srl);
|
||||
if(is_array($output))
|
||||
{
|
||||
foreach($output AS $key=>$value)
|
||||
{
|
||||
if($value->is_admin == 'Y')
|
||||
{
|
||||
$groupSrl = $value->group_srl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return $groupSrl;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue