Don't like ads? PRO users don't see any ads ;-)
Guest

Zeljko

By: a guest on Aug 5th, 2012  |  syntax: PHP  |  size: 4.03 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html>
  3. <head>
  4.         <title>Admin</title>
  5.         <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
  6.         <style media="all" type="text/css">@import "css/all.css";</style>
  7. </head>
  8. <body>
  9.  
  10. <div id="main">
  11.         <div id="header">
  12.                 <a href="index.html" class="logo"><img src="img/logo.gif" width="101" height="29" alt="" /></a>
  13.                 <ul id="top-navigation">
  14.                         <li class="active"><span><span>Pocetna</span></span></li>
  15.                         <li><span><span><a href="#">Korisnici</a></span></span></li>
  16.                         <li><span><span><a href="#">Narudzbe</a></span></span></li>
  17.                         <li><span><span><a href="#">Podesavanja</a></span></span></li>
  18.                         <li><span><span><a href="#">Statistika</a></span></span></li>
  19.                         <li><span><span><a href="#">Sadrzaj</a></span></span></li>
  20.                 </ul>
  21.         </div>
  22.         <div id="middle">
  23.                 <div id="left-column">
  24.                         <h3>Infooooo</h3>
  25.                         <ul class="nav">
  26.                                 <li><a href="#">Lorem Ipsum dollar</a></li>
  27.                                 <li><a href="#">Dollar</a></li>
  28.                                 <li><a href="#">Lorem dollar</a></li>
  29.                                 <li><a href="#">Ipsum dollar</a></li>
  30.                                 <li><a href="#">Lorem Ipsum dollar</a></li>
  31.                                 <li class="last"><a href="#">Dollar Lorem Ipsum</a></li>
  32.                         </ul>
  33.                         <a href="#" class="link">Link here</a>
  34.                         <a href="#" class="link">Link here</a>
  35.                 </div>
  36.                 <div id="center-column">
  37.                         <div class="top-bar">
  38.                                 <a href="#" class="button">ADD NEW </a>
  39.                                 <h1>Contents</h1>
  40.                                 <div class="breadcrumbs"><a href="#">Homepage</a> / <a href="#">Contents</a></div>
  41.                         </div><br />
  42.                   <div class="select-bar">
  43.                     <label>
  44.                     <input type="text" name="textfield" />
  45.                     </label>
  46.                     <label>
  47.                         <input type="submit" name="Submit" value="Search" />
  48.                         </label>
  49.                   </div>
  50.                         <div class="table">
  51.                                 <img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
  52.                                 <img src="img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
  53.                                 <table class="listing" cellpadding="0" cellspacing="0">
  54.                                          
  55.                                        
  56.                                         <tr>
  57.                                         <?php
  58. $con = mysql_connect("localhost","root","root");
  59. if (!$con)
  60.   {
  61.   die('Could not connect: ' . mysql_error());
  62.   }
  63.  
  64. mysql_select_db("users", $con);
  65.  
  66. $result = mysql_query("SELECT imePrezime, mjesto FROM users");
  67.  
  68. while($row = mysql_fetch_array($result))
  69.   {
  70.  
  71. echo "<td>" . $row['imePrezime'] . "</td>"; } ?>
  72.  
  73.                                         <td><img src="img/add-icon.gif" width="16" height="16" alt="" /></td>
  74.                                                 <td><img src="img/hr.gif" width="16" height="16" alt="" /></td>
  75.                                                 <td><img src="img/save-icon.gif" width="16" height="16" alt="" /></td>
  76.                                                
  77.                                 </tr>
  78.                                 </table>
  79.                                 <div class="select">
  80.                                         <strong>Other Pages: </strong>
  81.                                         <select>
  82.                                                 <option>1</option>
  83.                                         </select>
  84.                           </div>
  85.                         </div>
  86.                   <div class="table">
  87.                                 <img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
  88.                                 <img src="img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
  89.                                 <table class="listing form" cellpadding="0" cellspacing="0">
  90.                                         <tr>
  91.                                                 <th class="full" colspan="2">Header Here</th>
  92.                                         </tr>
  93.                                         <tr>
  94.                                                 <td class="first" width="172"><strong>Lorem Ipsum</strong></td>
  95.                                                 <td class="last"><input type="text" class="text" /></td>
  96.                                         </tr>
  97.                                         <tr class="bg">
  98.                                                 <td class="first"><strong>Lorem Ipsum</strong></td>
  99.                                                 <td class="last"><input type="text" class="text" /></td>
  100.                                         </tr>
  101.                                         <tr>
  102.                                                 <td class="first""><strong>Lorem Ipsum</strong></td>
  103.                                                 <td class="last"><input type="text" class="text" /></td>
  104.                                         </tr>
  105.                                         <tr class="bg">
  106.                                                 <td class="first"><strong>Lorem Ipsum</strong></td>
  107.                                                 <td class="last"><input type="text" class="text" /></td>
  108.                                         </tr>
  109.                                 </table>
  110.                 <p>&nbsp;</p>
  111.                   </div>
  112.                 </div>
  113.                 <div id="right-column">
  114.                         <strong class="h">INFO</strong>
  115.                         <div class="box">Detect and eliminate viruses and Trojan horses, even new and unknown ones. Detect and eliminate viruses and Trojan horses, even new and </div>
  116.           </div>
  117.         </div>
  118.         <div id="footer"></div>
  119. </div>
  120.  
  121.  
  122. </body>
  123. </html>