<?php
//enable visitors to see the PHP source code of current file
$me basename($_SERVER['PHP_SELF']);
if(isset(
$_GET['showPHP'])){
    
show_source("$me");    
    die();
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<!--Click the link that says assets/css.css to see the CSS-->
<link href="assets/css.css" type="text/css" rel="stylesheet"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Source code: HTML PHP Flash CSS3 - Jonas Grolin</title>
<?php 
include("includes/header.inc.php");
?>

<!--This meta element defines a description of my page:-->
<meta name="description" content="I have created this website with HTML, PHP, JavaScript and Flash. If you are a Coder I make the source code available. " /> 


<!--This meta element defines keywords for my page:
Keywords Meta tag. Keep the tag to between 4 and 8 keywords or keyword phrases, to separate the different keywords and keyword phases simply place a comma between the terms.

For the search engines that may still take this tag into consideration when determining rankings, 
move the most important keywords to the beginning to increase their prominence, 
make sure that the keywords appear at least once in your page content and avoid repetitions to avoid spam penalties.-->
<meta name="keywords" content="code, PHP, HTML, source, Flash, JavaScript, CSS3, Grolin" /> 

<!--This meta element identifies the document for search engines as being intended for EN="English" readers.-->
<meta http-equiv="Content-Language" content="en"/>

<!--Like button Open Graph-tags:-->
<meta property="og:title" content="Source code: PHP, HTML, CSS3, Flash, Jonas, Grolin, Games" />
<meta property="og:type" content="website" />
<meta property="og:url" content="http://www.jonas-grolin.dk/" />
<meta property="og:image" content="http://www.jonas-grolin.dk/image/source-code.png" />
<meta property="og:site_name" content="Source code: PHP, HTML, CSS3, Flash, JavaScript, Grolin" />
<meta property="fb:admins" content="1064443641" />

<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
    var flashvars = {};
    var params = {};
    params.wmode = "transparent";
    swfobject.embedSWF("flash.swf", "minFlash", "360", "300", "9.0.0", "expressInstall.swf", flashvars, params);
    swfobject.embedSWF("swf/top-blue-header.swf", "flash.text", "800", "150", "9.0.0", "expressInstall.swf", flashvars, params);
</script>

<script type="text/javascript">
function showResult(str)
{
if (str.length==0)
  {
  document.getElementById("livesearch").innerHTML="";
  document.getElementById("livesearch").style.border="0px";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("livesearch").innerHTML=xmlhttp.responseText;
    document.getElementById("livesearch").style.border="1px solid #A5ACB2; z-index:-2;";
    }
  }
xmlhttp.open("GET","livesearch.php?q="+str,true);
xmlhttp.send();
}
</script>

</head>
<body>
<div id="wrapper">
    <div id="center-box">

        <div class="menu bubplastic horizontal aqua">
            <ul>
                <li><span class="menu_r">
                <a href="/mobile/index.php" target="_self">
                    <span class="menu_ar">Mobile</span>
                </a></span></li>
                
                <li><span class="menu_r">
                <a href="?showPHP" target="_self">
                    <span class="menu_ar">Source code</span>
                </a></span></li>
                
                <li><span class="menu_r">
                <a href="sitemap.html" target="_self">
                    <span class="menu_ar">Site map</span>
                </a></span></li>
                
                <li><span class="menu_r">
                <a href="index-dk.php" target="_self">
                    <span class="menu_ar"><img src="image/dk-icon.png" alt="Dansk flag"/> Dansk</span>
                </a></span></li>
        
                <li><span class="menu_r">
                <a href="index.php" target="_self">
                    <span class="menu_ar"><img src="image/eng-icon.png" alt="English flag"/> English</span>
                </a></span></li>
        
            </ul>
            <br class="clearit" />
        </div>
    
        <div id="flash-text-padding">
            <div id="flash.text">
                <a href="http://www.adobe.com/go/getflashplayer">
                <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" 
                alt="Get Adobe Flash player" /></a>
            </div>
        </div>
  
        <div id="left-right-padding">
          
<?php 
include("includes/navigation.inc.php");
?>
            
            <h1>Source Code</h1>
            <h2>The website dedicated to giving you useful and interesting source code, demos, 
            tutorials and games!</h2>
            <a href="flash-nudge.php" style="color:#000; text-decoration:none;">
            <div id="right-box">
                <h3 align="center">
                New Tone Matrix <br/>
                with multiple instruments</h3>
                  <img src="image/tone_matrix.jpg" alt="nudge tone matrix" width="268" height="265" />
                <h4>Everyone can create music.</h4>
            </div>
              </a>
               <h4>I have created this website with: </h4>
            <ul>
              <li><abbr title="HyperText Mark-up Language">HTML</abbr></li>
              <li><abbr title="Cascading Style Sheet. Level 3">CSS3</abbr></li>
              <li><abbr title="Extensible Markup Language">XML</abbr></li>
              <li>Flash</li>
              <li><abbr title="Hypertext Preprocessor">PHP</abbr></li>
              <li>JavaScript</li>
              <li>jQuery </li>
              <li>ActionScript</li>
            </ul>
            
            <p>If you want the php code then press the top menu source code butten.</p>
            <p>If you want the HTML or JavaScript press ctrl+u for Firefox or Chrome. 
            If using Internet Explorer right click and select view source from the menu.</p>
            <p>If you want the flash files, need SEO help or you
            want to ask how I made a part of the website contact me 
              <a href="contact.php" style="color:#09F; text-decoration:none;">here.</a><br/>
              </p>
            <br/>
              <div class="hr"></div>

            <!--Like button in iframe for facebook-->
            <div id="like-button-facebook">
            <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
            <fb:like href="http://www.jonas-grolin.dk/" show_faces="true" width="310" 
            font="arial"></fb:like>
            </div>
            <h3>Connect</h3>
            <p>By using the Facebook Like button you are helping people to find my website.
            It also helps me to find and friend you on Facebook.</p>
            <h4>Let's increase our Connectedness.</h4>
            <div class="hr"></div>

        </div>

<?php 
include("includes/footer.inc.php");
?>

    </div>
</div>
</body>
</html>