<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("department", "department.php"); $smarty->assign("MyModule", "baseinfo"); $model->DefaultShow($smarty, $dbmgr, $action, "department", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("doctor", "doctor.php"); $smarty->assign("MyModule", "doctor"); $model->DefaultShow($smarty, $dbmgr, $action, "doctor", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("notice", "notice.php"); $smarty->assign("MyModule", "website"); if ($action == "save") { if ($_REQUEST["primary_id"] == "") { $_REQUEST["publish_date"] = date('Y-m-d H:i:s', time()); } } $model->DefaultShow($smarty, $dbmgr, $action, "notice", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("hospital", "hospital.php"); $smarty->assign("MyModule", "baseinfo"); $model->DefaultShow($smarty, $dbmgr, $action, "hospital", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("subcategory", "subcategory.php"); $smarty->assign("MyModule", "baseinfo"); $model->DefaultShow($smarty, $dbmgr, $action, "subcategory", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("college", "college.php"); $smarty->assign("MyModule", "baseinfo"); $model->DefaultShow($smarty, $dbmgr, $action, "college", $_REQUEST);
<?php require '../include/common.inc.php'; include ROOT . '/include/init.inc.php'; $action = $_REQUEST["action"]; $model = new XmlModel("member", "member.php"); $smarty->assign("MyModule", "member"); $model->DefaultShow($smarty, $dbmgr, $action, "member", $_REQUEST);