33 trigger_error(
'Function autogallery() is deprecated', E_USER_DEPRECATED);
36 "/.*<!-- autogallery -->(.*)<!-- \/autogallery -->.*/is",
39 "/(option value=\"\?)(p=)/is",
43 '${1}' . $su .
'&',
44 preg_replace(
"/(src=\")(\.)/is",
'${1}' .
$u .
'$2',
geturlwp(
$u))
62 trigger_error(
'Function rp() is deprecated', E_USER_DEPRECATED);
64 if (realpath($p) ==
'') {
84 trigger_error(
'Function amp() is deprecated', E_USER_DEPRECATED);
86 if ($cf[
'xhtml'][
'amp'] ==
'true') {
102 trigger_error(
'Function ' . __FUNCTION__ .
'() is deprecated', E_USER_DEPRECATED);
103 if (function_exists(
'gblink')) {
125 trigger_error(
'Function ' . __FUNCTION__ .
'() is deprecated', E_USER_DEPRECATED);
127 if (is_dir($pth[
'folder'][
'downloads'])) {
128 if ($fd = opendir($pth[
'folder'][
'downloads'])) {
129 while (($p = readdir($fd)) ==
true) {
130 if (preg_match(
"/.+\..+$/", $p)) {
131 if ($fl == $sn .
'?download=' . $p) {
153 trigger_error(
'Function ' . __FUNCTION__ .
'() is deprecated', E_USER_DEPRECATED);
154 if (!file_exists($fl)) {
158 return file_get_contents($fl);
180 trigger_error(
'Function '. __FUNCTION__ .
'() is deprecated', E_USER_DEPRECATED);
182 $t = isset($pth[
'file'][$fl]) ? $pth[
'file'][$fl] :
'';
184 e(
'undefined',
'file', $fl);
185 } elseif (!file_exists($t)) {
186 e(
'missing', $fl, $t);
187 } elseif (!is_readable($t)) {
188 e(
'notreadable', $fl, $t);
189 } elseif (!is_writable($t) && $writable) {
190 e(
'notwritable', $fl, $t);
230 trigger_error(
'Function preCallPlugins() is deprecated', E_USER_DEPRECATED);
233 if ((
int) $pageIndex > - 1 && (
int) $pageIndex < count($u)) {
236 $as = $s < 0 ? 0 :
$s;
259 trigger_error(
'Function ' . __FUNCTION__ .
'() is deprecated', E_USER_DEPRECATED);
260 if ($fh = fopen($pth[
'file'][
'log'],
"a")) {
264 e(
'cntwriteto',
'log', $pth[
'file'][
'log']);
preCallPlugins($pageIndex=-1)
evaluate_plugincall($text)