Viewing file: install.php (5.28 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
require("config.inc.php");
require("msg_english.inc.php");
require ("config_sql.php");
?>
<html>
<head>
<title>ezBOO WebStats</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
-->
</style>
<link rel="stylesheet" href="style1.css">
</head>
<body bgcolor="#FFFFFF">
<table width="760" border="1" cellspacing="0" cellpadding="2" bordercolor="#636563" class="normal">
<tr bordercolor="#666666">
<td height="60" valign="middle" align="center"><a href="/"><img src="image/logo_ez1.gif" width="200" height="40" border="0"></a></td>
<td colspan="2" bgcolor="#666666" class="titre" height="60">
<div align="center" class="titre"><font color="#FFFFFF">>> Administrator
panel << </font></div>
</td>
</tr>
<tr bordercolor="#FFFFFF">
<td colspan="3" bordercolor="#666666" height="200">
<p align="right"> </p>
<table width="539" border="0" cellspacing="2" cellpadding="4" align="center" class="normal">
<tr>
<td colspan="4" class="titre2" bgcolor="#CCCCCC">ezBOO WebStats Setup</td>
</tr>
<tr bgcolor="#FFFFCC">
<td colspan="4">
<div align="left">
<p>This setup will help you to create automatically SQL tables.<br>
If you want to upgrade from an earlier version, <a href="update.php"><b>click
here</b></a>.</p>
<form name="form1" action="install2.php" >
<p>Tables will be created using SQL script named:
<input type="text" name="tablesfilename" value="create_tables_english.sql" size="30">
<br>
If you want to use another language, you can modify filename
above (this will only affect the way countries are displayed).</p>
<p>What you should do:</p>
<ul>
<li><b>Edit the file config.inc.php</b> to set your web site
name and the corresponding SQL table.<br>
By default table name is logezboo. If you want to modify this
name you must also edit the SQL script selected above to report
changes </li>
<li><b>Edit the file config_sql.php</b> to set parameters for
mySQL connection (username, data base name and password)</li>
<li><b>Click on the button</b> bellow to create tables</li>
</ul>
<p>If you have not modified this script, 4 tables will be created:</p>
<ul>
<li><b>liste_domaines</b><br>
This tables gather all countries with correspond NIC extention<br>
</li>
<li><b>logezboo</b><br>
This table will hold all your logs<br>
</li>
<li><b>logezboo_h</b><br>
This table hold your logs for past months<br>
</li>
<li><b>webstats_conf</b><br>
This table holds all configuration parameters which you'll
be able to modify</li>
</ul>
<p> </p>
<table width="360" border="0" align="center">
<tr bgcolor="#CCCCCC">
<td class="normal">
<div align="center"><b>mySQL server</b></div>
</td>
<td class="normal">
<div align="center"><b>User name</b></div>
</td>
<td class="normal">
<div align="center"><b>Data base</b></div>
</td>
</tr>
<tr bgcolor="#CCCCFF">
<td class="normal">
<div align="center"><? echo "$server"; ?></div>
</td>
<td class="normal">
<div align="center"><? echo "$user"; ?></div>
</td>
<td class="normal">
<div align="center"><? echo "$base"; ?></div>
</td>
</tr>
</table>
<p align="center">
<input type="submit" name="Submit" value=" Create tables ">
</p>
</form>
</div>
<div align="center"></div>
<div align="right"></div>
<div align="center"></div>
<div align="right"></div>
<div align="center"></div>
<div align="right"></div>
<div align="center"></div>
<div align="right"></div>
<div align="center"></div>
<div align="right"></div>
</td>
</tr>
</table>
<p> </p>
<p align="center" class="verysmall"><a href="http://www.ezboo.com" target="_blank"><img src="image/logo_webstats.gif" width="100" height="40" border="0"></a><br>
<? echo $msgStatBy ?> <a href="http://www.ezboo.com" target="_blank">ezBOO</a>
<? echo $msgVersion ?></p>
</td>
</tr>
</table>
<p class="verysmall"> </p>
</body>
</html>
|