Example #1
0
 function print_urls()
 {
     function style_url($url)
     {
         $niceurl = str_replace("http://", "", $url);
         $niceurl = str_replace("https://", "", $niceurl);
         $niceurl = trim($niceurl, '/');
         return "<a href='" . $url . "'>" . $niceurl . "</a>";
     }
     global $con;
     $result = mysqli_query($con, "SELECT url FROM profile_urls WHERE pid = " . $this->id);
     $string = "";
     $first = true;
     while ($row = mysqli_fetch_array($result)) {
         if (!$first) {
             $string .= "<br/>";
         } else {
             $first = false;
         }
         $string .= style_url($row[0]);
     }
     return $string;
 }
Example #2
0
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Dashboard - Visualize</title>

    <!-- Bootstrap core CSS -->
    <?php 
echo link_tag(style_url('bootstrap.css'));
?>

    <!-- Add custom CSS here -->
    <?php 
echo link_tag(style_url('sb-admin.css'));
?>
    
    <?php 
echo link_tag(assets_url('font-awesome/css/font-awesome.min.css'));
?>
    
    <!-- Page Specific CSS -->
    <link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.3.min.css">
    <!-- JavaScript -->
    <script src="<?php 
echo script_url('jquery-2.0.3.js');
?>
"></script>
    <script src="<?php 
echo script_url('bootstrap.js');
Example #3
0
<!--- end -------------------> 
</div>

  <!-- end #sidebar1 --></div>
  <div id="mainContent">
	<h1><img src="<?php 
echo style_url('admin');
?>
images/icon_title.gif" align="absmiddle" />&nbsp;<?php 
echo @$layout_title;
?>
</h1>
  	<?php 
echo $_content_for_layout;
?>
	<p>&nbsp;</p>
  </div><!-- end #mainContent -->

  <br class="clearfloat" />  <div id="footer"><img src="<?php 
echo style_url('admin');
?>
images/page_root_left.gif" align="left" />
<p>Copyright <?php 
echo date("Y");
?>
 &copy; 080.net All rights reserved. Power by:<a href="http://www.080.net/" target="_blank">080.net</a>.<br />Page rendered in {elapsed_time} seconds, and use {memory_usage} memory.</p>
  <!-- end #footer -->
</div>
<!-- end #container --></div>
</body>
</html>