Представляю вашему вниманию HiAsm Component Manager - это небольшое приложение которое сделано для хранение компонентов.
для удобства поиска все распределено по категориям.
Что может приложение на текущий момент:
- Загрузка компонента в облако
- Скачивание компонента
функции которые будут в скором времени добавлены:
- Поделиться компонентом
- Различные варианты доступ к компоненту по разрешению автора
- Приватный режим доступ только автора
- История обновления
Исходники моего решения может кому-то будет полезно
dl.php - получаем ссылку на скачивание фала
$idfile = dateprotect($_GET['file']);
$selectComponents = mysql_query("SELECT * FROM `components` WHERE `id`='$idfile' LIMIT 1");
$countComponents = mysql_num_rows($selectComponents);
if($countComponents != 0 )
{
$selectComponentsToDownload = mysql_fetch_array($selectComponents);
$originFileLink = '/' . $selectComponentsToDownload['FileName'];
$newfile = $tempDir . "/" . rand(100,10000) . "_" . $selectComponentsToDownload['ComponentName'] . ".rar";
$origin = $storyDir . $originFileLink;
if (copy($origin, $newfile))
{
$selectComponents = mysql_query("UPDATE `components` SET `counDownload` = counDownload + 1 WHERE `id`='".$selectComponentsToDownload['id']."'");
echo "DownL{".$filename = $config['s_url'] . $newfile . "}DownLEnd";
}
else{
echo "ERROR";
}
}
else{
echo "ERROR";
}
up.php - загружаем файл на хост
$componentAutor = dateprotect($_POST['componentAutor']);
$componentName = dateprotect($_POST['componentName']);
$componentData = dateprotect($_POST['componentData']);
$componentCategory = dateprotect($_POST['componentCategory']);
$componentPrivat = dateprotect($_POST['componentPrivat']);
$componentSmallDiscript = dateprotect($_POST['componentSmallDiscript']);
// Проверяем загружен ли файл
if (!isset($_FILES[$field_name]))
{
echo('1400'); // Файл не загружен
exit;
}
if(!is_uploaded_file($_FILES[$field_name]['tmp_name']))
{
echo('1401'); //Ошибка загрузки файла
exit;
}
// Пример ограничения на размер загружаемого файла
if($_FILES[$field_name]['size'] > $max_size)
{
echo ('1700' . $_FILES[$field_name]['size']); //Размер файла превышает допустимые
exit;
}
// Если файл загружен успешно, перемещаем его из временной директории в конечную
if (move_uploaded_file($_FILES[$field_name]['tmp_name'], $upload_dir.'/'.$prefix.$_FILES[$field_name]['name']))
{
$uploaded['staus'] = '1001'; // Файл загружен успешно статус 1000
$uploaded['fileName'] = $prefix.$_FILES[$field_name]['name']; // Имя файла с префиксом
}
else
{
echo '1402'; // Ошибка при сохранении файла
$uploaded['staus'] = '1402';
}
if($uploaded['staus'] == '1001') // Добавляем запись в базу о новом компоненте
{
$query_array=mysql_query("INSERT INTO `components` (`ComponentName`, `Discript`, `FileName`, `Privat`, `ComponentGroup`, `AddDate`, `idUpdate`, `Autor`)
VALUES ('$componentName', '$componentDescription', '" . $uploaded['fileName'] . "', '$componentPrivat','$componentCategory', '$componentData', '0', '$componentAutor')");
echo '1000'; // выводим статус об успешной загрузки и добавлении в базу
}
API.php - тут функции различные
require_once(SOURCE_DIR."/init_source.php");
//объявляем рабочии перименный
$action = dateprotect($_GET['action']); // Действие: component - тут мы можем получать любые данный о комонентах,
$group = dateprotect($_GET['gorup']); // ID - категории из которй хотим вытащить компанент. все категории беруться из таблицы - categori_comonent
$info = (int) dateprotect($_POST['info']); // ID - компонента о котором нужно получить информацию
$argument = dateprotect($_GET['set']);
$product = dateprotect($_GET['product']);
$statusDebig = dateprotect($_GET['debug']);
if ($action == 'component' and $group !='' )
{
$selectComponents = mysql_query("SELECT * FROM `components` WHERE `ComponentGroup`='$group' ORDER BY `id` ASC");
$countComponents = mysql_num_rows($selectComponents);
if( $countComponents != 0 )
{
echo "ListComponent{";
while($selectedArrey=mysql_fetch_array($selectComponents))
{
echo $selectedArrey['id'].";".$selectedArrey['ComponentName'].";".$selectedArrey['SmallDiscript'].";".$selectedArrey['reiting'].";".$selectedArrey['counDownload']."||";
}
echo "}EndListComponent";
}
else
{
echo "ListComponent{";
echo 9000;
echo "}EndListComponent";
}
}
elseif ($action == 'info' and $product !='' )
{
$selectComponents = mysql_fetch_array(mysql_query("SELECT * FROM `components` WHERE `id`='$product' LIMIT 1"));
$componentDescription = bin2hex($selectComponents['Discript']);
echo "DiscriptComponent{";
echo $componentDescription;
echo "}EndDiscriptComponent";
}
elseif ($action == 'ping' AND $argument != '' AND $product != '' )
{
if(!$auth)
{
$user = 0;
}
$selectComponents = mysql_query("SELECT * FROM `Product_statistic` WHERE `ucpid`='$argument' LIMIT 1");
$countComponents = mysql_num_rows($selectComponents);
if( $countComponents != 0 )
{
$selectComponents = mysql_query("UPDATE `Product_statistic` SET `vision` = vision + 1, `debig` = $statusDebig WHERE `ucpid` = '".$argument."'");
}
else
{
$query_array = mysql_query("INSERT INTO `Product_statistic` (`Product`, `ucpid`, `vision`, `debug`, `IDuser`) VALUES ('$product', '$argument', '1', '$statusDebig', '$user')");
}
}
else
{
echo'400';
}
HiACM - Исходник программки
Make(delphi)
ver(4.05 build 186)
Add(MainForm,2953706,126,35)
{
Width=840
Height=750
Caption="HiAsm Component Manager v1.0 BETA (build - 221005)"
BorderStyle=1
Icon=[ZIP610D000078DAC557FB5713D71A3D33196122AF01CB43413208283E40B02A284206A12852687429A0148CDAFA42252A0A3E6026A00405215405ADA0A9D0EAF505D62A084A22A22254A3B5E2EB6A0212A1460503282321B927D87BFF807B7FB833EBAC99B5CFFECE7CE7ACB3CFFE060004DEA60B012488B402C001BEEF1144CFB11A3E6A387CB58A981BB6000C7110809BC1C7B79B4EAE840FAE68EEE2CD00588C303504FC58E20480E5604458C8C2B492B7A5511B9C9BEDC36B0FC7353630CB42ADAF59E6A4D52F8BB9BE11DCBE87BE89FA6EDA74A9983633FB2DBB810ACF8C21EF9CD9633EEF2127AADF4D99A3AF39F5EEAA2A08BDDBF0C3A45FEB064AC70E48829EAB5415801CB7BF8F03402001A8E5FF55A3C66CAD7DFEF2E1DABE4D473BAA1E4C4DB0AF73AD3E658C91C7D2373F6DAC0F2028F4C3C060C4F88FA717F43EAB1F34B65E32AC1B1CADBD65351802DAD6553D1BF7BDD6F00EB961B4D7A406AF9F7E64554B01EF5326D835232828A1780A6D78A2A36F757CA2E3F8369DE628A11118E8C95E467F434FEF5F0FE4717C5E270725CA97B1854C004EE5596BE6A0F524709B59C4E3E66482302741860789A3845008094E38196065DD37981810E605503CEF5AD1B1587439C9C802BCF8760440B086F96C212522285F17188E992158FD460808088A400F400043305200015F82D96C59D03379770F8632C06584A85939512C24C109DCC4024840D849FD5CC50C5C313213A6931F02F2091FBE9D68382A9A9DA973472424308F1BFDFA88B1FFC4525F2990E0A50CC83BFF54A7A4032E1BB52AE336639BBEEC2096E6A9069830670B6BFC5030B09442B78580F0B4F17CBB462BD457110FD3482414C22B30D1760CB16CD801816042411E8729B4A38825B90402AE04B5EAB8890190148FED70058271D9880930A7A724637DF2208FDB990946952DC9F09071D1D53926822B2EB3D5F67D4A995253FEF1C69381651AFE3C993EEA74E41EED92F88EB328BA5A71E3C68DB229878A1737755168F1963B6737C70264AA6CE7D5BB311949DC3FA755DD4D40B04AE9DBAD03E596ED513775CE91EA5FCE5DDD62B81F022CC62FED086DE6A74954599EC2CA159567060F7FC60F77B0512DDEF2BE89E29A0F2DEC1C73645282624DCD2FFA9576D597EEF267E2C2BFD0E807A335FEFB15A54301918EA25DA0A4AECB781E04E7D9291CB5FAB22C50E44326236916841356496C457F3C78AC94B1A28045ABAFBABB78704E8065B50BEC88C6DAC2648D2463269AE07B029D330C99CAE48A6F0677EDC915FF2806A3AE6914D7D59BD4D924933D8B36E895DF53C669DFA2657CA241285121C144B91F2EF37B6D27D32F31ADDF3C46A71583993F8D459A2AB86867CE5ECC4BEE83CBBEBCEF49B1174300276702ECB0419DC2A672050697723BC586AA1D57969C4DBCDBA3BF64F97451AB567CFA5372DF8EBE55DB0707BDEC04DEF22D06D708376630835E509FBE28B32E5D41BC68397656FEE0E5F9B46266391BA4E9B2DA86FC39F1E6DEE7AAC19465AFD8072B2F6C6B79E9B7EDA0A9F35517770DE2F2EE6155BB5EAFEC3376BE7F7C25823AAF3FDAF331F30C18F5E2E48567CCF64246C42674742111484A7564C519CC8BDEC06DE4CA5E7AD704C9170EA6DB79DDA8AA29AF7A14A9CD61E3C77832F9ADA93CF4742C6A16F654D71C4985034E3DDCCE8FA2DD680B0FCCD777A7875A74E7808E179586C45DA58F6236B6E193F2961BDCB9DE80D363E3BCCE8DEBB59E950455CDDF65CF64751752EF749173C972E0B29BBFF69E77629B8F67DB4FC1A9ECC7B125C0255B958EA375768D959A6229E5850458C33DEB43C77177D952CC50A4E4008523D870FE059833C5AD760481D766CF654A659C9E6FDC19E6152FC6728E9DB039B972BA0E25707E166489B8D55F3082FEB2BD63B64C98C48E736084FDCF250AF541109F312769AC3B68EDAEB5B9467105199224C744C0ADEF0AC6381E143BBA62591CD25D18E7E64156F142FD8C22B4728AF17DA89F92DF94EEB5D29CDBB89E3DD863E30EB4DD05BC5CEF00CCCA938CCFD0E89F5B2822FB9B42D5EC4DA7F6AE50742CDAED50A723D2AE4C7360070A152224CD6AE9367CD67397FDFAF408E149704552118CB554DD1A4BD3764E6319AFD6552EA84E79C448206116FC6784947EA1AFB520D7F61FCE66F43DAF548BC0FDEBCA2958FB317FE30654C0E55FFFCCC029EF9D7D6EA4F10AEBEFC8AC859FA70CDB7A922780BEEE4592A1B8AFC1DF5AEE3169B9952719D27204D47271A97E9A2E790C939B9B3B47234E58C9555D23BE6D9956E513C4DE52CAF780A647DA75ADF13621099BB56DFB69BDDED14296B83EC6F55ED4CDEE7D922145B3B7F95B0DB9C304757725D950D3CA2C8942784BB078E0CB24444ABF8101C2A31DFED7EB53576668BD431276FC1B95CD9226D5FB3B67267D06E271757EF79D6CF55D3168E48B0C7E98BA375D5560AEBE7E12E9FF6136685779D32FD0868BB4E6E967C21B2CCF39381029B5F5A3AD39D32DE8C7CD75EE2E66BDA17FEA67D87AC9581BD11869D69BB20EE53F147ED73B160A751F374E10EDCE0DF92CF146D5831B94BD8FF968B362CE7E7945B358EEA736F4CA8330A8F07AA144893CE2E1B30DEF75C98642E1EB50D917C176A4D18737FCD44C6C6DAB3BA2EBFA705EBD3654E66482CFF99BCD1F893EEC2E046CAA7C5A5CAF9B006E59A9517A242B7C34DA67826D6A83D27E736B244CEC6568CE54EC546BD7D6DA5BA71FBED6CC522637AB6A26EC0C122D329ECDA83058B249AF927D181C8E6DC890F3C76B3216196EBEE5B8DE5A3FF8E453607B45A17C2292E68ADEE8D6DAAF3059E589476B8FF24D46D9CE0BA48BD1EE006C6F2BEF3FCA278D87D85A07E6849BC052DEBA6F666D50B8AE4AD59A3401D8C0F13324B5BD4DF3283FA300EDDF208CF2F1BC58537E010A3EBFAAF3833E66B7DEDD42B6FCA2A72FF94711FD78C538633B3A770A56D8AC1A9C21A537213936E2D96C2DDF51F78D0FB8EF26DD619CC5751D9377485E0E1AB2A935CDFC37970B4D2C4BF126E83DDDBA5A47456AD686F776A9E36D6DFA2E3BA7C030669EC23B24DBDB58D9F1B5E1F630621D3EC564B493682F041B99F93B34A66B4DBC687057C2E83A8AA86A5D6C3D57F1175139E20D7D3BE528D5A88B9D3D5CF184A8D4F8C71DB1640BC833A0C412D128BDC5F73415BB1C14A95F15CEB48F39A97F9E7BFC90716E3D9C49A5A7B0B96BB5E98CDAB70B98D9209AD4EAADC3D978D29D09091D927ABBFEACD48EEA8073E19DEE2F8CB3EDA90A8B06A5D9D486665A2FF8BDA760136FEFC8F17492C7B07B69F877108B5BE721FD556FBF1859384BE5743D923DE8A99E414F9E6B216B7BDF12F7A2A9621252C0EE989D08ECBFF1BFD5BB24E37B6E5A93CA793CD66DA57DB662C764F9AFD8ACF6AEC28568A5C73CF6A127909BFDDF7D7AFBC5C5231B8FE469FC8B1451093B868CD46101947411DD6D2D378F84921642497FC6A7287B8E9C89CFD0C6A25BDE9EED29B046E36A98072951EC1D0FD1FA523A8550FC31ACE497C0A6E4B1E2C0BF1D598D2301E92AE30A64A7932733F96F6BA75EC0C391F4C5856E6FB0A913F9818833031CEA97295A270F14889C4433604709DEB0872A0C0156EA85C2E861F9C3D1D5C091B32FFDC50847CE340E3235B3592C81566D05092345F4275591A2D306F37BDC9ACAD8606B2CD1D57935D0891D7019E714B4EAED24137D3282D125658299C7C74047B6403BBF4E81E7FE7A42018E9B3C3C0B98D946A107F8E6B8909C0F2DA08701662F1320E0882B40051C82A560E5B51F68945CD4B721177A4B22C1F8B5C08ECB21C03AE09F31FF6C5FB0FC74E476EDE64B89A914D850B9DD5351C4F7C715B65C385AA91894B84D429ABA084C4D84C0EF9E30158A30A1403324209C420FA860A1382346823B2B7EAA032403B09DA6701C2771310CE788016A0B597C58BC3AE5C3CA829309D0360104BC70D22BDFC4C802E84B13230096B7D91D5C51C9528091CCB589C825FD1812D89AC1395A88C12E2712699A6C861265657075489C925AC3191C27C1FC51264216D8B54694230D4D6F23C1C64BCFDEEEDF765435B88E6DEEDAF974DD74E5191EBF7718E22194AB8E9D89391DFBF3E32A1B2FE3D0E9D452E0FC290BD89D7FF6D6B578937C52FCC7AA9F3B637757989F7B2D7FD8F5F0D8F98C125F6B0C489DFE8776C888CAF62745ADAC76BC6AFA9D8AF82A3AECDC6C61E6BF004285E29D]
Position=1
link(onCreate,1517322:doEvent1,[(184,55)(184,20)])
}
Add(TreeView,1445528,252,252)
{
Top=10
Width=290
Height=695
Strings=#6:Разное|9:Интерфэйс|8:Контролы|7:Графика|4:Окна|7:Система|8:Интернет|2:БД|5:Файлы|11:Инструменты|
LinesRoot=1
Icons=['Icon'=[ZIP5E07000078DAC5957950136714C03F8FA9B6D3AA75AC3858CB11AAA9D2AA4DAD190F08102084280801954AACADE2512DDA111D2DF568B54AEA85E08110848061B321D70642E22691C39060849858905A1397433101AD98461310E84266A8A3B5B57F74FA76DFFEF1F6BDDFBEB7EFFBDE07C008FC9A32050C3E016D0C00930100445C711398033CF641A97C0DFC1F02730BCBF8102A95A0123102F1206EE1BF0AE75F28AE10C0E63ABDE54673ABC5DA8E6177B096F6DB98B5B9F99A562BE15D781588A0E0BC0EBD68D2E9D4E68B99A6BC2D0D196BAEFEB8A6FEC076233BFF3AD760D69AEBEA2E2B2A8A38797F03911617569521EACBC86E5D4AAC3A3CFA626C948249AB488C9427D0E431F40A6A3C4A395EBB4F57A3AE919743E7397F09292DE0A0A530AC3E9F0091A939EF51B2FC437203C34BC811A5416125E4E0DC598B4EF8071DF50FCD24AE8512552AB15A2C2C7E212BDC5251724120CF8F3846FE744BC0271BA6071D98BD53B1E94A476DB7BB5BFE8B887292404E9F46DAE83F9BE54BDA1CB0E21C1D2D172AF8BCE738725EB152C25F7A323830D97B56FCD405DB4852A3B4BFBF7F60482A1A65410703E7A71248EB023E5AE93B23C66BD6175E69BCF5A850202AFAB3895061811286D882F4996BBD7CA96F7D98E407EB600FC16AB31E457E6265C72D4A0F58B0637ACA99CFE1AA920F127DFCE8E33FDEE92B2E2BC47FC530475CCC5589847159A184D8F17ED4092C76525F7F1F0E519A95E1D99121B961C159E4A08CC0F85334DB231B6E3F2C384C88F122AE9EBCBB78B34A54CA2FE27A380A01FF920C99B787E04F1F478C9B8A1864B8F3DDDFEE328A1242E0A460218B02AFA0F399A60E93274977AF9BC55E454CF66666876BA492E1158533710E696F0031C99BF4F55C8BDD8A3B43666134BA214CBD3DA4329DAA4993B65E1A7846ECDD76EACE8551C7165E2A43E402BE87A3918A353284CA9E2FD20A6E7434F73CEDC13D6D4EFB4D472BFB3A145A7B9056B56B6BC9D634C9375D8E4EFC15D220DBCED9CAFC8E96981D55A3542845420FE76783A1C9680C3E16187328B2F351E7F0476B7FD5D2CAD650ABB785576E60542E4B35AEECEDEBC5EDFBCBD3837693C8DB662CE784B5DFB656A3A887535FABB5DC684AE02DA6EC9DF71527052F1F776EBBDFB65C12C9D02C8952273034718935745DA71AB73B9E38E2CE9217EFF20FF93E70878C75A7A54529433C1C545EDE8EDDDEA364513366861D9A715C7ED0E972AE17462F534C8A55CE655646A436A4E8BAAA3D49E6D56446664DA4ECF7627008B0FE6C9BD52A1408865BDF7AEB96BA5EBA42EA473DF24EF8F1B75767872E11BDB914199DAC26B639AD9E7270D134A28CFC77234E8E893A352E45310FC32C4D26D3B3EB595F53DDD971EF48752A53348D767A6C1467349D3762896454B22AC0D5E3F294734E9DC52898462F181B9DFFFA2AD5FB65F5455D361B22163FB7355AADD6F6366C8F765D323A87C17D83CE1DC9804632A5930EC1E9DFF2B7C49E9B13034D58CA1B1B0B4FFC52BB204FC77ED4DD6D3636BCB8DF254221CEBFDBD17A42F7439A71FD3A1565B9D4275EE21D2FF361CAFC1210C267E53337553376346C840CF94E8703B3585E367F24225197DDFEF87747D57534DB9079EA664E8E8573E656CE190B7EE79E68CCCCBB72BAC972ADA7C78D592DFF38129B9B1A5D4F1EF7B8DD775AB046A3D16C3098AF5E6D369BEFDBED7D7D7D4EA7B34EAF7BC5112D431093B1E1C183FB6E97AB77485C2E97EDDE3DBD5EFF5F1F2E784FC1C0FE01F014EC052EE0031E82F100036340E5908E02FB8674C44B75D067500763303CF621CE780A82413F181862FF011788E78E],'Icon'=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C41D0D8D818491CF0F6F6062AC6650E50F6E6F2DAD33D2EC420A0625CE6D44733FCFF7F06681441346A0EA9E620C735D01C868606F2CC418E6B8839400474157E04D482660EB25F80ECC565C422FCE6AC9A0F721250D9DC952004E442184004148448414882E61089F09803B405C8250661E62F2AA619B2E31AD31CF2E21ACD1CB2E31ACD1CB2E31AD31CF2E21A195012D78313FC87823F0CCC38F1019CD81E27860100C5814B1B],'Icon'=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C0EF01F0350CB1CEC4615E346380C21CD1C98634870125E1F51680EB2620ACD4163639284C307598AA00904E30B9B391426456A2569FA99336D1A01043707C625D31C885E64F68802C524225A9B330A30F3CB3F7686FF7F98191E006B39086600E3FF0F18A06C90183B18FFFF670F67C3C580F9049B180C0300039F19E2],'Icon'=[ZIP5E07000078DAED942170E5201086F75471F7D44D649FBBB88B8C45752291B1919191B14F229158241289452291586464EAB69BBC3E7315DC9CE94CA7CBC73F6407BE212201F841A369E048787902F80500BF69520BFEC0BD7FD4F3137CD7972B19E53B49AB6C4EACCA4E667F4795A893AF7A7AD977B2A3EC15BFC3B5106699DC6D4D4E613928B9EA6182C10040F9803A8C1F29DC6A1035A2DA4AFDC548C2E95A0FBAB33340335FD6286FC52DC52ED15435B49FCDE795EE920E2E73D31A3E847949AB7283B3AD337DFD3A6620D8C80E0FD946E8644BC7B5EDADBE26C97609455EAA9ED14F5398D872010130011B619D20CC1027C8F3C902716DAA9ECEF6ADEBAEB211BAE7BA578A67D9E7F51A46701CFC0041809FEB1EE9879BE7C68F25DD08DC34B1C7356B1E96D62F9D1D407356F5209D4D2BC60983C0309E88E3B14844BF671FF562675EF5EC516292E838DA16FD807E3CD694D9EC5B20102365D5B345B327B34745C26391EC03BDC5035A94A0FFC573EEA734B4FF235B50F4917DFF883EA510F1C37C859FFF3DFF76BD01F1D33520],'Icon'=[ZIP5E07000078DAED933F0E823014C69F716074336C98B838BA39B238987002E33DDC0CB01B6F60181C8C9E82C14D2FE0E64D9E5F53FEB6141A59187C7CAF295FDB5F5F49211AE1715D122D6D1CA229112D90B06849D2173173E81F438CA8D14DD3B43FEA27888AEA0129513690388EB7E62820E8074180C9260E46DFD7C3F3B8D655A944540507934D9C7047CC2FA0A4F40F9B9B91DC343F6E64CF91908A5F590B4E1DA573AAC0C22FB7D0088D1C6595EA488835C770AE0E0E7CBD1ECBE3281C08559964735FC1B9EC6DD57E7FEE892809D3CE3721BCCA0E04530EC9B69363A9160E7601CA46EDFFD77082D5F01366CF633EF9CC8F90F9C39C928F5C21E7C871964E96936CBC9E797C01EE1B51F8],'Icon'=[ZIP5E07000078DAAD95494BC35010C7C7538FDEA4478F1E3CF80DF4E8451111454402222A8816A1D6525CEA421109B6B5A0159120222556BBB8A22D6EB814172A58F098DCF456F10BC4491EBC84F89E68EBBF693A794C7ECCFCDFA401A8C08FD309FA191A1D00550050835F5C823A20EBBAAA1DF0A31AFE282644108462B1A8BC29A8FC6B1E55281472B95C369B4DA552D168541445BF21BCC4755555F11626CA35E6420E260483412926258962494992847E413F04017308048332DB6136A8699ADE053D7E2F231F34C033A29083BD68E5897230385B766723239925D76968E86471F0581C385AE83B9CEF3D08F4ECCD09E999EE94BF2B39D999186FDFF1B5C5BDADDB9E16D9DD2C8F365BEBC1E07CC5531A4A7955AC9C8B552F13C5F396A2CC7A149D73B9E663A23041FD26CCA755D93857EB134C14E1585D251CDA206E9D95732D4D31513C0EF5CA56CFCDC63413C5EB8BDA4EEB21C0DBCD59260A133EDF5F9487F4532294090FCBEEA6958E5ACCA73B68EBEB6E2B4050B67DE10D1E1D0693630C402E364F50BC46787365FA6370EEE50582E219CB1B51CA21C1435C24285E3DBC69A7F34C388FBB4182E219CB7B70CC7A0CA39E926182E219CB7B706C9C7C3A4251D42BDE30585126E74E0F9EF7974B435939F5E589FEB59629847C4025A8E0307EFDF8A6FB4FE9BC2F809C13CB],'Icon'=[ZIP5E07000078DAB595ED4F5B551CC7CFB2174BFC03CC5EFA42170831EEC5744B96BD50F029324D34B2A156602B0F6D61646390321C1468291D4F52A02D5CA42D5DE9A05D0BA5ED6EC7C32D7DE6F689AD74A3445895B2BA38914D25CA263F2F6985B815939AF83DF9DE73F2FB7DEE372739F7E620B48F1A070FA2ED277AEF00422F2284D22853257418C5EBDB7AE900DA433A132EEC91F005ADF5BCA62E4C8AFE557BC1BD22491F972BE3F2E43C9E84CDAEA017D28B194913266CAEBD60E7CD8990CF175B5959F4FB430E874E26B388C58DACD2AEFE81E7736C466352986A056CF6E8F2F26FEB8F22CB1152ADD1F3F924866945E2A4FB99B35A57EFDD8BC39EE760CF24E1ED6C0D6B5524B7DEC92C1597957DDD2DDA79F7FAC8709B80DFD32332CF38824BDFB9F0095F671B05BB9BB80E563905EF903EC2B1861DFB43911E15E5DD6AE04BB24F7DF819AD4FA1E4370B32ABDA5E608AF69FE9483B752E3F2FAFB2AE61A8077B2C3FB1A9485F119FB9C3658B29389796D82D3EF2E78D2C20DE8599B7C191B97593D55EFCC5A18C57DF3AFEC6910F3E3AA60F1FC7BF4FFFA4E09D13475F4ECB68AA380B44F6DF70D6539CD177BE289EB38863E0FC12C87CF09680271F089A80F629AF49E0250C0CAD2D9B5CCF21D74A46677D1663EB950EBDB012C8B3BBF0D4E7C2B244CEB2BE75CBCB80702D8439B0C8017785A4BC582C57C6BBDCC1EB0687F5F5CCF7A5CA6BA1D052D42C7C061696D2E3646CAA05221C58BF0ABFE8E0A741B8C513B20A7A9523F1AE6250110D5A5E3994766DCC10088413F0CFFF80E3E4BC4EBA6AEF8FCD691F2C8F6EC4D4B02818A8640EE94DF1EED521956D72BC90C19C76796C33F6904EB66AEB5F5DD03E58DA85778ECC69F7F8ADCE79B389542BE65412DDC0EE47880D0D67BC76B8EA72AD5CAD75078254C56DF7FA1CC9E1A492CA95FCDABA7676358FC56A60300B4E9FA6973035461CA52272D66B50A922C1E05D9773CE64B28F8D5931AC8E5ED4D0DC92528E7F7A7AC1EFFFE1FEFDF5CD275EFDB859A1307777DBC492DE6F64284579A7095226FFD662214522E262D5544D4D776BBB3BB8805257B88BBE263A1A95E405D817C77369591FE7A8C74DA986B8676C8FB43960CA00F39BBF1B4EFEAA2E925FA0D7B775A69AE332689E5A0BC1990B1EFAF68FE03B39515BFE95A03DD59C79CDC0139205B72F40E81284AA61F13C5EC3BA7CA523D59C85D17EB87B0EA29DF05001310C62CD37AA4B6A046DA9E6DCD60C3EF4756CAC0C6FFC68D85CD3C1E3BEC9EAA22661EF7F38AFD909BB638AB843E001A322E696E22D8DE87FD60C3422CED63E846A29533327B21F71A81B6FC7F9BBB644EA1170EA10A084B7D796C4FCAC2D800000FD0535F47BF1],'Icon'=[ZIP5E07000078DAB5943B4B034110C7470463A1850A92CE80412C6DF41358A88DB560A38285858285450A95103B5398C24645491311348512308AF1815A04157C200A41D1604021F80C17EFD8712E6B2E977B25419C9D1986BDFDFF6E5F770065D4EC76903374D800EA01A09982BAA00578BF6C0E1B1430CC7891663D58F31455FE178E61BF066EF11634EFD1CBF59CFF1B63B18A523960BE762CFD944D6C72DF7AC2D5932B1A37E68C470C3999F172D179956CBC666D376CE409BD89EFF670CC0035B601AE4D39EBA641725EF43C3335A773EFB172E14C8B1A5D932194751C9297C0195E962194B59BFFEBD3222BCC19F2E779D66CDE2D2EA7625D62A1141E7DE1439ABD88720EC63F7A77EEF23883F379AEE2703915E164AA653B561338AF5D8C3AFCD1D6C049932FE23B8D1B6CB58AA070B89C8AAEC3987E5D15EE9001A77F56CFE172658185F7D9643ECAFE14C531DF9FD238459CD78CC4DC028E08E86248F592C4066EBFAAFD9796F727C7E1722A98247C225E20D20992AF229213D6F23EE7388ABCCAB74B055D9BE30C81E633274A755341CBEF2B676A3961356EFEBD1B58B1F2BCFF8F6C1F9880F40145DA03C2A313DEBB29FA28263C802880B35C0047D91B388007C0FD6F1355916D6F3C68FC6BB9084283083F104F1CB5],'Icon'=[ZIP5E07000078DAC5956D4FD35014C70FE1C5BE81E11DBEF4A57E02DFFA4DCC904CD16014129C0625C164C38744103207991A232CA88B1825EC81B88932960CC7D8DC42D9D840923DD08DD132E1782E6DBAA5D46E9144CF7EE7E6E676FDE5DF9BDB14A0857E6D6DC046B8600038050067A86909CE82B4CEEAB401FE5B9935573D1ECFC9557F2551AB4E20A9A99A91BCBB6E5470F676BDBE7199705CBBF2FC6AE7B8E9922219ED30EA7BC64DC6ACDFA5495D1273C33CE4594F46713B881B0B98FC747C63313C715CE5B0DB559E377D5D9B690E3F5BD03F44A3EA2A5B8F4EE3B24BA5228F4AF571A07B2B9BC6624A82DDFBF33B217B7E7CC0980B2333B6CE8E3F19A4F2597B72B99C9247C63F54CBB3E6C6D539DA7C45A2E9F9FAA42F5F2862956794D38CA354B2271DC0352FC67DF561343DA1517371A754CB533F1EA1FF384A2DDBEFF0E53D3CF885951C83CF3068AF0A2B8CEC126E7C69E6BCAE3AEE962AFB1A496822CD499508CCF477EB7B12AF06CA7B22CB434861887252667B05338BCD78B8A9C15DB1AA9D479AC4FD383B3B77FFA6BE67F3BDA552A9A05487075815707F17851D79BBBE79D1E9449BCD6BE969E8110441230F9FA17773CC7891A049C3F7943CA2A09D87CEDEE1E2487EDA141ABBED7E30A8EFD9723F15451195925458261579F2D1A9C8447F43093BB191497A047E3D594C8689422C180B2F11A98579F2C45FDEF3DB1F36737E4AF32379DFE3C4DBE1C8E470F0C523BA4B41F2FC9BEF0A3E0B015AAD808176C0D479C0E22DE080752FF5396A3A5AF405E4A0556E0375BBFC1FAD46E05AA85B116897E1370BD04766],'Icon'=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0338C8261081AB08A1E38708072A3C83204DD28E20DE1E3E3C365147E43D0346A6B6B931726B8346233A481F8B0C03416D525A8463534E0D268626242420C02CD811985A6D1CECE8EB8386C40760CA646777777620D4135074D6360602079E6A0698C8A8A22C93BB834A6A4A49097E8D134E6E6E69697973734909054808A815A801A47CB3562C0FFFFFF51F0F1FF8F196EFEF9CD70E3C76F863B85BF19EE29FF66B8CF0EC4FD207A37C3056569860B05DC0CD72AA419EE555833DC29B066B87FA09AE1FEC3DF60BDE8E6010094876FB4]]
Point(Index)
link(onClick,2240176:doData,[])
}
Add(StyleXP,10767794,49,154)
{
}
Add(MenuEx,9082006,287,147)
{
Menu=#10:Компоненты|1:(|14:Добавить новый|1:)|11:О програме!|
Bitmaps=[]
link(MenuItemIdx,13313392:doEvent,[])
}
Add(ChildGroupBox,1311481,896,168)
{
link(onEvent1,4494923:doString,[])
}
BEGIN_SDK
Add(EditMulti,10797057,21,21)
{
EventCount=1
WorkCount=4
Width=965
Height=599
link(doWork1,1711911:doPosition,[(105,27)(105,335)])
link(doWork2,1711911:doMax,[(95,34)(95,342)])
link(doWork3,4352214:doEvent1,[(210,41)(210,426)])
link(doWork4,6800831:doEvent2,[(308,48)(308,447)])
}
Add(GroupBox,7034333,34,35)
{
Left=295
Top=340
Width=527
Height=363
Caption="Описание компонент"
}
Add(Image,10187768,518,49)
{
Left=10
Top=15
Width=24
Height=24
Visible=1
}
Add(Button,16643337,112,49)
{
Left=50
Top=15
Visible=1
link(onClick,11279226:doExecute,[])
}
Add(ODialog,11279226,175,49)
{
link(onExecute,2670353:doEvent1,[])
}
Add(PictureStream,1814382,301,49)
{
link(onLoad,14883437:doEvent1,[])
}
Add(StreamConvertor,6136114,609,497)
{
Mode=3
link(onResult,4159490:doCharset,[])
}
Add(Hub,14883437,364,49)
{
link(onEvent1,10187768:doLoad,[])
}
Add(FileStream,1638046,287,140)
{
link(onLoad,4100310:doCompress,[(363,146)(363,230)])
}
Add(Hub,2670353,238,49)
{
link(onEvent1,1814382:doLoad,[])
link(onEvent2,1638046:doOpen,[(259,62)(259,146)])
}
Add(LZMA,4100310,497,224)
{
link(Stream,1638046:Stream,[(503,198)(293,198)])
}
Add(Button,13184118,294,567)
{
Left=375
Top=310
Width=145
Height=45
Caption="Скачать"
Point(doEnabled)
link(onClick,10797057:onEvent1,[(656,573)(656,27)])
}
Add(ProgressBar,1711911,189,329)
{
Left=5
Top=315
Width=365
Height=10
ProgressColor=16711680
Point(doMax)
}
Add(FormatStr,5735406,399,434)
{
Mask="https://labdev.ml/api/api.php?action=info&product=%1"
Point(FString)
link(onFString,3689454:doLoadString,[(443,440)(443,461)(387,461)(387,496)])
}
Add(HTTPClient,3689454,399,490)
{
URL="http://labdev.ml/api/api.php?action=component"
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="parent.cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(URL,5735406:FString,[])
link(onFinish,2258243:doSearch,[])
}
Add(BlockFind,2258243,539,497)
{
IncludeBlock=1
StartBlock="DiscriptComponent{"
EndBlock="}EndDiscriptComponent"
link(onSearch,6136114:doConvert,[])
}
Add(Charset,4159490,672,497)
{
Type=7
link(onCharset,6592669:doAdd,[(720,503)(720,433)])
}
Add(Hub,4352214,301,420)
{
link(onEvent1,6800831:doEvent1,[(525,426)(525,440)])
link(onEvent2,5735406:doString,[(357,433)(357,440)])
}
Add(RichEdit,6592669,770,427)
{
Left=5
Top=15
Width=515
Height=290
ScrollBars=2
ReadOnly=0
}
Add(Hub,6800831,595,434)
{
InCount=2
OutCount=1
link(onEvent1,6592669:doClear,[])
}
END_SDK
Add(ChildForm,3366350,399,154)
{
link(Data1,9809861:Var,[])
}
BEGIN_SDK
Add(EditMulti,13822210,21,21)
{
WorkCount=1
DataCount=1
Width=1315
Height=641
link(doWork1,4018753:doVisible,[(49,27)(49,76)])
}
Add(MainForm,4018753,105,42)
{
Left=35
Top=105
Width=682
Height=415
Visible=1
Caption="Загрузка нового компонента"
BorderStyle=3
Position=1
Point(doVisible)
}
Add(ODialog,9929441,469,287)
{
Filter="RAR|*.rar"
link(onExecute,150390:doText,[])
}
Add(Button,11196982,406,287)
{
Left=10
Top=15
Width=135
Caption="Архив компонента"
link(onClick,9929441:doExecute,[])
}
Add(HTTPClient,5181362,511,371)
{
URL="https://labdev.ml/up.php"
Method=1
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="parent.cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(onFinish,5008258:doEvent1,[])
link(UploadFile,150390:Text,[])
link(PostData,12739542:GetData,[])
}
Add(LineBreakEx,15402714,525,476)
{
Caption="head"
Type=3
link(_Data,5181362:CurrentURL,[])
}
Add(FormatStr,4867230,826,210)
{
DataCount=7
Mask="componentAutor=%1\r\ncomponentName=%2\r\ncomponentDescription=%3\r\ncomponentSmallDiscript=%7\r\ncomponentData=%4\r\ncomponentCategory=%5\r\ncomponentPrivat=%6"
link(onFString,6390893:doEvent1,[])
link(Str1,13822210:Data1,[(832,154)(27,154)])
link(Str2,3695110:GetData,[])
link(Str3,13071942:Value,[(846,198)(804,198)(804,254)(762,254)])
link(Str4,11441031:Value,[])
link(Str5,10281975:Value,[(860,163)(1049,163)])
link(Str6,4898642:Checked,[(867,177)(1133,177)])
link(Str7,1335870:GetData,[(874,174)(720,174)])
}
Add(EventFromData,12739542,532,210)
{
link(onEvent,3439030:doCharset,[])
}
Add(Button,12479344,350,371)
{
Left=525
Top=350
Width=140
Height=25
Caption="Загрузить"
link(onClick,2905758:doEvent1,[])
}
Add(Thread,11610816,441,371)
{
FastStop=0
link(onExec,5181362:doLoadString,[])
}
Add(Edit,150390,525,287)
{
Left=145
Top=15
Width=520
Text=""
ReadOnly=0
}
Add(Memo,14048041,644,140)
{
Left=10
Top=210
Width=655
Height=130
ScrollBars=2
}
Add(Edit,16732158,896,49)
{
Left=195
Top=55
Width=470
Text=""
MaxLenField=30
}
Add(Label,8764517,189,98)
{
Left=10
Top=55
Width=171
Height=20
Font=[MS Sans Serif,10,1,0,1]
Caption="Название компонента"
}
Add(StreamConvertor,2793735,700,210)
{
Mode=2
link(onResult,13071942:doValue,[])
}
Add(LineBreak,244148,476,210)
{
link(Out,12739542:doData,[])
Primary=[2359846,609,0]
}
Add(Memory,13071942,756,210)
{
link(onData,4867230:doString,[])
}
Add(Message,10141285,812,294)
{
Message="Успешно загружен!!!"
Caption="Успех!!"
Icon=4
}
Add(ComboBox,16438619,994,63)
{
Left=195
Top=135
Width=210
Height=21
Strings=#6:Разное|9:Интерфэйс|8:Контролы|7:Графика|4:Окна|7:Система|8:Интернет|2:БД|5:Файлы|11:Инструменты|
ReadOnly=0
DropDownCount=20
link(onClick,10281975:doValue,[])
}
Add(Memory,10281975,1043,70)
{
Default=Integer(0)
}
Add(Label,9755189,189,147)
{
Left=10
Top=135
Width=174
Height=20
Font=[MS Sans Serif,10,1,0,1]
Caption="Категория компонента"
}
Add(Label,6282097,189,203)
{
Left=10
Top=175
Width=174
Height=20
Font=[MS Sans Serif,10,1,0,1]
Caption="Описание компонента:"
}
Add(Label,60337,1127,63)
{
Left=425
Top=135
Width=175
Height=20
Font=[MS Sans Serif,10,1,0,1]
Visible=1
Hint="Компонет будет доступен только вам"
HintManager="parent.HitMan"
Caption="Приватный компонент:"
Point(doVisible)
}
Add(CheckBox,4898642,1127,105)
{
Left=605
Top=135
Width=15
Visible=1
Hint="Компонет будет доступен только вам"
HintManager="parent.HitMan"
Caption=""
Point(doVisible)
}
Add(Message,15746558,1113,273)
{
Message="Размер файла превышает допустимые"
Caption="Файл отклонен"
Icon=3
}
Add(Hub,5008258,651,378)
{
link(onEvent1,963309:doSearch,[])
}
Add(BlockFind,963309,693,378)
{
StartBlock="100"
EndBlock="0"
link(onSearch,10141285:doMessage,[(779,384)(779,300)])
link(onEndSearch,15704545:doSearch,[])
}
Add(BlockFind,15704545,756,385)
{
StartBlock="100"
EndBlock="0"
}
Add(Message,1040920,910,406)
{
Message="Ошибка загрузки файла"
Caption="Ошибка"
Icon=3
}
Add(Hub,6390893,1008,210)
{
link(onEvent1,2359846:In,[])
}
Add(Hub,2905758,392,371)
{
link(onEvent1,11610816:doStart,[])
}
Add(Charset,3439030,644,210)
{
Type=6
link(onCharset,2793735:doConvert,[])
link(Text,14048041:Text,[])
}
Add(Charset,10276971,896,105)
{
Type=6
link(onCharset,3695110:doData,[(933,111)(933,99)(821,99)(821,111)])
link(Text,16732158:Text,[])
}
Add(EventFromData,3695110,833,105)
{
link(onEvent,10276971:doCharset,[])
}
Add(Edit,2664290,763,28)
{
Left=195
Top=90
Width=470
Text=""
MaxLenField=60
}
Add(Charset,8264150,763,77)
{
Type=6
link(onCharset,1335870:doData,[(807,83)(807,71)(702,71)(702,83)])
link(Text,2664290:Text,[])
}
Add(EventFromData,1335870,714,77)
{
link(onEvent,8264150:doCharset,[])
}
Add(Label,16619768,186,46)
{
Left=10
Top=90
Width=149
Height=20
Font=[MS Sans Serif,10,1,0,1]
Caption="Короткое описание"
}
Add(Memory,11441031,847,49)
{
Default=String(0)
}
Add(Message,8434188,1029,301)
{
}
END_SDK
Add(IndexToChanel,13313392,343,147)
{
link(onEvent2,3366350:doWork1,[])
}
Add(HintManager,13499757,49,196)
{
Name="HitMan"
Font=[Tahoma,8,0,0,1]
}
Add(DoData,2240176,364,259)
{
link(onEventData,9780368:doString,[])
link(Data,1445528:Index,[(370,247)(339,247)(339,302)(272,302)])
}
Add(HTTPClient,15306379,427,455)
{
URL="http://labdev.ml/api/api.php?action=component"
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(URL,8106996:Value,[])
link(onFinish,168374:doSearch,[])
}
Add(FormatStr,9780368,413,259)
{
Mask="https://labdev.ml/api/api.php?action=component&gorup=%1"
link(onFString,6584055:doEvent1,[])
}
Add(GlobalVar,9809861,399,119)
{
Name="ComponentAutor"
Data=Integer(0)
}
Add(BlockFind,168374,476,462)
{
IncludeBlock=1
StartBlock="ListComponent{"
EndBlock="}EndListComponent"
link(onSearch,5195972:doCase,[])
link(onEndSearch,556823:In,[(516,475)(516,510)])
}
Add(Thread,7459929,329,455)
{
Delay=500
FastStop=0
link(onExec,15306379:doLoadString,[])
}
Add(Memo,142645,875,469)
{
Width=0
Height=0
Visible=1
ScrollBars=3
}
Add(Replace,6303994,721,462)
{
SubStr="||"
DestStr="\r\n"
link(onReplace,14305296:doEvent1,[])
}
Add(ArrayEnum,14913786,889,546)
{
link(onItem,11770970:doWork1,[])
link(Array,142645:Array,[])
}
Add(Hub,14305296,777,462)
{
OutCount=5
link(onEvent1,142645:doClear,[(865,468)(865,482)])
link(onEvent2,142645:doAdd,[])
link(onEvent5,14913786:doEnum,[(840,496)(840,552)])
}
Add(LineBreak,11335126,238,658)
{
link(Out,14034708:doClear,[])
Primary=[2650288,35,-280]
}
Add(MTStrTbl,4342183,876,63)
{
Left=295
Top=10
Width=530
Height=325
Name="mainTable"
Columns=#4:ID=0|12:Название=100|21:Короткое описание=250|7:Рейтинг|10:Скачиваний|0:|
link(onClick,14098709:doEvent1,[])
}
Add(MST_RowAction,9996067,987,546)
{
MSTControl="mainTable"
}
Add(MST_Clear,14034708,287,658)
{
MSTControl="mainTable"
}
Add(LineBreakEx,5973898,539,231)
{
Caption="URL"
}
Add(Memory,8106996,427,385)
{
}
Add(LineBreakEx,14631820,357,385)
{
Caption="URL"
Type=1
link(OnEvent,8106996:doValue,[])
}
Add(Hub,12400916,210,427)
{
OutCount=5
link(onEvent1,2650288:In,[(248,433)(248,384)])
link(onEvent2,10058268:doData,[(256,440)(256,426)])
link(onEvent3,5233152:In,[])
link(onEvent5,14358783:doEvent1,[])
}
Add(MultiElement,11770970,938,546)
{
link(onEvent1,9996067:doRowAction,[])
}
BEGIN_SDK
Add(EditMulti,9519678,21,21)
{
EventCount=1
WorkCount=1
Width=1105
Height=578
link(doWork1,16175210:doSplit,[(179,27)(179,167)])
}
Add(Charset,14896126,567,161)
{
Type=7
link(onCharset,1584482:doValue,[])
link(Text,16175210:Part2,[(573,149)(429,149)(429,205)(286,205)])
}
Add(MT_String,4434834,938,175)
{
link(onResult,9519678:onEvent1,[(1048,181)(1048,27)])
}
Add(MultiStrPart,16175210,273,161)
{
Count=5
link(onSplit,14896126:doCharset,[])
}
Add(FormatStr,8937527,273,434)
{
DataCount=5
Mask="%1;%2;%3;%4;%5"
link(onFString,4434834:doMT,[(698,440)(698,188)])
link(Str1,16175210:Part1,[])
link(Str2,9951694:Var,[])
link(Str3,11458537:Var,[(293,422)(391,422)(391,537)(489,537)])
link(Str4,16175210:Part4,[])
link(Str5,16175210:Part5,[])
}
Add(Memory,1584482,644,161)
{
link(onData,12226558:doCharset,[(723,167)(723,293)])
}
Add(LineBreak,14715614,644,210)
{
Type=1
link(Data,1584482:Value,[])
Primary=[9951694,-364,175]
}
Add(Charset,12226558,770,287)
{
Type=7
link(onCharset,15648966:doValue,[])
link(Text,16175210:Part3,[(776,237)(293,237)])
}
Add(Memory,15648966,847,287)
{
link(onData,8937527:doString,[(891,293)(891,367)(261,367)(261,440)])
}
Add(LineBreak,3875037,847,336)
{
Type=1
link(Data,15648966:Value,[])
Primary=[11458537,-364,175]
}
END_SDK
Add(Case,5195972,525,462)
{
Value=String(9000)
link(onNextCase,5236353:doEvent1,[])
link(onTrue,10555497:doEvent1,[(569,475)(569,580)])
}
Add(Label,11190739,799,560)
{
Left=505
Top=155
Width=317
Height=20
Color=16777215
Font=[MS Sans Serif,10,1,12632256,1]
Visible=1
Caption="ПУСТАЯ КАТЕГОРИЯ"
Alignment=2
Point(doVisible)
Point(doAlignment)
}
Add(ChanelToIndex,3899279,665,567)
{
link(onIndex,11190739:doVisible,[])
}
Add(Hub,5236353,672,462)
{
link(onEvent1,6303994:doReplace,[])
link(onEvent2,3899279:doWork1,[(698,475)(698,524)(653,524)(653,573)])
}
Add(MST_SelectRow,9126783,966,63)
{
MSTControl="mainTable"
link(onSelectRow,16338090:doSeparateMT,[(1010,69)(1010,101)(954,101)(954,118)])
}
Add(DoData,10058268,273,420)
{
Data=String(ЗАГРУЗКА...)
link(onEventData,1470920:doWork,[])
}
Add(LineBreakEx,654696,707,546)
{
Caption="tablLable"
Type=1
link(OnEvent,11190739:doText,[(784,552)(784,566)])
}
Add(LineBreakEx,1470920,322,420)
{
Caption="tablLable"
}
Add(LineBreakEx,3652376,784,644)
{
Caption="tablLable"
}
Add(DoData,11864813,714,644)
{
Data=String(ПУСТАЯ КАТЕГОРИЯ)
link(onEventData,3652376:doWork,[])
}
Add(Hub,10555497,574,574)
{
link(onEvent1,6693983:In,[(592,580)(592,566)])
link(onEvent2,4180861:doEvent1,[])
}
Add(Hub,4180861,623,581)
{
InCount=2
OutCount=1
link(onEvent1,3899279:doWork2,[(651,587)(651,580)])
}
Add(Hub,14098709,924,63)
{
link(onEvent1,9126783:doSelect,[])
}
Add(MT_MultiData,16338090,966,112)
{
Point(Data)
link(onData1,3566141:doValue,[])
link(onData2,9545182:doString,[])
link(Data,9126783:Select,[])
}
Add(BlockFind,13288734,665,140)
{
IncludeBlock=1
StartBlock="ListComponent{"
EndBlock="}EndListComponent"
}
Add(LineBreak,16109435,616,140)
{
link(Out,13288734:doSearch,[])
Primary=[556823,-91,364]
}
Add(LineBreak,7584128,567,602)
{
link(Out,4180861:doEvent2,[(610,608)(610,594)])
Primary=[5233152,-329,-161]
}
Add(LineBreak,12362108,161,427)
{
link(Out,12400916:doEvent1,[])
Primary=[5045620,399,-175]
}
Add(Hub,6584055,455,259)
{
OutCount=3
link(onEvent1,5973898:doWork,[(483,265)(483,237)])
link(onEvent2,5045620:In,[(525,272)(525,258)])
link(onEvent3,1311481:doWork4,[(683,279)(683,195)])
}
Add(Hub,14358783,287,455)
{
InCount=2
OutCount=1
link(onEvent1,7459929:doStart,[])
}
Add(LineBreak,16618304,658,644)
{
link(Out,11864813:doData,[])
Primary=[6693983,-49,-84]
}
Add(FormatStr,4494923,1043,168)
{
Mask="https://labdev.ml/dl.php?file=%1"
Point(FString)
link(onFString,6776829:doLoadString,[(1087,174)(1087,209)(1031,209)(1031,244)])
link(Str1,3566141:Value,[])
}
Add(Memory,3566141,1043,112)
{
link(onData,1311481:doWork3,[(1087,118)(1087,153)(884,153)(884,188)])
}
Add(HTTPClient,6776829,1043,238)
{
URL="http://labdev.ml/api/api.php?action=component"
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(URL,4494923:FString,[])
link(onFinish,14400312:doCase,[])
}
Add(HTTPClient,7295397,1330,238)
{
URL="http://labdev.ml/api/api.php?action=component"
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(URL,610293:Value,[(1336,226)(1287,226)(1287,289)(1238,289)])
link(FileName,6837076:Value,[])
link(onHeadersAvail,13807972:In,[(1374,244)(1374,230)(1108,230)(1108,216)])
link(onDownloadProgress,1265898:In,[(1395,258)(1395,265)])
}
Add(Case,14400312,1099,245)
{
Value=String(ERROR)
link(onNextCase,15371013:doSearch,[])
}
Add(BlockFind,15371013,1169,245)
{
IncludeBlock=1
StartBlock="DownL{"
EndBlock="}DownLEnd"
link(onSearch,610293:doValue,[])
}
Add(Memory,6837076,1337,119)
{
}
Add(FormatStr,9545182,1267,119)
{
Mask="%1.rar"
link(onFString,6837076:doValue,[])
}
Add(Memory,610293,1232,245)
{
link(onData,7295397:doLoadFile,[])
}
Add(LineBreakEx,10269870,812,203)
{
Caption="len"
Type=2
}
Add(DoData,4089202,812,231)
{
link(onEventData,1311481:doWork2,[(867,237)(867,181)])
link(Data,10269870:getVar,[])
}
Add(Synchronize,13932024,812,168)
{
link(onSync,1311481:doWork1,[])
}
Add(LineBreakEx,16033729,1337,308)
{
Caption="len"
Type=3
link(_Data,7295397:ContentLength,[])
}
Add(LineBreak,15161747,763,168)
{
link(Out,13932024:doSynchronize,[])
Primary=[1265898,665,91]
}
Add(LineBreak,6510349,756,231)
{
link(Out,4089202:doData,[])
Primary=[13807972,364,-21]
}
Add(MultiElement,14142284,189,49)
{
link(onEvent1,8302917:In,[])
}
BEGIN_SDK
Add(EditMulti,13015470,21,21)
{
EventCount=1
WorkCount=1
Width=1063
Height=690
link(doWork1,8589721:doEvent1,[(98,27)(98,125)])
}
Add(FormatStr,6238253,294,119)
{
DataCount=3
Mask="https://labdev.ml/api/api.php?action=ping&set=%1&product=%2&debug=%3"
Point(FString)
link(onFString,15974543:doLoadString,[])
link(Str1,11701310:ProcessorId,[(300,107)(254,107)(254,163)(209,163)])
link(Str2,9457584:Value,[])
link(Str3,4976816:Var3,[(314,91)(277,91)(277,236)])
}
Add(HTTPClient,15974543,399,119)
{
URL="https://labdev.ml/api/api.php?action=component"
UserAgent="Mozilla/16.0 (Windows 10; rv:92.0) Gecko/20100101 Firefox/52.0"
URLCodePage=1
FileField="name"
FieldCharset=1
CookieManager="parent.cooc"
Point(UploadFile)
Point(onUploadProgress)
Point(CurrentURL)
Point(StatusText)
Point(PostData)
link(URL,6238253:FString,[(405,107)(353,107)(353,163)(300,163)])
link(onFinish,14587768:doSearch,[])
}
Add(ProcInfo,11701310,175,119)
{
Point(ProcessorId)
link(onInfo,6238253:doString,[])
}
Add(BlockFind,14587768,462,126)
{
IncludeBlock=1
StartBlock="Ping{"
EndBlock="}EndPing"
link(onSearch,9245932:doCase,[])
}
Add(Case,9245932,553,126)
{
}
Add(Memory,9457584,301,35)
{
Default=String(HiACM)
}
Add(AntiDebug,8738607,210,182)
{
}
Add(DoData,3664197,210,259)
{
link(onEventData,8226661:doEvent,[])
link(Data,4976816:Var2,[])
}
Add(Hub,8589721,126,119)
{
link(onEvent1,11701310:doInfo,[])
link(onEvent2,3664197:doData,[(154,132)(154,265)])
}
Add(GetDataEx,4976816,210,231)
{
link(Data,8738607:isDebug,[])
}
Add(IndexToChanel,8226661,329,259)
{
link(onEvent2,13015470:onEvent1,[(723,272)(723,27)])
}
END_SDK
Add(CookieManager,5323234,70,518)
{
Name="cooc"
}
Add(LineBreak,6155333,63,56)
{
link(Out,2953706:doClose,[])
Primary=[8302917,196,-7]
}
Add(Version,5341620,49,112)
{
Description="HiAsm Component Manager v1.0"
InternalName="HiACM"
E-mail="https://labdev.ml/"
}
Add(Hub,1517322,210,14)
{
link(onEvent2,14142284:doWork1,[(236,27)(236,41)(177,41)(177,55)])
}
Компоненты которые использовал. Если вам нужно собрать самим исходник тогда качаем https://labdev.ml/dependence.zip
Первая beta версия https://labdev.ml/HiACM.rar (обновление 2022.10.05)
Обновление HiACM(build 221026) https://labdev.ml/HiACM_build_221026.zip (от 2022.10.26)
Редактировалось 20 раз(а), последний 2022-10-26 23:09:22