source: trunk/phpgwapi/setup/test_data.inc.php @ 2

Revision 2, 2.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<?php
2  /**************************************************************************\
3  * phpGroupWare - Setup                                                     *
4  * http://www.phpgroupware.org                                              *
5  * --------------------------------------------                             *
6  *  This program is free software; you can redistribute it and/or modify it *
7  *  under the terms of the GNU General Public License as published by the   *
8  *  Free Software Foundation; either version 2 of the License, or (at your  *
9  *  option) any later version.                                              *
10  \**************************************************************************/
11
12
13        $oProc->query("INSERT INTO addressbook (
14        ab_owner,ab_access,ab_firstname,ab_lastname,
15        ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager,
16        ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip,
17        ab_bday,ab_notes,ab_company)
18        VALUES(500,'private','John','Doe',
19        'jdoe@yahoo.com','212-555-5555','212-555-4444','212-555-4445','212-555-5556',
20        '212-555-5557','212-555-5558','1234 Elm','Anytown','New York','01010',
21        '12/25/1970','This is a test note\nfor verification','ClearRiver Tech.')");
22
23        $oProc->query("INSERT INTO addressbook (
24        ab_owner,ab_access,ab_firstname,ab_lastname,
25        ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager,
26        ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip,
27        ab_bday,ab_notes,ab_company)
28        VALUES(502,'public','Jane','Smith',
29        'jane.smith@motherearth.org','212-555-5555','212-555-4444','212-555-4445','212-555-5556',
30        '212-555-5557','212-555-5558','1313 Mockingbird Ln.','Hooterville','Kentucky','54874',
31        '01/01/1983','This is a test note\nfor verification','Jasper Automotive')");
32
33        $oProc->query("INSERT INTO addressbook (
34        ab_owner,ab_access,ab_firstname,ab_lastname,
35        ab_email,ab_hphone,ab_wphone,ab_fax,ab_pager,
36        ab_mphone,ab_ophone,ab_street,ab_city,ab_state,ab_zip,
37        ab_bday,ab_notes,ab_company)
38        VALUES(1,'private','Steven','Wright',
39        'jdoe@yahoo.com','212-555-5555','212-555-4444','212-555-4445','212-555-5556',
40        '212-555-5557','212-555-5558','321 Contact','Oiforgot','North Dakota','15421',
41        '10/05/1955','This is a test note\nfor verification','Baubles and Beads')");
42
43?>
Note: See TracBrowser for help on using the repository browser.