-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-seg-cw1983.php
109 lines (93 loc) · 3.48 KB
/
config-seg-cw1983.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
$mbname = base64_decode('Q2FzaXRhV2ViIQ==');
$webmaster_email = '[email protected]';
// TO-DO: Modificar ruta según corresponda
$helpurl = 'http://localhost/casitaweb/sub-147s/ayuda';
$maintenance = 0;
$mtitle = '
<div style="border-top: 2px solid #DEB7B7; border-bottom: 2px solid #DEB7B7; padding-top: 10px; padding-bottom: 10px; margin: 0px; width: 100%; color: #495461; text-align: center; background-color: #F3DDDD; font-size: 11px; font-weight: bold;">
<b style="color: red; font-size: 14px; font-family: Arial;">' . $mbname . ' se encuentra en mantenimiento.</b>
<br />
<b style="font-size: 13px;">
<i>
Disculpe las molestias. Si deseas contactarte con nosotros: <a href="mailto:' . $webmaster_email . '" title="e-mail">' . $webmaster_email . '</a>
</i>
</b>
</div>';
$ajaxError = '
<span style="color: #444; font: Arial 12px;">
Este archivo sólo se ejecuta desde casitaweb.net
<br />
Cualquier inquietud: ' . $webmaster_email . '
<br/>
<<
<a href="/" style="color: #444;">Ir al inicio de ' . $mbname . '</a>
</span>';
if ($maintenance == 1) {
die($mtitle);
}
$urlSep = 'accioncw241';
$cookiename = 'casitaweb';
$language = 'english';
$errordb = $mtitle . '<br /><span style="font-size: 9px; color: #CCCCCC;">#01274</span>';
$db_error_send = base64_decode('MQ==');
// TO-DO: Modificar ruta según corresponda
$boardurl = 'http://localhost/casitaweb';
$no_avatar = $boardurl . '/avatar.gif';
$boarddir = 'C:\\wamp64\\www\\casitaweb';
$themedir = $boarddir . '\\web\\archivos\\base';
$sourcedir = $boarddir . '\\web\\archivos\\raizSeG414';
$tranfer1 = $boardurl . '/images';
$recaptcha_private = base64_decode('NkxkQjNTRXFBQUFBQUpja3RmcFR6bk9yc2tBU0NUaHEzUFRmc3dWZA==');
$recaptcha_public = base64_decode('NkxkQjNTRXFBQUFBQUVnV3RBU0ZHN1Y5V09FMHZnYmpVc2RBdW9CUw==');
$internetNO = '
<!--[if lt IE 7.]>
<style rel="stylesheet" type="text/css">
.warningMessage {
border-bottom: 6px solid #D35F2C;
border-left: 6px solid #D35F2C;
border-right: 6px solid #D35F2C;
background: #FFF;
width: 917px;
text-align: center;
margin-bottom: 5px;
}
</style>
<div align="center">
<div class="warningMessage">
<div style="float: left;">
<img src="'.$tranfer1.'/alerta.png" alt="" style="margin-bottom: 1px; margin-left: 1px;" />
</div>
<div style="padding-top: 10px;">
Estás usando una versión antigua de tu navegador, por favor actualízalo a una de estas alternativas: <a href="http://www.microsoft.com/spain/windows/downloads/ie/getitnow.mspx" title="Internet Explorer 8" target="_blank">Internet Explorer 8</a> o <a href="http://www.mozilla-europe.org/es/firefox/" target="_blank" title="FireFox 3">FireFox 3</a>
</div>
</div>
</div>
<![endif]-->';
require_once($sourcedir . '/Ursl.php');
require_once($boarddir . '/web/cw-flood-protection.php');
global $mnc;
$mnc = isset($mnc) ? $mnc : '0';
if ($mnc) {
die();
exit();
} else {
$db_server = 'localhost';
$db_name = 'casitaweb';
$db_user = 'root';
$db_passwd = '';
$db_prefix = 'cw_';
$db_last_error = base64_decode('MA==');
$db_character_set = base64_decode('dXRmOA==');
$db_connection = @mysqli_connect($db_server, $db_user, $db_passwd);
if (!$db_connection || !@mysqli_select_db($db_connection, $db_name)) {
die($errordb);
}
}
$navegador = getenv('HTTP_USER_AGENT');
if (preg_match("/MSIE/i", $navegador)) {
$ie = true;
} else {
$ie = false;
}
?>