genel sıralama

<?php $user =& JFactory::getUser(); if ($user->id==0) {     // non-registered members     print "Please register or login."; } else {     // registered members     print "Contents for registered members."; } ?>