add_employees.php
来自「groupoffice」· PHP 代码 · 共 36 行
PHP
36 行
<?php/*Copyright Intermesh 2003Author: Merijn Schering <mschering@intermesh.nl>Version: 1.0 Release date: 08 July 2003This program is free software; you can redistribute it and/or modify itunder the terms of the GNU General Public License as published by theFree Software Foundation; either version 2 of the License, or (at youroption) any later version.*/require_once("../../Group-Office.php");$GO_SECURITY->authenticate();$GO_MODULES->authenticate('addressbook');require_once($GO_MODULES->class_path."addressbook.class.inc");$ab = new addressbook();$contacts = isset($_POST['select_table']['selected']) ? $_POST['select_table']['selected'] : array();for($i=0;$i<sizeof($contacts);$i++){ $ab->add_contact_to_company($contacts[$i], $_REQUEST['company_id']);}?><html><body><script language="javascript" type="text/javascript"> opener.document.company_form.submit(); window.close();</script></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?