PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/outtheboxministry.org/themes/sunshine/layout/setting/includes/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/outtheboxministry.org/themes/sunshine/layout/setting/includes/project_list.phtml

<div class="border-bottom wo_job_experience wo_job_certificate project project_<?php echo $wo['project']->id ?>">
	<div class="wo_job_experience_info">
		<h4 class="title"><?php echo $wo['project']->name ?></h4>
		<p class="sub-title">
			<span class="bold"><?php echo $wo['lang']['start_date']; ?></span>: <?php echo $wo['project']->project_start; ?>
			<?php if (!empty($wo['project']->project_end) && strpos($wo['project']->project_end, 00) != 0) { ?>
				&nbsp;– &nbsp;<span class="bold"><?php echo $wo['lang']['end_date']; ?></span>: <?php echo $wo['project']->project_end; ?>
			<?php } ?>
		</p>
		<?php if (!empty($wo['project']->project_url)) { ?>
			<p class="sub-title">
				<span class="bold"><?php echo $wo['lang']['project_url']; ?></span>: <a href="<?php echo $wo['project']->project_url; ?>"><?php echo($wo['project']->project_url); ?></a>
			</p>
		<?php } ?>
		<?php if (!empty($wo['project']->associated_with)) { ?>
			<p>
				<span class="bold"><?php echo $wo['lang']['associated_with']; ?></span>: <?php echo $wo['project']->associated_with; ?>
			</p>
		<?php } ?>
		<?php if (!empty($wo['project']->description)) { ?>
			<p>
				<span class="bold"><?php echo $wo['lang']['description']; ?></span>: <?php echo $wo['project']->description; ?>
			</p>
		<?php } ?>
		<p>
			<button class="btn btn-danger project_btn" onclick="DeleteProject('<?php echo $wo['project']->id ?>','hide')"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z"></path></svg> <?php echo $wo['lang']['delete'] ?></button>
			<button class="btn btn-main project_btn" onclick="EditProject('<?php echo $wo['project']->id ?>')"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M8,12H16V14H8V12M10,20H6V4H13V9H18V12.1L20,10.1V8L14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H10V20M8,18H12.1L13,17.1V16H8V18M20.2,13C20.3,13 20.5,13.1 20.6,13.2L21.9,14.5C22.1,14.7 22.1,15.1 21.9,15.3L20.9,16.3L18.8,14.2L19.8,13.2C19.9,13.1 20,13 20.2,13M20.2,16.9L14.1,23H12V20.9L18.1,14.8L20.2,16.9Z"></path></svg> <?php echo $wo['lang']['edit'] ?></button>
		</p>
	</div>
</div>


<div class="modal fade sun_modal" id="edit_project_modal_<?php echo $wo['project']->id ?>" role="dialog" data-keyboard="false" style="overflow-y: auto;">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button>
        <h4 class="modal-title"><?php echo $wo['lang']['edit_project'] ?></h4>
      </div>
      <form class="form form-horizontal edit_project_form_<?php echo $wo['project']->id ?>" method="post" action="#">
        <div class="modal-body twocheckout_modal">
          <div class="modal_edit_project_modal_alert_<?php echo $wo['project']->id ?>"></div>
          <div class="clear"></div>
          <div class="sun_input col-lg-12">
            <input name="name" type="text" class="form-control input-md" autocomplete="off" placeholder="<?php echo $wo['lang']['name']; ?>" value="<?php echo $wo['project']->name ?>">
            <label class="plr15"><?php echo $wo['lang']['name']; ?></label>  
            <span class="help-block checking"></span>  
          </div>
          <div class="sun_input col-lg-6">
            <label class="plr15"><?php echo $wo['lang']['start_date']; ?></label>
            <input type="text" class="form-control edit_project_start_<?php echo $wo['project']->id ?>" name="project_start" value="<?php echo $wo['project']->project_start ?>">
          </div>
          <div class="sun_input col-lg-6">
            <label class="plr15"><?php echo $wo['lang']['end_date']; ?>:</label>  
            <input type="text" class="form-control  edit_project_end_<?php echo $wo['project']->id ?>" name="project_end" value="<?php echo $wo['project']->project_end ?>">
          </div>
          <div class="sun_input col-lg-6">
            <input name="associated_with" type="text" class="form-control input-md" autocomplete="off" placeholder="<?php echo $wo['lang']['associated_with']; ?>" value="<?php echo $wo['project']->associated_with ?>">
            <label class="plr15"><?php echo $wo['lang']['associated_with']; ?></label>  
            <span class="help-block checking"></span>  
          </div>
          <div class="sun_input col-lg-6">
            <input name="project_url" type="text" class="form-control input-md" autocomplete="off" placeholder="<?php echo $wo['lang']['project_url']; ?>" value="<?php echo $wo['project']->project_url ?>">
            <label class="plr15" for="project_url"><?php echo $wo['lang']['project_url']; ?></label>  
            <span class="help-block checking"></span>  
          </div>
          <div class="sun_input col-lg-12">
            <textarea name="description" class="form-control" rows="5"><?php echo $wo['project']->description ?></textarea>
            <label class="plr15" for="description"><?php echo $wo['lang']['description']; ?></label>  
            <span class="help-block checking"></span>  
          </div>
          <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <input type="hidden" name="id" class="hidden" value="<?php echo $wo['project']->id ?>">
        <div class="modal-footer">
          <div class="ball-pulse"><div></div><div></div><div></div></div>
          <button type="submit" class="btn btn-main btn-mat"><?php echo $wo['lang']['edit']; ?></button>
        </div>
      </form>
    </div>
  </div>
</div>
<script type="text/javascript">
	$(document).ready(function() { 
		$("#edit_project_modal_<?php echo $wo['project']->id ?>").appendTo('.full_edit_projects_modal');
	    var options = { 
	    	url: Wo_Ajax_Requests_File() + '?f=project&s=edit&hash=' + $('.main_session').val() + "&mode_type=linkedin",
	        beforeSubmit:  function () {
	        	$('.modal_edit_project_modal_alert_<?php echo $wo['project']->id ?>').empty();
	        	$("#edit_project_modal_<?php echo $wo['project']->id ?>").find('.btn-mat').attr('disabled', 'true');
	        	$("#edit_project_modal_<?php echo $wo['project']->id ?>").find('.btn-mat').text("<?php echo($wo['lang']['please_wait']) ?>");
	        }, 
	        success: function (data) {
	        	$("#edit_project_modal_<?php echo $wo['project']->id ?>").find('.btn-mat').removeAttr('disabled')
	        	$("#edit_project_modal_<?php echo $wo['project']->id ?>").find('.btn-mat').text("<?php echo($wo['lang']['edit']) ?>");
	        	if (data.status == 200) {
	        		$('.modal_edit_project_modal_alert_<?php echo $wo['project']->id ?>').html('<div class="alert alert-success bg-success"><i class="fa fa-check"></i> '+
		            data.message
		            +'</div>');
		            setTimeout(function (){
		            	location.reload();
		            }, 3000)
	        	} else {
	        		$('.modal_edit_project_modal_alert_<?php echo $wo['project']->id ?>').html('<div class="alert alert-danger bg-danger"> '+
	            data.message
	            +'</div>');
	        	} 
	        }
	    }; 
	    $('.edit_project_form_<?php echo $wo['project']->id ?>').ajaxForm(options); 
	});
</script>