/
index.php
261 lines (228 loc) · 9.33 KB
/
index.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<html>
<head>
<title><? OUT($GV["site_title"]) ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251;">
<meta http-equiv="Keywords" content="<? OUT($GV["site_keywds"]) ?>">
<meta http-equiv="Author" content="<? OUT($GV["site_owner"]) ?>">
<meta http-equiv="Description" content="<? OUT($GV["site_descr"]) ?>">
<link href="<? OUT(SK_DIR) ?>/styles.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor=#F0F6F8 text=#000000 alink=#000000 vlink=#000000 hlink=#000000 link=#000000>
<script>
log_sel=false;
pas_sel=false;
</script>
<table width=100% height=100% cellspacing=0 cellpadding=0>
<td width=207px valign=top>
<table width=207px height=100% cellspacing=0 cellpadding=0>
<tr><td width=100%><img src="<? OUT(SK_DIR) ?>/img/left_up_corner.gif"></td></tr>
<tr><td width=100% height=100% background="<? OUT(SK_DIR) ?>/img/left_middle.gif" valign=top>
<!-- STARTOF MENU -->
<?php
$MDL->LoadModule('menu',true);
?>
<!-- ENDOF MENU -->
<br>
<img src="<? OUT(SK_DIR) ?>/img/separator.gif">
<br>
<? if(!check_auth())
{
?>
<div align=center>Âõîä:</div>
<form action=?act=auth method=post>
<table width=100%>
<tr><td width=30%>
ëîãèí
</td><td width=50% align=left>
<input type=text name=login class=inputbox style="width:70%;" value="login" onfocus="if(!log_sel)this.value='';log_sel=true;" style="width:90px">
</td></tr>
<tr><td width=30%>
ïàðîëü
</td><td width=50% align=left>
<input type=password name=passwd class=inputbox style="width:70%;"value="password" onfocus="if(!pas_sel)this.value='';pas_sel=true;" style="width:90px">
</td></tr>
</table>
<div align=center><input type=submit class=button value="âîéòè">
</form>
<? if($MDL->IsModuleExists('users'))
{
}
?>
<?php
}
else
$MDL->LoadMenu('users');
?>
</td></tr>
<tr><td width=100%><img src="<? OUT(SK_DIR) ?>/img/left_down_corner.gif"></td></tr>
</table>
</td><td width=100%>
<table width=100% height=100% cellspacing=0 cellpadding=0 valign=top align=left border=0>
<tr><td width=100% height=121px>
<table width=100% height=121px cellspacing=0 cellpadding=0 valign=top align=left border=0>
<td width=60px background="<? OUT(SK_DIR) ?>/img/top_um.gif" valign=middle>
<img width=60px src="<? OUT(SK_DIR) ?>/billing/state_img.php">
</td>
<td width=398px background="<? OUT(SK_DIR) ?>/img/top_um.gif"><img src="<? OUT(SK_DIR) ?>/img/top_left.gif"></td>
<td background="<? OUT(SK_DIR) ?>/img/top_um.gif" width=100%></td>
<td width=375px><img src="<? OUT(SK_DIR) ?>/img/top_right.gif"></td>
</table>
</td></tr>
<tr><td width=100% height=100%>
<table width=100% height=100% border=0px cellspacing=0 cellpadding=0>
<td width=100% height=100% align=center>
<table height=40px><td></td></table>
<table width=97% height=80% cellspacing=0 cellpadding=0 border=0px align=center>
<tr>
<td width=100% height=72px>
<table width=100% height=72px cellspacing=0 cellpadding=0 border=0px>
<td width=14px height=100%>
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0px>
<tr><td width=16px height=17px><img src="<? OUT(SK_DIR) ?>/img/content_luc.gif"></td></tr>
<tr><td width=100%>
<table cellspacing=0 cellpadding=0 width=14px height=100% width=100%>
<td width=14px height=100% background="<? OUT(SK_DIR) ?>/img/content_lm.gif"><table cellspacing=0 cellpadding=0 width=14px><td></td></table></td>
<td width=100% bgcolor=#F0F6F8></td>
</table>
</table>
</td>
<td width=100% height=72px>
<table width=100% height=72px cellspacing=0 cellpadding=0 border=0px>
<tr><td width=100% height=17px background="<? OUT(SK_DIR) ?>/img/content_um.gif"></td></tr>
<tr><td bgcolor=#F0F6F8 width=100% height=55px align=center>
</td></tr>
</table></td>
<td><img src="<? OUT(SK_DIR) ?>/img/content_ruc.gif"></td>
</table>
</tr><tr>
<td width=100% height=100%>
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0px>
<td width=14px background="<? OUT(SK_DIR) ?>/img/content_lm.gif" height=100%><table cellspacing=0 cellpadding=0 width=14px><td></td></table></td>
<td width=20px><table width=20px><td></td></table></td>
<td width=100% bgcolor=#F0F6F8 valign=top>
<!-- STARTOF CONTENT -->
<?php
$MDL->LoadModule($p,false);
?>
<!-- ENDOF CONTENT -->
</td>
<td width=20px><table width=20px><td></td></table></td>
<td width=62px background="<? OUT(SK_DIR) ?>/img/content_rm.gif" height=100%><table cellspacing=0 cellpadding=0 width=62px><td></td></table></td>
</table>
</td></tr>
<tr>
<td width=100% height=10px>
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0px>
<td width=14px background="<? OUT(SK_DIR) ?>/img/content_lm.gif" height=100%><table cellspacing=0 cellpadding=0 width=14px><td></td></table></td>
<td width=100% bgcolor=#F0F6F8 align=center>
</td>
<td width=20px><table width=10px><td></td></table></td>
<td width=62px background="<? OUT(SK_DIR) ?>/img/content_rm.gif" height=100%><table cellspacing=0 cellpadding=0 width=62px><td></td></table></td>
</table>
</td></tr>
<tr>
<td width=100% height=65px>
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0px>
<td width=66px height=100%><img src="<? OUT(SK_DIR) ?>/img/content_ldc.gif"></td>
<td width=100% background="<? OUT(SK_DIR) ?>/img/content_dm.gif"></td>
<td width=64px><img src="<? OUT(SK_DIR) ?>/img/content_rdc.gif"></td>
</table>
</td></tr>
</table>
<div align=center><small>© SMStudio, 2006</small></div>
</td>
<td width=100%>
<table width=100% height=100% cellspacing=0 cellpadding=0 border=0px>
<tr><td width=100% height=53px>
<table width=228px height=100% cellspacing=0 cellpadding=0 valign=top align=left border=0>
<td width=88px height=53px><img src="<? OUT(SK_DIR) ?>/img/right_luc.gif"></td>
<td bgcolor=#F0F6F8 width=149px></td>
</table>
</td></tr>
<tr><td width=100% height=100%>
<table width=228px height=100% cellspacing=0 cellpadding=0 valign=top align=left border=0>
<td width=45px height=100% background="<? OUT(SK_DIR) ?>/img/right_lm.gif"></td>
<td bgcolor=#F0F6F8 width=183px valign=top>
<!-- STARTOF BARS -->
<table width=178px cellspacing=0 cellpadding=0 class=tblbar>
<tr><td background="<? OUT(SK_DIR) ?>/img/bar_title.gif">
<table width=178px height=32px><td align=center valign=bottom width=100% height=100%>
<font class=bartitle>
Ïîëüçîâàòåëè
</font>
</td></table>
</td></tr>
<tr><td width=100%>
<? $MDL->LoadModule('users',true); ?>
</td></tr>
</table><br>
<table width=178px cellspacing=0 cellpadding=0 class=tblbar>
<tr><td background="<? OUT(SK_DIR) ?>/img/bar_title.gif">
<table width=178px height=32px><td align=center valign=bottom width=100% height=100%>
<font class=bartitle>
Íîâîñòè
</font>
</td></table>
</td></tr>
<tr><td width=100% class=tblbar>
<? $MDL->LoadModule('news',true); ?>
</td></tr>
</table><br>
<table width=178px cellspacing=0 cellpadding=0 class=tblbar>
<tr><td background="<? OUT(SK_DIR) ?>/img/bar_title.gif">
<table width=178px height=32px><td align=center valign=bottom width=100% height=100%>
<font class=bartitle>
Ïîñëåäíèå ñòàòüè
</font>
</td></table>
</td></tr>
<tr><td width=100%>
<? $MDL->LoadModule('articles',true); ?>
</td></tr>
</table><br>
<table width=178px cellspacing=0 cellpadding=0 class=tblbar>
<tr><td background="<? OUT(SK_DIR) ?>/img/bar_title.gif">
<table width=178px height=32px><td align=center valign=bottom width=100% height=100%>
<font class=bartitle>
Îáúÿâëåíèÿ
</font>
</td></table>
</td></tr>
<tr><td width=100%>
<? $MDL->LoadModule('annoucements',true); ?>
</td></tr>
</table><br>
<table width=178px cellspacing=0 cellpadding=0 class=tblbar>
<tr><td background="<? OUT(SK_DIR) ?>/img/bar_title.gif">
<table width=178px height=32px><td align=center valign=bottom width=100% height=100%>
<font class=bartitle>
Ñîñòîÿíèå
</font>
</td></table>
</td></tr>
<tr><td width=100%>
<? $MDL->LoadModule('smadbis',true); ?>
</td></tr>
</table><br>
<!-- ENDOF BARS -->
</td>
</table>
</td></tr>
<tr><td width=100% height=100%>
<table width=228px height=100% cellspacing=0 cellpadding=0 valign=top align=left border=0>
<td width=46px height=100%><img src="<? OUT(SK_DIR) ?>/img/right_ldc.gif"></td>
<td bgcolor=#F0F6F8 width=100% background="<? OUT(SK_DIR) ?>/img/right_dm.gif"></td>
</table>
</td></tr>
</table>
</td>
</table>
</td></tr>
</table>
</td>
</table>
<div align=center>
<SMALL style="font-size:9px;">Page generated by <? $timer->stop();OUT($timer->elapsed()); ?> ms.<br>
</div>
</body>
</html>