コード例 #1
0
ファイル: view_details.php プロジェクト: JozefAB/qk
<?php

/*------------------------------------------------------------------------
# com_guru
# ------------------------------------------------------------------------
# author    iJoomla
# copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.ijoomla.com
# Technical Support:  Forum - http://www.ijoomla.com/forum/index/
-------------------------------------------------------------------------*/
defined('_JEXEC') or die('Restricted access');
$teachers_names = $this->teachers;
$guruAdminModelguruCommissions = new guruAdminModelguruCommissions();
@($teachers_details_list = $this->teachers_details_list);
$page = JRequest::getVar("page", "");
$course_id = JRequest::getVar("course_id", "");
$author_id = JRequest::getVar("cid", "0");
$config = $this->config;
$date = JRequest::getVar("date", "");
$id = JRequest::getVar("id", "0");
$p = JRequest::getVar("p", "0");
$orders = JRequest::getVar("orders", "");
$datetype = $config->datetype;
$currencyc = JRequest::getVar("currencyc", "");
$b = JRequest::getVar("block", "");
$sum_price = 0;
$sum_price_paid = 0;
$sum_commission = 0;
$model = $this->model;
if ($page == "paid") {
コード例 #2
0
ファイル: historycommission.php プロジェクト: JozefAB/neoacu
# author    iJoomla
# copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.ijoomla.com
# Technical Support:  Forum - http://www.ijoomla.com/forum/index/
-------------------------------------------------------------------------*/
defined('_JEXEC') or die('Restricted access');
$doc = JFactory::getDocument();
$doc->addScript(JURI::root() . '/components/com_guru/js/sorttable.js');
$commissions_paid = $this->commissions_paid;
$n = count($commissions_paid);
$sum = 0;
$config = $this->config;
$currencypos = $config->currencypos;
$datetype = $config->datetype;
$guruAdminModelguruCommissions = new guruAdminModelguruCommissions();
?>
<style>
	div.modal {
			z-index: 9999;
			margin-left:-45%;
			top:6%;
			padding:10px;
			width:90%;
	}
	.modal-backdrop, .modal-backdrop.fade.in {
		opacity: 0.4 !important;
	}
	div.modal-header{
		padding :5px;
	}
コード例 #3
0
ファイル: pendingcommission.php プロジェクト: JozefAB/qk
# author    iJoomla
# copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.ijoomla.com
# Technical Support:  Forum - http://www.ijoomla.com/forum/index/
-------------------------------------------------------------------------*/
defined('_JEXEC') or die('Restricted access');
jimport('joomla.html.html.grid');
$teacher_name = $this->teacher_name;
$commissions_to_pay = $this->commissions_to_pay;
$n = count($commissions_to_pay);
$config = $this->config;
$currencypos = $config->currencypos;
$doc = JFactory::getDocument();
$total_sum_per_currency = array();
$guruAdminModelguruCommissions = new guruAdminModelguruCommissions();
$doc->addScript(JURI::root() . '/components/com_guru/js/sorttable.js');
$i = "";
?>
<span id="message_lib" class="alert" style="display:none; margin-top: 5px;">
    <a href='http://www.ijoomla.com/redirect/guru/mpdf.htm' target="_blank">
        <?php 
echo "1. " . JText::_("GURU_DOWNLOAD_MPDF1");
?>
    </a>
    <br />
    <?php 
echo "2. " . JText::_("GURU_DOWNLOAD_MPDF2");
?>
    <br />
    <?php 
コード例 #4
0
ファイル: paidcommission.php プロジェクト: JozefAB/qk
# copyright Copyright (C) 2013 ijoomla.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.ijoomla.com
# Technical Support:  Forum - http://www.ijoomla.com/forum/index/
-------------------------------------------------------------------------*/
defined('_JEXEC') or die('Restricted access');
$commissions_paid_teacher = $this->commissions_paid_teacher;
$n = count($commissions_paid_teacher);
$config = $this->config;
$currencypos = $config->currencypos;
$datetype = $config->datetype;
$doc = JFactory::getDocument();
$doc->addScript(JURI::root() . '/components/com_guru/js/sorttable.js');
include_once JPATH_SITE . DS . 'administrator' . DS . 'components' . DS . 'com_guru' . DS . 'views' . DS . 'gurudays' . DS . 'tmpl' . DS . 'course_modal.php';
$doc->addStyleSheet(JURI::base() . "components/com_guru/css/g_admin_modal.css");
$guruAdminModelguruCommissions = new guruAdminModelguruCommissions();
?>
<style>
	div.modal {
			z-index: 9999;
			margin-left:-45%;
			top:6%;
			padding:10px;
			width:90%;
	}
	.modal-backdrop, .modal-backdrop.fade.in {
		opacity: 0.4 !important;
	}
	div.modal-header{
		padding :5px;
	}