Subversion-Projekte lars-tiefland.ci

Revision

Revision 2198 | Revision 2209 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 2198 Revision 2200
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile -... Zeile 2...
-
 
2
 
-
 
3
    //$Id: Medien.php 2200 2017-12-23 15:59:24Z lars $
2
 
4
 
3
class Medien extends CI_Controller
5
class Medien extends CI_Controller
4
{
6
{
5
	public function __construct()
7
	public function __construct()
6
	{
8
	{
Zeile 17... Zeile 19...
17
 
19
 
Zeile 18... Zeile 20...
18
	}
20
	}
19
 
21
 
-
 
22
	public function get()
20
	public function get()
23
	{
21
	{
24
		$posLinks = array();
22
		$folder = $this->input->get("folder");
25
		$folder = $this->input->get("folder");
23
		$a_id = $this->input->get("l_id");
26
		$a_id = $this->input->get("l_id");
24
		$start_folder = $GLOBALS["webs"]["verzeichnis"] . "/images/upload/";
27
		$start_folder = $GLOBALS["webs"]["verzeichnis"] . "/images/upload/";
Zeile 74... Zeile 77...
74
					"name" => $pos,
77
					"name" => $pos,
75
					"fullName" => $fullName,
78
					"fullName" => $fullName,
76
					);
79
					);
77
			}
80
			}
78
		}
81
		}
79
		$this->smarty->assign("images", $images);
-
 
80
		$this->smarty->assign("folders", $ret);
82
		$this->smarty->assign("folders", $ret);
81
		$this->smarty->assign("folder", $folder);
83
		$this->smarty->assign("folder", $folder);
82
		$this->smarty->assign("pos", $posLinks);
84
		$this->smarty->assign("pos", $posLinks);
83
		$this->smarty->assign("real_folder", $real_folder);
85
		$this->smarty->assign("real_folder", $real_folder);
84
		$medien = $this->medien->get();
86
		$medien = $this->medien->get();