Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Loker Wong Sumsel !!!</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <link href="style.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9. <!-- START PAGE SOURCE -->
  10.  
  11.  
  12. <?php
  13. $dbhost = 'localhost';
  14. $dbuser = 'root';
  15. $dbpass = '';
  16. $koneksi = mysql_connect($dbhost, $dbuser, $dbpass);
  17.  
  18. mysql_select_db("loker");
  19. if(! $koneksi )
  20. {
  21. die('Gagal Koneksi: ' . mysql_error());
  22. }
  23.  
  24. $query = "SELECT * FROM loker WHERE acc='1' order by id_iklan desc ";
  25.  
  26. $hasil = mysql_query($query);
  27.  
  28. ?>
  29.  
  30. <div id="wrap">
  31. <div id="top">
  32. <h1 id="sitename">LOKER WONG SUMSEL !!!</h1>
  33. <div id="searchbar">
  34. <form action="#">
  35. <div id="searchfield"></div>
  36. </form>
  37. </div>
  38. </div>
  39. <div id="menu">
  40. <ul>
  41. <li class="active"><a href="beranda.php"><span>Beranda</span></a></li>
  42. <li><a href="pencarikerja.php"><span>Pencari Kerja</span></a></li>
  43. <li><a href="pengumuman.php"><span>Pengumuman</span></a></li>
  44. <li><a href="edit.php"><span>Edit Profile</span></a></li>
  45. <li><a href="tentang.php"><span>Tentang</span></a></li>
  46. </ul>
  47. <p>&nbsp;</p>
  48. </div>
  49. <div id="contentwrap">
  50. <div id="header"> </div>
  51. <div id="mainpage" class="normalpage">
  52. <div id="left">
  53. <div class="post">
  54. <h2><a href="#">Loker Wong Sumsel !!! </a></h2>
  55. <div class="postmeta"><span class="date">Ado Lokak untuk kito galo</span><span class="category"></span> </div>
  56.  
  57.  
  58.  
  59. <? while($data = mysql_fetch_array($hasil)): ?>
  60. <div>
  61. <h2><? echo $data['judul'] ?></h2>
  62. <p><img src="/loker1/ph/iklan/<? echo $data['foto'] ?>" alt="" width="230" height="201" />
  63. <p>Wilayah : <? echo $data['wil'] ?></p>
  64. </p>
  65. <span class="readmore"><a href="lengkap.php?id=<? echo $data['id_iklan'] ?>">Selengkapnya...</a></span> </p>
  66. <div class="postbottom"></div>
  67. </div>
  68. <? endwhile; ?>
  69. </div></div>
  70. <div id="sidebar">
  71. <h2>Space Iklan</h2>
  72. <p><img src="images/iklan.jpg" alt="" width="230" height="201" /></p>
  73. <p>*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*</p>
  74. <p><img src="images/iklan.jpg" alt="" width="230" height="201" /></p>
  75.  
  76. </div>
  77. <div class="clear"></div>
  78. </div>
  79. <div id="bottom">
  80. <div id="shortinfo">
  81. <div id="authimg"> <img src="images/polsri.png" alt="" width="128" height="128" /></div>
  82. <div id="authbio">
  83. <h2>Loker Wong Sumsel !!!</h2>
  84. <p>Kelompok 3 </p>
  85. <p>Anggota :</p>
  86. <p>Muhammad Ari Sandy</p>
  87. <p>Nurul Ayu Anisyah</p>
  88. <p>Mega Apriani</p>
  89. <p>&nbsp;</p>
  90. <p>Kelas : 2.IE </p>
  91. <p>&nbsp; </p>
  92. </div>
  93. </div>
  94. <div id="linkmenu">
  95. <h2>Contact Person</h2>
  96. <ul class="footerlinks">
  97. <h2>Email : lokakkito@ie.com</h2>
  98. <h2>Facebook : lokakkito@ie.com</h2>
  99. <h2>Instagram : @lokakkito</h2>
  100. <h2>Line : @lokakkito</h2>
  101. <h2>Phone : 0711-112233</h2>
  102. </ul>
  103. </div>
  104. <div class="clear"></div>
  105. <div id="footer">
  106. <div id="fl_left">#JANGAN_LUPA_BAHAGIA</div>
  107. <div class="clear"></div>
  108. </div>
  109. </div>
  110. </div>
  111. <div id="contentbtm"></div>
  112. </div>
  113. <!-- END PAGE SOURCE -->
  114. </body>
  115. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement