Highway to PSR2
[openemr.git] / interface / forms / painmap / view.php
blobef68e4660a89b7acff813df0ec444590ab393d7c
1 <?php
2 /*
3 * Copyright Medical Information Integration,LLC info@mi-squared.com
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 */
10 /* include globals.php, required. */
11 require_once(dirname(__FILE__).'/../../globals.php');
13 /* include api.inc. also required. */
14 require_once($GLOBALS['srcdir'].'/api.inc');
16 /* include our smarty derived controller class. */
17 require('C_FormPainMap.class.php');
19 /* Create a form object. */
20 $c = new C_FormPainMap();
22 /* Render a 'view/edit form' page. */
23 echo $c->view_action($_GET['id']);