<?php
    
/**
     *    Users List Module for Mambo portal
     *
     *    19-05-2002
      *
     *    Copyright (C) 2002 Emir Sakic
     *    Distributed under the terms of the GNU General Public License
     *    This software may be used without warranty provided and these statements are left intact.
     *    This source is available at http://www.superbosna.com/mambo_hacks
     *
     *    Mambo is Copyright (C) 2000-2001 Miro Construct Pty Ltd
     *    Source is available at http://sourceforge.net/projects/mambo
     *    Site Name: Mambo Open Source Edition Version 3.0.7
     *    File Name: instulm.php
     *    Developer: Emir Sakic - saka@hotmail.com
     *    Date: 19/05/2002
     *     Version #: 1.0.0
     *    Comments: This script installs users list module for Mambo adding an entry into the
     *            mambo_modules database table. Just execute it from the same directory with your
     *            configuration.php file for Mambo.
     *            Read readme.txt for further installation instructions.
     *
     *            Demo can be viewed at http://www.superbosna.com
    **/
?>

<html>
<title>Users List Module Install</title>
<body bgcolor="#0e4f77" text="#FFFFFF" link="#808080" vlink="#808080">

<?
    
include ("configuration.php");

    
// Connecting, selecting database
    
$link mysql_connect("$host""$user""$password") or die("Could not connect. Check if this file and configuration.php are in the same directory.");
    
mysql_select_db("$db") or die("Could not select database.");

    
$sql="INSERT INTO mambo_modules VALUES ( '', 'Users List', 'index.php?option=userlist', '')";
    
$result=mysql_query($sql);

    
// Closing connection
    
mysql_close($link);
?>

<p>
Successfully Installed!
</p>

<p>
<font color="#999999">Script made by
<a href="http://www.sakic.net" target=_blank>Saka</a>.</font>
</p>

</body>
</html>