mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-12-25 05:15:45 +00:00
Merge branch 'primeira-ronda-de-melhoramentos' into 'master'
Primeira ronda de melhoramentos See merge request ansol/web-ansol.org!14
This commit is contained in:
commit
937e8f976b
@ -1,75 +0,0 @@
|
||||
---
|
||||
# Display name
|
||||
title: 吳恩達
|
||||
|
||||
# Username (this should match the folder name)
|
||||
authors:
|
||||
- 吳恩達
|
||||
|
||||
# Is this the primary user of the site?
|
||||
superuser: false
|
||||
|
||||
# Role/position
|
||||
role: Professor of Artificial Intelligence
|
||||
|
||||
# Organizations/Affiliations
|
||||
organizations:
|
||||
- name: Stanford University
|
||||
url: ""
|
||||
|
||||
# Short bio (displayed in user profile at end of posts)
|
||||
bio: My research interests include distributed robotics, mobile computing and programmable matter.
|
||||
|
||||
interests:
|
||||
- Artificial Intelligence
|
||||
- Computational Linguistics
|
||||
- Information Retrieval
|
||||
|
||||
education:
|
||||
courses:
|
||||
- course: PhD in Artificial Intelligence
|
||||
institution: Stanford University
|
||||
year: 2012
|
||||
- course: MEng in Artificial Intelligence
|
||||
institution: Massachusetts Institute of Technology
|
||||
year: 2009
|
||||
- course: BSc in Artificial Intelligence
|
||||
institution: Massachusetts Institute of Technology
|
||||
year: 2008
|
||||
|
||||
# Social/Academic Networking
|
||||
# For available icons, see: https://sourcethemes.com/academic/docs/page-builder/#icons
|
||||
# For an email link, use "fas" icon pack, "envelope" icon, and a link in the
|
||||
# form "mailto:your-email@example.com" or "#contact" for contact widget.
|
||||
social:
|
||||
- icon: envelope
|
||||
icon_pack: fas
|
||||
link: '#contact' # For a direct email link, use "mailto:test@example.org".
|
||||
- icon: twitter
|
||||
icon_pack: fab
|
||||
link: https://twitter.com/GeorgeCushen
|
||||
- icon: google-scholar
|
||||
icon_pack: ai
|
||||
link: https://scholar.google.co.uk/citations?user=sIwtMXoAAAAJ
|
||||
- icon: github
|
||||
icon_pack: fab
|
||||
link: https://github.com/gcushen
|
||||
# Link to a PDF of your resume/CV from the About widget.
|
||||
# To enable, copy your resume/CV to `static/files/cv.pdf` and uncomment the lines below.
|
||||
# - icon: cv
|
||||
# icon_pack: ai
|
||||
# link: files/cv.pdf
|
||||
|
||||
# Enter email to display Gravatar (if Gravatar enabled in Config)
|
||||
email: ""
|
||||
|
||||
# Organizational groups that you belong to (for People widget)
|
||||
# Set this to `[]` or comment out if you are not using People widget.
|
||||
user_groups:
|
||||
- Researchers
|
||||
- Visitors
|
||||
---
|
||||
|
||||
吳恩達 is a professor of artificial intelligence at the Stanford AI Lab. His research interests include distributed robotics, mobile computing and programmable matter. He leads the Robotic Neurobiology group, which develops self-reconfiguring robots, systems of self-organizing robots, and mobile sensor networks.
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed neque elit, tristique placerat feugiat ac, facilisis vitae arcu. Proin eget egestas augue. Praesent ut sem nec arcu pellentesque aliquet. Duis dapibus diam vel metus tempus vulputate.
|
Binary file not shown.
Before Width: | Height: | Size: 13 KiB |
@ -1,10 +0,0 @@
|
||||
---
|
||||
title: Courses
|
||||
layout: docs # Do not modify.
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
---
|
||||
|
@ -1,62 +0,0 @@
|
||||
---
|
||||
# Course title, summary, and position.
|
||||
linktitle: An Example Course
|
||||
summary: Learn how to use Academic's docs layout for publishing online courses, software documentation, and tutorials.
|
||||
weight: 1
|
||||
|
||||
# Page metadata.
|
||||
title: Overview
|
||||
date: "2018-09-09T00:00:00Z"
|
||||
lastmod: "2018-09-09T00:00:00Z"
|
||||
draft: false # Is this a draft? true/false
|
||||
toc: true # Show table of contents? true/false
|
||||
type: docs # Do not modify.
|
||||
|
||||
# Add menu entry to sidebar.
|
||||
# - name: Declare this menu item as a parent with ID `name`.
|
||||
# - weight: Position of link in menu.
|
||||
menu:
|
||||
example:
|
||||
name: Overview
|
||||
weight: 1
|
||||
---
|
||||
|
||||
## Flexibility
|
||||
|
||||
This feature can be used for publishing content such as:
|
||||
|
||||
* **Online courses**
|
||||
* **Project or software documentation**
|
||||
* **Tutorials**
|
||||
|
||||
The `courses` folder may be renamed. For example, we can rename it to `docs` for software/project documentation or `tutorials` for creating an online course.
|
||||
|
||||
## Delete tutorials
|
||||
|
||||
**To remove these pages, delete the `courses` folder and see below to delete the associated menu link.**
|
||||
|
||||
## Update site menu
|
||||
|
||||
After renaming or deleting the `courses` folder, you may wish to update any `[[main]]` menu links to it by editing your menu configuration at `config/_default/menus.toml`.
|
||||
|
||||
For example, if you delete this folder, you can remove the following from your menu configuration:
|
||||
|
||||
```toml
|
||||
[[main]]
|
||||
name = "Courses"
|
||||
url = "courses/"
|
||||
weight = 50
|
||||
```
|
||||
|
||||
Or, if you are creating a software documentation site, you can rename the `courses` folder to `docs` and update the associated *Courses* menu configuration to:
|
||||
|
||||
```toml
|
||||
[[main]]
|
||||
name = "Docs"
|
||||
url = "docs/"
|
||||
weight = 50
|
||||
```
|
||||
|
||||
## Update the docs menu
|
||||
|
||||
If you use the *docs* layout, note that the name of the menu in the front matter should be in the form `[menu.X]` where `X` is the folder name. Hence, if you rename the `courses/example/` folder, you should also rename the menu definitions in the front matter of files within `courses/example/` from `[menu.example]` to `[menu.<NewFolderName>]`.
|
@ -1,42 +0,0 @@
|
||||
---
|
||||
title: Example Page 1
|
||||
linktitle: Tips 1-2
|
||||
toc: true
|
||||
type: docs
|
||||
date: "2019-05-05T00:00:00+01:00"
|
||||
draft: false
|
||||
menu:
|
||||
example:
|
||||
parent: Example Topic
|
||||
weight: 1
|
||||
|
||||
# Prev/next pager order (if `docs_section_pager` enabled in `params.toml`)
|
||||
weight: 1
|
||||
---
|
||||
|
||||
In this tutorial, I'll share my top 10 tips for getting started with Academic:
|
||||
|
||||
## Tip 1
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus.
|
||||
|
||||
Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus.
|
||||
|
||||
Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare.
|
||||
|
||||
Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at.
|
||||
|
||||
|
||||
## Tip 2
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus.
|
||||
|
||||
Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus.
|
||||
|
||||
Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare.
|
||||
|
||||
Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at.
|
@ -1,42 +0,0 @@
|
||||
---
|
||||
title: Example Page 2
|
||||
linktitle: Tips 3-4
|
||||
toc: true
|
||||
type: docs
|
||||
date: "2019-05-05T00:00:00+01:00"
|
||||
draft: false
|
||||
menu:
|
||||
example:
|
||||
parent: Example Topic
|
||||
weight: 2
|
||||
|
||||
# Prev/next pager order (if `docs_section_pager` enabled in `params.toml`)
|
||||
weight: 2
|
||||
---
|
||||
|
||||
Here are some more tips for getting started with Academic:
|
||||
|
||||
## Tip 3
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus.
|
||||
|
||||
Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus.
|
||||
|
||||
Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare.
|
||||
|
||||
Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at.
|
||||
|
||||
|
||||
## Tip 4
|
||||
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
Nullam vel molestie justo. Curabitur vitae efficitur leo. In hac habitasse platea dictumst. Sed pulvinar mauris dui, eget varius purus congue ac. Nulla euismod, lorem vel elementum dapibus, nunc justo porta mi, sed tempus est est vel tellus. Nam et enim eleifend, laoreet sem sit amet, elementum sem. Morbi ut leo congue, maximus velit ut, finibus arcu. In et libero cursus, rutrum risus non, molestie leo. Nullam congue quam et volutpat malesuada. Sed risus tortor, pulvinar et dictum nec, sodales non mi. Phasellus lacinia commodo laoreet. Nam mollis, erat in feugiat consectetur, purus eros egestas tellus, in auctor urna odio at nibh. Mauris imperdiet nisi ac magna convallis, at rhoncus ligula cursus.
|
||||
|
||||
Cras aliquam rhoncus ipsum, in hendrerit nunc mattis vitae. Duis vitae efficitur metus, ac tempus leo. Cras nec fringilla lacus. Quisque sit amet risus at ipsum pharetra commodo. Sed aliquam mauris at consequat eleifend. Praesent porta, augue sed viverra bibendum, neque ante euismod ante, in vehicula justo lorem ac eros. Suspendisse augue libero, venenatis eget tincidunt ut, malesuada at lorem. Donec vitae bibendum arcu. Aenean maximus nulla non pretium iaculis. Quisque imperdiet, nulla in pulvinar aliquet, velit quam ultrices quam, sit amet fringilla leo sem vel nunc. Mauris in lacinia lacus.
|
||||
|
||||
Suspendisse a tincidunt lacus. Curabitur at urna sagittis, dictum ante sit amet, euismod magna. Sed rutrum massa id tortor commodo, vitae elementum turpis tempus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean purus turpis, venenatis a ullamcorper nec, tincidunt et massa. Integer posuere quam rutrum arcu vehicula imperdiet. Mauris ullamcorper quam vitae purus congue, quis euismod magna eleifend. Vestibulum semper vel augue eget tincidunt. Fusce eget justo sodales, dapibus odio eu, ultrices lorem. Duis condimentum lorem id eros commodo, in facilisis mauris scelerisque. Morbi sed auctor leo. Nullam volutpat a lacus quis pharetra. Nulla congue rutrum magna a ornare.
|
||||
|
||||
Aliquam in turpis accumsan, malesuada nibh ut, hendrerit justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Quisque sed erat nec justo posuere suscipit. Donec ut efficitur arcu, in malesuada neque. Nunc dignissim nisl massa, id vulputate nunc pretium nec. Quisque eget urna in risus suscipit ultricies. Pellentesque odio odio, tincidunt in eleifend sed, posuere a diam. Nam gravida nisl convallis semper elementum. Morbi vitae felis faucibus, vulputate orci placerat, aliquet nisi. Aliquam erat volutpat. Maecenas sagittis pulvinar purus, sed porta quam laoreet at.
|
@ -4,7 +4,7 @@ title: Licenças e Atribuições
|
||||
|
||||
## Geral
|
||||
|
||||
O código deste website está disponível em https://gitlab.com/tcarrondo/hugo-ansol.org, sob a licença [#TODO]().
|
||||
O código deste website está disponível em https://gitlab.com/ansol/web-ansol.org, sob a licença [#TODO]().
|
||||
|
||||
|
||||
["Search"](https://thenounproject.com/term/search/14173/), criado por Egor Culcea, da colecção [The Noun Project](thenounproject.com), licenciado sob [CC-BY 3.0](https://creativecommons.org/licenses/by/3.0/pt/legalcode).
|
||||
|
@ -1,40 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
node_id: 60
|
||||
layout: page
|
||||
title: test1
|
||||
created: 1335099257
|
||||
date: 2012-04-22
|
||||
aliases:
|
||||
- "/node/60/"
|
||||
- "/page/60/"
|
||||
- "/test1/"
|
||||
---
|
||||
<?php
|
||||
|
||||
# http://www.openstreetmap.org/?mlat=38.71055&mlon=-9.142200&zoom=18&layers=M
|
||||
|
||||
# 'iconUrl' => '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 <a href='https://ansol.org/inscricao'>tornar-se sócio também</a>? :)\n";
|
||||
|
||||
#print "<pre>\n";
|
||||
#var_dump($res);
|
||||
#print "</pre>\n";
|
||||
|
||||
print "<ul>";
|
||||
foreach ($res as $record) {
|
||||
print "<li style='list-style-type: none;'>".$record->id.": ".$record->fn . " " . $record->mn . " " . $record->ln."</li>";
|
||||
}
|
||||
print "</ul>\n";
|
||||
|
||||
db_set_active();
|
||||
|
||||
?>
|
@ -1,14 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
node_id: 70
|
||||
layout: page
|
||||
title: Test2
|
||||
created: 1337446294
|
||||
date: 2012-05-19
|
||||
aliases:
|
||||
- "/node/70/"
|
||||
- "/page/70/"
|
||||
- "/test2/"
|
||||
---
|
||||
<p>Teste teste teste</p>
|
@ -1,42 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
slide:
|
||||
- slide_value: 0
|
||||
node_id: 160
|
||||
layout: page
|
||||
title: teste
|
||||
created: 1367693029
|
||||
date: 2013-05-04
|
||||
aliases:
|
||||
- "/node/160/"
|
||||
- "/page/160/"
|
||||
---
|
||||
<?php
|
||||
|
||||
$query = new EntityFieldQuery;
|
||||
$entities = $query
|
||||
->entityCondition('entity_type', 'node')
|
||||
->propertyCondition('status', 1)
|
||||
->fieldCondition('field_slide','value', '1', '=')
|
||||
->execute();
|
||||
#print '<strong>Nodes!</strong><br clear="all" />';
|
||||
#var_dump($entities);
|
||||
|
||||
$nodes = node_load_multiple(array_keys($entities['node']));
|
||||
#print render(node_view_multiple($nodes, 'teaser'));
|
||||
|
||||
print " <div id='slideshow'>\n";
|
||||
$slideCtl="";
|
||||
foreach ($nodes as $node) {
|
||||
$slideCtl = $slideCtl . " <li><a href='#'></a></li>\n";
|
||||
print " <div class='slider-item'><div class='content container_12'><div class='grid_12'>";
|
||||
|
||||
print render(node_view($node, 'teaser'));
|
||||
print " </div></div></div>";
|
||||
|
||||
}
|
||||
|
||||
print " </div>\n <div id='slider-controls-wrapper'><div id='slider-controls' class='container_12'><ul id='slider-navigation'>" . $slideCtl . " </ul></div></div>\n";
|
||||
|
||||
?>
|
@ -1,15 +0,0 @@
|
||||
---
|
||||
title: Publications
|
||||
|
||||
# View.
|
||||
# 1 = List
|
||||
# 2 = Compact
|
||||
# 3 = Card
|
||||
# 4 = Citation
|
||||
view: 4
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
---
|
@ -1,8 +0,0 @@
|
||||
@inproceedings{example1,
|
||||
title={An example conference paper},
|
||||
author={Bighetti, Nelson and Ford, Robert},
|
||||
booktitle={Source Themes Conference},
|
||||
pages={1--6},
|
||||
year={2013},
|
||||
organization={IEEE}
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 305 KiB |
@ -1,75 +0,0 @@
|
||||
---
|
||||
title: "An example conference paper"
|
||||
authors:
|
||||
- admin
|
||||
- Robert Ford
|
||||
date: "2013-07-01T00:00:00Z"
|
||||
doi: ""
|
||||
|
||||
# Schedule page publish date (NOT publication's date).
|
||||
publishDate: "2017-01-01T00:00:00Z"
|
||||
|
||||
# Publication type.
|
||||
# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article;
|
||||
# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section;
|
||||
# 7 = Thesis; 8 = Patent
|
||||
publication_types: ["1"]
|
||||
|
||||
# Publication name and optional abbreviated publication name.
|
||||
publication: In *Source Themes Conference*
|
||||
publication_short: In *STC*
|
||||
|
||||
abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
# Summary. An optional shortened abstract.
|
||||
summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum.
|
||||
|
||||
tags:
|
||||
- Source Themes
|
||||
featured: true
|
||||
|
||||
links:
|
||||
- name: Custom Link
|
||||
url: http://example.org
|
||||
url_pdf: http://eprints.soton.ac.uk/352095/1/Cushen-IMV2013.pdf
|
||||
url_code: '#'
|
||||
url_dataset: '#'
|
||||
url_poster: '#'
|
||||
url_project: ''
|
||||
url_slides: ''
|
||||
url_source: '#'
|
||||
url_video: '#'
|
||||
|
||||
# Featured image
|
||||
# To use, add an image named `featured.jpg/png` to your page's folder.
|
||||
image:
|
||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/pLCdAaMFLTE)'
|
||||
focal_point: ""
|
||||
preview_only: false
|
||||
|
||||
# Associated Projects (optional).
|
||||
# Associate this publication with one or more of your projects.
|
||||
# Simply enter your project's folder or file name without extension.
|
||||
# E.g. `internal-project` references `content/project/internal-project/index.md`.
|
||||
# Otherwise, set `projects: []`.
|
||||
projects:
|
||||
- internal-project
|
||||
|
||||
# Slides (optional).
|
||||
# Associate this publication with Markdown slides.
|
||||
# Simply enter your slide deck's filename without extension.
|
||||
# E.g. `slides: "example"` references `content/slides/example/index.md`.
|
||||
# Otherwise, set `slides: ""`.
|
||||
slides: example
|
||||
---
|
||||
|
||||
{{% alert note %}}
|
||||
Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software.
|
||||
{{% /alert %}}
|
||||
|
||||
{{% alert note %}}
|
||||
Click the *Slides* button above to demo Academic's Markdown slides feature.
|
||||
{{% /alert %}}
|
||||
|
||||
Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/).
|
||||
|
@ -1,8 +0,0 @@
|
||||
@article{example2,
|
||||
title = {An example journal article},
|
||||
author={Bighetti, Nelson and Ford, Robert},
|
||||
journal = {Journal of Source Themes},
|
||||
year = 2015,
|
||||
volume = 1,
|
||||
number = 1
|
||||
}
|
Binary file not shown.
Before Width: | Height: | Size: 209 KiB |
@ -1,76 +0,0 @@
|
||||
---
|
||||
title: "An example journal article"
|
||||
authors:
|
||||
- admin
|
||||
- Robert Ford
|
||||
author_notes:
|
||||
- "Equal contribution"
|
||||
- "Equal contribution"
|
||||
date: "2015-09-01T00:00:00Z"
|
||||
doi: ""
|
||||
|
||||
# Schedule page publish date (NOT publication's date).
|
||||
publishDate: "2017-01-01T00:00:00Z"
|
||||
|
||||
# Publication type.
|
||||
# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article;
|
||||
# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section;
|
||||
# 7 = Thesis; 8 = Patent
|
||||
publication_types: ["2"]
|
||||
|
||||
# Publication name and optional abbreviated publication name.
|
||||
publication: "*Journal of Source Themes, 1*(1)"
|
||||
publication_short: ""
|
||||
|
||||
abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
# Summary. An optional shortened abstract.
|
||||
summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum.
|
||||
|
||||
tags:
|
||||
- Source Themes
|
||||
featured: false
|
||||
|
||||
# links:
|
||||
# - name: ""
|
||||
# url: ""
|
||||
url_pdf: http://arxiv.org/pdf/1512.04133v1
|
||||
url_code: ''
|
||||
url_dataset: ''
|
||||
url_poster: ''
|
||||
url_project: ''
|
||||
url_slides: ''
|
||||
url_source: ''
|
||||
url_video: ''
|
||||
|
||||
# Featured image
|
||||
# To use, add an image named `featured.jpg/png` to your page's folder.
|
||||
image:
|
||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/jdD8gXaTZsc)'
|
||||
focal_point: ""
|
||||
preview_only: false
|
||||
|
||||
# Associated Projects (optional).
|
||||
# Associate this publication with one or more of your projects.
|
||||
# Simply enter your project's folder or file name without extension.
|
||||
# E.g. `internal-project` references `content/project/internal-project/index.md`.
|
||||
# Otherwise, set `projects: []`.
|
||||
projects: []
|
||||
|
||||
# Slides (optional).
|
||||
# Associate this publication with Markdown slides.
|
||||
# Simply enter your slide deck's filename without extension.
|
||||
# E.g. `slides: "example"` references `content/slides/example/index.md`.
|
||||
# Otherwise, set `slides: ""`.
|
||||
slides: example
|
||||
---
|
||||
|
||||
{{% alert note %}}
|
||||
Click the *Cite* button above to demo the feature to enable visitors to import publication metadata into their reference management software.
|
||||
{{% /alert %}}
|
||||
|
||||
{{% alert note %}}
|
||||
Click the *Slides* button above to demo Academic's Markdown slides feature.
|
||||
{{% /alert %}}
|
||||
|
||||
Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/).
|
Binary file not shown.
Before Width: | Height: | Size: 216 KiB |
@ -1,69 +0,0 @@
|
||||
---
|
||||
title: "An example preprint / working paper"
|
||||
authors:
|
||||
- admin
|
||||
date: "2019-04-07T00:00:00Z"
|
||||
doi: ""
|
||||
|
||||
# Schedule page publish date (NOT publication's date).
|
||||
publishDate: "2017-01-01T00:00:00Z"
|
||||
|
||||
# Publication type.
|
||||
# Legend: 0 = Uncategorized; 1 = Conference paper; 2 = Journal article;
|
||||
# 3 = Preprint / Working Paper; 4 = Report; 5 = Book; 6 = Book section;
|
||||
# 7 = Thesis; 8 = Patent
|
||||
publication_types: ["3"]
|
||||
|
||||
# Publication name and optional abbreviated publication name.
|
||||
publication: ""
|
||||
publication_short: ""
|
||||
|
||||
abstract: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam. Quisque risus orci, mollis id ante sit amet, gravida egestas nisl. Sed ac tempus magna. Proin in dui enim. Donec condimentum, sem id dapibus fringilla, tellus enim condimentum arcu, nec volutpat est felis vel metus. Vestibulum sit amet erat at nulla eleifend gravida.
|
||||
|
||||
# Summary. An optional shortened abstract.
|
||||
summary: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellus ac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum.
|
||||
|
||||
tags:
|
||||
- Source Themes
|
||||
featured: false
|
||||
|
||||
links:
|
||||
- name: Custom Link
|
||||
url: http://example.org
|
||||
url_pdf: http://arxiv.org/pdf/1512.04133v1
|
||||
url_code: '#'
|
||||
url_dataset: '#'
|
||||
url_poster: '#'
|
||||
url_project: ''
|
||||
url_slides: ''
|
||||
url_source: '#'
|
||||
url_video: '#'
|
||||
|
||||
# Featured image
|
||||
# To use, add an image named `featured.jpg/png` to your page's folder.
|
||||
image:
|
||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/s9CC2SKySJM)'
|
||||
focal_point: ""
|
||||
preview_only: false
|
||||
|
||||
# Associated Projects (optional).
|
||||
# Associate this publication with one or more of your projects.
|
||||
# Simply enter your project's folder or file name without extension.
|
||||
# E.g. `internal-project` references `content/project/internal-project/index.md`.
|
||||
# Otherwise, set `projects: []`.
|
||||
projects:
|
||||
- internal-project
|
||||
|
||||
# Slides (optional).
|
||||
# Associate this publication with Markdown slides.
|
||||
# Simply enter your slide deck's filename without extension.
|
||||
# E.g. `slides: "example"` references `content/slides/example/index.md`.
|
||||
# Otherwise, set `slides: ""`.
|
||||
slides: example
|
||||
---
|
||||
|
||||
{{% alert note %}}
|
||||
Click the *Slides* button above to demo Academic's Markdown slides feature.
|
||||
{{% /alert %}}
|
||||
|
||||
Supplementary notes can be added here, including [code and math](https://sourcethemes.com/academic/docs/writing-markdown-latex/).
|
@ -1,166 +0,0 @@
|
||||
---
|
||||
title: Slides
|
||||
summary: An introduction to using Academic's Slides feature.
|
||||
authors: []
|
||||
tags: []
|
||||
categories: []
|
||||
date: "2019-02-05T00:00:00Z"
|
||||
slides:
|
||||
# Choose a theme from https://github.com/hakimel/reveal.js#theming
|
||||
theme: black
|
||||
# Choose a code highlighting style (if highlighting enabled in `params.toml`)
|
||||
# Light style: github. Dark style: dracula (default).
|
||||
highlight_style: dracula
|
||||
---
|
||||
|
||||
# Create slides in Markdown with Academic
|
||||
|
||||
[Academic](https://sourcethemes.com/academic/) | [Documentation](https://sourcethemes.com/academic/docs/managing-content/#create-slides)
|
||||
|
||||
---
|
||||
|
||||
## Features
|
||||
|
||||
- Efficiently write slides in Markdown
|
||||
- 3-in-1: Create, Present, and Publish your slides
|
||||
- Supports speaker notes
|
||||
- Mobile friendly slides
|
||||
|
||||
---
|
||||
|
||||
## Controls
|
||||
|
||||
- Next: `Right Arrow` or `Space`
|
||||
- Previous: `Left Arrow`
|
||||
- Start: `Home`
|
||||
- Finish: `End`
|
||||
- Overview: `Esc`
|
||||
- Speaker notes: `S`
|
||||
- Fullscreen: `F`
|
||||
- Zoom: `Alt + Click`
|
||||
- [PDF Export](https://github.com/hakimel/reveal.js#pdf-export): `E`
|
||||
|
||||
---
|
||||
|
||||
## Code Highlighting
|
||||
|
||||
Inline code: `variable`
|
||||
|
||||
Code block:
|
||||
```python
|
||||
porridge = "blueberry"
|
||||
if porridge == "blueberry":
|
||||
print("Eating...")
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Math
|
||||
|
||||
In-line math: $x + y = z$
|
||||
|
||||
Block math:
|
||||
|
||||
$$
|
||||
f\left( x \right) = \;\frac{{2\left( {x + 4} \right)\left( {x - 4} \right)}}{{\left( {x + 4} \right)\left( {x + 1} \right)}}
|
||||
$$
|
||||
|
||||
---
|
||||
|
||||
## Fragments
|
||||
|
||||
Make content appear incrementally
|
||||
|
||||
```
|
||||
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} **Two** {{%/* /fragment */%}}
|
||||
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
||||
```
|
||||
|
||||
Press `Space` to play!
|
||||
|
||||
{{% fragment %}} One {{% /fragment %}}
|
||||
{{% fragment %}} **Two** {{% /fragment %}}
|
||||
{{% fragment %}} Three {{% /fragment %}}
|
||||
|
||||
---
|
||||
|
||||
A fragment can accept two optional parameters:
|
||||
|
||||
- `class`: use a custom style (requires definition in custom CSS)
|
||||
- `weight`: sets the order in which a fragment appears
|
||||
|
||||
---
|
||||
|
||||
## Speaker Notes
|
||||
|
||||
Add speaker notes to your presentation
|
||||
|
||||
```markdown
|
||||
{{%/* speaker_note */%}}
|
||||
- Only the speaker can read these notes
|
||||
- Press `S` key to view
|
||||
{{%/* /speaker_note */%}}
|
||||
```
|
||||
|
||||
Press the `S` key to view the speaker notes!
|
||||
|
||||
{{< speaker_note >}}
|
||||
- Only the speaker can read these notes
|
||||
- Press `S` key to view
|
||||
{{< /speaker_note >}}
|
||||
|
||||
---
|
||||
|
||||
## Themes
|
||||
|
||||
- black: Black background, white text, blue links (default)
|
||||
- white: White background, black text, blue links
|
||||
- league: Gray background, white text, blue links
|
||||
- beige: Beige background, dark text, brown links
|
||||
- sky: Blue background, thin dark text, blue links
|
||||
|
||||
---
|
||||
|
||||
- night: Black background, thick white text, orange links
|
||||
- serif: Cappuccino background, gray text, brown links
|
||||
- simple: White background, black text, blue links
|
||||
- solarized: Cream-colored background, dark green text, blue links
|
||||
|
||||
---
|
||||
|
||||
{{< slide background-image="/img/boards.jpg" >}}
|
||||
|
||||
## Custom Slide
|
||||
|
||||
Customize the slide style and background
|
||||
|
||||
```markdown
|
||||
{{</* slide background-image="/img/boards.jpg" */>}}
|
||||
{{</* slide background-color="#0000FF" */>}}
|
||||
{{</* slide class="my-style" */>}}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Custom CSS Example
|
||||
|
||||
Let's make headers navy colored.
|
||||
|
||||
Create `assets/css/reveal_custom.css` with:
|
||||
|
||||
```css
|
||||
.reveal section h1,
|
||||
.reveal section h2,
|
||||
.reveal section h3 {
|
||||
color: navy;
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
# Questions?
|
||||
|
||||
[Ask](https://spectrum.chat/academic)
|
||||
|
||||
[Documentation](https://sourcethemes.com/academic/docs/managing-content/#create-slides)
|
@ -1,14 +0,0 @@
|
||||
---
|
||||
title: Recent & Upcoming Talks
|
||||
|
||||
# View.
|
||||
# 1 = List
|
||||
# 2 = Compact
|
||||
# 3 = Card
|
||||
view: 2
|
||||
|
||||
# Optional header image (relative to `static/img/` folder).
|
||||
header:
|
||||
caption: ""
|
||||
image: ""
|
||||
---
|
Binary file not shown.
Before Width: | Height: | Size: 606 KiB |
@ -1,75 +0,0 @@
|
||||
---
|
||||
title: Example Talk
|
||||
event: Academic Theme Conference
|
||||
event_url: https://example.org
|
||||
|
||||
location: Source Themes HQ
|
||||
address:
|
||||
street: 450 Serra Mall
|
||||
city: Stanford
|
||||
region: CA
|
||||
postcode: '94305'
|
||||
country: United States
|
||||
|
||||
summary: An example talk using Academic's Markdown slides feature.
|
||||
abstract: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis posuere tellusac convallis placerat. Proin tincidunt magna sed ex sollicitudin condimentum. Sed ac faucibus dolor, scelerisque sollicitudin nisi. Cras purus urna, suscipit quis sapien eu, pulvinar tempor diam."
|
||||
|
||||
# Talk start and end times.
|
||||
# End time can optionally be hidden by prefixing the line with `#`.
|
||||
date: "2030-06-01T13:00:00Z"
|
||||
date_end: "2030-06-01T15:00:00Z"
|
||||
all_day: false
|
||||
|
||||
# Schedule page publish date (NOT talk date).
|
||||
publishDate: "2017-01-01T00:00:00Z"
|
||||
|
||||
authors: []
|
||||
tags: []
|
||||
|
||||
# Is this a featured talk? (true/false)
|
||||
featured: false
|
||||
|
||||
image:
|
||||
caption: 'Image credit: [**Unsplash**](https://unsplash.com/photos/bzdhc5b3Bxs)'
|
||||
focal_point: Right
|
||||
|
||||
links:
|
||||
- icon: twitter
|
||||
icon_pack: fab
|
||||
name: Follow
|
||||
url: https://twitter.com/georgecushen
|
||||
url_code: ""
|
||||
url_pdf: ""
|
||||
url_slides: ""
|
||||
url_video: ""
|
||||
|
||||
# Markdown Slides (optional).
|
||||
# Associate this talk with Markdown slides.
|
||||
# Simply enter your slide deck's filename without extension.
|
||||
# E.g. `slides = "example-slides"` references `content/slides/example-slides.md`.
|
||||
# Otherwise, set `slides = ""`.
|
||||
slides: example
|
||||
|
||||
# Projects (optional).
|
||||
# Associate this post with one or more of your projects.
|
||||
# Simply enter your project's folder or file name without extension.
|
||||
# E.g. `projects = ["internal-project"]` references `content/project/deep-learning/index.md`.
|
||||
# Otherwise, set `projects = []`.
|
||||
projects:
|
||||
- internal-project
|
||||
|
||||
# Enable math on this page?
|
||||
math: true
|
||||
---
|
||||
|
||||
{{% alert note %}}
|
||||
Click on the **Slides** button above to view the built-in slides feature.
|
||||
{{% /alert %}}
|
||||
|
||||
Slides can be added in a few ways:
|
||||
|
||||
- **Create** slides using Academic's [*Slides*](https://sourcethemes.com/academic/docs/managing-content/#create-slides) feature and link using `slides` parameter in the front matter of the talk file
|
||||
- **Upload** an existing slide deck to `static/` and link using `url_slides` parameter in the front matter of the talk file
|
||||
- **Embed** your slides (e.g. Google Slides) or presentation video on this page using [shortcodes](https://sourcethemes.com/academic/docs/writing-markdown-latex/).
|
||||
|
||||
Further talk details can easily be added to this page using *Markdown* and $\rm \LaTeX$ math code.
|
@ -1,36 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
node_id: 60
|
||||
layout: page
|
||||
title: test1
|
||||
created: 1335099257
|
||||
date: 2012-04-22
|
||||
---
|
||||
<?php
|
||||
|
||||
# http://www.openstreetmap.org/?mlat=38.71055&mlon=-9.142200&zoom=18&layers=M
|
||||
|
||||
# 'iconUrl' => '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 <a href='https://ansol.org/inscricao'>tornar-se sócio também</a>? :)\n";
|
||||
|
||||
#print "<pre>\n";
|
||||
#var_dump($res);
|
||||
#print "</pre>\n";
|
||||
|
||||
print "<ul>";
|
||||
foreach ($res as $record) {
|
||||
print "<li style='list-style-type: none;'>".$record->id.": ".$record->fn . " " . $record->mn . " " . $record->ln."</li>";
|
||||
}
|
||||
print "</ul>\n";
|
||||
|
||||
db_set_active();
|
||||
|
||||
?>
|
@ -1,10 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
node_id: 70
|
||||
layout: page
|
||||
title: Test2
|
||||
created: 1337446294
|
||||
date: 2012-05-19
|
||||
---
|
||||
<p>Teste teste teste</p>
|
@ -1,39 +0,0 @@
|
||||
---
|
||||
categories: []
|
||||
metadata:
|
||||
slide:
|
||||
- slide_value: 0
|
||||
node_id: 160
|
||||
layout: page
|
||||
title: teste
|
||||
created: 1367693029
|
||||
date: 2013-05-04
|
||||
---
|
||||
<?php
|
||||
|
||||
$query = new EntityFieldQuery;
|
||||
$entities = $query
|
||||
->entityCondition('entity_type', 'node')
|
||||
->propertyCondition('status', 1)
|
||||
->fieldCondition('field_slide','value', '1', '=')
|
||||
->execute();
|
||||
#print '<strong>Nodes!</strong><br clear="all" />';
|
||||
#var_dump($entities);
|
||||
|
||||
$nodes = node_load_multiple(array_keys($entities['node']));
|
||||
#print render(node_view_multiple($nodes, 'teaser'));
|
||||
|
||||
print " <div id='slideshow'>\n";
|
||||
$slideCtl="";
|
||||
foreach ($nodes as $node) {
|
||||
$slideCtl = $slideCtl . " <li><a href='#'></a></li>\n";
|
||||
print " <div class='slider-item'><div class='content container_12'><div class='grid_12'>";
|
||||
|
||||
print render(node_view($node, 'teaser'));
|
||||
print " </div></div></div>";
|
||||
|
||||
}
|
||||
|
||||
print " </div>\n <div id='slider-controls-wrapper'><div id='slider-controls' class='container_12'><ul id='slider-navigation'>" . $slideCtl . " </ul></div></div>\n";
|
||||
|
||||
?>
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
layout: refresh
|
||||
permalink: test1/
|
||||
source_nid: 60
|
||||
refresh_to_post_id: /2012/04/22/test1
|
||||
---
|
@ -1,6 +0,0 @@
|
||||
---
|
||||
layout: refresh
|
||||
permalink: test2/
|
||||
source_nid: 70
|
||||
refresh_to_post_id: /2012/05/19/test2
|
||||
---
|
@ -29,7 +29,7 @@
|
||||
<p>Associação Nacional para o Software Livre</p>
|
||||
<p><a href="{{ (site.GetPage "contactos").Permalink }}">Contactos</a></p>
|
||||
<p><a href="{{ (site.GetPage "orgaos-sociais").Permalink }}">Órgãos sociais</a></p>
|
||||
<p><a href="https://git.ansol.org">Código fonte</a></p>
|
||||
<p><a href="https://gitlab.com/ansol/web-ansol.org">Código fonte</a></p>
|
||||
<p><a href="{{ (site.GetPage "licenca").Permalink }}">Licenças e atribuições</a></p>
|
||||
</div>
|
||||
</footer>
|
||||
|
Loading…
Reference in New Issue
Block a user