Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
izzeldeenn committed Nov 4, 2023
2 parents 0f87bc3 + 2f62bca commit f6973e4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions php/search.php → app/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$keyword = $_GET["text"];

// كتابة استعلام SQL للبحث عن البيانات التي تحتوي على الكلمة الرئيسية
$sql = "SELECT * FROM company WHERE stutes or country or name or type or dis LIKE '%$keyword%'";
$sql = "SELECT * FROM company WHERE stutes LIKE '%$keyword%' or country LIKE '%$keyword%' or name LIKE '%$keyword%' or type LIKE '%$keyword%' or dis LIKE '%$keyword%'";

// تنفيذ الاستعلام والحصول على النتائج
$result = $conn->query($sql);
Expand Down Expand Up @@ -62,8 +62,8 @@
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ms-auto me-4 my-3 my-lg-0">
<li class="nav-item"><a class="nav-link me-lg-3" href="#features">الشركات</a></li>
<li class="nav-item"><a class="nav-link me-lg-3" href="#download">تحميل التطبيق</a></li>
<li class="nav-item"><a class="nav-link me-lg-3" href="../">الشركات</a></li>
<li class="nav-item"><a class="nav-link me-lg-3" href="../">تحميل التطبيق</a></li>
</ul>
<button class="btn btn-primary rounded-pill px-3 mb-2 mb-lg-0" data-bs-toggle="modal" data-bs-target="#feedbackModal">
<span class="d-flex align-items-center">
Expand Down Expand Up @@ -152,7 +152,7 @@
<div class="h1 fs-1 text-black mb-4 text-center">اعثر على الشركة الداعمة للاحتلال الصهيوني</div>
<form action="" method="get">

<input type="text" name="text" class="input" placeholder="بحث ......">
<input type="text" name="text" class="input" placeholder="بحث">

<button class="button">

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
<div class="row gx-5 justify-content-center">
<div class="col-xl-8">
<div class="h1 fs-1 text-black mb-4 text-center">اعثر على الشركة الداعمة للاحتلال الصهيوني</div>
<form action="php/search.php" method="get">
<form action="app" method="get">
<input type="text" name="text" class="input" placeholder="بحث ......">
Expand Down

0 comments on commit f6973e4

Please sign in to comment.