X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=cron%2Ftemplates.php;h=47e10eed018ecb660c3804094687b85eb4c8cb62;hb=eafc7a11293f29f821ec4e6f5799900af4ea1742;hp=d7fa82e982e9a3ab58510e9c5d3803bf18b548ce;hpb=b42b2bf946332ad8544d53f610be9cb05e80bf56;p=mirrors%2FKyberia-bloodline.git diff --git a/cron/templates.php b/cron/templates.php index d7fa82e..47e10ee 100755 --- a/cron/templates.php +++ b/cron/templates.php @@ -1,13 +1,25 @@ #!/usr/local/bin/php query("select nodes.*,node_content.*,nodes.node_id as node_id from nodes left join node_content on nodes.node_id=node_content.node_id where node_type='14'"); +$set=$db->query("select nodes.*,node_content.*,nodes.node_id as node_id from nodes + left join node_content on nodes.node_id=node_content.node_id + where node_type='14'"); while ($set->next()) { $node_content=$set->getString('node_content'); @@ -18,8 +30,4 @@ while ($set->next()) { chown(OWN_TEMPLATE_DIR.$template_id.".tpl","www"); } - - - - -?> \ No newline at end of file +?>