\hypertarget{global_8func_8php}{\section{include/global.func.\+php File Reference}
\label{global_8func_8php}\index{include/global.\+func.\+php@{include/global.\+func.\+php}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{login__old_8php_a4ac1118c2e44c513a674bc1793ba6c90}{if}(!defined('\hyperlink{templates_2install_8php_a12c82f3d28569a3f80804f1e72cef14c}{I\+N\+\_\+\+G\+A\+M\+E}')) \hyperlink{global_8func_8php_a2ab748fd10986d09f87f0651489e0fc2}{gameerrorhandler} (\$code, \$msg, \$file, \$line)
\item 
\hyperlink{global_8func_8php_a9fc250394d1444dba4b97ea3a894fcb9}{gexit} (\$message= '', \$file= '', \$line=0)
\item 
\hyperlink{global_8func_8php_aacaca1dd81eba78d1d4363ca06608961}{output} (\$\hyperlink{global_8func_8php_a6e7e9a077ba830463e605a5a0996fbba}{content}= '')
\item 
\hyperlink{global_8func_8php_a2b7ece9137321f3300ce816cab600087}{gstrfilter} (\$str)
\item 
\hyperlink{global_8func_8php_a5f37600fd0e8f994e7fd61fe32e7e18a}{language} (\$file, \$templateid=0, \$tpldir= '')
\item 
\hyperlink{global_8func_8php_a771b4d6b781f2a19234e18314036fe79}{template} (\$file, \$templateid=0, \$tpldir= '')
\item 
\hyperlink{global_8func_8php_a6e7e9a077ba830463e605a5a0996fbba}{content} (\$file= '')
\item 
\hyperlink{global_8func_8php_a0bde0848a6d613af6ac9f33d0ae72901}{gsetcookie} (\$var, \$\hyperlink{1__chat_8tpl_8php_afcc7a4b78ecd8fa7e713f8cfa0f51017}{value}, \$life=0, \$prefix=1)
\item 
\hyperlink{global_8func_8php_a148927cefc24862a29db09b70762a72b}{clearcookies} ()
\item 
\hyperlink{global_8func_8php_a239de3ed26da8daceb8acacdcb03325d}{config} (\$file= '', \$cfg=1)
\item 
\hyperlink{global_8func_8php_afe48521b311213a1f840bbecaa10324f}{dir\+\_\+clear} (\$dir)
\item 
\hyperlink{global_8func_8php_a763dbb0f5a4c9cb67913ec12c030a687}{readover} (\$filename, \$method=\char`\"{}rb\char`\"{})
\item 
\hyperlink{global_8func_8php_a51d8d22cf6b988aee7c1b5990e3aceec}{writeover} (\$filename, \$data, \$method=\char`\"{}rb+\char`\"{}, \$iflock=1, \$check=1, \$chmod=1)
\item 
\hyperlink{global_8func_8php_a51bd75b4d539e6192c4b80397d838dc1}{openfile} (\$filename)
\item 
\hyperlink{global_8func_8php_a90ee856f9044b751e8c137763608fba4}{compatible\+\_\+json\+\_\+encode} (\$data)
\item 
\hyperlink{global_8func_8php_a678f20e1ae107e62750fdb9703a1b40c}{addnews} (\$t=0, \$n= '', \$a='', \$b='', \$c= '', \$d= '', \$e= '')
\item 
\hyperlink{global_8func_8php_ac2747d2c70fa10993b0671aff0cbbdcd}{logsave} (\$pid, \$time, \$log= '', \$type= 's')
\item 
\hyperlink{global_8func_8php_ae47f97c6a89cfc5957c91333d90985cb}{load\+\_\+gameinfo} ()
\item 
\hyperlink{global_8func_8php_a38b25353b37586c80d9496eee6c2c115}{save\+\_\+gameinfo} ()
\item 
\hyperlink{global_8func_8php_a745c37bf961d5919362a56b43e3df588}{save\+\_\+combatinfo} ()
\item 
\hyperlink{global_8func_8php_ae94634fa76d1fade04d484f05496a1ed}{getchat} (\$last, \$team='', \$limit=0)
\item 
\hyperlink{global_8func_8php_adbeb269377de88186e06b796b2bddfa4}{storyputchat} (\$time, \$type)
\item 
\hyperlink{global_8func_8php_a8d3d872f035acdcc78528260c94321a9}{systemputchat} (\$time, \$type, \$msg= '')
\item 
\hyperlink{global_8func_8php_acdd881f58961544f44bfe96ad57f1299}{getmicrotime} ()
\item 
\hyperlink{global_8func_8php_ad14a146077c659927e075400d7002315}{putmicrotime} (\$t\+\_\+s, \$t\+\_\+e, \$file, \$info)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{global_8func_8php_a678f20e1ae107e62750fdb9703a1b40c}{\index{global.\+func.\+php@{global.\+func.\+php}!addnews@{addnews}}
\index{addnews@{addnews}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{addnews}]{\setlength{\rightskip}{0pt plus 5cm}addnews (
\begin{DoxyParamCaption}
\item[{}]{\$t = {\ttfamily 0}, }
\item[{}]{\$n = {\ttfamily ''}, }
\item[{}]{\$a = {\ttfamily ''}, }
\item[{}]{\$b = {\ttfamily ''}, }
\item[{}]{\$c = {\ttfamily ''}, }
\item[{}]{\$d = {\ttfamily ''}, }
\item[{}]{\$e = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a678f20e1ae107e62750fdb9703a1b40c}


Definition at line 228 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a148927cefc24862a29db09b70762a72b}{\index{global.\+func.\+php@{global.\+func.\+php}!clearcookies@{clearcookies}}
\index{clearcookies@{clearcookies}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{clearcookies}]{\setlength{\rightskip}{0pt plus 5cm}clearcookies (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a148927cefc24862a29db09b70762a72b}


Definition at line 114 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a90ee856f9044b751e8c137763608fba4}{\index{global.\+func.\+php@{global.\+func.\+php}!compatible\+\_\+json\+\_\+encode@{compatible\+\_\+json\+\_\+encode}}
\index{compatible\+\_\+json\+\_\+encode@{compatible\+\_\+json\+\_\+encode}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{compatible\+\_\+json\+\_\+encode}]{\setlength{\rightskip}{0pt plus 5cm}compatible\+\_\+json\+\_\+encode (
\begin{DoxyParamCaption}
\item[{}]{\$data}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a90ee856f9044b751e8c137763608fba4}


Definition at line 185 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a239de3ed26da8daceb8acacdcb03325d}{\index{global.\+func.\+php@{global.\+func.\+php}!config@{config}}
\index{config@{config}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{config}]{\setlength{\rightskip}{0pt plus 5cm}config (
\begin{DoxyParamCaption}
\item[{}]{\$file = {\ttfamily ''}, }
\item[{}]{\$cfg = {\ttfamily 1}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a239de3ed26da8daceb8acacdcb03325d}


Definition at line 122 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a6e7e9a077ba830463e605a5a0996fbba}{\index{global.\+func.\+php@{global.\+func.\+php}!content@{content}}
\index{content@{content}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{content}]{\setlength{\rightskip}{0pt plus 5cm}content (
\begin{DoxyParamCaption}
\item[{}]{\$file = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a6e7e9a077ba830463e605a5a0996fbba}


Definition at line 98 of file global.\+func.\+php.

\hypertarget{global_8func_8php_afe48521b311213a1f840bbecaa10324f}{\index{global.\+func.\+php@{global.\+func.\+php}!dir\+\_\+clear@{dir\+\_\+clear}}
\index{dir\+\_\+clear@{dir\+\_\+clear}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{dir\+\_\+clear}]{\setlength{\rightskip}{0pt plus 5cm}dir\+\_\+clear (
\begin{DoxyParamCaption}
\item[{}]{\$dir}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_afe48521b311213a1f840bbecaa10324f}


Definition at line 127 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a2ab748fd10986d09f87f0651489e0fc2}{\index{global.\+func.\+php@{global.\+func.\+php}!gameerrorhandler@{gameerrorhandler}}
\index{gameerrorhandler@{gameerrorhandler}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{gameerrorhandler}]{\setlength{\rightskip}{0pt plus 5cm}{\bf if} (!defined('{\bf I\+N\+\_\+\+G\+A\+M\+E}')) gameerrorhandler (
\begin{DoxyParamCaption}
\item[{}]{\$code, }
\item[{}]{\$msg, }
\item[{}]{\$file, }
\item[{}]{\$line}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a2ab748fd10986d09f87f0651489e0fc2}


Definition at line 11 of file global.\+func.\+php.

\hypertarget{global_8func_8php_ae94634fa76d1fade04d484f05496a1ed}{\index{global.\+func.\+php@{global.\+func.\+php}!getchat@{getchat}}
\index{getchat@{getchat}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{getchat}]{\setlength{\rightskip}{0pt plus 5cm}getchat (
\begin{DoxyParamCaption}
\item[{}]{\$last, }
\item[{}]{\$team = {\ttfamily ''}, }
\item[{}]{\$limit = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_ae94634fa76d1fade04d484f05496a1ed}


Definition at line 375 of file global.\+func.\+php.

\hypertarget{global_8func_8php_acdd881f58961544f44bfe96ad57f1299}{\index{global.\+func.\+php@{global.\+func.\+php}!getmicrotime@{getmicrotime}}
\index{getmicrotime@{getmicrotime}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{getmicrotime}]{\setlength{\rightskip}{0pt plus 5cm}getmicrotime (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_acdd881f58961544f44bfe96ad57f1299}


Definition at line 484 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a9fc250394d1444dba4b97ea3a894fcb9}{\index{global.\+func.\+php@{global.\+func.\+php}!gexit@{gexit}}
\index{gexit@{gexit}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{gexit}]{\setlength{\rightskip}{0pt plus 5cm}gexit (
\begin{DoxyParamCaption}
\item[{}]{\$message = {\ttfamily ''}, }
\item[{}]{\$file = {\ttfamily ''}, }
\item[{}]{\$line = {\ttfamily 0}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a9fc250394d1444dba4b97ea3a894fcb9}


Definition at line 30 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a0bde0848a6d613af6ac9f33d0ae72901}{\index{global.\+func.\+php@{global.\+func.\+php}!gsetcookie@{gsetcookie}}
\index{gsetcookie@{gsetcookie}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{gsetcookie}]{\setlength{\rightskip}{0pt plus 5cm}gsetcookie (
\begin{DoxyParamCaption}
\item[{}]{\$var, }
\item[{}]{\$value, }
\item[{}]{\$life = {\ttfamily 0}, }
\item[{}]{\$prefix = {\ttfamily 1}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a0bde0848a6d613af6ac9f33d0ae72901}


Definition at line 107 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a2b7ece9137321f3300ce816cab600087}{\index{global.\+func.\+php@{global.\+func.\+php}!gstrfilter@{gstrfilter}}
\index{gstrfilter@{gstrfilter}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{gstrfilter}]{\setlength{\rightskip}{0pt plus 5cm}gstrfilter (
\begin{DoxyParamCaption}
\item[{}]{\$str}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a2b7ece9137321f3300ce816cab600087}


Definition at line 48 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a5f37600fd0e8f994e7fd61fe32e7e18a}{\index{global.\+func.\+php@{global.\+func.\+php}!language@{language}}
\index{language@{language}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{language}]{\setlength{\rightskip}{0pt plus 5cm}language (
\begin{DoxyParamCaption}
\item[{}]{\$file, }
\item[{}]{\$templateid = {\ttfamily 0}, }
\item[{}]{\$tpldir = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a5f37600fd0e8f994e7fd61fe32e7e18a}


Definition at line 64 of file global.\+func.\+php.

\hypertarget{global_8func_8php_ae47f97c6a89cfc5957c91333d90985cb}{\index{global.\+func.\+php@{global.\+func.\+php}!load\+\_\+gameinfo@{load\+\_\+gameinfo}}
\index{load\+\_\+gameinfo@{load\+\_\+gameinfo}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{load\+\_\+gameinfo}]{\setlength{\rightskip}{0pt plus 5cm}load\+\_\+gameinfo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_ae47f97c6a89cfc5957c91333d90985cb}


Definition at line 276 of file global.\+func.\+php.

\hypertarget{global_8func_8php_ac2747d2c70fa10993b0671aff0cbbdcd}{\index{global.\+func.\+php@{global.\+func.\+php}!logsave@{logsave}}
\index{logsave@{logsave}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{logsave}]{\setlength{\rightskip}{0pt plus 5cm}logsave (
\begin{DoxyParamCaption}
\item[{}]{\$pid, }
\item[{}]{\$time, }
\item[{}]{\$log = {\ttfamily ''}, }
\item[{}]{\$type = {\ttfamily 's'}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_ac2747d2c70fa10993b0671aff0cbbdcd}


Definition at line 259 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a51bd75b4d539e6192c4b80397d838dc1}{\index{global.\+func.\+php@{global.\+func.\+php}!openfile@{openfile}}
\index{openfile@{openfile}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{openfile}]{\setlength{\rightskip}{0pt plus 5cm}openfile (
\begin{DoxyParamCaption}
\item[{}]{\$filename}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a51bd75b4d539e6192c4b80397d838dc1}


Definition at line 175 of file global.\+func.\+php.

\hypertarget{global_8func_8php_aacaca1dd81eba78d1d4363ca06608961}{\index{global.\+func.\+php@{global.\+func.\+php}!output@{output}}
\index{output@{output}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{output}]{\setlength{\rightskip}{0pt plus 5cm}output (
\begin{DoxyParamCaption}
\item[{}]{\$content = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_aacaca1dd81eba78d1d4363ca06608961}


Definition at line 36 of file global.\+func.\+php.

\hypertarget{global_8func_8php_ad14a146077c659927e075400d7002315}{\index{global.\+func.\+php@{global.\+func.\+php}!putmicrotime@{putmicrotime}}
\index{putmicrotime@{putmicrotime}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{putmicrotime}]{\setlength{\rightskip}{0pt plus 5cm}putmicrotime (
\begin{DoxyParamCaption}
\item[{}]{\$t\+\_\+s, }
\item[{}]{\$t\+\_\+e, }
\item[{}]{\$file, }
\item[{}]{\$info}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_ad14a146077c659927e075400d7002315}


Definition at line 489 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a763dbb0f5a4c9cb67913ec12c030a687}{\index{global.\+func.\+php@{global.\+func.\+php}!readover@{readover}}
\index{readover@{readover}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{readover}]{\setlength{\rightskip}{0pt plus 5cm}readover (
\begin{DoxyParamCaption}
\item[{}]{\$filename, }
\item[{}]{\$method = {\ttfamily \char`\"{}rb\char`\"{}}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a763dbb0f5a4c9cb67913ec12c030a687}


Definition at line 139 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a745c37bf961d5919362a56b43e3df588}{\index{global.\+func.\+php@{global.\+func.\+php}!save\+\_\+combatinfo@{save\+\_\+combatinfo}}
\index{save\+\_\+combatinfo@{save\+\_\+combatinfo}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{save\+\_\+combatinfo}]{\setlength{\rightskip}{0pt plus 5cm}save\+\_\+combatinfo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a745c37bf961d5919362a56b43e3df588}


Definition at line 352 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a38b25353b37586c80d9496eee6c2c115}{\index{global.\+func.\+php@{global.\+func.\+php}!save\+\_\+gameinfo@{save\+\_\+gameinfo}}
\index{save\+\_\+gameinfo@{save\+\_\+gameinfo}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{save\+\_\+gameinfo}]{\setlength{\rightskip}{0pt plus 5cm}save\+\_\+gameinfo (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a38b25353b37586c80d9496eee6c2c115}


Definition at line 304 of file global.\+func.\+php.

\hypertarget{global_8func_8php_adbeb269377de88186e06b796b2bddfa4}{\index{global.\+func.\+php@{global.\+func.\+php}!storyputchat@{storyputchat}}
\index{storyputchat@{storyputchat}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{storyputchat}]{\setlength{\rightskip}{0pt plus 5cm}storyputchat (
\begin{DoxyParamCaption}
\item[{}]{\$time, }
\item[{}]{\$type}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_adbeb269377de88186e06b796b2bddfa4}


Definition at line 408 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a8d3d872f035acdcc78528260c94321a9}{\index{global.\+func.\+php@{global.\+func.\+php}!systemputchat@{systemputchat}}
\index{systemputchat@{systemputchat}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{systemputchat}]{\setlength{\rightskip}{0pt plus 5cm}systemputchat (
\begin{DoxyParamCaption}
\item[{}]{\$time, }
\item[{}]{\$type, }
\item[{}]{\$msg = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a8d3d872f035acdcc78528260c94321a9}


Definition at line 454 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a771b4d6b781f2a19234e18314036fe79}{\index{global.\+func.\+php@{global.\+func.\+php}!template@{template}}
\index{template@{template}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{template}]{\setlength{\rightskip}{0pt plus 5cm}template (
\begin{DoxyParamCaption}
\item[{}]{\$file, }
\item[{}]{\$templateid = {\ttfamily 0}, }
\item[{}]{\$tpldir = {\ttfamily ''}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a771b4d6b781f2a19234e18314036fe79}


Definition at line 78 of file global.\+func.\+php.

\hypertarget{global_8func_8php_a51d8d22cf6b988aee7c1b5990e3aceec}{\index{global.\+func.\+php@{global.\+func.\+php}!writeover@{writeover}}
\index{writeover@{writeover}!global.\+func.\+php@{global.\+func.\+php}}
\subsubsection[{writeover}]{\setlength{\rightskip}{0pt plus 5cm}writeover (
\begin{DoxyParamCaption}
\item[{}]{\$filename, }
\item[{}]{\$data, }
\item[{}]{\$method = {\ttfamily \char`\"{}rb+\char`\"{}}, }
\item[{}]{\$iflock = {\ttfamily 1}, }
\item[{}]{\$check = {\ttfamily 1}, }
\item[{}]{\$chmod = {\ttfamily 1}}
\end{DoxyParamCaption}
)}}\label{global_8func_8php_a51d8d22cf6b988aee7c1b5990e3aceec}


Definition at line 155 of file global.\+func.\+php.

