Esempio n. 1
0
 function get_profile_link()
 {
     $message = $this->auth_session_get();
     if (!empty($message['api']) && $this->auth_name !== $message['api']) {
         return false;
     }
     if (empty($message['nick'])) {
         return '';
     }
     return '<a class="ext" href="' . auth_typekey::typekey_profile_url($message['name']) . '" rel="nofollow">' . $message['nick'] . '<img src="' . IMAGE_URI . 'plus/ext.png" alt="" title="" class="ext" onclick="return open_uri(\'' . auth_typekey::typekey_profile_url($message['name']) . '\',\'_blank\');" /></a>';
 }
 function typekey_session_get()
 {
     global $script;
     $val = auth::des_session_get(md5('typekey_message_' . $script . session_id()));
     if (empty($val)) {
         return array();
     }
     return auth_typekey::parse_message($val);
 }