1. PHP / Говнокод #7959

    +161

    1. 01
    2. 02
    3. 03
    4. 04
    5. 05
    6. 06
    7. 07
    8. 08
    9. 09
    10. 10
    11. 11
    12. 12
    13. 13
    14. 14
    15. 15
    16. 16
    17. 17
    18. 18
    19. 19
    20. 20
    21. 21
    22. 22
    23. 23
    24. 24
    25. 25
    26. 26
    27. 27
    28. 28
    29. 29
    30. 30
    31. 31
    32. 32
    33. 33
    34. 34
    35. 35
    36. 36
    37. 37
    38. 38
    39. 39
    40. 40
    41. 41
    42. 42
    43. 43
    44. 44
    45. 45
    46. 46
    47. 47
    48. 48
    49. 49
    50. 50
    51. 51
    52. 52
    53. 53
    54. 54
    55. 55
    56. 56
    57. 57
    58. 58
    59. 59
    60. 60
    if (!GetCurrentCurrency()) { print $_lang[ErrorGetCurrentCurrency]; mclose(); exit; }
    
    @set_time_limit(0);
    
    $company_name=GetSetting('company_name');
    $company_url=GetSetting('company_url');
    $billing_url=GetSetting('billing_url');
    $support_url=GetSetting('support_url');
    $manager_email=GetSetting('manager_email');
    
    $cronAutoSuspend = GetSetting('cronAutoSuspend');
    $cronSendAdminEndOrder = GetSetting('cronSendAdminEndOrder');
    $cronSendClientBillRemind = GetSetting('cronSendClientBillRemind');
    $cronSendClientBillRemindDays = GetSetting('cronSendClientBillRemindDays');
    $cronSendClientEndOrderRemind = GetSetting('cronSendClientEndOrderRemind');
    $cronSendClientEndOrderRemindDays = GetSetting('cronSendClientEndOrderRemindDays');
    $cronSendClientEndOrderDomainRemind = GetSetting('cronSendClientEndOrderDomainRemind');
    $cronSendClientEndOrderDomainRemindDays = GetSetting('cronSendClientEndOrderDomainRemindDays');
    $cronDeleteBill = GetSetting('cronDeleteBill');
    $cronDeleteBillDay = GetSetting('cronDeleteBillDay');
    $cronDeleteNeobrabOrdersWithoutBills = GetSetting('cronDeleteNeobrabOrdersWithoutBills');
    $cronDeleteNeobrabOrdersDomainsWithoutBills = GetSetting('cronDeleteNeobrabOrdersDomainsWithoutBills');
    $cronDeleteOrder = GetSetting('cronDeleteOrder');
    $cronDeleteOrderDay = GetSetting('cronDeleteOrderDay');
    $cronAutoDelete = GetSetting('cronAutoDelete');
    $cronDeleteOrderDomain = GetSetting('cronDeleteOrderDomain');
    $cronDeleteOrderDomainDay = GetSetting('cronDeleteOrderDomainDay');
    $cronCloseTickets = GetSetting('cronCloseTickets');
    $cronCloseTicketsDay = GetSetting('cronCloseTicketsDay');
    $cronDeleteTickets = GetSetting('cronDeleteTickets');
    $cronDeleteTicketsDay = GetSetting('cronDeleteTicketsDay');
    $cronDeleteUserLogs = GetSetting('cronDeleteUserLogs');
    $cronDeleteUserLogsDay = GetSetting('cronDeleteUserLogsDay');
    $cronDeleteAdminLogs = GetSetting('cronDeleteAdminLogs');
    $cronDeleteAdminLogsDay = GetSetting('cronDeleteAdminLogsDay');
    $cronSendClientEndOrderShopRemind = GetSetting('cronSendClientEndOrderShopRemind');
    $cronSendClientEndOrderShopRemindDays = GetSetting('cronSendClientEndOrderShopRemindDays');
    $cronDeleteNeobrabOrdersShopWithoutBills = GetSetting('cronDeleteNeobrabOrdersShopWithoutBills');
    $cronDeleteOrderShop = GetSetting('cronDeleteOrderShop');
    $cronDeleteOrderShopDay = GetSetting('cronDeleteOrderShopDay');
    $cronSendClientEndTestRemind = GetSetting('cronSendClientEndTestRemind');
    $cronSendClientEndTestRemindDays = GetSetting('cronSendClientEndTestRemindDays');
    
    $autoRenewEnable=GetSetting("autoRenewEnable");
    $autoRenewClientChange=GetSetting("autoRenewClientChange");
    $autoRenewDay=GetSetting("autoRenewDay");
    $autoRenewDomainDay=GetSetting("autoRenewDomainDay");
    $autoRenewShopDay=GetSetting("autoRenewShopDay");
    
    $attachPDFtoBill = GetSetting("attachPDFtoBill");
    
    $cronSendClientEndTestRemind = GetSetting('cronSendClientEndTestRemind');
    $cronSendClientEndTestRemindDays = GetSetting('cronSendClientEndTestRemindDays');
    $cronAutoDeleteTest = GetSetting('cronAutoDeleteTest');
    
    
    
    if ($cronCloseTickets and intval($cronCloseTicketsDay) > 0) {
    
    и так дальше с каждой переменной ~ 1500 строк кода

    Равшан,где сериализация?
    Где сериализация кодя я тебя спашиваю?!

    - Где сериализация, насяльника, где?

    Запостил: tertychniy, 23 Сентября 2011

    Комментарии (12) RSS

    Добавить комментарий