Esempio n. 1
0
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
$row = $this->row;
$lists = $this->lists;
JHTML::_('behavior.tooltip');
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
$etabs = new esTabs();
?>

		<script type="text/javascript">
		<!--
		Joomla.submitbutton = function(task) {
			submitbutton(task);
		}
		function submitbutton(pressbutton) {
			var form = document.adminForm;
            var reg = /^\s+$/;
			 if(pressbutton == 'player_apply' || pressbutton == 'player_save' || pressbutton == 'player_save_new'){
			 	if(form.first_name.value == '' || (form.last_name.value == '' && '<?php 
echo $this->lists['req_lastname'];
?>
' == 1)){
Esempio n. 2
0
?>

			<span class="down"><!-- --></span>
			<?php 
echo $this->lists['tourn'];
?>

			</div>
		</div>
		<!-- </div>title box> -->
		
		<!-- <tab box> -->
		<ul class="tab-box">
			<?php 
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
echo $etabs->newTab(JText::_('BL_TAB_PLAYER'), 'etab_player', 'players', $this->lists['jscurtab'] == 'etab_player' ? 'vis' : '');
echo $etabs->newTab(JText::_('BL_TAB_STAT'), 'etab_stat', 'statistic', $this->lists['jscurtab'] == 'etab_stat' ? 'vis' : '');
//if(count($lists["matches"])){
echo $etabs->newTab(JText::_('BL_TAB_MATCHES'), 'etab_match', 'tab_flag', $this->lists['jscurtab'] == 'etab_match' ? 'vis' : '');
//}
if (count($lists["photos"])) {
    echo $etabs->newTab(JText::_('BL_TAB_PHOTOS'), 'etab_photos', 'photo', $this->lists['jscurtab'] == 'etab_photo' ? 'vis' : '');
}
?>

		</ul>
		<!-- </tab box> -->
		
	</div>
	<!-- </module middle> -->
Esempio n. 3
0
/*------------------------------------------------------------------------
# JoomSport Professional
# ------------------------------------------------------------------------
# BearDev development company
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
$row = $this->row;
$lists = $this->lists;
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
?>

<script type="text/javascript">
<!--
function in_array(what, where) {
    for(var i=0, length_array=where.length; i<length_array; i++)
        if(what == where[i])
            return true;
    return false;
}
Joomla.submitbutton = function(task) {
    submitbutton(task);
}
function submitbutton(pressbutton) {
    var form = document.adminForm;
Esempio n. 4
0
}
?>

	</ul>
</div>
<!-- </control bar> -->
<?php 
if ($this->acl == 2) {
    ?>

<!-- <tab box> -->
<div class="module-middle solid">
		<ul class="tab-box">
			<?php 
    require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
    $etabs = new esTabs();
    echo $etabs->newTab(JText::_('BLFA_TEAM'), 'etab_team', 'star', $this->lists['jscurtab'] == 'etab_team' ? 'vis' : "");
    if (isset($this->lists['seass_filtr']) || !empty($this->lists['is_friendly_season'])) {
        echo $etabs->newTab(JText::_('BLFA_TEAMPLAYER'), 'etab_pl', 'players', $this->lists['jscurtab'] == 'etab_pl' ? 'vis' : "");
    }
    ?>

		</ul>
</div>		
<!-- </tab box> -->
<?php 
}
?>

<!-- <content module> -->
	<div class="content-module admin-mo-co">
Esempio n. 5
0
/*------------------------------------------------------------------------
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
$row = $this->row;
$lists = $this->lists;
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
?>

		<script type="text/javascript">
		<!--
		Joomla.submitbutton = function(task) {
			submitbutton(task);
		}
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if(pressbutton == 'matchday_cancel'){
				window.history.back(-1);
			}
			else{
					if( '<?php 
echo $lists['t_type'];
Esempio n. 6
0
    ?>
<span class='down'><!-- --></span><?php 
    echo $this->lists['seass_filtr'];
    ?>
</div>
				</form>
			</div>
			<?php 
}
?>

	</div>		
		<ul class="tab-box">
			<?php 
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
echo $etabs->newTab(JText::_('BLFA_MAIN'), 'match_conf', 'star', 'vis');
if (!$lists['t_single']) {
    echo $etabs->newTab(JText::_('BLFA_SQUARD'), 'squard_conf', '');
}
if ($this->acl == 2) {
    if ($lists["esport_invite_match"]) {
        echo $etabs->newTab(JText::_('BLFA_INVMATCH'), 'invmatch_conf', '');
    }
}
?>

		</ul>
		<!-- </tab box> -->
	
</div>
Esempio n. 7
0
echo $lists["panel"];
?>
<form action="<?php 
echo JRoute::_("index.php?option=com_joomsport&task=team&tid=" . $this->tid . "&sid=0&page=0&page2=0&Itemid=" . $Itemid);
?>
" method="post" name="adminForm" id="adminForm">
<!-- <module middle> -->
			<div class="module-middle solid">
				
				<!-- <back box> -->
				<div class="back dotted">
					<a href="javascript:void(0);" onclick="history.back(-1);" title="<?php 
echo JText::_("BL_BACK");
?>
">&larr; <?php 
echo JText::_("BL_BACK");
?>
</a>
					<div class="div_for_socbut">
						<?php 
echo $this->lists['socbut'];
?>
					</div>
					<div class="clear"></div>
				</div>
				<!-- </back box> -->
				
				<!-- <title box> -->
				<div class="title-box padd-bot">
					
					<h2>
Esempio n. 8
0
<?php

/*------------------------------------------------------------------------
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
?>

		<script type="text/javascript" src="components/com_joomsport/color_piker/201a.js"></script>
		<script type="text/javascript">
		var colors_count = parseInt('<?php 
echo count($this->lists['colors']) ? count($this->lists['colors']) : 1;
?>
');
		Joomla.submitbutton = function(task) {
			submitbutton(task);
		}
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if (pressbutton == 'season_save' || pressbutton == 'season_apply' || pressbutton == 'season_save_new') {
                var reg = /^\s+$/;
                if(form.s_name.value && !reg.test(form.s_name.value)){
Esempio n. 9
0
				</div>
				<?php 
}
?>

				<div class='jscontent'><span itemprop="description"><?php 
echo $lists["curseas"]->descr;
?>
</span></div>
				<div style="clear:both;"></div>
				<!-- <tab box> -->
				<ul class="tab-box">
					<?php 
if ($this->tmpl != 'component') {
    require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
    $etabs = new esTabs();
    if ($lists['is_group_matches'] || !$lists['is_matches']) {
        echo $etabs->newTab(JText::_('BL_TAB_TBL'), 'etab_main', 'table', $lists["unable_reg"] && $lists['season_par']->s_rules ? 'hide' : 'vis');
    }
    if ($lists['season_par']->s_rules) {
        echo $etabs->newTab(JText::_('BL_TAB_RULES'), 'etab_rules', 'tab_flag', $lists["unable_reg"] ? 'vis' : 'hide');
    }
    if ($lists['season_par']->s_descr) {
        echo $etabs->newTab(JText::_('BL_TAB_ABOUTSEAS'), 'etab_aboutm', 'tab_flag');
    }
}
?>

				</ul>
				<!-- </tab box> -->
				
Esempio n. 10
0
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
$row = $this->row;
$lists = $this->lists;
JHTML::_('behavior.tooltip');
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
?>

		<script type="text/javascript">
		Joomla.submitbutton = function(task) {
			submitbutton(task);
		}
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			 if(pressbutton == 'team_apply' || pressbutton == 'team_save' || pressbutton == 'team_save_new'){
                 var reg=/^\s+$/;
                 if(form.t_name.value != '' && !reg.test(form.t_name.value)){
					var srcListName = 'seas_all_add';
					var srcList = eval( 'form.' + srcListName );
					if(srcList){
						var srcLen = srcList.length;
Esempio n. 11
0
/*------------------------------------------------------------------------
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
JHTML::_('behavior.tooltip');
$lists = $this->lists;
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
?>

		
		<script type="text/javascript" src="components/com_joomsport/color_piker/201a.js"></script>
		<script type="text/javascript">
		function delete_logo(){
			getObj("logoiddiv").innerHTML = '';
		}
		</script>
		<form action="index.php?option=com_joomsport" method="post" name="adminForm" id="adminForm" enctype="multipart/form-data">
		<!-- <tab box> -->
		<ul class="tab-box">
			<?php 
echo $etabs->newTab(JText::_('BLBE_GENERAL'), 'main_cfg', '', 'vis');
echo $etabs->newTab(JText::_('BLBE_REGISTR'), 'reg_cfg', '');
Esempio n. 12
0
<?php

/*------------------------------------------------------------------------
# JoomSport Professional 
# ------------------------------------------------------------------------
# BearDev development company 
# Copyright (C) 2011 JoomSport.com. All Rights Reserved.
# @license - http://joomsport.com/news/license.html GNU/GPL
# Websites: http://www.JoomSport.com 
# Technical Support:  Forum - http://joomsport.com/helpdesk/
-------------------------------------------------------------------------*/
// no direct access
defined('_JEXEC') or die;
require_once JPATH_ROOT . DS . 'components' . DS . 'com_joomsport' . DS . 'includes' . DS . 'tabs.php';
$etabs = new esTabs();
?>

		<script type="text/javascript" src="components/com_joomsport/color_piker/201a.js"></script>
		<script type="text/javascript">
		var colors_count = parseInt('<?php 
echo count($this->lists['colors']) ? count($this->lists['colors']) : 1;
?>
');
		Joomla.submitbutton = function(task) {
			submitbutton(task);
		}
		function submitbutton(pressbutton) {
			var form = document.adminForm;
			if (pressbutton == 'season_save' || pressbutton == 'season_apply') {
				if(form.s_name.value != ''){
				
Esempio n. 13
0
defined('_JEXEC') or die('Restricted access');
if (isset($this->message)) {
    $this->display('message');
}
global $Itemid;
$Itemid = JRequest::getInt('Itemid');
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
echo $this->lists["panel"];
?>
<!-- <module middle> -->
	<div class="module-middle dotted">
		
		<!-- <back box> -->
		<div class="back dotted">
			<a href="javascript:void(0);" onclick="history.back(-1);" title="<?php 
echo JText::_("BL_BACK");
?>
">&larr; <?php 
echo JText::_("BL_BACK");
?>
</a>
			<div class="div_for_socbut">
				<?php 
echo $this->lists['socbut'];
?>
			</div>
			<div class="clear"></div>
		</div>
		<!-- </back box> -->
		
		<!-- <title box> -->
Esempio n. 14
0
		<!-- <title box> -->
		<div class="title-box">

			<h2><span itemprop="name"><?php 
echo $this->escape($this->ptitle);
?>
</span></h2>
			
		</div>
		<!-- </title box> -->
		<!-- <tab box> -->

		<ul class="tab-box">
			<?php 
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
echo $etabs->newTab(JText::_('BLFA_CLUB'), 'etab_team', 'tab_star', 'vis');
if (count($this->lists["teams"])) {
    echo $etabs->newTab(JText::_('BLFA_ADMIN_TEAM'), 'etab_pl', 'players');
}
if (count($this->lists["photos"])) {
    echo $etabs->newTab(JText::_('BL_TAB_PHOTOS'), 'etab_photos', 'photo');
}
?>

		</ul>


	<!-- </tab box> -->
	</div>
	<!-- </module middle> -->
Esempio n. 15
0
if ($match->m_location || $match->venue_id) {
    echo '<h3 class="result-box-stadium">';
    echo getJS_Location($match->id);
    echo '</h3>';
}
?>

					
				</div>
				<!-- </div>title box> -->
				
				<!-- <tab box> -->
				<ul class="tab-box">
					<?php 
require_once JPATH_ROOT . DIRECTORY_SEPARATOR . 'components' . DIRECTORY_SEPARATOR . 'com_joomsport' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'tabs.php';
$etabs = new esTabs();
echo $etabs->newTab(JText::_('BL_TAB_MATCH'), 'etab_match', 'star', 'vis');
$how_rowst_k = count($this->lists['squard1']) > count($this->lists['squard2']) ? count($this->lists['squard1']) : count($this->lists['squard2']);
if ($how_rowst_k) {
    echo $etabs->newTab(JText::_('BL_TAB_SQUAD'), 'etab_squad', 'players');
}
if ($match->match_descr) {
    echo $etabs->newTab(JText::_('BL_TAB_ABOUT'), 'etab_descr');
}
if (count($this->lists["photos"])) {
    echo $etabs->newTab(JText::_('BL_TAB_PHOTOS'), 'etab_photos', 'photo');
}
?>

				</ul>
				<!-- </tab box> -->