Пример #1
0
if (file_exists('../modules/dental/class.dental.php')) {
	include '../modules/dental/class.dental.php';
	$dental = new dental;
	if (!$module->activated('dental') && $initmod) {
		$dental->init_sql();
		$dental->init_menu();
		$dental->init_deps();
		$dental->init_lang();
		$dental->init_help();
	}
}
if (file_exists('../modules/drug/class.drug.php')) {
	include '../modules/drug/class.drug.php';
	$drug = new drug;
	if (!$module->activated('drug') && $initmod) {
		$drug->init_sql();
		$drug->init_menu();
		$drug->init_deps();
		$drug->init_lang();
		$drug->init_help();
	}
}
if (file_exists('../modules/education/class.education.php')) {
	include '../modules/education/class.education.php';
	$education = new education;
	if (!$module->activated('education') && $initmod) {
		$education->init_sql();
		$education->init_menu();
		$education->init_deps();
		$education->init_lang();
		$education->init_help();