Вход Регистрация
Файл: setup.php
Строк: 114
<?
error_reporting
(0);
include (
"inc/connect.inc.php");
$sql=mysql_query("select*from ".$db_pref."sysvals");
$row=mysql_fetch_array($sql);
$site_active=$row['site_active'];
$sql2=mysql_query("select*from ".$db_pref."pages");
$row2=mysql_fetch_array($sql2);
if (
file_exists("install.php")) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>ВНИМАНИЕ!!!  WARNING!!!</title>
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon" />
</head>
<body id="s5_body" style="background-color:#000000">
<div id="s5_body_wrap" style="background:url('images/s5_background1.jpg') no-repeat top center; position:fixed">
</div>
<style type="text/css"> 
a{
color:#D3B126;
}
</style>
<div id="s5_main_body_wrap" style="margin-left:-300px; width:600px">
<div id="s5_main_wrap" style="width:600px">
<div id="s5_middle">
<div class="s5_round_wrap">
<div class="s5_tl"></div>
<div class="s5_tm" style="width:552px"></div>
<div class="s5_tr"></div>
<div class="s5_ml" style="width:576px">
<div class="s5_mr" style="width:552px">
<div class="s5_mm" style="width:552px">
<div style="position:relative">
<table width="500" border="0" align="center" cellpadding="3" cellspacing="3">
<tr>
<td align="center"><div class="moduletable">
<h3 align="center"><i><b>ВНИМАНИЕ!!!  WARNING!!!</b></i></div></td>
</tr>
<tr>
<td align="center" ><font color="red">Удалите пожалуйста файл install.php из корневой папки!<br>
Please delete the install.php file in the root folder!
</font></td>
</tr>
</table>
<br>
<center>
<b><a class="button" href="index.php">.:: Обновить  Refresh ::.</a></b>
<br>
<br>
<font color="red">Или ещё не установили базы ?<br>Or have not yet installed database ?</font><br><br>
<b><a class="button" href="install.php">.:: Установить / Install ::.</a></b>
</center>
<br>
<br>
</div>
</div>
</div>
</div>
<div class="s5_bl"></div>
<div class="s5_bm" style="width:552px"></div>
<div class="s5_br"></div>
<div style="clear:both"></div>
</div>
</div>
</div>
</body>
</html>
<?
exit;
}
?>
<?
if($site_active!=YES){
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru-ru" lang="ru-ru" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>На сайте в данный момент проводятся обновления! / The site is currently being updated!</title>
<link href="css/template_css.css" rel="stylesheet" type="text/css" />
<link href="images/favicon.png" rel="shortcut icon" type="image/x-icon" />
</head>
<body id="s5_body" style="background-color:#000000">
<div id="s5_body_wrap" style="background:url('images/s5_background1.jpg') no-repeat top center; position:fixed">
</div>
<style type="text/css"> 
a{
color:#D3B126;
}
</style>
<div id="s5_main_body_wrap" style="margin-left:-300px; width:600px">
<div id="s5_main_wrap" style="width:600px">
<div id="s5_middle">
<div class="s5_round_wrap">
<div class="s5_tl"></div>
<div class="s5_tm" style="width:552px"></div>
<div class="s5_tr"></div>
<div class="s5_ml" style="width:576px">
<div class="s5_mr" style="width:552px">
<div class="s5_mm" style="width:552px">
<div style="position:relative">
<table width="500" border="0" align="center" cellpadding="3" cellspacing="3">
<tr>
<td align="center"><div class="moduletable">
<br>      <h3 align="center"><i><b>На сайте в данный момент проводятся обновления!<br>The site is currently being updated!</b></i></div></td>
</tr>
<tr>
<td align="center" ><font color="gren">Извините за временное неудобство.<br>Sorry for the inconvenience.</font></td>
</tr>
</table>
<br>
<center>
<b><a href="index.php">Обновить  Refresh</a></b>
</center>
<br>
<br>
</div>
</div>
</div>
</div>
<div class="s5_bl"></div>
<div class="s5_bm" style="width:552px"></div>
<div class="s5_br"></div>
<div style="clear:both"></div>
</div>
</div>
</div>
</body>
</html>
<?
exit;
}
?>
Онлайн: 1
Реклама