Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
btm2000.bak /
loan /
Delete
Unzip
Name
Size
Permission
Date
Action
class
[ DIR ]
drwxr-xr-x
2025-11-25 13:12
payment
[ DIR ]
drwxr-xr-x
2025-11-25 13:12
calcmens.php
2.13
KB
-rw-r--r--
2025-11-25 13:12
card.php
26.51
KB
-rw-r--r--
2025-11-25 13:12
createschedule.php
7.73
KB
-rw-r--r--
2025-11-25 13:12
document.php
5.87
KB
-rw-r--r--
2025-11-25 13:12
index.html
0
B
-rw-r--r--
2025-11-25 13:12
index.php
14.86
KB
-rw-r--r--
2025-11-25 13:12
info.php
4.28
KB
-rw-r--r--
2025-11-25 13:12
note.php
4.96
KB
-rw-r--r--
2025-11-25 13:12
Save
Rename
<?php /* TVI * Copyright (C) 2015 Florian HENRY <florian.henry@open-concept.pro> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /** * \file tvi/ajax/list.php * \brief File to return datables output */ if (! defined('NOTOKENRENEWAL')) define('NOTOKENRENEWAL', '1'); // Disables token renewal if (! defined('NOREQUIREMENU')) define('NOREQUIREMENU', '1'); if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX', '1'); require '../main.inc.php'; require DOL_DOCUMENT_ROOT.'/loan/class/loanschedule.class.php'; $mens=GETPOST('mens'); $capital=GETPOST('capital'); $rate=GETPOST('rate'); $echance=GETPOST('echeance'); $nbterm=GETPOST('nbterm'); top_httphead(); $output=array(); $object = new LoanSchedule($db); $int = ($capital*($rate/12)); $int = round($int,2,PHP_ROUND_HALF_UP); $cap_rest = round($capital - ($mens-$int),2,PHP_ROUND_HALF_UP); $output[$echance]=array('cap_rest'=>$cap_rest,'cap_rest_str'=>price($cap_rest),'interet'=>$int,'interet_str'=>price($int,0,'',1),'mens'=>$mens); $echance++; $capital=$cap_rest; while ($echance<=$nbterm) { $mens = round($object->calc_mens($capital,$rate,$nbterm-$echance+1),2,PHP_ROUND_HALF_UP); $int = ($capital*($rate/12)); $int = round($int,2,PHP_ROUND_HALF_UP); $cap_rest = round($capital - ($mens-$int),2,PHP_ROUND_HALF_UP); $output[$echance]=array('cap_rest'=>$cap_rest,'cap_rest_str'=>price($cap_rest),'interet'=>$int,'interet_str'=>price($int,0,'',1),'mens'=>$mens); $capital=$cap_rest; $echance++; } echo json_encode($output);