registration temporary fixup
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / get_templates.inc
index 1279691188301764162518c31c5d634655471139..75bd82532a1012b9a2d5e6b5d40b0ff21616394c 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 function get_templates() {
 $sql = "select * from `nodes` where `external_link` LIKE 'template://%'";
 $q = mysql_query($sql);
@@ -6,18 +6,13 @@ if(mysql_num_rows($q)) {
 $count = mysql_num_rows($q);
 
 while($res = mysql_fetch_object($q)) {
-$content = mysql_fetch_object(mysql_query("select * from `node_content` where `node_id` = '{$res->node_id}'"));
-print $res->node_id;
-print ">>>";
-print $content->node_content;
-print "<br>";
-
-
-
-
+       $content = mysql_fetch_object(mysql_query("select * from `node_content` where `node_id` = '{$res->node_id}'"));
+       print $res->node_id;
+       print ">>>";
+       print $content->node_content;
+       print "<br>";
 }
 }
-
 }
 
-?>
\ No newline at end of file
+?>
This page took 0.100217 seconds and 4 git commands to generate.