SHARE
TWEET

Untitled

a guest Oct 22nd, 2017 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.    $dbhost = 'localhost';
  3.    $dbuser = 'lordeminionh_djpanel';
  4.    $dbpass = '9R$H?A{7)(;1';
  5.    
  6.    $conn = mysql_connect($dbhost, $dbuser, $dbpass);
  7.    
  8.    if(! $conn ) {
  9.       die('Could not connect: ' . mysql_error());
  10.    }
  11.    
  12.    $sql = 'SELECT id, djname, sayings, favband, avatar FROM rp_users';
  13.    mysql_select_db('lordeminionh_djpanel');
  14.    $retval = mysql_query( $sql, $conn );
  15.    
  16.    if(! $retval ) {
  17.       die('Could not get data: ' . mysql_error());
  18.    }
  19.    
  20.    while($row = mysql_fetch_array($retval, MYSQL_NUM)) {
  21.       echo "ID :{$row[0]}  <br> ".
  22.          "NAME : {$row[1]} <br> ".
  23.          "TMP Profile : {$row[2]} <br> ".
  24.          "Twitter : {$row[3]} <br> ".
  25.          "avatar : {$row[4]} <br> ".
  26.          "--------------------------------<br>";         
  27.    }
  28.  
  29.    mysql_free_result($retval);
  30.    echo "Fetched data successfully\n";
  31.    
  32.    mysql_close($conn);
  33. ?>
  34. <!DOCTYPE html>
  35. <html lang="en">
  36. <head>
  37. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  38. <meta charset="utf-8">
  39. <title>RRFM Radio</title>
  40. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  41. <meta name="description" content="">
  42. <meta name="author" content="">
  43. <link href="assets/css/bootstrap.min.css" rel="stylesheet">
  44. <link href="assets/css/font-awesome.min.css" rel="stylesheet">
  45. <link href="assets/css/style.css" rel="stylesheet">
  46. <link href="assets/css/animate.css" rel="stylesheet">
  47. <link href="assets/css/skin-blue.css" rel="stylesheet">
  48. <link rel="shortcut icon" href="">
  49. </head>
  50. <body data-spy="scroll" data-target=".navbar">
  51. <nav id="topnav" class="navbar navbar-fixed-top navbar-default" role="navigation">
  52. <div class="container">
  53.     <div class="navbar-header">
  54.         <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  55.         <span class="sr-only">Toggle navigation</span>
  56.         <span class="icon-bar"></span>
  57.         <span class="icon-bar"></span>
  58.         <span class="icon-bar"></span>
  59.         </button>
  60.         <a class="navbar-brand" href="#top-section">RRFM Radio</a>
  61.     </div>
  62.     <div class="collapse navbar-collapse navbar-ex1-collapse">
  63. <?php require('navbar.php');?>
  64.     </div>
  65. </div>
  66. </nav>
  67. <section id="Section-4" class="fullbg color-white">
  68. <div class="section-divider">
  69. </div>
  70. <div class="container demo-3">
  71. <div class="row">
  72.     <div class="page-header text-center col-sm-12 col-lg-12">
  73.         <h1>Our Team</h1>
  74.         <p class="lead">
  75.              People behind this product
  76.         </p>
  77.     </div>
  78. </div>
  79. <div class="row animated">
  80.     <div class="col-md-4">
  81.         <div class="thumbnail">
  82.             <img src="http://www.wowthemes.net/demo/calypso/img/demo/team1.jpg" alt="">
  83.             <div class="caption">
  84.                 <h4>Ralph P. Peters</h4>
  85.                 <span class="primarycol">- Manager at Company -</span>
  86.                 <p>
  87.                      Praesent id metus ante, ut condimentum magna. Nam bibendum, felis eget.<br>
  88.                 </p>
  89.                 <ul class="social-icons">
  90.                     <li><a href="#"><i class="fa fa-truck"></i></a></li>
  91.                     <li><a href="#"><i class="fa fa-twitter"></i></a></li>
  92.                     <li><a href="#"><i class="fa fa-envelope-o"></i></a></li>
  93.                 </ul>
  94.             </div>
  95.         </div>
  96.     </div>
  97.     <div class="col-md-4">
  98.         <div class="thumbnail">
  99.             <img src="http://www.wowthemes.net/demo/calypso/img/demo/team2.jpg" alt="">
  100.             <div class="caption">
  101.                 <h4>Emma M. Coffey</h4>
  102.                 <span class="primarycol">- Lawyer at Construct Inc -</span>
  103.                 <p>
  104.                      Praesent id metus ante, ut condimentum magna. Nam bibendum, felis eget.<br>
  105.                 </p>
  106.                 <ul class="social-icons">
  107.                     <li><a href="#"><i class="fa fa-truck"></i></a></li>
  108.                     <li><a href="#"><i class="fa fa-twitter"></i></a></li>
  109.                     <li><a href="#"><i class="fa fa-envelope-o"></i></a></li>
  110.                 </ul>
  111.             </div>
  112.         </div>
  113.     </div>
  114.     <div class="col-md-4">
  115.         <div class="thumbnail">
  116.             <img src="<AVATAR HERE>" width="238" height="222">
  117.             <div class="caption">
  118.                 <h4>Jerry</h4>
  119.                 <span class="primarycol">- Web Developer -</span>
  120.                 <p>
  121.                      Praesent id metus ante, ut condimentum magna. Nam bibendum, felis eget.<br>
  122.                 </p>
  123.                 <ul class="social-icons">
  124.                     <li><a href="https://truckersmp.com/user/1358319"><i class="fa fa-truck"></i></a></li>
  125.                     <li><a href="http://twitter.com/mrLordeJerry"><i class="fa fa-twitter"></i></a></li>
  126.                     <li><a href="mailto:jerry@lordejerry.me"><i class="fa fa-envelope-o"></i></a></li>
  127.                 </ul>
  128.             </div>
  129.         </div>
  130.     </div>
  131.  
  132. </div>
  133. </div>
  134. </section>
  135. <footer id="foot-sec">
  136. <div class="footerdivide">
  137. </div>
  138. <div class="container ">
  139. <div class="row">
  140.     <div class="text-center color-white col-sm-12 col-lg-12">
  141.         <p>
  142.         </p>
  143.  
  144.     </div>
  145. </div>
  146. </div>
  147. </footer>
  148. <script src="assets/js/jquery.min.js" type="text/javascript"></script>
  149. <script src="assets/js/bootstrap.js"></script>
  150. <script src="assets/js/jquery.parallax-1.1.3.js" type="text/javascript"></script>
  151. <script src="assets/js/jquery.localscroll-1.2.7-min.js" type="text/javascript"></script>
  152. <script src="assets/js/jquery.scrollTo-1.4.6-min.js" type="text/javascript"></script>
  153. <script src="assets/js/jquery.bxslider.min.js"></script>
  154. <script src="assets/js/jquery.placeholder.js"></script>
  155. <script src="assets/js/modernizr.custom.js"></script>
  156. <script src="assets/js/toucheffects.js"></script>
  157. <script src="assets/js/animations.js"></script>
  158. <script src="assets/js/init.js"></script>
  159. </body>
  160. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top