7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-27 06:10:19 +00:00
web-ansol.org/content/noticias/2012-04-22-test1.md
2021-10-28 15:52:49 +01:00

1.1 KiB

categories metadata layout title created date aliases
node_id
60
page test1 1335099257 2012-04-22
/node/60/
/page/60/
/test1/
'sites/all/libraries/leaflet/dist/images/marker.png' db_set_active('remotecivicrm'); $result = db_query("select cast(civicrm_contact.external_identifier as unsigned) as id,civicrm_contact.first_name as fn,civicrm_contact.middle_name as mn, civicrm_contact.last_name as ln from civicrm_contact,civicrm_membership where civicrm_membership.contact_id = civicrm_contact.id and civicrm_membership.status_id <= 3 order by id;"); $res = $result->fetchAll(); $count = $result->rowCount(); print "Estes são os $count sócios da ANSOL. E que tal tornar-se sócio também? :)\n"; #print "
\n";
#var_dump($res);
#print "
\n"; print "
    "; foreach ($res as $record) { print "
  • ".$record->id.": ".$record->fn . " " . $record->mn . " " . $record->ln."
  • "; } print "
\n"; db_set_active(); ?>