@ -42,10 +42,8 @@ function show_folder_up() 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    $level = FileManager::get_levels($folder);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    if ($level == 1) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        echo "< a  href = '".api_get_self(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        )."?content=Document& source_forum=".$_GET['source_forum']."& source_id=$source_id& action=$action& learnpath_id=$learnpath_id& chapter_id=$chapter_id& originalresource=no'>< img  src = '../img/folder_up.gif'  border = '0'  / > ".get_lang(  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            'LevelUp'  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        )."< / a > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        echo "< a  href = '".api_get_self()."?content=Document&source_forum=".$_GET[' source_forum ' ] . " & amp ; source_id = $source_id&action=$action&learnpath_id=$learnpath_id&chapter_id=$chapter_id&originalresource=no' >   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                ".Display::return_icon('folder_up.gif')." ".get_lang('LevelUp')."< / a > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    if ($level and $level != 0 and $level != 1) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        $folder_up = $folder;  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -54,9 +52,8 @@ function show_folder_up() 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        unset($folder_temp[$last]);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        $folder_up = implode('/', $folder_temp);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        echo "< a  href = '".api_get_self(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        )."?content=Document& source_forum=".$_GET['source_forum']."& folder=$folder_up& source_id=$source_id& action=$action& learnpath_id=$learnpath_id& chapter_id=$chapter_id& originalresource=no'>< img  src = '../img/folder_up.gif'  border = '0'  / > ".get_lang(  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            'LevelUp'  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        )."< / a > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        )."?content=Document& source_forum=".$_GET['source_forum']."& folder=$folder_up& source_id=$source_id& action=$action& learnpath_id=$learnpath_id& chapter_id=$chapter_id& originalresource=no'>  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					         ".Display::return_icon('folder_up.gif')." ".get_lang('LevelUp')."< / a > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					}  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -86,10 +83,10 @@ function show_documents($folder) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (FileManager::get_levels($row['path']) - 1 == 1) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                // showing the right icon  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if (file_or_folder($row['path'])) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo '< img  src = "../img/file.gif"  align = "middle"  / > ' ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('file.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    $image = FileManager::choose_image($row['path']);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = \"../img/$image\"  align = \"middle\"  / > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon($image) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                // folders should be clickable  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -140,10 +137,10 @@ function show_documents($folder) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                $good_key = key($good_paths);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                // showing the right icon  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if (file_or_folder($path)) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo '< img  src = "../img/file.gif"  align = "middle"  / > ' ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('file.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    $image = FileManager::choose_image($path);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = \"../img/$image\"  align = \"middle\"  / > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon($image) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                // folders should be clickable  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -234,19 +231,19 @@ function display_addedresource_link($type, $id, $style = '') 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $TABLEAGENDA = Database::get_course_table(TABLE_AGENDA);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query("SELECT * FROM $TABLEAGENDA WHERE c_id = $course_id AND id=$id");  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow = Database::fetch_array($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/agenda.gif"  align = "middle"  / >   < a  href = "../calendar/agenda.php" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('agenda.gif').'  < a  href = "../calendar/agenda.php" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Ad_Valvas':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $tbl_announcement = Database::get_course_table(TABLE_ANNOUNCEMENT);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query("SELECT * FROM $tbl_announcement WHERE c_id = $course_id AND id=$id");  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow = Database::fetch_array($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/valves.gif"  align = "middle"  / >   < a  href = "../announcements/announcements.php" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('valves.gif').'  < a  href = "../announcements/announcements.php" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Link':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            Database::get_course_table(TABLE_LINK);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query("SELECT * FROM $TABLETOOLLINK WHERE c_id = $course_id AND id=$id");  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow = Database::fetch_array($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/links.gif"  align = "middle"  / >   < a  href = "#"  onclick = "javascript:window.open(\'../link/link_goto.php?link_id='.$myrow['id'].'&link_url='.urlencode(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('links.gif').'  < a  href = "#"  onclick = "javascript:window.open(\'../link/link_goto.php?link_id='.$myrow['id'].'&link_url='.urlencode(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                $myrow['url']  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            )."','MyWindow','width=500,height=400,top='+((screen.height-400)/2)+',left='+((screen.width-500)/2)+',scrollbars=1,resizable=1,menubar=1'); return false;\"".$styling.'>'.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -254,13 +251,13 @@ function display_addedresource_link($type, $id, $style = '') 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $TBL_EXERCICES = Database::get_course_table(TABLE_QUIZ_TEST);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query("SELECT * FROM $TBL_EXERCICES WHERE c_id = $course_id AND  id=$id");  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow = Database::fetch_array($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/quiz.gif"  align = "middle"  / >   < a  href = "../exercice/exercise_submit.php?exerciseId='.$myrow['id'].'" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('quiz.gif').'  < a  href = "../exercice/exercise_submit.php?exerciseId='.$myrow['id'].'" ' . $ styling . ' > '.$myrow['title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Forum':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $TBL_FORUMS = Database::get_course_table(TABLE_FORUM);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query("SELECT * FROM $TBL_FORUMS WHERE c_id = $course_id AND forum_id=$id");  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow = Database::fetch_array($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/forum.gif"  align = "middle"  / >   < a  href = "../phpbb/viewforum.php?forum='.$myrow['forum_id'].'&md5='.$myrow['md5'].'" ' . $ styling . ' > '.$myrow['forum_name']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('forum.gif').'  < a  href = "../phpbb/viewforum.php?forum='.$myrow['forum_id'].'&md5='.$myrow['md5'].'" ' . $ styling . ' > '.$myrow['forum_name']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Thread': //=topics  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            //deprecated  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -275,7 +272,7 @@ function display_addedresource_link($type, $id, $style = '') 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $sql_title = "SELECT * FROM $tbl_posts_text WHERE post_id=".$myrow["post_id"];  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result_title = Database::query($sql_title);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow_title = Database::fetch_array($result_title);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/forum.gif"  align = "middle"  / >   < a  href = "../phpbb/viewtopic.php?topic='.$myrow['topic_id'].'&forum='.$myrow['forum_id'].'&md5='.$myrow['md5'].'" ' . $ styling . ' > '.$myrow_title['post_title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('forum.gif').'  < a  href = "../phpbb/viewtopic.php?topic='.$myrow['topic_id'].'&forum='.$myrow['forum_id'].'&md5='.$myrow['md5'].'" ' . $ styling . ' > '.$myrow_title['post_title']."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Post':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            //deprecated  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -284,7 +281,7 @@ function display_addedresource_link($type, $id, $style = '') 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $sql = "SELECT * FROM $tbl_post p, $tbl_post_text t WHERE p.post_id = t.post_id AND p.post_id = $id";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $result = Database::query($sql);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $post = Database::fetch_object($result);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/forum.gif"  align = "middle"  / >   < a  href = "../phpbb/viewtopic.php?topic='.$post->topic_id.'&forum='.$post->forum_id.'" ' . $ styling . ' > '.$post->post_title."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('forum.gif').'  < a  href = "../phpbb/viewtopic.php?topic='.$post->topic_id.'&forum='.$post->forum_id.'" ' . $ styling . ' > '.$post->post_title."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Document':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $dbTable = Database::get_course_table(TABLE_DOCUMENT);  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -298,10 +295,10 @@ function display_addedresource_link($type, $id, $style = '') 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $ext = strtolower($ext[sizeof($ext) - 1]);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $myrow['path'] = rawurlencode($myrow['path']);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $in_frames = in_array($ext, array('htm', 'html', 'gif', 'jpg', 'jpeg', 'png'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/'.$image.'"  align = "middle"  / >   < a  href = "../document/'.($in_frames ? 'showinframes.php?file=' : 'download.php?doc_url=').$myrow['path'].'" ' . $ styling . ' > '.$filename."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon($image).'  < a  href = "../document/'.($in_frames ? 'showinframes.php?file=' : 'download.php?doc_url=').$myrow['path'].'" ' . $ styling . ' > '.$filename."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        case 'Externallink':  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< img  src = "../img/links.gif"  align = "middle"  / >   < a  href = "'.$id.'" ' . $ styling . ' > '.$id."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo Display::return_icon('links.gif').'  < a  href = "'.$id.'" ' . $ styling . ' > '.$id."< / a > < br  / > \n";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            break;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					}  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -361,10 +358,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -383,7 +379,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($myrow["title"], $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/agenda.gif'  align = \"absmiddle\"  alt = 'agenda' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('agenda.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -441,9 +437,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -464,7 +460,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($title, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/valves.gif'  align = \"absmiddle\"  alt = 'ad valvas' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('valves.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -514,10 +510,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -537,9 +532,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($linktype == 'Link _self') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/links.gif'  align = \"absmiddle\"  alt = 'links' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('links.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/link_blank.gif'  align = \"absmiddle\"  alt = 'blank links' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('link_blank.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $thelink = $myrow["url"];  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -596,10 +591,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -618,7 +612,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($myrow["title"], $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/quiz.gif'  align = \"absmiddle\"  alt = 'quizz' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('quiz.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -676,10 +670,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -698,7 +691,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/jqz.gif'  align = \"absmiddle\"  alt = 'hot potatoes' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('jqz.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $cid = $_course['official_code'];  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -751,9 +744,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -774,7 +767,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($myrow["forum_name"], $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/forum.gif'  align = \"absmiddle\"  alt = 'forum' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('forum.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            $forumparameters = "forum=".$myrow["forum_id"]."&md5=".$myrow["md5"];   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -829,10 +822,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -852,7 +844,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($myrow["topic_title"], $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/forum.gif'  align = \"absmiddle\"  alt = 'forum' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('forum.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -916,10 +908,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -939,7 +930,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($myrow_titel["post_title"], $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/forum.gif'  align = \"absmiddle\"  alt = 'forum' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('forum.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -986,9 +977,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1017,7 +1008,8 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($filename, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/$image'  align = \"absmiddle\"  alt = '$image' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon($image);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1073,9 +1065,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1095,7 +1087,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/works.gif'  align = \"absmiddle\" > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('works.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = \"".api_get_self(   
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1141,9 +1133,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1163,7 +1155,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/dropbox.gif'  align = \"absmiddle\" > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('dropbox.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1210,9 +1202,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1232,7 +1224,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/introduction.gif'  align = \"absmiddle\"  alt = 'introduction' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('introduction.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1277,9 +1269,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1299,7 +1291,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/info.gif'  align = \"absmiddle\"  alt = 'info' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('info.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1344,9 +1336,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden')) ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1366,7 +1358,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/group.gif'  align = \"absmiddle\"  alt = 'group' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('group.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1413,10 +1405,9 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon != 'nolink') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                if ($completed == 'completed') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                } else {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo "< img  src = '../img/checkbox_on2.gif'  border = '0'  width = '13'  height = '11'  alt = 'on'  style = 'visibility: hidden' > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    //echo "  ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    echo Display::return_icon('checkbox_on2.gif', 'on', array('style' => 'visibility: hidden'));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if (($builder != 'builder') and ($icon != 'wrap')) {  
				
			 
			
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
				 
				 
				
					@ -1435,7 +1426,7 @@ function display_addedresource_link_in_learnpath($type, $id, $completed, $id_in_ 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                return (shorten($name, $length));  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($icon == 'icon') {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< img  src = '../img/members.gif'  align = \"absmiddle\"  alt = 'members' > " ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo Display::return_icon('members.gif') ;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($builder != 'builder') {  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1790,11 +1781,9 @@ function remove_resource($resource_key) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					function show_addresource_button($additionalparameters = '')  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					{  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    global $charset;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    echo '< label  for = "addresources" > < img  src = "../img/attachment.gif"  / > < / label > < input  class = "link_alike"  type = "submit"  name = "addresources"  id = "addresources"  value = "'.api_htmlentities(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        get_lang('Attachment'),  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        ENT_QUOTES,  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        $charset  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    ).'" '.$additionalparameters.' />';  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    echo '< label  for = "addresources" >   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    '.Display::return_icon('attachment.gif').'< / label >   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					     < input  class = "link_alike"  type = "submit"  name = "addresources"  id = "addresources"  value = "'.api_htmlentities(get_lang('Attachment'),ENT_QUOTES, $charset).'"  ' . $ additionalparameters . '  / > ';  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					}  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					/**  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1901,14 +1890,6 @@ function update_added_resources($type, $id) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					 */  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					function display_added_resources($type, $id, $style = '')  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					{  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    // the array containing the icons  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    $arr_icons = array(  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        'Agenda' => '../img/agenda.gif',  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        'Ad Valvas' => '../img/valves.gif',  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        'Link' => '../img/links.gif',  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					        'Exercise' => '../img/quiz.gif'  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    );  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    $_course = api_get_course_info();  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    global $origin;  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					    $TABLERESOURCE = Database::get_course_table(TABLE_LINKED_RESOURCES, $_course['dbName']);  
				
			 
			
		
	
	
		
			
				
					
						
							
								 
							 
						
						
							
								 
							 
						
						
					 
				
				 
				 
				
					@ -1983,18 +1964,12 @@ function display_resources($showdeleteimg) 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            parse_str($test['query'], $output);  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					
 
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            if ($showdeleteimg == 1) {  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //if (strstr($_SERVER['REQUEST_URI'],"?id="))  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //	{ echo " < a  href = '".api_get_self()."?id=".$output[' id ' ] . " & amp ; " ;  }   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //else  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //	{ echo " < a  href = '".api_get_self()."?";  }   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //action=$action& id=$id&   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                //echo "action=$action& id=$id& originalresource=no& resourceaction=removeresource& key=".key($addedresource)."'>< img  src = '../img/delete.gif'  border = '0'  alt = 'resource ".get_lang(' Delete ' ) . " '  / > < / a > < br  / > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                echo "< a  href = ".api_get_self(   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                )."?showresources=true& source_forum=".$_GET['source_forum']."& resourceaction=removeresource& locationkey=".key(  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    $addedresource  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                )."& source_id=$source_id& action=$action& learnpath_id=$learnpath_id& chapter_id=$chapter_id& originalresource=no>< img  src = '../img/delete.gif'  border = '0'  alt = 'resource  " . get_lang (   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    ' Delete'   
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                )."' /> < / a > < br  / > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                )."& source_id=$source_id& action=$action& learnpath_id=$learnpath_id& chapter_id=$chapter_id& originalresource=no>  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                    ".Display::return_icon('delete.gif', get_lang('Delete'))."  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					                < / a > < br  / > ";  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            }  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            echo '< / td > < / tr > ';  
				
			 
			
		
	
		
			
				
					 
					 
				
				 
				 
				
					            next($addedresource);