Example #1
0
<?php

$data = array('title' => 'Controller 边界');
View::tplInclude('Frame/header', $data);
?>



<body class="page-body">

<div class="page-container">



	  <div class="main-content">





			<h3 id="layout-variants">
				   Controller
				  <br />
				  <small>                    <a href="/test/list">LIST</a>
<a href="/test/list_obj">对象</a>
                    <a href="/test/list_ff">方法</a> 
                    <a href="/test/list_fun">函数</a>
                    <a href="/test/list_data">底层数据</a>
              <a href="/test/list_config">配置文件</a>!</small>
			</h3>
Example #2
0
		  <?php 
$data = array('title' => 'Welcome');
View::tplInclude('Frame/footer', $data);
?>
	  </div>
		
			

		
	</div>
	
	
	<?php 
$data = array('title' => 'Welcome');
View::tplInclude('Frame/footerjs', $data);
?>



    
<script language="javascript"> 
function showAjaxModal(url,title)
{
	//console.log(url);
	jQuery('#modal-7').modal('show', {backdrop: 'static'});
	
	jQuery.ajax({
		url: url,
		success: function(response)
		{
Example #3
0
<?php

$data = array('title' => $title, 'body_class' => 'bs-docs-home');
View::tplInclude('Public/header', $data);
?>
<main class="bs-docs-masthead" id="content" role="main">
  <div class="container">
  <h1><?php 
echo $title;
?>
</h1>
    <p class="lead">单文件PHP框架,羽量级网站开发首选</p>
<p>本项目由<a href='http://leo108.com' target='_blank'>leo108</a>开发,遵循MIT协议。</p>
    <p>
      <a href="https://github.com/leo108/SinglePHP" target='_blank' class="btn btn-outline-inverse btn-lg" >Fork On Github</a>
    </p>
  </div>
</main>
<?php 
View::tplInclude('Public/footer');