HomeHelpTrac

source: tags/6.1/vote.php @ 10242

Revision 10242, 1.7 KB checked in by Alexander Trofimov, 3 years ago (diff)

dolphin 6.1.5, initial commit

Line 
1<?
2
3/***************************************************************************
4*                            Dolphin Smart Community Builder
5*                              -----------------
6*     begin                : Mon Mar 23 2006
7*     copyright            : (C) 2006 BoonEx Group
8*     website              : http://www.boonex.com/
9* This file is part of Dolphin - Smart Community Builder
10*
11* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
12* http://creativecommons.org/licenses/by/3.0/
13*
14* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16* See the Creative Commons Attribution 3.0 License for more details.
17* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
18* see license.txt file; if not, write to marketing@boonex.com
19***************************************************************************/
20
21require_once( 'inc/header.inc.php' );
22require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
23require_once( BX_DIRECTORY_PATH_INC . 'profiles.inc.php' );
24require_once( BX_DIRECTORY_PATH_INC . 'members.inc.php' );
25require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );
26require_once( BX_DIRECTORY_PATH_CLASSES . "BxDolVoting.php" );
27
28if ( !( $logged['admin'] = member_auth( 1, false ) ) )
29    if ( !( $logged['member'] = member_auth( 0, false ) ) )
30        if ( !( $logged['aff'] = member_auth( 2, false )) )
31            $logged['moderator'] = member_auth( 3, false );
32
33
34$oVoting = new BxDolVoting('', 0, 0);
35
36if ($oVoting->isValidSystem($_GET['sys']))
37{
38    new  BxDolVoting($_GET['sys'], (int)$_GET['id']);
39}
40
41?>
Note: See TracBrowser for help on using the repository browser.