i have set a "gift reset" from admincp..
in admincp.php find:
<td align="center"><a href=admincp.php?action=users><img src="images/admin/users.gif" border=0 width=32 height=32><br>Users</a><BR></td>
add after:
<td align="center"><a href=admincp.php?action=gift><img src="images/admin/uploaders.gif" border=0 width=32 height=32><BR>Reset Gift</a><BR></td>
always in adminphp find:
$rqq = "SELECT * FROM users $where ORDER BY username $limit";
$resqq = mysql_query($rqq);
echo "<form action='admincp.php?action=users' method='POST'><input type='hidden' name='do' value='delete'>";
while ($row = mysql_fetch_array($resqq)){
echo "
<tr><td class=table_col1 align=center><a href=account-details.php?id=$row[id]>$row[username]</a></td>
<td class=table_col2 align=center>".get_user_class_name($row['class'])."</td>
<td class=table_col1 align=center>$row[email]</td>
<td class=table_col2 align=center>$row[ip]</td>
<td class=table_col1 align=center>".utc_to_tz($row['added'])."</td>
<td class=table_col2 align=center>$row[last_access]</td>
<td class=table_col1 align=center><input type=checkbox name='userids[]' value='$row[id]'></td>
</tr>\n";
}
echo "</table><BR><input type='button' value='Check All' onclick='this.value=check(form)'> <input type='submit' value='Delete checked'></form></CENTER>\n";
print($pagerbottom);
end_frame();
stdfoot();
}
add after:
#======================================================================#
# New gift for ALL user
#======================================================================#
if ($action=="gift"){
stdhead("New gift fol all user");
begin_frame("New gift");
mysql_query("UPDATE users SET gift='no' WHERE gift='yes'");
print("<font size=2 color=red><center>Success, A new gift is avaible for all user</b></center></font><br>\n");
print($pagerbottom);
end_frame();
stdfoot();
}