From: <wis...@us...> - 2014-10-28 20:58:12
|
Revision: 12822 http://sourceforge.net/p/xoops/svn/12822 Author: wishcraft Date: 2014-10-28 20:58:03 +0000 (Tue, 28 Oct 2014) Log Message: ----------- Prelimiary still in developer too you Harold! Added Paths: ----------- XoopsModules/radioo/ XoopsModules/radioo/trunk/ XoopsModules/radioo/trunk/modules/ XoopsModules/radioo/trunk/modules/radioo/ XoopsModules/radioo/trunk/modules/radioo/.htaccess XoopsModules/radioo/trunk/modules/radioo/admin/ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooAbout.php XoopsModules/radioo/trunk/modules/radioo/admin/RadiooDashboard.php XoopsModules/radioo/trunk/modules/radioo/admin/RadiooFooter.php XoopsModules/radioo/trunk/modules/radioo/admin/RadiooHeader.php XoopsModules/radioo/trunk/modules/radioo/admin/RadiooMenu.php XoopsModules/radioo/trunk/modules/radioo/admin/RadiooRights.php XoopsModules/radioo/trunk/modules/radioo/admin/index.html XoopsModules/radioo/trunk/modules/radioo/blocks/ XoopsModules/radioo/trunk/modules/radioo/blocks/index.html XoopsModules/radioo/trunk/modules/radioo/class/ XoopsModules/radioo/trunk/modules/radioo/class/index.html XoopsModules/radioo/trunk/modules/radioo/class/io.php XoopsModules/radioo/trunk/modules/radioo/css/ XoopsModules/radioo/trunk/modules/radioo/css/fonts.css XoopsModules/radioo/trunk/modules/radioo/css/index.html XoopsModules/radioo/trunk/modules/radioo/css/jplayer.css XoopsModules/radioo/trunk/modules/radioo/css/style.css XoopsModules/radioo/trunk/modules/radioo/docs/ XoopsModules/radioo/trunk/modules/radioo/docs/index.html XoopsModules/radioo/trunk/modules/radioo/flash/ XoopsModules/radioo/trunk/modules/radioo/flash/Jplayer.swf XoopsModules/radioo/trunk/modules/radioo/flash/index.html XoopsModules/radioo/trunk/modules/radioo/fonts/ XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.css XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.eot XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.svg XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.ttf XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.woff XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_black_ii_37.woff2 XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.css XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.eot XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.svg XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.ttf XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.woff XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_book_ii_37.woff2 XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.css XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.eot XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.svg XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.ttf XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.woff XoopsModules/radioo/trunk/modules/radioo/fonts/diavlo_medium_ii_37.woff2 XoopsModules/radioo/trunk/modules/radioo/fonts/index.html XoopsModules/radioo/trunk/modules/radioo/footer.php XoopsModules/radioo/trunk/modules/radioo/header.php XoopsModules/radioo/trunk/modules/radioo/images/ XoopsModules/radioo/trunk/modules/radioo/images/index.html XoopsModules/radioo/trunk/modules/radioo/images/mlogo_radioo.png XoopsModules/radioo/trunk/modules/radioo/images/monday.jpg XoopsModules/radioo/trunk/modules/radioo/images/monday.seeking.gif XoopsModules/radioo/trunk/modules/radioo/images/monday.video.play.png XoopsModules/radioo/trunk/modules/radioo/include/ XoopsModules/radioo/trunk/modules/radioo/include/RadiooCommon.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooCrypt.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooFileSystem.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooFunctions.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooInstall.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooPaths.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooUpdate.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooXMLArray.php XoopsModules/radioo/trunk/modules/radioo/include/RadiooXMLWrapper.php XoopsModules/radioo/trunk/modules/radioo/include/index.html XoopsModules/radioo/trunk/modules/radioo/js/ XoopsModules/radioo/trunk/modules/radioo/js/index.html XoopsModules/radioo/trunk/modules/radioo/js/jquery.jplayer.min.js XoopsModules/radioo/trunk/modules/radioo/js/popcorn.jplayer.js XoopsModules/radioo/trunk/modules/radioo/language/ XoopsModules/radioo/trunk/modules/radioo/language/english/ XoopsModules/radioo/trunk/modules/radioo/language/english/admin.php XoopsModules/radioo/trunk/modules/radioo/language/english/errors.php XoopsModules/radioo/trunk/modules/radioo/language/english/index.html XoopsModules/radioo/trunk/modules/radioo/language/english/main.php XoopsModules/radioo/trunk/modules/radioo/language/english/modinfo.php XoopsModules/radioo/trunk/modules/radioo/language/english/playlists.php XoopsModules/radioo/trunk/modules/radioo/language/english/style.css XoopsModules/radioo/trunk/modules/radioo/language/index.html XoopsModules/radioo/trunk/modules/radioo/players.php XoopsModules/radioo/trunk/modules/radioo/preloads/ XoopsModules/radioo/trunk/modules/radioo/preloads/index.html XoopsModules/radioo/trunk/modules/radioo/preloads/radioo.php XoopsModules/radioo/trunk/modules/radioo/sql/ XoopsModules/radioo/trunk/modules/radioo/sql/RadiooMySQL.sql XoopsModules/radioo/trunk/modules/radioo/sql/index.html XoopsModules/radioo/trunk/modules/radioo/templates/ XoopsModules/radioo/trunk/modules/radioo/templates/admin/ XoopsModules/radioo/trunk/modules/radioo/templates/admin/index.html XoopsModules/radioo/trunk/modules/radioo/templates/blocks/ XoopsModules/radioo/trunk/modules/radioo/templates/blocks/index.html XoopsModules/radioo/trunk/modules/radioo/templates/index.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo.php.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_jplayer.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_asx.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_b4s.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_kapsule.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_kpl.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_m3u.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_magma.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_pls.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_ram.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_rdf.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_smil.html XoopsModules/radioo/trunk/modules/radioo/templates/radioo_playlist_xspf.html XoopsModules/radioo/trunk/modules/radioo/xoops_version.php Added: XoopsModules/radioo/trunk/modules/radioo/.htaccess =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/.htaccess (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/.htaccess 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,7 @@ +<IfModule mod_rewrite.c> + + RewriteEngine On + RewriteRule ^(*.?)/(*.?).(pls|m3u|asx|xspf|b4s|rdf|kapsule|kpl|magma|ram|smil)$ players.php?authkey=$1&key=$2&format=$3 + RewriteRule ^(*.?).(pls|m3u|asx|xspf|b4s|rdf|kapsule|kpl|magma|ram|smil)$ players.php?key=$1&format=$2 + +</IfModule> Property changes on: XoopsModules/radioo/trunk/modules/radioo/.htaccess ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooAbout.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooAbout.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooAbout.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,31 @@ +<?php +/** + * XOOPS Profile module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + * + * @copyright The XOOPS Project (http://www.xoops.org) + * @license GNU GPL (http://www.gnu.org/licenses/gpl-2.0.html/) + * @package xoopsPoll + * @since 2.5.0 + * @author Mage, Mamba + * @version $Id $ + **/ + +include_once dirname(__FILE__) . '/../../../include/cp_header.php'; +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +$module_info =& $module_handler->get($xoopsModule->getVar("mid")); + +$aboutAdmin = new ModuleAdmin(); + +echo $aboutAdmin->addNavigation('about.php'); +echo $aboutAdmin->renderabout('6KJ7RW5DR3VTJ', false); + +include_once dirname(__FILE__) . '/admin_footer.php'; Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooDashboard.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooDashboard.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooDashboard.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,53 @@ +<?php +// $Id: index.php 12593 2014-06-14 16:04:02Z beckmi $ +// ------------------------------------------------------------------------ // +// XOOPS - PHP Content Management System // +// Copyright (c) 2000 XOOPS.org // +// <http://www.xoops.org/> // +// ------------------------------------------------------------------------ // +// 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 2 of the License, or // +// (at your option) any later version. // +// // +// You may not change or alter any portion of this comment or credits // +// of supporting developers from this source code or any supporting // +// source code which is considered copyrighted (c) material of the // +// original comment or credit authors. // +// // +// 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, write to the Free Software // +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // +// ------------------------------------------------------------------------ // +// Author: Raul Recio (AKA UNFOR) // +// Project: The XOOPS Project // +// ------------------------------------------------------------------------- // + +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); + +$indexAdmin = new ModuleAdmin(); +//----------------------- +// $xpPartnerHandler =& xoops_getmodulehandler('partners', $xoopsModule->getVar('dirname')); + +// $totalPartners = $xpPartnerHandler->getCount(); +// $totalNonActivePartners = $xpPartnerHandler->getCount(new Criteria('status', 0, '=')); +// $totalActivePartners = $totalPartners - $totalNonActivePartners; + +// $indexAdmin->addInfoBox(_MD_XPARTNERS_DASHBOARD); + +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALACTIVE. "</infolabel>", $totalActivePartners, 'Green'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALNONACTIVE. "</infolabel>", $totalNonActivePartners, 'Red'); +// $indexAdmin->addInfoBoxLine(_MD_XPARTNERS_DASHBOARD, "<infolabel>" ._MD_XPARTNERS_TOTALPARTNERS. "</infolabel><infotext>", $totalPartners."</infotext>"); +//---------------------------- + +echo $indexAdmin->addNavigation('index.php'); +echo $indexAdmin->renderIndex(); + +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooFooter.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooFooter.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooFooter.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,26 @@ +<?php +/** + * xSitemMap module + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license http://www.fsf.org/copyleft/gpl.html GNU public license + * @package xSitemMap + * @since 2.5.0 + * @author XOOPS Module Team + * @version $Id $ +**/ +echo "<div class='adminfooter'>\n" + ." <div style='text-align: center;'>\n" + ." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" + ." </div>\n" + ." " . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" + ."</div>"; + +xoops_cp_footer(); Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooHeader.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooHeader.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooHeader.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,54 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Taiwen Jiang <ph...@us...> + * @version $Id: admin_header.php 12363 2014-03-08 10:39:06Z beckmi $ + */ + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; +include_once $path . '/include/cp_functions.php'; +require_once $path . '/include/cp_header.php'; + +global $xoopsModule; + +$thisModuleDir = $GLOBALS['xoopsModule']->getVar('dirname'); + +//if functions.php file exist +//require_once dirname(dirname(__FILE__)) . '/include/functions.php'; + +// Load language files +xoops_loadLanguage('admin', $thisModuleDir); +xoops_loadLanguage('modinfo', $thisModuleDir); +xoops_loadLanguage('main', $thisModuleDir); + +$pathIcon16 = '../'.$xoopsModule->getInfo('icons16'); +$pathIcon32 = '../'.$xoopsModule->getInfo('icons32'); +$pathModuleAdmin = $xoopsModule->getInfo('dirmoduleadmin'); + +$myts =& MyTextSanitizer::getInstance(); + +if (!isset($xoopsTpl) || !is_object($xoopsTpl)) { + include_once XOOPS_ROOT_PATH . "/class/template.php"; + $xoopsTpl = new XoopsTpl(); +} + +include_once $GLOBALS['xoops']->path($pathModuleAdmin.'/moduleadmin.php'); + +xoops_loadLanguage('user'); +if ( !isset($GLOBALS['xoopsTpl']) || !is_object($GLOBALS['xoopsTpl']) ) { + include_once $GLOBALS['xoops']->path( "/class/template.php" ); + $GLOBALS['xoopsTpl'] = new XoopsTpl(); +} Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooMenu.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooMenu.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooMenu.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,68 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: menu.php 12549 2014-05-25 10:52:42Z beckmi $ + */ + +// defined("XOOPS_ROOT_PATH") || die("XOOPS root path not defined"); + +$path = dirname(dirname(dirname(dirname(__FILE__)))); +include_once $path . '/mainfile.php'; + +$dirname = basename(dirname(dirname(__FILE__))); +$module_handler = xoops_gethandler('module'); +$module = $module_handler->getByDirname($dirname); +$pathIcon32 = $module->getInfo('icons32'); +$pathModuleAdmin = $module->getInfo('dirmoduleadmin'); +$pathLanguage = $path . $pathModuleAdmin; + +if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { + $fileinc = $pathLanguage . '/language/english/main.php'; +} + +include_once $fileinc; + +$adminmenu = array(); + +$i = 1; +$adminmenu[$i]['title'] = _PROFILE_MI_HOME; +$adminmenu[$i]['link'] = "admin/index.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_USERS; +$adminmenu[$i]['link'] = "admin/user.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/users.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_CATEGORIES; +$adminmenu[$i]['link'] = "admin/category.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/category.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_FIELDS; +$adminmenu[$i]['link'] = "admin/field.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/index.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_STEPS; +$adminmenu[$i]['link'] = "admin/step.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/stats.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_PERMISSIONS; +$adminmenu[$i]['link'] = "admin/permissions.php"; +$adminmenu[$i]['icon'] = $pathIcon32.'/permissions.png' ; +++$i; +$adminmenu[$i]['title'] = _PROFILE_MI_ABOUT; +$adminmenu[$i]['link'] = 'admin/about.php'; +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; Added: XoopsModules/radioo/trunk/modules/radioo/admin/RadiooRights.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/RadiooRights.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/RadiooRights.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,109 @@ +<?php +/** + * Extended User Profile + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + * + * @copyright The XOOPS Project http://sourceforge.net/projects/xoops/ + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @package profile + * @since 2.3.0 + * @author Jan Pedersen + * @author Taiwen Jiang <ph...@us...> + * @version $Id: permissions.php 12593 2014-06-14 16:04:02Z beckmi $ + */ +include_once dirname(__FILE__) . '/admin_header.php'; +xoops_cp_header(); +$indexAdmin = new ModuleAdmin(); +echo $indexAdmin->addNavigation('permissions.php'); + +$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : "edit"; + +$perm_desc = ""; +switch ($op) { +case "visibility": + //redirect_header("visibility.php", 0, _PROFILE_AM_PROF_VISIBLE); + header("Location: visibility.php"); + break; + +case "edit": + $title_of_form = _PROFILE_AM_PROF_EDITABLE; + $perm_name = "profile_edit"; + $restriction = "field_edit"; + $anonymous = false; + break; + +case "search": + $title_of_form = _PROFILE_AM_PROF_SEARCH; + $perm_name = "profile_search"; + $restriction = ""; + $anonymous = true; + break; + +case "access": + $title_of_form = _PROFILE_AM_PROF_ACCESS; + $perm_name = "profile_access"; + $perm_desc = _PROFILE_AM_PROF_ACCESS_DESC; + $restriction = ""; + $anonymous = true; + break; +} + +include_once $GLOBALS['xoops']->path( "/class/xoopsformloader.php" ); +$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', "get"); +$op_select = new XoopsFormSelect("", 'op', $op); +$op_select->setExtra('onchange="document.forms.opform.submit()"'); +$op_select->addOption('visibility', _PROFILE_AM_PROF_VISIBLE); +$op_select->addOption('edit', _PROFILE_AM_PROF_EDITABLE); +$op_select->addOption('search', _PROFILE_AM_PROF_SEARCH); +$op_select->addOption('access', _PROFILE_AM_PROF_ACCESS); +$opform->addElement($op_select); +$opform->display(); + +$module_id = $GLOBALS['xoopsModule']->getVar('mid'); +include_once $GLOBALS['xoops']->path( '/class/xoopsform/grouppermform.php' ); +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php', $anonymous); + +if ($op == "access") { + $member_handler =& xoops_gethandler('member'); + $glist = $member_handler->getGroupList(); + foreach (array_keys($glist) as $i ) { + if ($i != XOOPS_GROUP_ANONYMOUS) { + $form->addItem($i, $glist[$i]); + } + } + +} else { + $profile_handler =& xoops_getmodulehandler('profile'); + $fields = $profile_handler->loadFields(); + + if ($op != "search") { + foreach (array_keys($fields) as $i ) { + if ( $restriction == "" || $fields[$i]->getVar($restriction) ) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); + } + } + } else { + $searchable_types = array('textbox', + 'select', + 'radio', + 'yesno', + 'date', + 'datetime', + 'timezone', + 'language'); + foreach (array_keys($fields) as $i ) { + if ( in_array($fields[$i]->getVar('field_type'), $searchable_types) ) { + $form->addItem($fields[$i]->getVar('field_id'), xoops_substr($fields[$i]->getVar('field_title'), 0, 25) ); + } + } + } +} +$form->display(); +include_once dirname(__FILE__) . '/admin_footer.php'; +//xoops_cp_footer(); Added: XoopsModules/radioo/trunk/modules/radioo/admin/index.html =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/admin/index.html (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/admin/index.html 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/blocks/index.html =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/blocks/index.html (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/blocks/index.html 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/class/index.html =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/class/index.html (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/class/index.html 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/class/io.php =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/class/io.php (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/class/io.php 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,700 @@ +<?php +/* + * Chronolabs XOOPS Life Streaming Radio Module - Radioo + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package radioo + * @since 1.02 + * @author Antony Cipher <ci...@la...> + * @author Simon Roberts <me...@la...> + * @subpackage classes + * @description Chronolabs XOOPS Module for Chat and Walky Talky Services + * + */ +defined('XOOPS_ROOT_PATH') or die('Restricted access'); + +/** + * Library Dependencies + */ +include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'RadiooFileSystem.php'; +include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'RadiooCrypt.php'; +include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'RadiooXMLArray.php'; +include_once dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR . 'RadiooXMLWrapper.php'; + + +class RadiooStore extends XoopsObject +{ + + /** + * + * @var unknown + */ + var $_root = 'RadiooDataStore'; + + /** + * + * @var array + */ + var $__data = array(); + + /** + * + * @var unknown + */ + var $_method = ''; + + /** + * + * @var unknown + */ + var $_extensions = array(); + + /** + * + * @param unknown $method + */ + function __construct() + { + $this->_method = (!definef('_RADIOO_IO_STORE_METHOD')?'json':constant("_RADIOO_IO_STORE_METHOD")); + $this->_extensions = RadiooIOHandler::getFileSuffix(); + + // File store database headers + $this->initVar('id', XOBJ_DTYPE_INT, null, false); + $this->initVar('created', XOBJ_DTYPE_INT, 0, true); + $this->initVar('saved', XOBJ_DTYPE_INT, 0, false); + $this->initVar('read', XOBJ_DTYPE_INT, 0, false); + $this->initVar('dropped', XOBJ_DTYPE_INT, 0, false); + $this->initVar('deleted', XOBJ_DTYPE_INT, 0, false); + $this->initVar('bytes_data', XOBJ_DTYPE_INT, 0, true); + $this->initVar('bytes_store', XOBJ_DTYPE_INT, 0, true); + $this->initVar('md5_data', XOBJ_DTYPE_OTHER, '', true, 32); + $this->initVar('md5_store', XOBJ_DTYPE_OTHER, '', true, 32); + $this->initVar('method', XOBJ_DTYPE_ENUM, (!definef('_RADIOO_DATA_STORE_METHOD')?'json':constant("_RADIOO_DATA_STORE_METHOD")), true, false, false, array('json', 'xml', 'serial')); + $this->initVar('filename', XOBJ_DTYPE_OTHER, '', true, 128); + $this->initVar('path', XOBJ_DTYPE_OTHER, '', true, 255); + $this->initVar('token', XOBJ_DTYPE_OTHER, '', true, 44); + $this->initVar('salt', XOBJ_DTYPE_OTHER, substr(sha1(microtime(true).XOOPS_ROOT_PATH.XOOPS_DB_PASS.XOOPS_DB_NAME.XOOPS_DB_UNAME.$_SERVER['REMOTE_ADDR']), mt_rand(0, 31), 11), true, 11); + } + + /** + * (non-PHPdoc) + * @see XoopsObject::setVar() + */ + public function setVar($key, $value, $not_gpc) + { + if ($key == 'salt') + return false; + elseif ($key == 'method') + $this->_method = $value; + return parent::setVar($key, $value, $not_gpc); + } + + /** + * (non-PHPdoc) + * @see XoopsObject::assignVar() + */ + public function assignVar($key, $value, $not_gpc) + { + if ($key == 'method') + $this->_method = $value; + return parent::assignVar($key, $value, $not_gpc); + } + + /** + * (non-PHPdoc) + * @see XoopsObject::assignVar() + */ + public function assignVars($var_array = array()) + { + foreach($var_array as $key => $value) + { + $this->assignVar($key, $value); + } + $this->load(); + } + + /** + * + * @return boolean + */ + public function hasCryptingSalt() + { + if (strlen($this->getVar('salt')) != 0 && defined('_RADIOO_CRYPT_SALT')) + return true; + return false; + } + + /** + * + * @return boolean + */ + public function getCryptingSalt() + { + if (!$this->hasCryptingSalt()) + return false; + return md5($this->getVar('salt') . _RADIOO_CRYPT_SALT); + } + + /** + * + * @param string $this->getVar('path') + * @param string $this->getVar('filename') + * @return multitype: + */ + public function save() + { + if (!in_array($this->getVar('method'), array_keys(RadiooIOHandler::getMethods()))||strlen($this->getVar('method'))==0) + $this->setVar('method', $this->_method); + $data = $this->parse($this->__data, $this->_root, $this->getVar('method')); + $this->deleteDataStore($this->getVar('path'), $this->getVar('filename')); + return $this->saveDataStore($this->_getData(), $this->getVar('path') . DIRECTORY_SEPARATOR . $this->getVar('filename') . '.' . $this->_extensions[$this->getVar('method')]); + } + + /** + * + * @param string $this->getVar('path') + * @param string $this->getVar('filename') + * @return multitype: + */ + public function load() + { + $this->__data = array(); + if ($filename = $this->file_exists($this->getVar('path'), $this->getVar('filename'))) { + return $this->_assignData($this->convert($this->readDataStore($filename, $this->getVar('md5_store')),$this->_root, $this->_getFunction($this->getVar('method'))), $this->getVar('md5_data')); + } + return false; + } + + /** + * + * @param string $path + * @param string $filename + * @return string|boolean + */ + public function file_exists($path = '', $filename = '') + { + foreach(RadiooIOHandler::getMethods() as $extension => $function) + { + if (file_exists($file = $path . DIRECTORY_SEPARATOR . $filename . '.' . $extension)) + return $file; + + } + return false; + } + + /** + * + * @param unknown $data + * @param string $md5 + * @return boolean + */ + public function _assignData($data = array(), $md5 = '') + { + if ($md5 == $this->_calcMD5($data)) + { + $this->setVar('md5_data', $md5); + $this->setVar('bytes_data', $this->_calcBytes($data)); + if ($this->__data = $data) + return true; + } + return false; + } + + /** + * + * @return multitype: + */ + public function _getData() + { + return $this->__data; + } + + /** + * + * @param unknown $data + * @return string + */ + public function _calcMD5($data) + { + $hash = md5(NULL); + if (is_array($data)) + foreach($data as $key => $valuing) + { + if (is_array($valuing)) + $hash = md5($key . $this->_calcMD5($valuing) . $hash); + else + $hash = md5($key . $valuing . $hash); + } + else + $hash = md5($data . $hash); + return $hash; + } + + /** + * + * @param unknown $data + * @return string + */ + public function _calcBytes($data) + { + $bytes = 0; + if (is_array($data)) + foreach($data as $key => $valuing) + { + if (is_array($valuing)) + $bytes = $bytes + strlen($key) + $this->_calcBytes($valuing); + else + $bytes = $bytes + strlen($key) + strlen($valuing); + } + else + $bytes = $bytes + strlen($data); + return $bytes; + } + + /** + * + * @param string $method + * @return Ambigous <> + */ + public function _getFunction($method = 'json') + { + $_methods = RadiooIOHandler::getMethods(); + if (!in_array($method, array_keys($_methods))) + $method = 'json'; + if (isset($_methods[$method])) + return $_methods[$method]; + } + + /** + * + */ + private function modifyNumericKeys($array = '', $convert = false, $spatial = '___') + { + if (!$convert) { + $changed = false; + $values = array(); + foreach(array_reverse(array_keys($array)) as $key) + { + if (is_numeric($key)) + { + $changed = true; + $newkey = $spatial . $key . $spatial; + if (is_array($values[$key])) + $values[$newkey] = $this->modifyNumericKeys($array[$key], $convert); + else + $values[$newkey] = $array[$key]; + unset($array[$key]); + } + } + if ($changed == true) { + foreach(array_reverse(array_keys($values)) as $key) + { + $array[$key] = $values[$key]; + } + } + } else { + $changed = false; + $values = array(); + foreach(array_reverse(array_keys($array)) as $key) + { + if (substr($key, 0, strlen($spatial)) == $spatial && substr($key, strlen($key) - strlen($spatial), strlen($spatial)) == $spatial ) + { + $changed = true; + $newkey = substr($key, strlen($spatial), strlen($key) - strlen($spatial) - strlen($spatial)); + if (is_array($values[$key])) + $values[$newkey] = $this->modifyNumericKeys($array[$key], $convert); + else + $values[$newkey] = $array[$key]; + unset($array[$key]); + } + } + if ($changed == true) { + foreach(array_reverse(array_keys($values)) as $key) + { + $array[$key] = $values[$key]; + } + } + } + return $array; + } + + /** + * + */ + private function generateToken() + { + return sha1($this->getVar('filename').$this->getVar('path').$this->getCryptingSalt().microtime(true)); + } + + /** + * + * @param string $filename + * @return boolean|string + */ + private function parse($array = array()) + { + if (!in_array($this->getVar('method'), array_keys(RadiooIOHandler::getMethods()))) + $this->setVar('method', $this->_method); + $function = $this->_getFunction($this->getVar('method')); + return $this->$function((!empty($this->_root)?array($this->_root => $array):$array)); + } + + /** + * + * @param string $filename + * @return boolean|string + */ + private function convert($data = '') + { + if (!in_array($this->getVar('method'), array_keys(RadiooIOHandler::getMethods()))) + $this->setVar('method', $this->_method); + $function = $this->_getFunction($this->getVar('method')); + $ret = $this->$function($data); + return (isset($ret[$this->_root])?$ret[$this->_root]:$ret); + } + + /** + * + * @param string $mixed + * @param string $directive + * @return string|mixed|boolean + */ + private function parseXML($mixed = '', $directive = '') + { + if (empty($directive)) + { + if (is_array($mixed)) + $directive = 'pack'; + else + $directive = 'unpack'; + } + switch ($directive) + { + case "pack": + $dom = new RadiooXMLObjectivity('1.0', 'utf-8'); + $dom->fromMixed($this->modifyNumericKeys($array, false)); + return $dom->saveXML(); + break; + case "unpack": + return $this->modifyNumericKeys(RadiooXMLtoArray::createArray($mixed), true); + break; + } + return false; + } + + /** + * + * @param string $mixed + * @param string $directive + * @return string|mixed|boolean + */ + private function parseJSON($mixed = '', $directive = '') + { + if (empty($directive)) + { + if (is_array($mixed)) + $directive = 'pack'; + else + $directive = 'unpack'; + } + switch ($directive) + { + case "pack": + return json_encode($mixed); + break; + case "unpack": + return json_decode($mixed, true); + break; + } + return false; + } + + /** + * + * @param string $mixed + * @param string $directive + * @return string|mixed|boolean + */ + private function parseSerialisation($mixed = '', $directive = '') + { + if (empty($directive)) + { + if (is_array($mixed)) + $directive = 'pack'; + else + $directive = 'unpack'; + } + switch ($directive) + { + case "pack": + return serialize($mixed); + break; + case "unpack": + return unserialize($mixed); + break; + } + return false; + } + + /** + * + * @param string $filename + * @return boolean|string + */ + private function deleteDataStore() + { + foreach(RadiooIOHandler::getMethods() as $extension => $function) + { + if ($file = $this->file_exists($this->getVar('path'), $this->getVar('filename'))) + if (unlink($file)) + $this->setVar('deleted', time(true)); + + } + return true; + } + + + /** + * + * @param string $filename + * @return boolean|string + */ + private function readDataStore($filename = '', $md5 = '') + { + $store = array(); + if ($store = $this->decryptDataStore(RadiooFileSystem::getFileContents($filename))) + $this->setVar('read', time(true)); + if ($md5 == $this->_calcMD5($store)) + return $store; + return array(); + } + + /** + * + * @param string $data + * @param string $filename + * @return boolean + */ + private function saveDataStore($data = '', $filename = '') + { + if (file_exists($filename)) + unlink($filename); + + if (empty($data)) + return false; + + if (RadiooFileSystem::saveFileContent($filename, $this->encryptDataStore($data))) + { + $this->setVar('saved', time(true)); + $this->setVar('md5_store', md5_file($filename)); + $this->setVar('bytes_store', filesize($filename)); + if (strlen($this->getVar('token'))) + $this->setVar('token', $this->generateToken()); + } + + } + + /** + * + * @param string $data + * @return Ambigous <s, string>|string + */ + private function encryptDataStore($data = '') + { + if ($this->hasCryptingSalt() && class_exists('RadiooCrypt')) + { + $crypt = new RadiooCrypt($this->getCryptingSalt()); + return $crypt->encrypt($data); + } + return $data; + } + + /** + * + * @param string $data + * @return Ambigous <s, string>|string + */ + private function decryptDataStore($data = '') + { + if ($this->hasCryptingSalt() && class_exists('RadiooCrypt')) + { + $crypt = new RadiooCrypt($this->getCryptingSalt()); + return $crypt->decrypt($data); + } + return $data; + } +} + +/** + * + * @author Simon Roberts <si...@la...> + * + */ +class RadiooIOHandler extends XoopsPersistableObjectHandler +{ + + /** + * + * @var array() + */ + static protected $__methods = array('json' => 'parseJSON', 'xml' => 'parseXML', 'serial' => 'parseSerialisation'); + + /** + * + * @var array() + */ + static protected $__suffix = array('json' => 'json', 'xml' => 'xml', 'serial' => 'serial'); + + /** + * + * @param string $method + */ + function __construct(&$db) + { + parent::__construct($db, "radioo_iostores", "RadiooStore", "id"); + } + + /** + * + * @return multitype:string + */ + static function getMethods() + { + return self::$__methods; + } + + /** + * + * @return multitype:string + */ + static function getFileSuffix() + { + return self::$__suffix; + } + + /** + * (non-PHPdoc) + * @see XoopsPersistableObjectHandler::insert() + */ + public function insert($object, $force = true) + { + $object->save(); + return parent::insert($object, $force); + } + + + /** + * + * @param string $filename + * @param string $path + * @param unknown $data + * @return mixed + */ + public function saveByFileSystem($filename = '', $path = '', $data = array()) + { + $object = $this->getObjectByFileSystem($filename, $path); + $object->_assignData($data, $object->_calcMD5($data)); + $object->setVar('filename', $filename); + $object->setVar('path', $path); + return $this->insert($object); + } + + /** + * + * @param string $token + * @param unknown $data + * @return mixed + */ + public function saveByToken($token = '', $data = array()) + { + $object = $this->getObjectByToken($token); + if (!$object->isNew()) + { + $object->_assignData($data, $object->_calcMD5($data)); + $object->setVar('filename', $filename); + $object->setVar('path', $path); + return $this->insert($object); + } + } + + /** + * + * @param string $filename + * @param string $path + * @return Ambigous <> + */ + public function getObjectByFileSystem($filename = '', $path = '') + { + $criteria = new CriteriaCompo(new Criteria('filename', $filename)); + $criteria->add(new Criteria('path', $path)); + if ($this->getCount($citeria)==1) + { + $objects = $this->getObjects($criteria, false); + if (is_a($objects[0], "RadiooIO")) + return $objects[0]; + } + return $this->create(); + } + + /** + * + * @param string $filename + * @param string $path + * @return multitype: + */ + public function getDataByFileSystem($filename = '', $path = '') + { + if (is_a($object = $this->getObjectByFileSystem($filename, $path), "RadiooIO")) + return $object->_getData(); + return array(); + } + + /** + * + * @param string $token + * @return unknown + */ + public function getObjectByToken($token = '') + { + $criteria = new CriteriaCompo(new Criteria('token', $token)); + if ($this->getCount($citeria)==1) + { + $objects = $this->getObjects($criteria, false); + if (is_a($objects[0], "RadiooIO")) + return $objects[0]; + } + return $this->create(); + } + + /** + * + * @param string $token + * @return multitype: + */ + public function getDataByToken($token = '') + { + if (is_a($object = $this->getObjectByToken($token), "RadiooIO")) + return $object->_getData(); + return array(); + } + + /** + * + * @param number $ioid + * @return multitype: + */ + public function getDataByID($ioid = 0) + { + if (is_a($object = $this->get($ioid), "RadiooIO")) + return $object->_getData(); + return array(); + } +} \ No newline at end of file Property changes on: XoopsModules/radioo/trunk/modules/radioo/class/io.php ___________________________________________________________________ Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: XoopsModules/radioo/trunk/modules/radioo/css/fonts.css =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/css/fonts.css (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/css/fonts.css 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,26 @@ +/* + * Chronolabs XOOPS Chat Module - xALKY + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package radioo + * @since 1.111 + * @author Antony Cipher <ci...@la...> + * @author Simon Roberts <me...@la...> + * @subpackage kernel + * @description Chronolabs XOOPS Module for Chat and Walky Talky Services + * + */ + +/* Put your @font-face include, in first for IE and after others browsers */ + +@import url('../fonts/diavlo_black_ii_37.css'); +@import url('../fonts/diavlo_book_ii_37.css'); +@import url('../fonts/diavlo_medium_ii_37.css'); \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/css/index.html =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/css/index.html (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/css/index.html 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/css/jplayer.css =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/css/jplayer.css (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/css/jplayer.css 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,654 @@ +/* + * Chronolabs XOOPS Chat Module - xALKY + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * 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. + + * @copyright Chronolabs Cooperative http://labs.coop + * @license General Software Licence (https://web.labs.coop/public/legal/general-software-license/10,3.html) + * @package radioo + * @since 1.111 + * @author Antony Cipher <ci...@la...> + * @author Simon Roberts <me...@la...> + * @subpackage kernel + * @description Chronolabs XOOPS Module for Chat and Walky Talky Services + * + */ + + /* + * Skin for jPlayer Plugin (jQuery JavaScript Library) + * http://www.jplayer.org + * + * Skin Name: Blue Monday + * + * Copyright (c) 2010-2014 Happyworm Ltd + * Licensed under the MIT license. + * - http://www.opensource.org/licenses/mit-license.php + * + * Author: Silvia Benvenuti + * Skin Version: 4.4 (jPlayer 2.6.0) + * Date: 1st April 2014 + */ + +div.jp-audio, +div.jp-audio-stream, +div.jp-video { + font-size:1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */ + font-family:'DiavloMedium',Verdana, Arial, sans-serif; + line-height:1.6; + color: #666; + border:1px solid #009be3; + background-color:#eee; +} +div.jp-audio { + width:420px; +} +div.jp-audio-stream { + width:182px; +} +div.jp-video-270p { + width:480px; +} +div.jp-video-360p { + width:640px; +} +div.jp-video-full { + /* Rules for IE6 (full-screen) */ + width:480px; + height:270px; + /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */ + position:static !important; position:relative; +} + +/* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */ +div.jp-video-full div div { + z-index:1000; +} + +div.jp-video-full div.jp-jplayer { + top: 0; + left: 0; + position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */ + overflow: hidden; +} + +div.jp-video-full div.jp-gui { + position: fixed !important; position: static; /* Rules for IE6 (full-screen) */ + top: 0; + left: 0; + width:100%; + height:100%; + z-index:1001; /* 1 layer above the others. */ +} + +div.jp-video-full div.jp-interface { + position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */ + bottom: 0; + left: 0; +} + +div.jp-interface { + position: relative; + background-color:#eee; + width:100%; +} + +div.jp-audio div.jp-type-single div.jp-interface { + height:80px; +} +div.jp-audio div.jp-type-playlist div.jp-interface { + height:80px; +} + +div.jp-audio-stream div.jp-type-single div.jp-interface { + height:80px; +} + +div.jp-video div.jp-interface { + border-top:1px solid #009be3; +} + +/* @group CONTROLS */ + +div.jp-controls-holder { + clear: both; + width:440px; + margin:0 auto; + position: relative; + overflow:hidden; + top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */ +} + +div.jp-interface ul.jp-controls { + list-style-type:none; + margin:0; + padding: 0; + overflow:hidden; +} + +div.jp-audio ul.jp-controls { + width: 380px; + padding:20px 20px 0 20px; +} + +div.jp-audio-stream ul.jp-controls { + width: 142px; + padding:20px 20px 0 20px; +} + +div.jp-video div.jp-type-single ul.jp-controls { + width: 78px; + margin-left: 200px; +} + +div.jp-video div.jp-type-playlist ul.jp-controls { + width: 134px; + margin-left: 172px; +} +div.jp-video ul.jp-controls, +div.jp-interface ul.jp-controls li { + display:inline; + float: left; +} + +div.jp-interface ul.jp-controls a { + display:block; + overflow:hidden; + text-indent:-9999px; +} +a.jp-play, +a.jp-pause { + width:40px; + height:40px; +} + +a.jp-play { + background: url("../images/monday.jpg") 0 0 no-repeat; +} +a.jp-play:hover { + background: url("../images/monday.jpg") -41px 0 no-repeat; +} +a.jp-pause { + background: url("../images/monday.jpg") 0 -42px no-repeat; + display: none; +} +a.jp-pause:hover { + background: url("../images/monday.jpg") -41px -42px no-repeat; +} + +a.jp-stop, a.jp-previous, a.jp-next { + width:28px; + height:28px; + margin-top:6px; +} + +a.jp-stop { + background: url("../images/monday.jpg") 0 -83px no-repeat; + margin-left:10px; +} + +a.jp-stop:hover { + background: url("../images/monday.jpg") -29px -83px no-repeat; +} + +a.jp-previous { + background: url("../images/monday.jpg") 0 -112px no-repeat; +} +a.jp-previous:hover { + background: url("../images/monday.jpg") -29px -112px no-repeat; +} + +a.jp-next { + background: url("../images/monday.jpg") 0 -141px no-repeat; +} +a.jp-next:hover { + background: url("../images/monday.jpg") -29px -141px no-repeat; +} + +/* @end */ + +/* @group progress bar */ + +div.jp-progress { + overflow:hidden; + background-color: #ddd; +} +div.jp-audio div.jp-progress { + position: absolute; + top:32px; + height:15px; +} +div.jp-audio div.jp-type-single div.jp-progress { + left:110px; + width:186px; +} +div.jp-audio div.jp-type-playlist div.jp-progress { + left:166px; + width:130px; +} +div.jp-video div.jp-progress { + top:0px; + left:0px; + width:100%; + height:10px; +} +div.jp-seek-bar { + background: url("../images/monday.jpg") 0 -202px repeat-x; + width:0px; + height:100%; + cursor: pointer; +} +div.jp-play-bar { + background: url("../images/monday.jpg") 0 -218px repeat-x ; + width:0px; + height:100%; +} + +/* The seeking class is added/removed inside jPlayer */ +div.jp-seeking-bg { + background: url("../images/monday.seeking.gif"); +} + +/* @end */ + +/* @group volume controls */ + + +a.jp-mute, +a.jp-unmute, +a.jp-volume-max { + width:18px; + height:15px; + margin-top:12px; +} + +div.jp-audio div.jp-type-single a.jp-mute, +div.jp-audio div.jp-type-single a.jp-unmute { + margin-left: 210px; +} +div.jp-audio div.jp-type-playlist a.jp-mute, +div.jp-audio div.jp-type-playlist a.jp-unmute { + margin-left: 154px; +} + +div.jp-audio-stream div.jp-type-single a.jp-mute, +div.jp-audio-stream div.jp-type-single a.jp-unmute { + margin-left:10px; +} + +div.jp-audio a.jp-volume-max, +div.jp-audio-stream a.jp-volume-max { + margin-left: 56px; +} + +div.jp-video a.jp-mute, +div.jp-video a.jp-unmute, +div.jp-video a.jp-volume-max { + position: absolute; + top:12px; + margin-top:0; +} + +div.jp-video a.jp-mute, +div.jp-video a.jp-unmute { + left: 50px; +} + +div.jp-video a.jp-volume-max { + left: 134px; +} + +a.jp-mute { + background: url("../images/monday.jpg") 0 -170px no-repeat; +} +a.jp-mute:hover { + background: url("../images/monday.jpg") -19px -170px no-repeat; +} +a.jp-unmute { + background: url("../images/monday.jpg") -60px -170px no-repeat; + display: none; +} +a.jp-unmute:hover { + background: url("../images/monday.jpg") -79px -170px no-repeat; +} +a.jp-volume-max { + background: url("../images/monday.jpg") 0 -186px no-repeat; +} +a.jp-volume-max:hover { + background: url("../images/monday.jpg") -19px -186px no-repeat; +} + +div.jp-volume-bar { + position: absolute; + overflow:hidden; + background: url("../images/monday.jpg") 0 -250px repeat-x; + width:46px; + height:5px; + cursor: pointer; +} +div.jp-audio div.jp-volume-bar { + top:37px; + left:330px; +} +div.jp-audio-stream div.jp-volume-bar { + top:37px; + left:92px; +} +div.jp-video div.jp-volume-bar { + top:17px; + left:72px; +} +div.jp-volume-bar-value { + background: url("../images/monday.jpg") 0 -256px repeat-x; + width:0px; + height:5px; +} + +/* @end */ + +/* @group current time and duration */ + +div.jp-audio div.jp-time-holder { + position:absolute; + top:50px; +} +div.jp-audio div.jp-type-single div.jp-time-holder { + left:110px; + width:186px; +} +div.jp-audio div.jp-type-playlist div.jp-time-holder { + left:166px; + width:130px; +} + +div.jp-current-time, +div.jp-duration { + width:60px; + font-size:.64em; + font-style:oblique; +} +div.jp-current-time { + float: left; + display:inline; +} +div.jp-duration { + float: right; + display:inline; + text-align: right; +} + +div.jp-video div.jp-current-time { + margin-left:20px; +} +div.jp-video div.jp-duration { + margin-right:20px; +} + +/* @end */ + +/* @group playlist */ + +div.jp-details { + font-weight:bold; + text-align:center; +} + +div.jp-details, +div.jp-playlist { + width:100%; + background-color:#ccc; + border-top:1px solid #009be3; +} +div.jp-type-single div.jp-details, +div.jp-type-playlist div.jp-details, +div.jp-type-single div.jp-playlist { + border-top:none; +} +div.jp-details ul, +div.jp-playlist ul { + list-style-type:none; + margin:0; + padding:0 20px; + font-size:.72em; +} + +div.jp-details li { + padding:5px 0; + font-weight:bold; +} +div.jp-playlist li { + padding:5px 0 4px 20px; + border-bottom:1px solid #eee; +} + +div.jp-playlist li div { + display:inline; +} + +/* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */ + +div.jp-type-playlist div.jp-playlist li:last-child { + padding:5px 0 5px 20px; + border-bottom:none; +} +div.jp-type-playlist div.jp-playlist li.jp-playlist-current { + list-style-type:square; + list-style-position:inside; + padding-left:7px; +} +div.jp-type-playlist div.jp-playlist a { + color: #333; + text-decoration: none; +} +div.jp-type-playlist div.jp-playlist a:hover { + color:#0d88c1; +} +div.jp-type-playlist div.jp-playlist a.jp-playlist-current { + color:#0d88c1; +} + +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove { + float:right; + display:inline; + text-align:right; + margin-right:10px; + font-weight:bold; + color:#666; +} +div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover { + color:#0d88c1; +} +div.jp-type-playlist div.jp-playlist span.jp-free-media { + float:right; + display:inline; + text-align:right; + margin-right:10px; +} +div.jp-type-playlist div.jp-playlist span.jp-free-media a{ + color:#666; +} +div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{ + color:#0d88c1; +} +span.jp-artist { + font-size:.8em; + color:#666; +} + +/* @end */ + +div.jp-video-play { + width:100%; + overflow:hidden; /* Important for nested negative margins to work in modern browsers */ + cursor:pointer; + background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */ +} +div.jp-video-270p div.jp-video-play { + margin-top:-270px; + height:270px; +} +div.jp-video-360p div.jp-video-play { + margin-top:-360px; + height:360px; +} +div.jp-video-full div.jp-video-play { + height:100%; +} +a.jp-video-play-icon { + position:relative; + display:block; + width: 112px; + height: 100px; + + margin-left:-56px; + margin-top:-50px; + left:50%; + top:50%; + + background: url("../images/monday.video.play.png") 0 0 no-repeat; + text-indent:-9999px; +} +div.jp-video-play:hover a.jp-video-play-icon { + background: url("../images/monday.video.play.png") 0 -100px no-repeat; +} + + + + + +div.jp-jplayer audio, +div.jp-jplayer { + width:0px; + height:0px; +} + +div.jp-jplayer { + background-color: #000000; +} + + + + + +/* @group TOGGLES */ + +/* The audio toggles are nested inside jp-time-holder */ + +ul.jp-toggles { + list-style-type:none; + padding:0; + margin:0 auto; + overflow:hidden; +} + +div.jp-audio .jp-type-single ul.jp-toggles { + width:25px; +} +div.jp-audio .jp-type-playlist ul.jp-toggles { + width:55px; + margin: 0; + position: absolute; + left: 325px; + top: 50px; +} + +div.jp-video ul.jp-toggles { + margin-top:10px; + width:100px; +} + +ul.jp-toggles li { + display:block; + float:right; +} + +ul.jp-toggles li a { + display:block; + width:25px; + height:18px; + text-indent:-9999px; + line-height:100%; /* need this for IE6 */ +} + +a.jp-full-screen { + background: url("../images/monday.jpg") 0 -310px no-repeat; + margin-left: 20px; +} + +a.jp-full-screen:hover { + background: url("../images/monday.jpg") -30px -310px no-repeat; +} + +a.jp-restore-screen { + background: url("../images/monday.jpg") -60px -310px no-repeat; + margin-left: 20px; +} + +a.jp-restore-screen:hover { + background: url("../images/monday.jpg") -90px -310px no-repeat; +} + +a.jp-repeat { + background: url("../images/monday.jpg") 0 -290px no-repeat; +} + +a.jp-repeat:hover { + background: url("../images/monday.jpg") -30px -290px no-repeat; +} + +a.jp-repeat-off { + background: url("../images/monday.jpg") -60px -290px no-repeat; +} + +a.jp-repeat-off:hover { + background: url("../images/monday.jpg") -90px -290px no-repeat; +} + +a.jp-shuffle { + background: url("../images/monday.jpg") 0 -270px no-repeat; + margin-left: 5px; +} + +a.jp-shuffle:hover { + background: url("../images/monday.jpg") -30px -270px no-repeat; +} + +a.jp-shuffle-off { + background: url("../images/monday.jpg") -60px -270px no-repeat; + margin-left: 5px; +} + +a.jp-shuffle-off:hover { + background: url("../images/monday.jpg") -90px -270px no-repeat; +} + + +/* @end */ + +/* @group NO SOLUTION error feedback */ + +.jp-no-solution { + padding:5px; + font-size:.8em; + background-color:#eee; + border:2px solid #009be3; + color:#000; + display:none; +} + +.jp-no-solution a { + color:#000; +} + +.jp-no-solution span { + font-size:1em; + display:block; + text-align:center; + font-weight:bold; +} + +/* @end */ Added: XoopsModules/radioo/trunk/modules/radioo/css/style.css =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/css/style.css (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/css/style.css 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1,9 @@ +@CHARSET "UTF-8"; + +.radioo, #radioo, .radioo-block, #radioo-block +{ + font-size: 1.1392em; + font-family: 'DiavloBook',Verdana, Arial, sans-serif; + line-height: 1.6; + text-shadow: 2px 2px 4px rgb(12, 13, 29); +} \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/docs/index.html =================================================================== --- XoopsModules/radioo/trunk/modules/radioo/docs/index.html (rev 0) +++ XoopsModules/radioo/trunk/modules/radioo/docs/index.html 2014-10-28 20:58:03 UTC (rev 12822) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: XoopsModules/radioo/trunk/modules/radioo/flash/Jplayer.swf =====... [truncated message content] |