Viewing file: install2.php (3.15 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
require("config.inc.php");
require("msg_english.inc.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>
<div align="center"><font color="#FF3333">
<?php
require ("config_sql.php");
$ct = mysql_connect("$server","$user","$password") or die($msgSQLConnectImpossible);
$db = mysql_select_db ($base) or die($msgBaseConnectImpossible);
// Create Tables
// Open the create tables text file and execute each line
$fd = fopen ($tablesfilename,"r"); //$tablesfilename may be create_tables_english.txt
while (!feof($fd)) {
$buffer = fgets($fd, 4096);
if (!mysql_query($buffer)) die($msgSqlQuerryError."<br><br>".$msgInstallAbort);
}
fclose ($fd);
mysql_close ($ct); // close sql connection
?>
</font>
<p> </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 align="center" class="titre2"><font color="#FF0000">SQL Table
creation is succesfull</font></p>
<p> </p>
<p>Do not forget to include the tag in your web pages to have
them recorded (see tag link on the main page index.php).</p>
<p align="center"><a href="index.php">Go to the main page</a></p>
</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><br>
<br>
<br>
</p>
</div>
<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>
|