path fixing (SYSTEM_ROOT.'inc/a' -> INCLUDE_DIR.'a')
[mirrors/Kyberia-bloodline.git] / wwwroot / ajax / get_moods.php
CommitLineData
51ff3226 1<?php
2error_reporting(1);
3session_start();
4require('../config/config.inc');
e909f81b 5require(INCLUDE_DIR.'database.inc');
51ff3226 6$db=new CLASS_DATABASE();
7$user_id = $_GET['user_id'];
8
9$set=$db->query(sprintf('select moods from users where user_id = %d limit 1',$user_id));
10$set->next();
11$moods = $set->getString('moods');
12echo "session_user_id:: ".$_SESSION['user_id']."<br>";
13printf('moods:: %s session:: %d , %s , %s',$moods,$_SESSION['mood'],$_SESSION['mood_name'],$_SESSION['mood_text']);
e909f81b 14?>
This page took 0.38476 seconds and 4 git commands to generate.