big commit
[mirrors/Kyberia-bloodline.git] / inc / eventz / get_templates.inc
CommitLineData
b42b2bf9
H
1<?
2function get_templates() {
3$sql = "select * from `nodes` where `external_link` LIKE 'template://%'";
4$q = mysql_query($sql);
5if(mysql_num_rows($q)) {
6$count = mysql_num_rows($q);
7
8while($res = mysql_fetch_object($q)) {
9$content = mysql_fetch_object(mysql_query("select * from `node_content` where `node_id` = '{$res->node_id}'"));
10print $res->node_id;
11print ">>>";
12print $content->node_content;
13print "<br>";
14
15
16
17
18}
19}
20
21}
22
23?>
This page took 0.142159 seconds and 4 git commands to generate.