Server IP : 103.6.199.200 / Your IP : 18.117.166.52 Web Server : Microsoft-IIS/10.0 System : Windows NT EMPUSA 10.0 build 20348 (Windows Server 2016) i586 User : EMPUSA$ ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Domains/feenixmy/feenix.my/wwwroot/ |
Upload File : |
<?php include "h.php";$_SESSION['Sc']=@$_POST['cr']; /* echo "BidangPengajian: ".$_POST['BidangPengajian']."<br />"; echo "TahapPengajian: ".$_POST['TahapPengajian']."<br />"; echo "Taksonomi: ".$_SESSION['IDTaksonomi']."<br />"; echo "sessionIDDomain: ".$_SESSION['IDDomain']."<br />"; echo "IDDomain: ".$_SESSION['IDDomain']."<br />"; echo "ESSION['Sc: ".$_SESSION['Sc']."<br />"; echo "POST['cr: ".@$_POST['cr']."<br />"; */ ?> <br /> <em>Pilih Bidang dan Tahap Pengajian untuk memulakan carian...</em> <br /><br /><br /> <!--Pilihan Bidang Pengajian & Tahap Pengajian--> <!-- formcarian --> <form id="formcarian" name="formcarian" method="post" action="index.php"> <div class="nav-kiri2"> <label for="select1">Bidang Pengajian:</label> <select class="slc-carian" name="BidangPengajian" id="BidangPengajian"> <option value="0" <?php if(@$_POST['BidangPengajian']=="0"){echo "selected";}else {echo"";}?>>PILIH:-</option> <option value="1" <?php if(@$_POST['BidangPengajian']=="1"){echo "selected";}else {echo"";}?>>KEJURUTERAAN ELEKTRIK</option> <option value="2" <?php if(@$_POST['BidangPengajian']=="2"){echo "selected";}else {echo"";}?>>KEJURUTERAAN MEKANIKAL</option> <option value="3" <?php if(@$_POST['BidangPengajian']=="3"){echo "selected";}else {echo"";}?>>PELANCONGAN DAN HOSPITALITI</option> <option value="4" <?php if(@$_POST['BidangPengajian']=="4"){echo "selected";}else {echo"";}?>>PENGURUSAN DAN PERDAGANGAN</option> <option value="5" <?php if(@$_POST['BidangPengajian']=="5"){echo "selected";}else {echo"";}?>>REKABENTUK DAN KREATIF</option> <option value="6" <?php if(@$_POST['BidangPengajian']=="6"){echo "selected";}else {echo"";}?>>KEJURUTERAAN AWAM DAN ALAM BINA</option> <option value="7" <?php if(@$_POST['BidangPengajian']=="7"){echo "selected";}else {echo"";}?>>TEKNOLOGI PERTANIAN</option> <option value="8" <?php if(@$_POST['BidangPengajian']=="8"){echo "selected";}else {echo"";}?>>PERKOMPUTERAN</option> <option value="9" <?php if(@$_POST['BidangPengajian']=="9"){echo "selected";}else {echo"";}?>>PENGAJIAN PERKHIDMATAN</option> <option value="10" <?php if(@$_POST['BidangPengajian']=="10"){echo "selected";}else {echo"";}?>>UNIT PENGAJIAN UMUM</option> </select> </div> <div class="nav-kanan"> <label for="select2">Tahap Pengajian:</label> <select class="slc-carian" name="TahapPengajian" id="TahapPengajian"> <option value="0" <?php if(@$_POST['TahapPengajian']=="0"){echo "selected";}else {echo"";}?>>PILIH:-</option> <option value="1" <?php if(@$_POST['TahapPengajian']=="1"){echo "selected";}else {echo"";}?>>SIJIL</option> <option value="2" <?php if(@$_POST['TahapPengajian']=="2"){echo "selected";}else {echo"";}?>>DIPLOMA (KOLEJ KOMUNITI)</option> <option value="3" <?php if(@$_POST['TahapPengajian']=="3"){echo "selected";}else {echo"";}?>>SIJIL (LTA@LANGKAWI)</option> </select> </div> <!-- <div class="nav-kanan"> <label for="select3">Domain:</label> <select class="slc-carian" name="DomainPengajian" id="DomainPengajian"> <option value="0" <?php //if(@$_POST['DomainPengajian']=="0"){echo "selected";}else {echo"";}?>>PILIH:-</option> <option value="1" <?php //if(@$_POST['DomainPengajian']=="1"){echo "selected";}else {echo"";}?>>AFEKTIF</option> <option value="2" <?php //if(@$_POST['DomainPengajian']=="2"){echo "selected";}else {echo"";}?>>PSIKOMOTOR</option> <option value="3" <?php //if(@$_POST['DomainPengajian']=="3"){echo "selected";}else {echo"";}?>>KOGNITIF</option> </select> </div> --> <div class="nav-kanan2"> <input class="btn-carian" type="submit" name="oo" id="oo" value=" Carian " /> </div> </form> <!-- formcarian2 --> <br /><br /><br /> <form id="formcarian2" name="formcarian2" method="post" action="index.php"> <div class="nav-kiri2"><br /> Carian mengikut Nama Taksonomi <!-- Modal Image starts Image --> <!-- Trigger the Modal --> <img id="myImg" src="img/icon_info-circle.png" width="12" height="12" alt="" style="max-width:300px"> <!-- The Modal --> <div id="myModal" class="modal"> <!-- The Close Button --> <span class="close">×</span> <!-- Modal Content (The Image) --> <!-- <img class="modal-content" id="img01"> --> <img src="img/CovitCoq_Senarai_Taksonomi.PNG" width="325" height="108" alt="Senarai Nama Taksonomi"/> <!-- Modal Caption (Image Text) --> <div id="caption">Contoh Nama Taksonomi</div> </div> <script> // Get the modal var modal = document.getElementById("myModal"); // Get the image and insert it inside the modal - use its "alt" text as a caption var img = document.getElementById("myImg"); var modalImg = document.getElementById("img01"); var captionText = document.getElementById("caption"); img.onclick = function(){ modal.style.display = "block"; modalImg.src = this.src; captionText.innerHTML = this.alt; } // Get the <span> element that closes the modal var span = document.getElementsByClassName("close")[0]; // When the user clicks on <span> (x), close the modal span.onclick = function() { modal.style.display = "none"; } </script> <!-- Modal Image ends here -->, Kategori Domain <!-- Modal2 Image starts Image --> <!-- Trigger the Modal2 --> <img id="myImg2" src="img/icon_info-circle.png" width="12" height="12" alt="" style="max-width:300px"> <!-- The Modal --> <div id="myModal2" class="modal2"> <!-- The Close Button --> <span class="close2">×</span> <!-- Modal Content2 (The Image) --> <!-- <img class="modal-content2" id="img02"> --> <img src="img/CovitCoq_Kategori_Domain.PNG" width="325" height="108" alt="Senarai Kategori Domain"/> <!-- Modal Caption (Image Text) --> <div id="caption2">Kategori-kategori Domain</div> </div> <script> // Get the modal var modal2 = document.getElementById("myModal2"); // Get the image and insert it inside the modal - use its "alt" text as a caption var img2 = document.getElementById("myImg2"); var modalImg2 = document.getElementById("img02"); var captionText2 = document.getElementById("caption2"); img2.onclick = function(){ modal2.style.display = "block"; modalImg2.src = this.src; captionText2.innerHTML = this.alt; } // Get the <span> element that closes the modal var span2 = document.getElementsByClassName("close2")[0]; // When the user clicks on <span> (x), close the modal span2.onclick = function() { modal2.style.display = "none"; } </script> <!-- Modal2 Image ends here -->, Tahap Pengajian <!-- Modal3 Image starts Image --> <!-- Trigger the Modal2 --> <img id="myImg3" src="img/icon_info-circle.png" width="12" height="12" alt="" style="max-width:300px"> <!-- The Modal --> <div id="myModal3" class="modal3"> <!-- The Close Button --> <span class="close3">×</span> <!-- Modal Content2 (The Image) --> <!-- <img class="modal-content2" id="img02"> --> <img src="img/CovitCoq_Tahap_Pengajian.PNG" width="325" height="108" alt="Senarai Tahap Penilaian"/> <!-- Modal Caption (Image Text) --> <div id="caption3">Tahap-tahap Pengajian</div> </div> <script> // Get the modal var modal3 = document.getElementById("myModal3"); // Get the image and insert it inside the modal - use its "alt" text as a caption var img3 = document.getElementById("myImg3"); var modalImg3 = document.getElementById("img03"); var captionText3 = document.getElementById("caption3"); img3.onclick = function(){ modal3.style.display = "block"; modalImg3.src = this.src; captionText3.innerHTML = this.alt; } // Get the <span> element that closes the modal var span3 = document.getElementsByClassName("close3")[0]; // When the user clicks on <span> (x), close the modal span3.onclick = function() { modal3.style.display = "none"; } </script> <!-- Modal3 Image ends here --> atau Kata Kerja (<em>verb</em>) <!-- Modal4 Image starts Image --> <!-- Trigger the Modal --> <img id="myImg4" src="img/icon_info-circle.png" width="12" height="12" alt="" style="max-width:300px"> <!-- The Modal --> <div id="myModal4" class="modal4"> <!-- The Close Button --> <span class="close4">×</span> <!-- Modal Content (The Image) --> <!-- <img class="modal-content" id="img04"> --> <img src="img/CovitCoq_Kata_Kerja.PNG" width="325" height="108" alt="Contoh Kata Kerja"/> <!-- Modal4 Caption4 (Image Text) --> <div id="caption4">Contoh Kata Kerja</div> </div> <script> // Get the modal var modal4 = document.getElementById("myModal4"); // Get the image and insert it inside the modal - use its "alt" text as a caption var img4 = document.getElementById("myImg4"); var modalImg4 = document.getElementById("img04"); var captionText4 = document.getElementById("caption4"); img4.onclick = function(){ modal4.style.display = "block"; modalImg4.src = this.src; captionText4.innerHTML = this.alt; } // Get the <span> element that closes the modal var span4= document.getElementsByClassName("close4")[0]; // When the user clicks on <span> (x), close the modal span4.onclick = function() { modal4.style.display = "none"; } </script> <!-- Modal Image ends here -->. <br /><br /> Carian Rawak di sini: <input class="carian" name="cr" type="text" id="cr" size="30" placeholder="mulakan carian..." /> <input class="btn-carian" type="submit" name="ooo" id="ooo" value=" Carian Rawak " /> </div> </form> <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <?php if($_SESSION['Sc']!=NULL){?> <div style="border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 31, 84); margin: 5px;"> <font color="#000000"> <?php echo "<center> <strong><font color='#fff'>Kunci Carian: ".$_SESSION['Sc']."</font></strong></center>";?></font> </div> <?php }?> <?php if (@$_POST['BidangPengajian']==NULL || @$_POST['TahapPengajian']==NULL){echo"";}else{?> <h2>HASIL CARIAN</h2> <font color="#000000"> <!-- <div style="border: 1px solid rgb(70, 70, 0); padding: 10px; background-color: rgb(235, 31, 84); margin: 5px;"> <?php //echo "<center> <strong><font color='#fff'>Kunci Carian: ".$_SESSION['Sc']."</font></strong></center>";?></font> </div> --> <?php }?> <br /> <!-- oo STARTS HERE --> <?php if(isset($_POST['oo'])){?> <div align="center" style='margin: 5px'> <?php $m=mysqli_query($paut, "SELECT * FROM rujukan WHERE idTahap=".$_POST['TahapPengajian']." AND idBidang=".$_POST['BidangPengajian']." ORDER BY idRujukan ASC"); while($m1=mysqli_fetch_array($m)){ if($m1['idRujukan']!=NULL){?> <h3>Taksonomi: <font color='#0D4CF7' size="5"><?php $mm=mysqli_query($paut, "SELECT * FROM taksonomi WHERE idTaksonomi=".$m1['idTaksonomi'].""); while($mm1=mysqli_fetch_array($mm)){echo $mm1['Taksonomi']; //$_SESSION['IDTaksonomi']=$mm1['idTaksonomi'];$_SESSION['NamaTaksonomi']=$mm1['Taksonomi']; $IDTaksonomi=$mm1['idTaksonomi'];$NamaTaksonomi=$mm1['Taksonomi'];}?></font></h3> <?php }else{echo "Tiada Taksonomi bagi pilihan ini.";} }?> <br /> <table width="100%" height="114" border="1" align="center" cellpadding="3" cellspacing="0"> <tr bgcolor="#750078" height="50"><font color="#FFFFFF"> <td width="73" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2">BIL</span></strong></font></td> <td width="116" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2">DOMAIN</span></strong></font></td> <td width="354" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2"><em>TAXONOMY</em> (PENERANGAN)</span></strong></font></td> <td width="758" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2"><em>VERB</em> (KATA KERJA)</span></strong></font></td> </font></tr> <tr> <td height="10" colspan="4" align="center" valign="middle"><strong> <h3>DOMAIN: <em><font color='#089F00'>AFFECTIVE</font></em> (AFEKTIF)</h3></strong></td> </tr> <!-- DOMAIN: AFEKTIF start --> <?php $IDaDomain=1;$NamaDomain="DOMAIN AFEKTIF"; $i=1;$BGCOLOR = $i%2 == 0 ? "#DDDDDD":"FFFFFF"; if(@$IDTaksonomi == NULL){echo "<font color='#FF3349'><strong></strong></font>";}else{ $n=mysqli_query($paut, "SELECT * FROM kategori WHERE idTaksonomi=".$IDTaksonomi." AND idDomain=".$IDaDomain.""); while($n1=mysqli_fetch_array($n)){ if($n1['idKategori'] == NULL){echo"";} else if($n1['idDomain'] == 1){ ?> <tr height="50" color="#000" bgcolor="<?= $BGCOLOR; ?>"> <td height="33" align="center" valign="middle"><?php echo "<font color='#000'>".$i.".</font>";?></td> <td align="center" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Kategori']."</strong></font>";?> <div align="left"></div></td> <td align="left" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Senarai1']."</strong><br />".$n1['Senarai2']."<br /><br /><strong><em><font color='#089F00'>".$n1['List1']."</font></em></strong><br /><em><font color='#089F00'>".$n1['List2']."</font></em></font>";?></td> <td align="center" valign="middle"><?php $nn=mysqli_query($paut, "SELECT * FROM senarai WHERE idKategori=".$n1['idKategori']."");while($nn1=mysqli_fetch_array($nn)){ echo "<em><font color='#089F00'>".$nn1['List3']."</font></em> (".$nn1['Senarai3']."), ";} ?></td> </tr> <?php $i++;}}}?> <!-- DOMAIN: AFEKTIF end --> <tr> <td height="10" colspan="4" align="center" valign="middle"><strong> <h3>DOMAIN: <em><font color='#089F00'>PSIKOMOTOR</font></em> (PSYCHOMOTOR)</h3></strong></td> </tr> <!-- DOMAIN: PSIKOMOTOR start --> <?php $IDpDomain=2;$NamaDomain="DOMAIN PSIKOMOTOR"; $i=1;$BGCOLOR = $i % 2 == 0 ? "#DDDDDD":"FFFFFF"; if(@$IDTaksonomi == NULL){echo "<font color='#FF3349'><strong></strong></font>";}else{ $n=mysqli_query($paut, "SELECT * FROM kategori WHERE idTaksonomi=".$IDTaksonomi." AND idDomain=".$IDpDomain.""); while($n1=mysqli_fetch_array($n)){ if($n1['idKategori'] == NULL){echo"";} else if($n1['idDomain'] == 1){ ?> <tr height="50" color="#000" bgcolor="<?= $BGCOLOR ?>"> <td height="33" align="center" valign="middle"><?php echo "<font color='#000'>".$i.".</font>";?></td> <td align="center" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Kategori']."</strong></font>";?> <div align="left"></div></td> <td align="left" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Senarai1']."</strong><br />".$n1['Senarai2']."<br /><br /><strong><em><font color='#089F00'>".$n1['List1']."</font></em></strong><br /><em><font color='#089F00'>".$n1['List2']."</font></em></font>";?></td> <td align="center" valign="middle"><?php $nn=mysqli_query($paut, "SELECT * FROM senarai WHERE idKategori=".$n1['idKategori']."");while($nn1=mysqli_fetch_array($nn)){ echo "<em><font color='#089F00'>".$nn1['List3']."</font></em> (".$nn1['Senarai3']."), ";} ?></td> </tr> <?php $i++;}}}?> <!-- DOMAIN: PSIKOMOTOR end --> <tr> <td height="10" colspan="4" align="center" valign="middle"><strong> <h3>DOMAIN: <em><font color='#089F00'>KOGNITIF</font></em> (COGNITIVE)</h3></strong></td> </tr> <!-- DOMAIN: KOGNITIF start --> <?php $IDkDomain=3;$NamaDomain="DOMAIN KOGNITIF"; $i=1;$BGCOLOR = $i % 2 == 0 ? "#DDDDDD":"FFFFFF"; if(@$IDTaksonomi == NULL){echo "<font color='#FF3349'><strong></strong></font>";}else{ $n=mysqli_query($paut, "SELECT * FROM kategori WHERE idTaksonomi=".$IDTaksonomi." AND idDomain=".$IDkDomain.""); while($n1=mysqli_fetch_array($n)){ if($n1['idKategori'] == NULL){echo"";}else if($n1['idDomain'] == 1){ ?> <tr height="50" color="#000" bgcolor="<?= $BGCOLOR ?>"> <td height="33" align="center" valign="middle"><?php echo "<font color='#000'>".$i.".</font>";?></td> <td align="center" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Kategori']."</strong></font>";?> <div align="left"></div></td> <td align="left" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Senarai1']."</strong><br />".$n1['Senarai2']."<br /><br /><strong><em><font color='#089F00'>".$n1['List1']."</font></em></strong><br /><em><font color='#089F00'>".$n1['List2']."</font></em></font>";?></td> <td align="center" valign="middle"><?php $nn=mysqli_query($paut, "SELECT * FROM senarai WHERE idKategori=".$n1['idKategori']."");while($nn1=mysqli_fetch_array($nn)){ echo "<em><font color='#089F00'>".$nn1['List3']."</font></em> (".$nn1['Senarai3']."), ";} ?></td> </tr> <?php $i++;}}}?> <!-- DOMAIN: KOGNITIF end --> </table> </div> <?php }?> <!-- ooo ENDS HERE --> <?php if(@$_SESSION['Sc']==NULL || @$_POST['cr']==NULL){echo"";}else{ if(isset($_POST['ooo'])){?> <div align="center" style='margin: 5px'> <?php $m=mysqli_query($paut, "SELECT * FROM kategori WHERE Kategori LIKE '%$_SESSION[Sc]%' OR Senarai1 LIKE '%$_SESSION[Sc]%' OR List1 LIKE '%$_SESSION[Sc]%' OR Senarai2 LIKE '%$_SESSION[Sc]%' OR List2 LIKE '%$_SESSION[Sc]%' ORDER BY idKategori ASC"); while($m1=mysqli_fetch_array($m)){ $IDKategori=$m1['idKategori'];$_SESSION['IDKategori']=$m1['idKategori']; $IDRujukan=$m1['idRujukan'];$_SESSION['IDRujukan']=$m1['idRujukan']; $IDTaksonomi=$m1['idTaksonomi'];$_SESSION['IDTaksonomi']=$m1['idTaksonomi']; $IDDomain=$m1['idDomain'];$_SESSION['IDDomain']=$m1['idDomain']; /* echo "IDRujukan: ".$IDRujukan."<br />"; echo "IDRujukan_SESSION: ".$_SESSION['IDRujukan']."<br />"; echo "IDTaksonomi: ".$IDTaksonomi."<br />"; echo "IDTaksonomi_SESSION: ".$_SESSION['IDTaksonomi']."<br />"; echo "IDDomain: ".$IDDomain."<br />"; echo "IDDomain_SESSION: ".$_SESSION['IDDomain']."<br />"; */ ?> <h3>Taksonomi: <font color='#0D4CF7' size="5"><?php $mm=mysqli_query($paut, "SELECT DISTINCT * FROM taksonomi WHERE idTaksonomi=".$m1['idTaksonomi'].""); while($mm1=mysqli_fetch_array($mm)){echo $mm1['Taksonomi']; $NamaTaksonomi=$mm1['Taksonomi']; }?></font></h3> <?php }?> <br /> <table width="100%" height="114" border="1" align="center" cellpadding="3" cellspacing="0"> <tr bgcolor="#750078" height="50"><font color="#FFFFFF"> <td width="73" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2">BIL</span></strong></font></td> <td width="116" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2">KATEGORI DOMAIN</span></strong></font></td> <td width="354" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2"><em>TAXONOMY</em> (PENERANGAN)</span></strong></font></td> <td width="758" align="center" valign="middle"><font color="#FFFFFF"><strong><span class="style2"><em>VERB</em> (KATA KERJA)</span></strong></font></td> </font></tr> <!-- DOMAIN: AFEKTIF start --> <?php $IDDomain="1";$NamaDomain="DOMAIN AFEKTIF"; $i=1;$BGCOLOR = $i%2 == 0 ? "#DDDDDD":"FFFFFF"; if(@$IDTaksonomi == NULL){echo "<font color='#FF3349'><strong></strong></font>";}else{ $n=mysqli_query($paut, "SELECT * FROM kategori WHERE idKategori=".$_SESSION['IDKategori'].""); while($n1=mysqli_fetch_array($n)){ /*if($n1['idKategori'] == NULL){echo"";} else if($n1['idDomain'] == 1){*/ ?> <tr height="50" color="#000" bgcolor="<?= $BGCOLOR; ?>"> <td height="33" align="center" valign="middle"><?php echo "<font color='#000'>".$i.".</font>";?></td> <td align="center" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Kategori']."</strong></font>";?> <div align="left"></div></td> <td align="left" valign="middle"><?php echo "<font color='#000'><strong>".$n1['Senarai1']."</strong><br />".$n1['Senarai2']."<br /><br /><strong><em><font color='#089F00'>".$n1['List1']."</font></em></strong><br /><em><font color='#089F00'>".$n1['List2']."</font></em></font>";?></td> <td align="center" valign="middle"><?php $nn=mysqli_query($paut, "SELECT * FROM senarai WHERE idKategori=".$n1['idKategori']."");while($nn1=mysqli_fetch_array($nn)){ echo "<em><font color='#089F00'>".$nn1['List3']."</font></em> (".$nn1['Senarai3']."), ";} ?></td> </tr> <?php $i++;}}//}?> <!-- DOMAIN: AFEKTIF end --> </table> </div> <?php } }?> <!-- ooo ENDS HERE --> <br /><br /><br /><br /> <div align="center"> <?php include "f.php";?> </div> <style> img { max-width: 100%; } </style>