| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/baberankings.com.bak/members/admin/includes/ |
Upload File : |
<?
/* K-Rate
(C) Rinalds Uzkalns, 2003-2004. All Rights Reserved
http://turn-k.net
Version: 1.00 (22.09.04)
*/
?>
<div class=header>Install Modules</div>
<?
//install the module
if (isset($_POST['inst'])) {
include '../modules/'.$en['mod'].'/_index.php';
$data['admin'] = $admin['adm_id'];
$data['core'] = 0;
$data['name'] = $en['mod'];
chdir('..');
install_module($data, true);
echo '<Br>';
}
?>
<form action='index.php' method=post>
<input type=hidden name=req value=install_modules>
<table>
<tr><td class=key>Available Modules Not Yet Installed:</td><td><select name=mod>
<?
if ($dir = opendir("../modules")) {
while (($file = readdir($dir)) !== false)
if ($file != '.' && $file != '..'){
$res = sql_query("SELECT * FROM $modstable WHERE mod_name='$file'");
if (sql_num_rows($res) == 0) echo "<option>$file</option>";
}
closedir($dir);
}
?>
</select></td></tr>
</table>
<br>
<input type=submit name=inst value='Install!'>
</form>