public function makeContent($viewName, $inputData = array())
 {
     $themePath = System::getThemePath() . 'view/';
     $inputData['themePath'] = $themePath;
     View::makeWithPath('head', array(), $themePath);
     View::makeWithPath($viewName, $inputData, $themePath);
     View::makeWithPath('footer', array(), $themePath);
 }
Example #2
0
  </div>
  <!-- items -->


  ';
    }
}
echo $li;
?>
<!-- page -->
<div class="row">
  <div class="col-lg-12 text-right">
   <?php 
echo $listPage;
?>
                               
  </div>
</div>
<!-- page -->

</div>
<!-- left -->
<!-- right -->
<?php 
View::makeWithPath('right', array(), $themePath);
?>
<!-- right -->
</div>

</div>
<!-- body -->
Example #3
0
 public static function view($pageName, $inputData = array(), $otherPath = '')
 {
     $themePath = System::getThemePath() . 'view/';
     if (isset($otherPath[1])) {
         $themePath = $otherPath;
     }
     View::makeWithPath($pageName, $inputData, $themePath);
 }
Example #4
0
	<div class="row">
	<div class="col-lg-12"><h2>Page not found</h2></div>
	</div>
	<!-- title -->

	<!-- content -->
	<div class="row">
	<div class="col-lg-12">
	<span>This content not found in our database.</span>
	</div>
	</div>
	<!-- content -->

	</div>
	</div>

	</div>
	<!-- items -->


</div>
<!-- left -->
<!-- right -->
<?php 
View::makeWithPath('right', array(), System::getThemePath() . 'view/');
?>
<!-- right -->
</div>

</div>
<!-- body -->