Ejemplo n.º 1
0
Archivo: view.php Proyecto: JozefAB/qk
                 <tr>
                   <td width="4" style="background-color: ' . $configs->st_donecolor . '">&nbsp;&nbsp;</td>
                   <td>' . JText::_('GURU_PROGRAM_DETAILS_KEY_COMPLETE') . '</td>
                 </tr>
                 <tr>
                   <td width="4" style="background-color: ' . $configs->st_notdonecolor . ';"></td>
                   <td>' . JText::_('GURU_PROGRAM_DETAILS_KEY_IN_PROGRESS') . '</td>
                 </tr>
                 <tr>
                   <td width="4" style="background-color: ' . $status_color . ';"></td>
                   <td>' . JText::_('GURU_PROGRAM_DETAILS_KEY_NOT_STARTED') . '</td>
                 </tr>
    		</table>';
 $daylayout = str_replace('{key}', $colorkey, $daylayout);
 $row_tasks = '';
 $the_task_list = guruModelguruDays::getlistTask(intval($_GET['cid']));
 if (isset($the_task_list)) {
     // if trial or subscriber - begin
     $the_task_list = explode(';', $the_task_list);
     $the_task_list = $the_task_list[$day->ordering - 1];
     $the_task_list = explode('-', $the_task_list);
     if (isset($s) && $s == '-1') {
         $force_guest_for_a_rebuy = 'guest';
     } else {
         $force_guest_for_a_rebuy = '';
     }
     foreach ($the_task_list as $one_task_obj) {
         if ($one_task_obj) {
             // begin if
             $one_task_obj = explode(',', $one_task_obj);
             $task = guruModelguruDays::getTask($one_task_obj[0]);