salt.$_POST['wachtwoord']); $yy=hash("sha1",$rij2->salt.$_POST['wachtwoord']); $zz=hash("sha512",$_POST['wachtwoord']); $records3 = mysql_query("SELECT * FROM exp_members WHERE (password='".($xx)."' OR password='".($yy)."' OR password='".($zz)."' ) AND username='".$_POST['naam']."'") or die (mysql_error()); while ($rij3 = mysql_fetch_object($records3)) { if($rij3->username!=""){ $_SESSION['login']=$rij3->member_id; setcookie("login", $rij3->member_id, time()+360000); /* expire in 1 hour */ $setlocal=$rij3->member_id; } } } if(!isset($_SESSION['login'])){ $err="Wrong email/password combination"; } } header('Access-Control-Allow-Origin: *'); ?> 0){ ?>
E-mail Address
Tilumi Name
Password
Login Register Reset password
avatar; if($rij2->avatar==0){ $actData="000000000000000000000111000000111000001111100001111100011111110011111110111111111111111111111111111111111111111111111111111111111111111111111111011111111111111110001111111111111100000111111111111000000011111111110000000001111111100000000000111111000000000000011110000000000000001100000000"; } $width = 183; $height = 163; $im = ImageCreateTrueColor($width, $height); //imageantialias($im, true); $white = imagecolorallocate($im,238, 238, 238); imagefilltoborder($im, 0, 0, $white, $white); $blue = imagecolorallocate($im, 255, 255, 255); $black = imagecolorallocate($im, 33, 33, 33); $coo=preg_split('//', $actData, -1, PREG_SPLIT_NO_EMPTY); $k=0; for($i=0;$i<18;$i++){ for($j=0;$j<18;$j++){ ImageFilledEllipse($im, $j*10+7, $i*10+7, 7, 7,($coo[$k]=="1"?$black:$blue)); $k++; } } imagefilter($im, IMG_FILTER_SMOOTH,10); ImagePNG($im, "lumis/verzlumi".$_SESSION['login'].".png"); ImageDestroy($im); } $records2 = mysql_query("SELECT * FROM exp_dashboard_tilumi WHERE tilumi_member_id='".$_SESSION['login']."'") or die (mysql_error()); while ($rij2 = mysql_fetch_object($records2)) { $ttid=$rij2->tilumi_ttid; } echo "
".$ttid."   "; ?>
Logout
tiLumi

HOME

LUMI

DRAW

TEXT

APPS

SHOP