Address Management';
if ($err != '')
$pg .= "$err
";
$pg .= makeForm('addrmgt');
$pg .= "
\n";
$pg .= '';
$pg .= 'Address | ';
$pg .= 'Ratio | ';
$pg .= '% | ';
$pg .= '
';
$ans = userSettings($user);
$offset = 0;
$count = 0;
if ($ans['STATUS'] == 'ok')
{
$count = $ans['rows'];
for ($i = 0; $i < $count; $i++)
{
if ((($offset) % 2) == 0)
$row = 'even';
else
$row = 'odd';
$pg .= " 0 && $count < 1000)
{
$addrarr = array();
for ($i = 0; $i < $count; $i++)
{
$addr = getparam('addr:'.$i, false);
$ratio = getparam('ratio:'.$i, false);
if (!nuem($addr) && !nuem($ratio))
$addrarr[] = array('addr' => $addr, 'ratio' => $ratio);
}
$ans = userSettings($user, null, $addrarr, $pass);
if ($ans['STATUS'] != 'ok')
$err = $ans['ERROR'];
#$err = print_r($addrarr, true).$pass;
}
}
$pg = addrmgtuser($data, $user, $err);
return $pg;
}
#
function show_addrmgt($info, $page, $menu, $name, $user)
{
gopage($info, NULL, 'doaddrmgt', $page, $menu, $name, $user);
}
#
?>