<?php
/***************************************************************************
*                                                                          *
* Copyright (c) 2005 ISPG Technologies (I) Pvt Ltd. All rights reserved.   *
*                                                                          *
* This  is  commercial  software,  only  users  who have purchased a valid *
* license  and  accept  to the terms of the  License Agreement can install *
* and use this program.                                                    *
*                                                                          *
****************************************************************************
* PLEASE READ THE FULL TEXT  OF THE SOFTWARE  LICENSE   AGREEMENT  IN  THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE.            *
****************************************************************************/
//
//$Id: DevController.php, v 1.0 2011/06/14 20:52:11
//
class DevController extends Controller
{
	///AJAX ACTION FOR STATES
	public function indexAction()
	{
			
		$tplpath = implode("/",explode('~*',$this->getRequestValue('path')));
		echo '<pre><code class="html ">'.htmlentities(file_get_contents($tplpath)).'</code></pre>
			<link rel="stylesheet" title="Default" href="'.$this->ObjView->_common_frontend_css_path.'/debug.css">
			<script type="text/javascript" src="'.$this->ObjView->_common_js_path.'/highlight.pack.js"></script>
			<script>hljs.initHighlightingOnLoad();</script>
		';
		
	}
	
	
	
}
   
   
   