-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsearch.php
executable file
·37 lines (37 loc) · 934 Bytes
/
search.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
<?php include "_core.php" ?>
<?php include "_begin.php" ?>
<?php
if(!isset($_GET['q'])) {
exit();
}
$q=$_GET['q'];
$q=urldecode($q);
$q=str_replace("%", "", $q);
$q=str_replace("'", "", $q);
$q=str_replace("\"", "", $q);
$apps=search($q);
// exec("php ../service/parser.php ".$q." &");
?>
<?php include "_header.php" ?>
<div class="container mt-3">
<?php include "_slider.php" ?>
<div class="row">
<div class="col-sm-12">
<br>
<h2<?= $lang=="en"?"":" style=\"text-align: right;direction: rtl;\""?>><?= $lang == "en" ? "Search Application" : "جستجو اپلیکیشن اندرویدی" ?></h2>
<h1<?= $lang=="en"?"":" style=\"text-align: right;direction: rtl;\""?>><?= $lang == "en" ? "Search" : "جستجو" ?> "<?= $q ?>"</h1>
<br>
<div class="row">
<?php
foreach($apps as $app) {
modalApp($app);
}
?>
</div>
</div>
</div>
</div>
<?php
include "_footer.php";
include "_close.php";
?>