3 require('../config/config.inc');
4 //connecting to database and creating universal $db object
5 require(SYSTEM_ROOT
.'/inc/log.inc');
6 require(SYSTEM_ROOT
.'/inc/database.inc');
7 require(SYSTEM_ROOT
.'/inc/nodes.inc');
8 $db=new CLASS_DATABASE();
10 $q="select user_id,login from users";
13 while ($set->next()) {
14 $user_id=$set->getString('user_id');
15 $user_name=$set->getString('login');
16 $us=$db->query("select node_id from nodes where node_id='$user_id'");
18 if (!$us->getNumRows()) {
20 $q="insert into nodes set node_id='$user_id',node_creator='$user_id',node_system_access='public',
21 node_external_access='yes',template_id='7',node_name='$user_name',external_link='session://user',node_vector='$vector'";
This page took 0.645951 seconds and 4 git commands to generate.