if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group information", "", __LINE__, __FILE__, $sql);
}
$ug_info = array();
while( $row = $db->sql_fetchrow($result) )
{
$ug_info[] = $row;
}
$db->sql_freeresult($result);
$name = array();
$id = array();
for($i = 0; $i < count($ug_info); $i++)
{
if( !$ug_info[$i]['group_single_user'] )
{
$name[] = $ug_info[$i]['group_name'];
$id[] = intval($ug_info[$i]['group_id']);
}
}
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title> Пример простой страницы html</title>
</head>
<body>
Пример простой страницы - для того, чтобы посмотреть код, нажмите ctrl + U
</body>
</html>
/* Раздел красный */
.razd {
background: #c02033;
color: #e4e4e4;
padding:16px;
border-bottom: 1px solid #aa1c2d;
}
/* START BLINK NEWS DATE */
$(function(){
$(".blink").hide();
setTimeout(function(){$(".blink").show();setInterval(function(){$(".blink").toggle();},500)},0);
});
/* END BLINK NEWS DATE */
27 Дек, 3:35Admin,
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't obtain user/group information", "", __LINE__, __FILE__, $sql);
}
$ug_info = array();
while( $row = $db->sql_fetchrow($result) )
{
$ug_info[] = $row;
}
27 Дек, 3:39