- Joined
- Mar 24, 2010
- Messages
- 1,397
- Reaction score
- 542
Wow, thanks for sharing this with us :O
9.9/10 -0.1 for the design ;p its not my style but that doesnt matter.
People will definatly use this.
you're welcome for designing it
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Wow, thanks for sharing this with us :O
9.9/10 -0.1 for the design ;p its not my style but that doesnt matter.
People will definatly use this.
SELECT TOP(20)* FROM Account WHERE LastLoginTime > LastLogoutTime
SELECT TOP(20)* FROM Login ORDER BY LastConnDate DESC
SELECT TOP(20) a.AID, a.UserID, a.UGradeID, l.LastConnDate, a.Email FROM Account a INNER JOIN Login l ON a.AID = l.AID ORDER BY l.LastConnDate DESC
// Configuration
$config_UGID = array(0 => "Normal Member",
255 => "Administrator");
// Listing at convertgrade()
public function convertgrade($grade)
{
$parsed = "";
$found = 0;
foreach ($config_UGID as $uid => $value)
{
if ($grade == $uid)
{
$found = 1;
$parsed .= '<option value="' . $uid . '" SELECTED>' . $value . '(' . $uid . ')</option>';
}
else
$parsed .= '<option value="' . $uid . '">' . $value . '(' . $uid . ')</option>';
}
if ($found == 0)
$parsed .= '<option value="' . $uid . '" SELECTED>Unknown (' . $grade . ')</option>';
return $parsed;
}
Another admin panel?. . .
public function convertgender2($gender)
{
if($gender == 1)
{
return '<option value="1" SELECTED>Female</option><option value="0">Male</option>';
}
elseif($gender == 0)
{
return '<option value="1">Female</option><option value="0" SELECTED>Male</option>';
}
else
{
return '<option value="' . $gender . '">UNKNOWN ("' . $gender . '")</option><option value="0">Female</option><option value="1">Male</option>';
}
}
- Yea $_SERVER['REMOTE_ADDR'] sometimes doesn't give the correct IP, since that's the only way I know to get an IP in PHP, I will remove the IP check function.
- Logout function works normally to me. Can't reproduce the problem. (It redirects you to index.php after logging out.)
- Can't reproduce the problem with the search function either. I will remove the "Search" button since it's not needed and doesn't work anyways.
How to execute the notepad file SQL in MSSQL?
;S