XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
popup.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
23
include
dirname(dirname(__DIR__)) .
DIRECTORY_SEPARATOR
.
'mainfile.php'
;
24
25
$xoops
=
Xoops::getInstance
();
26
$xoops
->disableErrorReporting();
27
28
$xoops
->simpleHeader(
false
);
29
30
$criteria
=
new
Criteria
(
'avatar_type'
,
'S'
);
31
$tpl
=
new
XoopsTpl
();
32
$tpl
->assign(
'avatars'
,
Avatars::getInstance
()->getHandlerAvatar()->getObjects(
$criteria
,
false
,
false
));
33
$tpl
->assign(
'closebutton'
, 1);
34
$tpl
->display(
'module:avatars/avatars_popup.tpl'
);
35
36
$xoops
->simpleFooter();
$xoops
$xoops
Definition:
popup.php:25
XoopsTpl
Definition:
template.php:32
Xoops\getInstance
static getInstance()
Definition:
Xoops.php:160
$tpl
$tpl
Definition:
popup.php:31
$criteria
$criteria
Definition:
popup.php:30
DIRECTORY_SEPARATOR
defined('DS') or define('DS' DIRECTORY_SEPARATOR
Definition:
common.php:41
Avatars\getInstance
static getInstance()
Definition:
helper.php:34
include
Criteria
Definition:
criteria.php:29
usr64
htdocs
modules
avatars
popup.php
Generated on Fri May 22 2015 03:07:03 for XOOPS by
1.8.9.1