File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 14511451 " . ($ botState ['configLinkState ' ] != "off " ?"
14521452💝 config : <code> $ vray_link</code> " :"" );
14531453
1454- " 🔋 Volume web: <code> $ botUrl " . " search.php?id= " . $ uniqid . " </code> " ;
1454+ if ( $ botState [ ' subLinkState ' ] == " on " ) $ acc_text .= "
14551455
1456+ 🔋 Volume web: <code> $ botUrl " ."search.php?id= " .$ uniqid ."</code>
14561457
1457- if ($ botState ['subLinkState ' ] == "on " ) $ acc_text .= "
14581458
14591459🌐 subscription : <code> $ subLink</code>
14601460
19991999 sendMessage (" عدد اعشاری مجاز نیست " );
20002000 exit ();
20012001 }
2002+ elseif (substr ($ text , 0 , 1 ) == '0 ' ){
2003+ sendMessage ("❌عدد وارد شده نمیتواند با 0 شروع شود! " );
2004+ exit ();
2005+ }
2006+
20022007 $ id = $ match [1 ];
20032008 $ price = $ botState ['dayPrice ' ];
20042009 if ($ userInfo ['temp ' ] == "agentBuy " && $ userInfo ['is_agent ' ] == true ) $ price -= ($ price * $ userInfo ['discount_percent ' ] / 100 );
20192024 sendMessage ("عدد اعشاری مجاز نیست " );
20202025 exit ();
20212026 }
2027+ elseif (substr ($ text , 0 , 1 ) == '0 ' ){
2028+ sendMessage ("❌عدد وارد شده نمیتواند با 0 شروع شود! " );
2029+ exit ();
2030+ }
2031+
20222032 sendMessage ($ mainValues ['customer_custome_plan_name ' ]);
20232033 setUser ("enterCustomPlanName " . $ match [1 ] . "_ " . $ match [2 ] . "_ " . $ match [3 ] . "_ " . $ text );
20242034}
You can’t perform that action at this time.
0 commit comments