File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 6262 }
6363 }
6464 }
65- if (!$ found ){
66- $ warnOffset --;
67- $ stmt = $ connection ->prepare ("UPDATE `orders_list` SET `status`= 0 WHERE `remark`=? " );
68- $ stmt ->bind_param ("s " , $ remark );
69- $ stmt ->execute ();
70- $ stmt ->close ();
71- continue ;
72- }
65+ if (!$ found ) continue ;
66+
7367 $ leftgb = round ( ($ total - $ up - $ down ) / 1073741824 , 2 );
7468 $ now_microdate = floor (microtime (true ) * 1000 );
7569 if ($ expiryTime != null && $ total != null ){
7670 $ send = "" ;
77- if ($ expiryTime < $ now_microdate + 86400 ) $ send = "روز " ; elseif ($ leftgb < 1 ) $ send = "گیگ " ;
71+ if ($ expiryTime < $ now_microdate + 86400000 ) $ send = "روز " ; elseif ($ leftgb < 1 ) $ send = "گیگ " ;
7872 if ($ send != "" ){
7973 $ msg = "💡 کاربر گرامی،
8074 از سرویس اشتراک $ remark تنها (۱ $ send) باقی مانده است. میتواند از قسمت خرید های من سرویس فعلی خود را تمدید کنید یا سرویس جدید خریداری کنید. " ;
You can’t perform that action at this time.
0 commit comments