mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-07-24 12:54:31 +02:00
Hashtag for telegram
This commit is contained in:
parent
6c64d0944f
commit
19f79680ff
3 changed files with 32 additions and 7 deletions
|
@ -295,7 +295,7 @@ switch ($action) {
|
|||
$t->type = "Hotspot";
|
||||
$t->save();
|
||||
}
|
||||
sendTelegram( "$admin[fullname] Recharge Voucher Hotspot for $c[username]\n".$p['name_plan'].
|
||||
sendTelegram( "$admin[fullname] #Recharge Voucher #Hotspot for #$c[username]\n".$p['name_plan'].
|
||||
"\nRouter: ".$server.
|
||||
"\nPrice: ".$p['price']);
|
||||
} else {
|
||||
|
@ -398,7 +398,7 @@ switch ($action) {
|
|||
$t->type = "PPPOE";
|
||||
$t->save();
|
||||
}
|
||||
sendTelegram( "$admin[fullname] Recharge Voucher PPPOE for $c[username]\n".$p['name_plan'].
|
||||
sendTelegram( "$admin[fullname] #Recharge Voucher #PPPOE for #$c[username]\n".$p['name_plan'].
|
||||
"\nRouter: ".$server.
|
||||
"\nPrice: ".$p['price']);
|
||||
}
|
||||
|
@ -934,7 +934,8 @@ switch ($action) {
|
|||
$v1->user = $c['username'];
|
||||
$v1->save();
|
||||
|
||||
sendTelegram( "$admin[fullname] Refill Voucher Hotspot for $c[username]\n".$p['name_plan'].
|
||||
sendTelegram( "$admin[fullname] #Refill #Voucher #Hotspot for #$c[username]\n".$p['name_plan'].
|
||||
"\nCode: ".$code.
|
||||
"\nRouter: ".$v1['routers'].
|
||||
"\nPrice: ".$p['price']);
|
||||
} else {
|
||||
|
@ -1042,7 +1043,8 @@ switch ($action) {
|
|||
$v1->save();
|
||||
|
||||
|
||||
sendTelegram( "$admin[fullname] Refill Voucher PPPOE for $c[username]\n".$p['name_plan'].
|
||||
sendTelegram( "$admin[fullname] Refill #Voucher #PPPOE for #$c[username]\n".$p['name_plan'].
|
||||
"\nCode: ".$code.
|
||||
"\nRouter: ".$v1['routers'].
|
||||
"\nPrice: ".$p['price']);
|
||||
}
|
||||
|
|
|
@ -247,7 +247,8 @@ switch ($action) {
|
|||
$v1->user = $c['username'];
|
||||
$v1->save();
|
||||
// Telegram to Admin
|
||||
sendTelegram( $c['username']." Activate Voucher Hotspot\n".$p['name_plan'].
|
||||
sendTelegram( '#'.$c['username']." Activate #Voucher #Hotspot\n".$p['name_plan'].
|
||||
"\nCode: ".$code.
|
||||
"\nRouter: ".$v1['routers'].
|
||||
"\nPrice: ".$p['price']);
|
||||
} else {
|
||||
|
@ -351,7 +352,8 @@ switch ($action) {
|
|||
$v1->user = $c['username'];
|
||||
$v1->save();
|
||||
// Telegram to Admin
|
||||
sendTelegram( $c['username']." Activate Voucher PPPOE\n".$p['name_plan'].
|
||||
sendTelegram( '#'.$c['username']." Activate #Voucher #PPPOE\n".$p['name_plan'].
|
||||
"\nCode: ".$code.
|
||||
"\nRouter: ".$v1['routers'].
|
||||
"\nPrice: ".$p['price']);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue