403Webshell
Server IP : 103.234.187.230  /  Your IP : 216.73.216.216
Web Server : Apache
System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User : apache ( 48)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/adeetie/application/modules/beneficiary/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/adeetie/application/modules/beneficiary/views/updateProject.php
<style>
    .red{
        color:red;
    }
</style>
<?php foreach($projects as $pkey => $pvalue){ ?>
<div class="col-sm-12 from-area project-details">
    <div class="col-sm-12">
		<p class="projectnumber">Project <?php echo $pkey+1; ?></p>
	</div>
	<form action="" method="post" name="project-details-form" class="project-details-form" enctype="multipart/form-data">
        <div class="col-sm-12">
            <div class="alert alert-success" role="alert" style="display:none"></div>
            <div class="alert alert-danger" role="alert" style="display:none"></div>
        </div>
        <div class="col-sm-3">
			<div class="form-group">
				<input type="hidden" class="form-control csrftoken" name="<?php echo $this->security->get_csrf_token_name() ?>" value="<?php echo $this->security->get_csrf_hash() ?>">
                <input type="hidden" class="form-control projectid" name="projectid" placeholder="Project Id" value="<?php echo $pvalue->project_id;?>">
                <input type="hidden" class="form-control appnumber" name="appnumber" placeholder="App Number" value="<?php echo $pvalue->application_num;?>">
				<label for="">Name of Project <span class="red">*</span></label>
				<input type="text" class="form-control" name="projectname" placeholder="Project Name" value="<?php echo $pvalue->project_name?>">
			</div>
		</div>                       
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Sector <span class="red">*</span></label>
				<select name="sectorid" id="" class="form-control">
					<option value="">Select</option>';
					<?php foreach($sector as $value){
						$selected = ( $pvalue->sector_id == $value['sectorid'] ) ? "selected='selected'":"";
						echo '<option value="'.$value['sectorid'].'" '.$selected.'>'.$value['name'].'</option>';                   
					}?>
				</select>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Baseline Scenario</label>
				<input type="text" class="form-control" name="baselinescenario" placeholder="Baseline Scenario" value="<?php echo $pvalue->baseline_energy;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Fuel Saving (%)</label>
				<input type="text" name="fuelsaving" class="form-control" placeholder="Fuel Saving" value="<?php echo $pvalue->fuel_saving;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Electricity Saving (%)</label>
				<input type="text" class="form-control" name="electricitysaving" placeholder="Electricity Saving" value="<?php echo $pvalue->electricity_saving;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Total Project Cost (Rs.) <span class="red">*</span></label>
				<input type="number" class="form-control" name="totalprojectcost" placeholder="Total Project Cost" value="<?php echo $pvalue->project_cost;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Loan Amount (Rs.) <span class="red">*</span></label>
				<input type="number" class="form-control" name="loanamount" placeholder="Loan Amount" value="<?php echo $pvalue->loan_amount;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Cost of EE measures in project <span class="red">*</span></label>
				<input type="text" class="form-control" name="eemeasurecost" placeholder="EE measure in project cost" value="<?php echo $pvalue->cost_of_ee_measures;?>">
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Status of Project <span class="red">*</span></label>
				<select name="statusofproject" id="statusofproject" class="form-control">
					<option value="Preliminary Assessment Done" <?php echo ($pvalue->project_status=="Preliminary Assessment Done")?"selected='selected'":""; ?>>Preliminary Assessment Done</option>
					<option value="Energy Audit Completed" <?php echo ($pvalue->project_status=="Energy Audit Completed")?"selected='selected'":""; ?>>Energy Audit Completed</option>
					<option value="Quotation Invited from Vendors" <?php echo ($pvalue->project_status=="Quotation Invited from Vendors")?"selected='selected'":""; ?>>Quotation Invited from Vendors</option>
				</select>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Project Location - State <span class="red">*</span></label>
				<select name="locationstate" class="form-control locationstate">
					<option value="">Select</option>';
					<?php foreach( $states as $svalue ) {
                        $stateselected = ( $pvalue->state_id == $svalue['state_code'] ) ? "selected='selected'":"";
						echo '<option value="'.$svalue['state_code'].'" '.$stateselected.'>'.$svalue['state_name'].'</option>';
					} ?>
				</select>
			</div>
		</div>
		<div class="col-sm-3">
			<div class="form-group">
				<label for="">Project Location - District <span class="red">*</span></label>
				<select name="locationdistrict" class="form-control locationdistrict">
					<option value="">Select</option>';
					<?php foreach( $districts as $dvalue ) {
						$distselected = ( $pvalue->district_id == $dvalue['district_code'] ) ? "selected='selected'":"";
                        $displydist = ( $pvalue->state_id == $dvalue['state_code'] ) ? "":"style='display:none'";
						echo '<option value="'.$dvalue['district_code'].'" '.$distselected.' stateid="'.$dvalue['state_code'].'" '.$displydist.'>'.$dvalue['district_name'].'</option>';
					} ?>
				</select>
			</div>
		</div>
		<div class="col-sm-12">
			<div class="form-group">
				<label for="">Details of Energy Efficiency measure / technologies <span class="red">*</span></label><br/>
				<textarea name="detailsenergymeasure" id="" cols=" " rows="3" style="width:100%"><?php echo $pvalue->details_of_ee_measure; ?></textarea>
			</div>
		</div>
		<div class="col-sm-4">
			<div class="form-group">
            <?php $isgradeYes = ($pvalue->isgrading =='yes')?'style="display:none"':'';
                  $isgradeNo = ($pvalue->isgrading =='no')?'style="display:none"':''; ?>
				<label for="">Is Grading of EE Project available? <span class="red">*</span></label><br/>
				<input type="radio" class="isgradingyes" name="isgrading" value="yes" <?php echo ($pvalue->isgrading=='yes')?'checked':''; ?>> Yes
				<input type="radio" class="isgradingno" name="isgrading" value="no" <?php echo ($pvalue->isgrading=='no')?'checked':''; ?>> No
			</div>
		</div>
		<div class="col-sm-4 displayisgradingyes" <?php echo $isgradeNo; ?>>
			<div class="form-group">
				<label for="">Grading of EE Project <span class="red">*</span></label><br/>
                <?php $gselected = "selected='selected'"; ?>
				<select name="projectgrade" id="" class="form-control projectgrade">
					<option value="">Select</option>
					<option value="1" <?php echo ($pvalue->project_grade=='1')?$gselected:'';?>>GRADE 1</option> 
					<option value="2" <?php echo ($pvalue->project_grade=='2')?$gselected:'';?>>GRADE 2</option> 
					<option value="3" <?php echo ($pvalue->project_grade=='3')?$gselected:'';?>>GRADE 3</option> 
					<option value="4" <?php echo ($pvalue->project_grade=='4')?$gselected:'';?>>GRADE 4</option> 
					<option value="5" <?php echo ($pvalue->project_grade=='5')?$gselected:'';?>>GRADE 5</option> 
					<option value="6" <?php echo ($pvalue->project_grade=='6')?$gselected:'';?>>GRADE 6</option> 
					<option value="7" <?php echo ($pvalue->project_grade=='7')?$gselected:'';?>>GRADE 7</option> 
				</select>
			</div>
		</div>
		<div class="col-sm-4 displayisgradingno" <?php echo $isgradeYes; ?>>
			<div class="form-group">
				<label for="">If Grading is not done, are you willing to opt for grading of your EE Project?</label><br/>
				<input type="radio" id="gradingnotdoneyes" name="gradingnotdone" value="Yes" <?php echo (strtolower($pvalue->is_opt_for_grading)=='yes')?'checked="checked"':''; ?>> Yes
				<input type="radio" id="gradingnotdoneno" name="gradingnotdone" value="No" <?php echo (strtolower($pvalue->is_opt_for_grading)=='no')?'checked="checked"':''; ?>> No
			</div>
		</div>
		<div class="col-sm-4 gradecertificate" <?php echo $isgradeNo; ?>>
			<div class="form-group">
				<label for="">Grading Certificate if Available <span class="red" style="font-size: 12px;font-weight: 500;">( .PDF only )</span></label><br/>
				<input type="file" name="gradecertificate" class="form-control" />
                <?php echo (!empty($pvalue->grading_certificate)?"<a href='".$pvalue->grading_certificate."' target='_blank'>View<a>":'');?>
			</div>
		</div>
		<div class="col-sm-12">
			<a href="">
				<button class="btn btn-sm btn-success projectsave" data-toggle="modal" data-target="#loadingdata">Save</button>
			</a>
            <?php if($pkey != 0){ ?>
			<a href="">
				<button class="btn btn-sm btn-danger projectremove" data-toggle="modal" data-target="#loadingdata">Remove</button>
			</a>
            <?php } ?>
		</div>
    </form>
</div>
<?php } ?>

Youez - 2016 - github.com/yon3zu
LinuXploit