7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-12-04 11:30:35 +00:00

remover páginas de teste random e legacy

This commit is contained in:
Tiago Carrondo 2021-11-09 19:56:12 +00:00
parent 25bd6170dc
commit 596a83e0c2
8 changed files with 0 additions and 193 deletions

View File

@ -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();
?>

View File

@ -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>

View File

@ -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";
?>

View File

@ -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();
?>

View File

@ -1,10 +0,0 @@
---
categories: []
metadata:
node_id: 70
layout: page
title: Test2
created: 1337446294
date: 2012-05-19
---
<p>Teste teste teste</p>

View File

@ -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";
?>

View File

@ -1,6 +0,0 @@
---
layout: refresh
permalink: test1/
source_nid: 60
refresh_to_post_id: /2012/04/22/test1
---

View File

@ -1,6 +0,0 @@
---
layout: refresh
permalink: test2/
source_nid: 70
refresh_to_post_id: /2012/05/19/test2
---