Skriv et søgeord, eller vælg en artikel kategori herunder.





Under Kategori:

"; // Hent underkategorier fra database echo"
"; $colcnt1='0'; $result1 = mysqli_query($con,"SELECT * FROM subkategorier WHERE id!='0' ORDER BY kategori"); while($row = mysqli_fetch_array($result1)) { $subid = $row['id']; $subkategori = $row['kategori']; $description = $row['beskrivelse']; echo""; $colcnt1++; if ($colcnt1=='5'){echo"";$colcnt1='0';} } ?>
$subkategori



"; $result = mysqli_query($con,"SELECT * FROM poster WHERE tekst LIKE '%".$_POST['tekst']."%' AND public='1' AND dato<='$now' ORDER BY dato DESC"); while($row = mysqli_fetch_array($result)) { $id = $row['id']; $dato = $row['dato']; $header = $row['header']; $beskrivelse = $row['tekst']; $fbpic = $row['fbpic']; echo""; $colcnt = $colcnt+1; if($colcnt=='2') {echo""; $colcnt=0;} $rowcnt++; }; if ($rowcnt < 1) echo""; echo"

"; echo""; echo" $header


"; echo"
Din søgning kunne desværre ikke findes :(
"; $rowcnt=0; // Nulstil array unset($_POST); $_POST = array(); }; // Vis underkategori if ($_GET['subcat']) { $subcat = $_GET['subcat']; $colcnt='0'; echo"
"; $result = mysqli_query($con,"SELECT * FROM poster WHERE subkategori=$subcat AND public='1' AND dato<='$now' ORDER BY dato DESC"); $rowcnt=0; while($row = mysqli_fetch_array($result)) { $id = $row['id']; $dato = $row['dato']; $header = $row['header']; $beskrivelse = $row['tekst']; $fbpic = $row['fbpic']; echo""; $colcnt = $colcnt+1; if($colcnt=='2') {echo""; $colcnt=0;} $rowcnt++; }; if ($rowcnt < '1') echo""; echo"

"; echo""; echo" $header


"; echo"
Kategorien er desværre tom :(
"; $rowcnt=0; };}; //ENGELSK if ($lang){ echo"
Write your searchword, or choose a sub category below.





Sub category:

"; // Hent underkategorier fra database echo"
"; $colcnt1='0'; $result1 = mysqli_query($con,"SELECT * FROM subkategorier WHERE id!='0' ORDER BY kategori DESC"); while($row = mysqli_fetch_array($result1)) { $subid = $row['id']; $subkategori = $row['ukcat']; $description = $row['description']; echo""; $colcnt1++; if ($colcnt1=='5'){echo"";$colcnt1='0';} } ?>
$subkategori


"; $result = mysqli_query($con,"SELECT * FROM poster WHERE uktxt LIKE '%".$_POST['tekst']."%' AND dato<='$now' ORDER BY dato DESC"); while($row = mysqli_fetch_array($result)) { $id = $row['id']; $dato = $row['dato']; $header = $row['ukheader']; $beskrivelse = $row['uktxt']; $fbpic = $row['fbpic']; echo""; $colcnt = $colcnt+1; if($colcnt=='2') {echo""; $colcnt=0;} $rowcnt++; }; if ($rowcnt < 1) echo""; echo"

"; echo""; echo" $header


"; echo"
Your search was not found :(
"; $rowcnt=0; // Nulstil array unset($_POST); $_POST = array(); }; if ($_GET['subcat']) { $subcat = $_GET['subcat']; echo"
"; $result = mysqli_query($con,"SELECT * FROM poster WHERE subkategori=$subcat AND public='1' AND dato<='$now' ORDER BY dato DESC"); while($row = mysqli_fetch_array($result)) { $id = $row['id']; $dato = $row['dato']; $header = $row['ukheader']; $beskrivelse = $row['uktxt']; $fbpic = $row['fbpic']; echo""; $colcnt = $colcnt+1; if($colcnt=='2') {echo""; $colcnt=0;} $rowcnt++; }; if ($rowcnt < '1') echo""; echo"

"; echo""; echo" $header


"; echo"
Sorry, The sub category is empty :(
"; $rowcnt=0; };}; include 'footer.php'; ?>