Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Tampil</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!--boostrap 3.3.7 CDN--
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
- <!--bosstrap 4 CDN-->
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
- <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
- <!--icon CDN-->
- <link rel="stylesheet" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
- <!--offline--
- <link rel="stylesheet" href="boostrap/css/bootstrap.min.css">
- <script src="boostrap/js/bootstrap.min.js"></script>-->
- <!--CSS offline-->
- <link rel="stylesheet" href="../tugas1/css/style1.css" />
- <!--JS Offline-->
- <script src="../tugas1/js/proses-menu.js"></script>
- </head>
- <body class="body1" ng-app="">
- <div class="header">
- <div class="row">
- <div class="col">
- <div align="left">
- <?php
- include'header.php';
- ?>
- </div>
- </div>
- <div class="col">
- <div align="right" class="time sticky-top"><?php include'time.php';?></div>
- </div>
- </div>
- </div>
- <!--Nav-->
- <?php include'menu.php';?>
- </div>
- <!--isi-->
- <div class="baris">
- <div class="leftcolumn">
- <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
- <div class="card1">
- <form>
- Select a topic:
- <select ng-model="myVar">
- <option value="">
- <option value="alpha">Nilai Z
- <option value="probalitas">Probalitas
- <option value="nilaiZ">Cars
- </select>
- </form>
- <form class="needs-validation" name="myform" id="myform" ng-app="myApp" ng-controller="validateCtrl" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">
- <table class="table">
- <div ng-switch="myVar">
- <div ng-switch-when="alpha">
- <tr>
- <td width="30px">Inputkan Nilai Alpha</td><td width="5px">:</td>
- <td width="500px">
- <input type="text" onkeypress=" return isNumber(event)" class="form-control" id="alpha" placeholder="0 - 100" name="alpha">
- </td>
- </tr>
- </div>
- <div ng-switch-when="probalitas">
- <tr>
- <td width="">Inputkan Nilai Probalitas</td><td width="5px">:</td>
- <td td width="">
- <input type="text" class="form-control" id="probalitas" placeholder="0.0 - 0.499" name="probalitas">
- </td>
- </tr>
- </div>
- <div ng-switch-when="nilaiZ">
- <tr>
- <td width="<em></em>">Inputkan Nilai Z</td><td width="5px">:</td>
- <td td width="">
- <input type="text" class="form-control" id="nilaiZ" placeholder="0.0 - 3.9" name="nilaiZ">
- </td>
- </tr>
- </div>
- </div>
- </table>
- </form>
- <div ng-switch="myVar">
- <div ng-switch-when="dogs">
- <h1>Dogs</h1>
- <p>Welcome to a world of dogs.</p>
- </div>
- <div ng-switch-when="tuts">
- <h1>Tutorials</h1>
- <p>Learn from examples.</p>
- </div>
- <div ng-switch-when="cars">
- <h1>Cars</h1>
- <p>Read about cars.</p>
- </div>
- </div>
- <!--<form action="aksi-insert.php" name="tampil" method="get">
- <table class="table table-borderless">
- <tr>
- <th scope="col">No</th>
- <th scope="col">Mata Kuliah</th>
- <th scope="col">SKS</th>
- <th scope="col">IP</th>
- <th scope="col">Semester</th>
- <th scope="col">Aksi</th>
- </tr>
- <?php
- /*$sql = mysqli_query($koneksi, "SELECT * FROM mhs ORDER BY mk ASC");
- if(mysqli_num_rows($sql) == 0){
- echo '<tr><td colspan="8">Tidak ada data.</td></tr>';
- }else{
- $no = 1;
- while($row = mysqli_fetch_assoc($sql)){
- echo '
- <tr>
- <td>'.$no.'</td>
- <td>'.$row['mk'].'</td>
- <td>'.$row['sks'].'</td>
- <td>'.$row['nilai'].'</td>
- <td>'.$row['semester'].'</td>
- <td>
- <button type="button" class="btn btn-primary" name="hapus">
- <a href="tampil.php?aksi=hapus&mk='.$row['mk'].'" title="Hapus Data" onclick="return confirm(\'Yakin Ingin Menghapus?\')"><span style="color:white">Hapus Data</span></a>
- </button>
- <button type="button" class="btn btn-warning" name="edit">
- <a href="edit.php?aksi=edit&mk='.$row['mk'].'" title="Edit Data"><span style="color:black">Edit Data</span></a>
- </button>
- </td>
- </tr>
- ';
- $no++;
- }
- }*/
- ?>
- </table>
- </form>-->
- </div>
- </div>
- <!--Batas isi-->
- <!--Right-->
- <div class="rightcolumn">
- <!--about me-->
- <div class="card1">
- <?php include("about-me.php");?>
- </div>
- <!--popular post-->
- <div class="card1">
- <h3>Popular Post</h3>
- <div class="fakeimg">Image</div><br>
- <div class="fakeimg">Image</div><br>
- <div class="fakeimg">Image</div>
- </div>
- <div class="card1">
- <h3>Follow Me</h3>
- <?php include'followMe.php';?>
- </div>
- </div>
- </div>
- <div class="footer">
- <?php include'footer.php';?>
- </div>
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
- <script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
- <script src="../../../assets/js/vendor/popper.min.js"></script>
- <script src="../../../dist/js/bootstrap.min.js"></script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment