Advertisement
ujiajah1

curl_table_bukutamu_younghipster

Aug 15th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.47 KB | None | 0 0
  1. #hasilnya = http://younghipster.comli.com/curl.php
  2. <!doctype html>
  3. <html lang="en">
  4. <head>
  5.     <meta charset="UTF-8">
  6.     <title>YoungHipter<<Industrial</title>
  7.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8.     <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  9.     <script src="js/jquery.js"></script>
  10.     <link rel="stylesheet" href="popup/magnific-popup.css">
  11.     <script src="popup/jquery.magnific-popup.js"></script>
  12.  
  13.     <link rel="stylesheet" href="style.css">
  14.     <link rel="shortcut icon" href="img/logos/2.png"/>
  15.    
  16.     <!-- Bootstrap Core CSS -->
  17.     <!-- <link href="css/costume/bootstrap.min.css" rel="stylesheet"> -->
  18.     <!--<link href="css/costume/botstrap.css" rel="stylesheet"> -->
  19.  
  20.     <!-- Custom CSS -->
  21.     <link href="css/costume/hipster.css" rel="stylesheet">
  22.     <link rel="stylesheet" href="css/costume/bootstrap.css">
  23.     <link rel="stylesheet" href="css/costume/bootstrap.min.css">
  24.     <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  25.     <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
  26.     <link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
  27.     <link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
  28.     <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
  29.  <link rel="stylesheet" href="css/thumbnail.css" media="screen" title="no title" charset="utf-8">
  30.  
  31.  
  32. <style>
  33.     #toTop{
  34.     visibility: hidden;
  35.     position: absolute;
  36.     bottom: 10px;
  37.     right: 10px;
  38.     cursor: pointer;
  39.     display: none;
  40. }</style>
  41.    
  42.     <script src="js/jquery.js"></script>
  43.     <link rel="stylesheet" href="popup/magnific-popup.css">
  44.     <script src="popup/jquery.magnific-popup.js"></script>
  45.  
  46.     <link rel="stylesheet" href="style.css">
  47. </head>
  48.  
  49. <body>
  50.  
  51.  
  52.       <section>
  53.     <center>
  54.       <strong>
  55.  
  56.  
  57. <div class ="container-fluid">
  58.  
  59. <div class="row">
  60. <div class="col-sm-12">
  61.  
  62. <h2 style="color:#000000; text-align:center; font-size:25px;">Buku Tamu Young&raquo;Hipster</h2>
  63.  </div>
  64.  </div>
  65.  <br>
  66.  
  67.                 <div class="table-responsive">
  68.                 <table class="table table-hover">
  69.                 <div class="row">
  70.                 <div class="col-md-4"> 
  71. <?php
  72. $url='http://younghipster.comli.com/index.php';
  73. $data=file_get_contents($url);
  74. //echo $data;
  75.  
  76. $awal='<div class="table-responsive">';
  77. $akhir='</div>';
  78.  
  79. $isi=explode($awal, $data);
  80. $isi2=explode($akhir, $isi[1]);
  81.  
  82. $hasil=$isi2[0];
  83.  
  84. echo $hasil;
  85. ?>
  86. </table>
  87. </div>
  88. </div>
  89. </div>
  90. </p>
  91. </div>
  92. </div>
  93. </div>
  94.  
  95. <div class="row">
  96. <div class="col-sm-12">
  97. <?php $bottom = '<br><br>'; echo $bottom; ?>
  98. <a href="tambah.php"><button type="button" class="btn btn-primary">Tambah Buku Tamu</button></a>
  99.  
  100. <?php echo '<br><br><br>'; ?>
  101.  
  102. <a href="index.php"><button type="button" class="btn btn-info">
  103. <i class="fa fa-binoculars fa-spin fa-lg fa-inverse" style="color:#CC00CC;"></i>
  104.             <span class="sr-only"></span>Kembali Ke Home</button></a> <br><br>
  105. </div>
  106.  
  107. </section>
  108. </strong>
  109. </center>
  110.  
  111.    
  112.     <script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
  113.     <!--- Bootstrap Core JavaScript --->
  114.     <script src="js/costume/bootstrap.min.js"></script>
  115.     <script src="js/costume/bootstrap.js"></script>
  116.     <script src="js/costume/hipster.js"></script>
  117.     <script src="js/scripts.js"></script>
  118.     </body>
  119. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement