\hypertarget{user__profile_8php}{\section{user\+\_\+profile.\+php File Reference}
\label{user__profile_8php}\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const \hyperlink{user__profile_8php_a39c39f525eceb86cabc338804f230e80}{C\+U\+R\+S\+C\+R\+I\+P\+T} 'user\+\_\+profile'
\item 
\hyperlink{user__profile_8php_a0e4b7f3b6c609258c08660a1ec52b89b}{\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T} = \hyperlink{global_8func_8php_a2b7ece9137321f3300ce816cab600087}{gstrfilter}(\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T)
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T\mbox{[}\char`\"{}player\+I\+D\char`\"{}\mbox{]}==\char`\"{}\char`\"{}) \hyperlink{user__profile_8php_ab95e1976f519b0bd6d0c0804bec3e258}{else}
\item 
\hyperlink{user__profile_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\$result} = \$db-\/$>$query(\char`\"{}S\+E\+L\+E\+C\+T $\ast$ F\+R\+O\+M \{\$tablepre\}users W\+H\+E\+R\+E username='\$uname'\char`\"{})
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!\$db-\/$>$num\+\_\+rows(\$\hyperlink{templates_2install_8php_abdecde238169a1e34f68354fc9968af0}{result})) \hyperlink{user__profile_8php_aa64a6e7c321a5fc5c5089fc201f285cb}{\$udata} = \$db-\/$>$fetch\+\_\+array(\$\hyperlink{templates_2install_8php_abdecde238169a1e34f68354fc9968af0}{result})
\item 
\hyperlink{user__profile_8php_aeb4d2776248b452f64c63063379d2035}{\$curuser} =\hyperlink{1__chat_8tpl_8php_a5df37b7f02e5cdc7d9412b7f872b8e01}{false}
\item 
\hyperlink{user__profile_8php_ae8f70f9240aceaf398e05d6e00e7b8e5}{\$iconarray} = \hyperlink{user_8func_8php_a7a9045f8927edbb8c9fd22b5f9effd7c}{get\+\_\+iconlist}(\$icon)
\item 
\hyperlink{user__profile_8php_a18d851a26297fb49eda4d94e0605ba05}{\$select\+\_\+icon} = \$icon
\item 
\hyperlink{user__profile_8php_ad82881aa9b7ef451f827d30a6f85b152}{\$winning\+\_\+rate} =\$validgames?round(\$wingames/\$validgames$\ast$100).\char`\"{}\%\char`\"{}\+:'0\%'
\item 
\hyperlink{user__profile_8php_aaa5977bacf2f575a8df6032cbd929865}{\$ach} =\$udata\mbox{[}'achievement'\mbox{]}
\item 
\hyperlink{user__profile_8php_aa5fae90470d460a65d5211ec08e6b05c}{\$n} =\$udata\mbox{[}'username'\mbox{]}
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!\hyperlink{achievement_8func_8php_ac7f448e61b96ff060ce1bddaf1826f77}{valid\+\_\+achievement}(\$ach)) global \hyperlink{user__profile_8php_af4ae00ffed2be30bd49a2271157ea9e4}{\$gamecfg}
\item 
\hyperlink{user__profile_8php_a5667e0f8c1d2529626a307f876afc97b}{for} (\$i=0;\$i$<$\$achievement\+\_\+count;\$i++)
\end{DoxyCompactItemize}


\subsection{Variable Documentation}
\hypertarget{user__profile_8php_a0e4b7f3b6c609258c08660a1ec52b89b}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T@{\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T}}
\index{\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T@{\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T}]{\setlength{\rightskip}{0pt plus 5cm}\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T = {\bf gstrfilter}(\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T)}}\label{user__profile_8php_a0e4b7f3b6c609258c08660a1ec52b89b}


Definition at line 8 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_aaa5977bacf2f575a8df6032cbd929865}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$ach@{\$ach}}
\index{\$ach@{\$ach}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$ach}]{\setlength{\rightskip}{0pt plus 5cm}\$ach =\$udata\mbox{[}'achievement'\mbox{]}}}\label{user__profile_8php_aaa5977bacf2f575a8df6032cbd929865}


Definition at line 38 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_aeb4d2776248b452f64c63063379d2035}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$curuser@{\$curuser}}
\index{\$curuser@{\$curuser}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$curuser}]{\setlength{\rightskip}{0pt plus 5cm}\$curuser ={\bf false}}}\label{user__profile_8php_aeb4d2776248b452f64c63063379d2035}


Definition at line 29 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_af4ae00ffed2be30bd49a2271157ea9e4}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$gamecfg@{\$gamecfg}}
\index{\$gamecfg@{\$gamecfg}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$gamecfg}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if} (!{\bf valid\+\_\+achievement}(\$ach)) global \$gamecfg}}\label{user__profile_8php_af4ae00ffed2be30bd49a2271157ea9e4}


Definition at line 40 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_ae8f70f9240aceaf398e05d6e00e7b8e5}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$iconarray@{\$iconarray}}
\index{\$iconarray@{\$iconarray}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$iconarray}]{\setlength{\rightskip}{0pt plus 5cm}\$iconarray = {\bf get\+\_\+iconlist}(\$icon)}}\label{user__profile_8php_ae8f70f9240aceaf398e05d6e00e7b8e5}


Definition at line 33 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_aa5fae90470d460a65d5211ec08e6b05c}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$n@{\$n}}
\index{\$n@{\$n}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$n}]{\setlength{\rightskip}{0pt plus 5cm}\$n =\$udata\mbox{[}'username'\mbox{]}}}\label{user__profile_8php_aa5fae90470d460a65d5211ec08e6b05c}


Definition at line 39 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_a112ef069ddc0454086e3d1e6d8d55d07}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$result@{\$result}}
\index{\$result@{\$result}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$result}]{\setlength{\rightskip}{0pt plus 5cm}\${\bf result} = \$db-\/$>$query(\char`\"{}S\+E\+L\+E\+C\+T $\ast$ F\+R\+O\+M \{\$tablepre\}users W\+H\+E\+R\+E username='\$uname'\char`\"{})}}\label{user__profile_8php_a112ef069ddc0454086e3d1e6d8d55d07}


Definition at line 25 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_a18d851a26297fb49eda4d94e0605ba05}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$select\+\_\+icon@{\$select\+\_\+icon}}
\index{\$select\+\_\+icon@{\$select\+\_\+icon}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$select\+\_\+icon}]{\setlength{\rightskip}{0pt plus 5cm}\$select\+\_\+icon = \$icon}}\label{user__profile_8php_a18d851a26297fb49eda4d94e0605ba05}


Definition at line 34 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_aa64a6e7c321a5fc5c5089fc201f285cb}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$udata@{\$udata}}
\index{\$udata@{\$udata}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$udata}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if} (!\$db-\/$>$num\+\_\+rows(\${\bf result})) \$udata = \$db-\/$>$fetch\+\_\+array(\${\bf result})}}\label{user__profile_8php_aa64a6e7c321a5fc5c5089fc201f285cb}


Definition at line 27 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_ad82881aa9b7ef451f827d30a6f85b152}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!\$winning\+\_\+rate@{\$winning\+\_\+rate}}
\index{\$winning\+\_\+rate@{\$winning\+\_\+rate}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{\$winning\+\_\+rate}]{\setlength{\rightskip}{0pt plus 5cm}\$winning\+\_\+rate =\$validgames?round(\$wingames/\$validgames$\ast$100).\char`\"{}\%\char`\"{}\+:'0\%'}}\label{user__profile_8php_ad82881aa9b7ef451f827d30a6f85b152}


Definition at line 35 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_a39c39f525eceb86cabc338804f230e80}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!C\+U\+R\+S\+C\+R\+I\+P\+T@{C\+U\+R\+S\+C\+R\+I\+P\+T}}
\index{C\+U\+R\+S\+C\+R\+I\+P\+T@{C\+U\+R\+S\+C\+R\+I\+P\+T}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{C\+U\+R\+S\+C\+R\+I\+P\+T}]{\setlength{\rightskip}{0pt plus 5cm}const C\+U\+R\+S\+C\+R\+I\+P\+T 'user\+\_\+profile'}}\label{user__profile_8php_a39c39f525eceb86cabc338804f230e80}


Definition at line 3 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_ab95e1976f519b0bd6d0c0804bec3e258}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!else@{else}}
\index{else@{else}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{else}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if} (\$\+\_\+\+R\+E\+Q\+U\+E\+S\+T\mbox{[}\char`\"{}player\+I\+D\char`\"{}\mbox{]}==\char`\"{}\char`\"{}) else}}\label{user__profile_8php_ab95e1976f519b0bd6d0c0804bec3e258}
{\bfseries Initial value\+:}
\begin{DoxyCode}
\{
    $uname=\hyperlink{user__profile_8php_a0e4b7f3b6c609258c08660a1ec52b89b}{$\_REQUEST}[\textcolor{stringliteral}{"playerID"}]
\end{DoxyCode}


Definition at line 23 of file user\+\_\+profile.\+php.

\hypertarget{user__profile_8php_a5667e0f8c1d2529626a307f876afc97b}{\index{user\+\_\+profile.\+php@{user\+\_\+profile.\+php}!for@{for}}
\index{for@{for}!user\+\_\+profile.\+php@{user\+\_\+profile.\+php}}
\subsubsection[{for}]{\setlength{\rightskip}{0pt plus 5cm}for(\$i=0;\$i$<$\$achievement\+\_\+count;\$i++)}}\label{user__profile_8php_a5667e0f8c1d2529626a307f876afc97b}


Definition at line 47 of file user\+\_\+profile.\+php.

