<?php /** * Outil d'import de kinés * * $Id$ * * @package Mediboard * @subpackage Patients * @author SARL OpenXtrem <*****@*****.**> * @license GNU General Public License, see http://www.gnu.org/licenses/gpl.html * @version $Revision$ */ CCAnDo::checkAdmin(); CApp::setTimeLimit(150); if (!class_exists("DOMDocument")) { trigger_error("sorry, DOMDocument is needed"); return; } if (null == ($pass = CValue::get("pass"))) { CAppUI::stepAjax("Fonctionnalité désactivée car trop instable.", UI_MSG_WARNING); return; } if (md5($pass) != "aa450aff6d0f4974711ff4c5536ed4cb") { CAppUI::stepAjax("Mot de passe incorrect.\nAttention, fonctionnalité à utiliser avec une extrême prudence", UI_MSG_ERROR); } $departement = CValue::get("departement"); $url = "http://www.ordremk.fr/searchproxy.php?format=json&name=%25%25%25&zip="; $continue = 1; $errors = 0; $count = 0;