???????
??????
? ????????? ???? ?? ????????? ??? ???? ???????? ???????, ???? ???????? ? ?????? ????? ????????.
??? ?????????. ?? ?? ?? ???????...
??????
Not Supported File! Thumbnails can only be made from .jpg, gif and .png images!
????? ??? ???????? ???-???? ???????????
?????? ?????
????
???
if ($member_id['user_group'] != "1")
{
$db->query("INSERT INTO `" . PREFIX . "_".$modul_dbtitle."` (`autor`, `date`, `size`, `version`, `platform`, `description`, `title`, `screenshot`, `filename`, `category`, `approve`, `allow_rate`, `allow_br`, `alt_name`) values ('$member_id[name]', '$thistime', '$filesize1', '$version', '$platform', '$description', '$title', '$file_name_thumb', '$file_name_base', '$cat_title', '1', '1', '1', '{$alt_name}')");
$db->query("UPDATE " . PREFIX . "_users set news_num = news_num+1 WHERE user_id='$member_db[10]'");
}
else
{
$fpid = intval($cat_i_down[$cat_title]['parentid']);
$db->query("INSERT INTO `" . PREFIX . "_".$modul_dbtitle."` (`autor`, `date`, `size`, `version`, `platform`, `description`, `title`, `screenshot`, `filename`, `category`, `approve`, `allow_rate`, `allow_br`, `alt_name`) values ('$member_id[name]', '$thistime', '$filesize1', '$version', '$platform', '$description', '$title', '$file_name_thumb', '$file_name_base', '$cat_title', '0', '1', '1', '{$alt_name}')");
}
???????? ??
???
$db->query("INSERT INTO `" . PREFIX . "_".$modul_dbtitle."` (`autor`, `date`, `size`, `version`, `platform`, `description`, `title`, `screenshot`, `filename`, `category`, `approve`, `allow_rate`, `allow_br`, `alt_name`) values ('$member_id[name]', '$thistime', '$filesize1', '$version', '$platform', '$description', '$title', '$file_name_thumb', '$file_name_base', '$cat_title', '1', '1', '1', '{$alt_name}')");
$db->query("UPDATE " . PREFIX . "_users set news_num = news_num+1 WHERE user_id='$member_db[10]'");
????
???
if ($member_id['user_group'] == "1")
{
if ($config['allow_alt_url'] == "yes")
msgbox ('???? ??????? ????????', "{$msg} ???? ??????? ???????? ?? ?????? <br /><a href=\"{$config['http_home_url']}"."addkpk/\">$lang[add_noch]</a> $lang[add_or] <a href=\"{$config['http_home_url']}".$modulname."/\">$lang[all_prev]</a>");
else
msgbox ('???? ??????? ????????', "{$msg} ???? ??????? ???????? ?? ?????? <br /><a href=\"".$config['http_home_url']."?do=addkpk\">$lang[add_noch]</a> $lang[add_or] <a href=\"".$config['http_home_url']."?do=".$modulname."\">$lang[all_prev]</a>");
}
else
{
if ($config['allow_alt_url'] == "yes")
msgbox ('???? ??????? ????????.', "{$msg} ???? ??????? ???????? ?? ?????? <br />????? ???????? ???? ???????? ? ???????? ??????.<br><a href=\"{$config['http_home_url']}"."addkpk/\">$lang[add_noch]</a> $lang[add_or] <a href=\"{$config['http_home_url']}".$modulname."/\">$lang[all_prev]</a>");
else
msgbox ('???? ??????? ????????.', "{$msg} ???? ??????? ???????? ?? ?????? <br />????? ???????? ???? ???????? ? ???????? ??????.<br><a href=\"".$config['http_home_url']."?do=addkpk\">$lang[add_noch]</a> $lang[add_or] <a href=\"".$config['http_home_url']."?do=".$modulname."\">$lang[all_prev]</a>");
}
???????? ??
???
if ($config['allow_alt_url'] == "yes")
msgbox ('???? ??????? ????????', "{$msg} ???? ??????? ???????? ?? ?????? <br /><a href=\"{$config['http_home_url']}"."addkpk/\">$lang[add_noch]</a> $lang[add_or] <a href=\"{$config['http_home_url']}".$modulname."/\">$lang[all_prev]</a>");
else
msgbox ('???? ??????? ????????', "{$msg} ???? ??????? ???????? ?? ?????? <br /><a href=\"".$config['http_home_url']."?do=addkpk\">$lang[add_noch]</a> $lang[add_or] <a href=\"".$config['http_home_url']."?do=".$modulname."\">$lang[all_prev]</a>");