Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Decide on the price per hour
For example, a thousand rubles per hour
Multiply the time spent by the rate
function user_is_authorized($user) {
$is_authorized = false;
if (isset($user)) {
$is_authorized = true; // удостоверьтесь, что пользователь авторизован
}
return $is_authorized;
}
if (user_is_authorized($user) && isset($file['down_rating']) && isset($user['rating']) && $file['down_rating'] <= $user['rating'] && ((isset($user['fraudster']) && $user['fraudster'] == 0) || (!isset($file['id_category']) || $file['id_category'] != 3)))
{
//download
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question