Example #1
0
<?php
/*
<Orion, a web development framework for RK.>
Copyright (C) <2011>  <Orion>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
define('IN_APP', true);
require_once('./interfase/common.php');
require_once(ROOT . 'objects/artists.php');

$user->init();
$user->setup();

$artists = new _artists();
$artists->run();

page_layout($artists->get_title('UB'), $artists->get_template('artists'), false, $artists->ajax());
Example #2
0
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('IN_APP')) exit;

require_once(ROOT . 'interfase/artists.php');

$artists = new _artists();
$artists->get_data();

$a_ary = array();
for ($i = 0; $i < 4; $i++) {
	$_a = array_rand($artists->adata);
	if (!$artists->adata[$_a]['images'] || isset($a_ary[$_a])) {
		$i--;
		continue;
	}
	$a_ary[$_a] = $artists->adata[$_a];
}

if (sizeof($a_ary))
{
	$sql = 'SELECT *
Example #3
0
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
define('IN_APP', true);
require_once('./interfase/common.php');
require_once(ROOT . 'objects/home.php');
require_once(ROOT . 'objects/artists.php');
require_once(ROOT . 'objects/events.php');

$user->init();
$user->setup();

srand((double)microtime()*1000000);

$home = new _home();
$artists = new _artists();
$events = new _events(true);

$home->news();
$home->board_general();
$home->board_events();
$home->poll();

$artists->get_data();
$artists->thumbnails();

$events->_nextevent();

page_layout('HOME', 'home', false, false);
Example #4
0
<?php
/*
<Orion, a web development framework for RK.>
Copyright (C) <2011>  <Orion>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/
if (!defined('IN_APP')) exit;

require_once(ROOT . 'objects/artists.php');

$artists = new _artists();
$artists->a_sidebar();