2005/1/10 16:38
robotgod2000
Just popping in
Posts: 21
Since: 2004/11/18
global $xoopsUser; function Encrypt($string, $key="xxxxxx") { $result = ''; for($i=1; $i<=strlen($string); $i++) { $char = substr($string, $i-1, 1); $keychar = substr($key, ($i % strlen($key))-1, 1); $char = chr(ord($char)+ord($keychar)); $result.=$char; } return $result; } echo ".Encrypt($xoopsUser->getVar('uname'))."&password=".Encrypt($xoopsUser->getVar('pass'))."&ref=".Encrypt($_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'])."'>My Timesheet";
echo "
2005/1/10 16:52
rowdie
Just can't stay away
Posts: 846
Since: 2004/7/21
2005/1/10 17:21
studioC
Friend of XOOPS
Posts: 922
Since: 2003/12/7
echo ""
2005/1/10 17:23
a#phpusermenu a { background: #F6F8FA; font-weight: normal; padding: 0px 0px 0px 30px; border-right: 1px solid #D9E3EB; border-bottom: 1px solid #D9E3EB; border-left: 1px solid #D9E3EB; border-top: 1px solid #D9E3EB; width: 120px; color: #666666; } a#phpusermenu a:hover { background-color: #FFFFFF; text-decoration: none; border: 1px solid #8CA9C1; color: #799BB7; } a#phpusermenu a.highlight {padding-left: 30px;background-color: #fcc; border-right: 1px solid #666666; border-bottom: 1px solid #ADACAD; border-left: 1px solid silver;text-decoration: none;}
echo ".Encrypt($xoopsUser->getVar('uname'))."&password=".Encrypt($xoopsUser->getVar('pass'))."&ref=".Encrypt($_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'])."'> My Timesheet";
2005/1/10 17:38
2005/1/10 17:39
2005/1/10 17:49
rowdie wrote:try making your class without an id.phpusermenu a {}then use id's are unique, they should only be used once in a page. It's easier to just make it a class.Hope this helps,Rowd
Advanced Search
202 user(s) are online (179 user(s) are browsing Support Forums)
Members: 0
Guests: 202