<commit_before><!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" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- bootstrap CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap-responsive.min.css" media="print" />

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

    <style>
      body {
		  padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
	  .splash-box {
		  margin: 20px;
		  padding: 10px;	
		  background-color: #CCCCCC;  	
		  border-radius: 5px;
	  }
	  
    </style>

    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.9.1.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap.min.js"></script>


	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="/index.php"><?php echo CHtml::encode(Yii::app()->name); ?></a>
          <div class="btn-group pull-right">
	
			<?php if(Yii::app()->user->isGuest) {?>
            <a id="login-btn" class="btn dropdown-toggle" href="/site/login">
              <i class="icon-user"></i> Login
              <span class="caret"></span>
            </a>
			<?php } else {?>
            <a id="login-btn" class="btn" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> <?php echo Yii::app()->user->name; ?>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">

              <li><a href="/site/logout">Sign Out</a></li>
            </ul>
			<?php } ?>

          </div>
          <div class="nav-collapse">
            <ul class="nav">
<!-- 
             <li class="active"><a href="#">Home</a></li>
              <li><a href="#about">About</a></li>
              <li><a href="#contact">Contact</a></li>
-->
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">

		<?php echo $content; ?>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->

</body>
</html>
<commit_msg>added code from quizmo, stripped down to not include isites specific items, for hash-local-linking<commit_after><!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" xml:lang="en" lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />

	<!-- bootstrap CSS framework -->
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap.min.css" media="screen, projection" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/bootstrap-responsive.min.css" media="print" />

	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

    <style>
      body {
		  padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
      }
	  .splash-box {
		  margin: 20px;
		  padding: 10px;	
		  background-color: #CCCCCC;  	
		  border-radius: 5px;
	  }
	  
    </style>

    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.9.1.min.js"></script>
    <script src="<?php echo Yii::app()->request->baseUrl; ?>/js/bootstrap.min.js"></script>


	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="/index.php"><?php echo CHtml::encode(Yii::app()->name); ?></a>
          <div class="btn-group pull-right">
	
			<?php if(Yii::app()->user->isGuest) {?>
            <a id="login-btn" class="btn dropdown-toggle" href="/site/login">
              <i class="icon-user"></i> Login
              <span class="caret"></span>
            </a>
			<?php } else {?>
            <a id="login-btn" class="btn" data-toggle="dropdown" href="#">
              <i class="icon-user"></i> <?php echo Yii::app()->user->name; ?>
              <span class="caret"></span>
            </a>
            <ul class="dropdown-menu">

              <li><a href="/site/logout">Sign Out</a></li>
            </ul>
			<?php } ?>

          </div>
          <div class="nav-collapse">
            <ul class="nav">
<!-- 
             <li class="active"><a href="#">Home</a></li>
              <li><a href="#about">About</a></li>
              <li><a href="#contact">Contact</a></li>
-->
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>

    <div class="container">

		<?php echo $content; ?>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->

<script>
dohash = function(hash){
	if(document.location.hash != ''){
		// get the ajax link for the hash url value
		//console.log(document.location.hash);
		//console.log(ajaxurl(document.location.hash));

		var locationhash = document.location.hash;
		if(locationhash.match(/^#\//)){
			newlocation = locationhash.replace(/^#([^#]*)/, "$1");
			$('#content').load(newlocation);					
		}
	}
}

window.onhashchange = function(hash){
	//console.log('onhashchange');
	dohash();
}

$(document).ready(function(){
	dohash();
});


//]]>	
</script>
</body>
</html>

{'fraction_non_alphanumeric': 0.23247286594309183, 'fraction_numerical': 0.007186858316221766, 'mean_word_length': 2.61558854718982, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 0, '>': 230, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6806412', 'n_tokens_mistral': 2347, 'n_tokens_neox': 2193, 'n_words': 447}