-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
328 lines (322 loc) · 12.1 KB
/
home.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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<html>
<head>
<title>Home - J2ME Play</title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8">
</head>
<body>
<div class="headbar">
<div class="header">
<ol class="headlist">
<li class="headlinks">
<a class="headlink" id="headlink_1" href="http://j2me.ml">
<span class="headlink_sup"></span>
<div class="head_nopad">
<span class="headlink_context">Main</span>
</div>
</a>
</li>
<li class="headlinks">
<a class="headlink" id="headlink_1" href="http://j2me.ml">
<span class="headlink_sup selected"></span>
<div class="head_nopad">
<span class="headlink_context">Store</span>
</div>
</a>
</li>
<li class="headlinks">
<a class="headlink" id="headlink_1" href="http://javame_ch.t.me">
<span class="headlink_sup"></span>
<div class="head_nopad">
<span class="headlink_context">Telegram</span>
</div>
</a>
</li>
</ol>
</div>
<div class="head_doact">
<ol class="headlist">
<li class="headlinks">
<a class="headlink" id="headlink_1" href="console.php">
<span class="headlink_sup"></span>
<div class="head_nopad">
<span class="headlink_context bold">Консоль</span>
</div>
</a>
</li>
<li class="headlinks">
<a class="headlink" id="headlink_1" href="http://j2me.ml">
<span class="headlink_sup"></span>
<div class="head_nopad head_nopad_icon">
<span class="head_icon"></span>
</div>
</a>
</li>
</ol>
</div>
</div>
<div class="advert-container">
<div class="advert">
Представляем <b>J2ME Play</b>
<a href="http://j2me.ml/">Больше</a>
<div class="advert-bar-tip-container">
<div class="advert-bar-tip"></div>
</div>
</div>
</div>
<div class="j2me-container">
<div class="j2me">
<!-- <a href="http://j2me.ml/" class="play-inline-block">
<div class="play-logo play-inline-block"></div>
</a> -->
<div class="search">
<div class="search-container">
<form action="search.php" method="get" id="search-box" class="search-type">
<input id="search-text" type="text" autocomplete="off" class="form-text-box no-focus" placeholder="Search" name="q" value="" aria-haspopup="true">
<input id="search-button" type="submit" class="no-focus search-button" tabindex="-1" value="">
</form>
</div>
</div>
</div>
</div>
<div class="menu-container">
<div class="menu">
<div class="menu-wrapper">
<ul class="menu-bar" id="menu-bar" role="menubar" style="user-select: none;" aria-activedescendant="">
<li class="menu-bar-button menu-bar-left highlight" id=":0" style="user-select: none;">
<a href="http://j2me.ml/" class="menu-bar-button-link first" style="user-select: none;">Каталог приложений<span href="/" class="down-arrow" style="user-select: none;"></span>
</a>
<ul class="menu-bar-child j2me-menu" role="menu" aria-haspopup="true" tabindex="-1" style="user-select: none; display: none;">
<li class="menu-bar-item" role="menuitem" id=":1" style="user-select: none;">
<div class="menu-bar-item-content" style="user-select: none;">
<a href="http://j2me.ml/app" style="user-select: none;">Каталог</a>
</div>
</li>
</ul>
</li>
<li class="menu-bar-button menu-bar-right" id=":2" style="user-select: none;">
<a href="http://j2me.ml/app/my" class="menu-bar-button-link" style="user-select: none;">Мои приложения</a>
</li>
</ul>
</div>
</div>
</div>
<div class="home-container">
<div class="home">
<table class="home-table">
<colgroup>
<col width="316">
<col width="4">
<col width="100%">
</colgroup>
<tbody>
<tr>
<td>
<div class="tabbed-panel-header tabBar-wrapper">
<ul id="categories" class="tabbed-panel-header-wrapper">
<li class="tab j2me-inline-block tab-selected">
<span class="tab-text">Категории</span>
</li>
</ul>
</div>
</td>
<td rowspan="5" class="gutter-column"></td>
<td>
<div class="tabbed-panel-header tabBar-wrapper">
<ul id="featured-lists" class="tabbed-panel-header-wrapper">
<li class="tab j2me-inline-block tab-selected">
<span class="tab-text">Популярное</span>
</li>
<li class="tab j2me-inline-block">
<span class="tab-text">Топ платных</span>
</li>
<li class="tab j2me-inline-block">
<span class="tab-text">Топ бесплатных</span>
</li>
<li class="tab j2me-inline-block">
<span class="tab-text">Топ флагманских приложений</span>
</li>
</ul>
</div>
</td>
</tr>
<td class="content-cell" rowspan="4">
<div id="tab-body-categories">
<div class="tabbed-panel-tab">
<div id="categories-tab-1" class="category-nav padded-content">
<ul class="category-list"><li class="category-item ">
<a href="http://j2me.ml/games">Игры</a>
<span class="more-arrow">›</span>
<ul class="category-sublist">
<li class="category-subitem ">
<a href="http://j2me.ml/arcade">Аркады</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/casual">Казуальные</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/wallpaper">Обои</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/racing">Гонки</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/widgets">Виджеты</a>
<span class="more-arrow">›</span>
</li>
</ul>
</li>
<li class="category-item ">
<a href="http://j2me.ml/apps">Приложения</a>
<span class="more-arrow">›</span>
<ul class="category-sublist">
<li class="category-subitem ">
<a href="http://j2me.ml/communicate">Связь с близкими</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/media">Медиа</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/music">Музыка</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/perso">Персонализация</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/photography">Фотография</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/social">Социальные сети</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/tools">Инструменты</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/weather">Погода</a>
<span class="more-arrow">›</span>
</li>
<li class="category-subitem ">
<a href="http://j2me.ml/widgets">Виджеты</a>
<span class="more-arrow">›</span>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</td>
<td class="content-cell">
<div id="tab-body-featured-lists">
<div class="tabbed-panel-tab">
<div class="padded-browse-carousel" data-analyticsid="featured-apps">
<div class="carousel-mini">
<div class="carousel-pages">
<div class="carousel-pages-wrapper" data-analyticsid="featured-apps">
<div class="carousel-page">
<div class='j2me-inline-block' style='display: flex; flex-direction: row; flex-wrap: wrap;'>
<?php
$rows = "SELECT * FROM apps where paid='false'";
$d = mysqli_query($link, $rows);
// $row = mysqli_fetch_array($d, MYSQLI_ASSOC);
while($row=mysqli_fetch_array($d))
{
echo "
<div class='snippet snippet-tall'>
<div class='thumbnail-wrapper j2me-inline-block'>
<a href='http://j2me.ml/?id=$row[id]' class='thumbnail'>
<img src=$row[icon] alt=$row[app_name]>
</a>
</div>
<div class='details'>
<a class='title' title='$row[app_name]' href='http://j2me.ml/?id=$row[id]'>$row[app_name]</a>
<span class='attribution'>
<a href='http://j2me.ml/?dev=$row[id]'>$row[dev_name]</a>
</span>
</div>
<div class='buy-wrapper j2me-inline-block'>
<div class='buy-border'>
<a class='buy-link buy-button j2me-inline-block' href='/?id=$row[id]'>
<span class='buy-button-price' id='mobi.opera.mobi'>Установить</span>
</a>
</div>
</div>
</div>
";
}
?>
</div>
<hr>
<div class='j2me-inline-block' style='display: flex; flex-direction: row; flex-wrap: wrap;'>
<?php
$rows_paid = "SELECT * FROM apps where paid='true'";
$d_paid = mysqli_query($link, $rows_paid);
// $row = mysqli_fetch_array($d, MYSQLI_ASSOC);
while($row_paid=mysqli_fetch_array($d_paid))
{
echo "
<div class='snippet snippet-tall'>
<div class='thumbnail-wrapper j2me-inline-block'>
<a href='http://j2me.ml/?id=$row_paid[id]' class='thumbnail'>
<img src=$row_paid[icon] alt=$row_paid[app_name]>
</a>
</div>
<div class='details'>
<a class='title' title='$row_paid[app_name]' href='http://j2me.ml/?id=1'>$row_paid[app_name]</a>
<span class='attribution'>
<a href='http://j2me.ml/?dev=$row_paid[id]'>$row_paid[dev_name]</a>
</span>
</div>
<div class='buy-wrapper j2me-inline-block'>
<div class='buy-border'>
<a class='buy-link buy-button j2me-inline-block' href='/?id=$row_paid[id]'>
<span class='buy-button-price' id='mobi.opera.mobi'>Pay $$row_paid[fee]</span>
</a>
</div>
</div>
</div>
";
}
?>
</div>
</div>
</div>
</div>
</div>
<a class="carousel-more-link" href="http://j2me.ml/app/all">Еще <span class="more-arrow">›</span>
</a>
<div class="carousel-pagination"></div>
</div>
</div>
</td>
</tbody>
</table>
</div>
</div>
<div id="footer">
<a class="footer-link" href="console.php">Консоль разработчика</a>|
<a class="footer-link">
<select id="user-locale">
<option value="ru">‪Русский‬</option>
</select>
</a>|
<a class="footer-link" href="http://j2me.ml/help-jstore">Помощь</a>|
<br><br><img src="get-it-btn.png" width="230px"><br><br>
</div>
<div id="footer-tab-edge"></div>
<div id="sub-footer">©2022 LibreShare
<a class="sub-footer-link" href="http://j2me.ml/rules">Условия</a>
<a class="sub-footer-link" href="http://j2me.ml/policy">Политика конфиденциальности</a>
</div>
</body>