whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
public_html
/
application
/
views
/
media
/
Upload File:
files >> //proc/self/root/home/papecmvm/public_html/application/views/media/model_view.php
<div class='row'> <div class='col-sm-6'> <?php if(($view[0]['filetype']=='.jpg')||($view[0]['filetype']=='.png')||($view[0]['filetype']=='.gif')) {?> <img data-value='<?php echo $view[0]['tblmedia_id']; ?>' style='cursor: pointer;max-width: 430px;' src="<?php echo base_url().$view[0]['file_path'];?>" /> <?php } else if ($view[0]['filetype'] =='.pdf') { echo '<i data-value='.$view[0]["tblmedia_id"].' class="fa fa-file-pdf-o" style="color: #296091;font-size:130px;cursor: pointer;"></i>'; } else { echo '<i data-value='.$view[0]["tblmedia_id"].' class="fa fa-file-text" style="color: #296091;font-size:130px;cursor: pointer;"></i>'; }?> </div> <div class='col-sm-6' style="border-left: 2px solid #ccc;"> <form class="form-horizontal" action='<?php echo site_url('admin/mediamanagement/update'); ?>' method='post'> <div class="form-group" > <label for="inputName" class="col-sm-3 control-label">File Name</label> <input type="hidden" readonly='true' name='id' value='<?php echo $view[0]['tblmedia_id'];?>'> <div class="col-sm-9"> <input type="email" readonly='true' value='<?php echo $view[0]['file_name'];?>' class="form-control" id="inputName" placeholder="Name"> </div> </div> <div class="form-group"> <label for="inputEmail" class="col-sm-3 control-label" >File Type</label> <div class="col-sm-9"> <input type="text" class="form-control" id="inputEmail" readonly='true' value='<?php echo $view[0]['filetype'];?>' > </div> </div> <div class="form-group"> <label for="inputName" class="col-sm-3 control-label" >File Path</label> <div class="col-sm-9"> <input type="text" class="form-control" id="inputName" onfocus="this.select();" value='<?php echo base_url().$view[0]['file_path'];?>'> </div> </div> <div class="form-group"> <label for="inputExperience" class="col-sm-3 control-label">Caption</label> <div class="col-sm-9"> <textarea class="form-control" name='main' id="inputExperience" placeholder="Caption"><?php echo $view[0]['main_text'];?> </textarea> </div> </div> <div class="form-group"> <label for="inputSkills" class="col-sm-3 control-label">Caption Desc</label> <div class="col-sm-9"> <textarea class="form-control" name ='sub' id="inputExperience" placeholder="Caption Desc"> <?php echo $view[0]['sub_text'];?></textarea> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <button type="submit" class="btn bg-olive margin">Update</button> </div> </div> </form> </div> </div>
Copyright ©2021 || Defacer Indonesia