%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/beta/64801_wp-content/themes/intosai/templates/forms/
Upload File :
Create Path :
Current File : /var/www/pn/beta/64801_wp-content/themes/intosai/templates/forms/edit_project.php

<form id="editproject" class="form" name="editproject" method="post" action="<?php bloginfo('template_url') ?>/lib/user_functions/edit_project.php?editproject" novalidate="novalidate">

    <?php
        // Check which tooltips exist
        $tooltip_name           = get_field('tooltip_name', 'project_tooltip');
        $tooltip_status         = get_field('tooltip_status', 'project_tooltip');
        $tooltip_benlvl         = get_field('tooltip_benlvl', 'project_tooltip');
        $tooltip_bensai         = get_field('tooltip_bensai', 'project_tooltip');
        $tooltip_region         = get_field('tooltip_region', 'project_tooltip');
        $tooltip_description    = get_field('tooltip_description', 'project_tooltip');
        $tooltip_initiation     = get_field('tooltip_initiation', 'project_tooltip');
        $tooltip_furtherlink    = get_field('tooltip_furtherlink', 'project_tooltip');
        $tooltip_cp_ben         = get_field('tooltip_cp_ben', 'project_tooltip');
        $tooltip_funding        = get_field('tooltip_funding', 'project_tooltip');
        $tooltip_sof_custom     = get_field('tooltip_sof_custom', 'project_tooltip');
        $tooltip_cp_donor       = get_field('tooltip_cp_donor', 'project_tooltip');
        $tooltip_impagency      = get_field('tooltip_impagency', 'project_tooltip');
        $tooltip_cp_imp         = get_field('tooltip_cp_imp', 'project_tooltip');
        $tooltip_from           = get_field('tooltip_from', 'project_tooltip');
        $tooltip_to             = get_field('tooltip_to', 'project_tooltip');
        $tooltip_budget         = get_field('tooltip_budget', 'project_tooltip');
        $tooltip_supptype       = get_field('tooltip_supptype', 'project_tooltip');
        $tooltip_suppmodal      = get_field('tooltip_suppmodal', 'project_tooltip');
        $tooltip_suppcats       = get_field('tooltip_suppcats', 'project_tooltip');
        $tooltip_suppbased      = get_field('tooltip_suppbased', 'project_tooltip');
        $tooltip_linkedproj     = get_field('tooltip_linkedproj', 'project_tooltip');
        $tooltip_other          = get_field('tooltip_other', 'project_tooltip');
        $tooltip_pstatus        = get_field('tooltip_pstatus', 'project_tooltip');
        $tooltip_country        = get_field('tooltip_country', 'project_tooltip');
        $tooltip_dac            = get_field('tooltip_dac', 'project_tooltip');
    ?>

    <div class="form_sec third">

        <!-- ||||||||||||||||||| PROJECT NAME & STATUS OF PROJECT |||||||||||||||||||  -->

        <div class="left_middle">
            <label for="org">
                Project/Programme Name<span>*</span>

                <?php if($tooltip_name) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_name; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="projectName" value="<?= $project_title ?>" />
        </div>
        <div class="right select_holder">
            <label for="telephone">
                Status of project<span>*</span>

                <?php if($tooltip_status) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_status; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="status" class="multiBlur">
                <option value="">Choose project status</option>
                <?php if(get_field('anp_status', 'project_option')): ?>
                <?php while(has_sub_field('anp_status', 'project_option')): ?>

                    <option value="<?php the_sub_field('option'); ?>" <?php if(get_sub_field('option') == $project_status){echo 'selected';} ?>><?php the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
    </div>

    <!-- ||||||||||||||||||| BENEFICIARY LEVEL & BENEFICIARY SAI & INTOSAI REGION |||||||||||||||||||  -->

    <div class="form_sec third">
        <div class="left select_holder">
            <label for="benLevel">
                Beneficiary level<span>*</span>

                <?php if($tooltip_benlvl) : ?>
                    <div class="helper left">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_benlvl; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="benLevel" class="multiBlur">
                <option value="">Choose beneficiary status</option>
                <?php if(get_field('anp_benlevel', 'project_option')): ?>
                <?php while(has_sub_field('anp_benlevel', 'project_option')): ?>

                    <option value="<?php the_sub_field('option'); ?>" <?php if(get_sub_field('option') == $beneficiary_level){echo 'selected';} ?>><?php the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="middle">
            <label>
                Beneficiary SAI(s)

                <?php if($tooltip_bensai) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_bensai; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <div class="check_sel_holder select_holder">
                <div class="check_select beneficiary_sai" data-checksel="1">
                    Choose one or more Beneficiary SAI
                </div>
                <?php
                    $termsArgs = array(
                        'taxonomy' => 'wdi',
                        'orderby' => 'name',
                        'hide_empty' => 0
                    );
                ?>

                <?php $wdiDB = get_terms($termsArgs); ?>
                <div class="check_sel_toggel" data-checkseltoggel="1">
                    <div class="inner">
                        <?php foreach($wdiDB as $term) : ?>

                            <?php $thisID = $term->term_id; ?>
                            <?php if(in_array($thisID, $selected_terms)) : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= $term->term_id; ?>" name="benSai[]" checked /> <?= $term->name; ?></label>
                                </div>
                            <?php else : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= $term->term_id; ?>" name="benSai[]" /> <?= $term->name; ?></label>
                                </div>
                            <?php endif; ?>

                        <?php endforeach; ?>
                    </div>
                </div>

            </div>
        </div>
        <div class="right select_holder">
            <label for="intosaiRegion">
                INTOSAI region

                <?php if($tooltip_region) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_region; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <div class="check_sel_holder select_holder">
                <div class="check_select region" data-checksel="3">
                    Choose one or more INTOSAI regions
                </div>
                <div class="check_sel_toggel" data-checkseltoggel="3">
                    <div class="inner">
                        <?php if(get_field('anp_intosai', 'project_option')): ?>
                        <?php while(has_sub_field('anp_intosai', 'project_option')): ?>

                            <?php if(in_array(get_sub_field('option'), $regions)) : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="intosaiRegion[]" checked /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php else : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="intosaiRegion[]" /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php endif; ?>

                        <?php endwhile; endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- ||||||||||||||||||| PROJECT DESCRIPTION |||||||||||||||||||  -->

    <div class="form_sec full">
        <label for="desc">
            Brief project description

            <?php if($tooltip_description) : ?>
                <div class="helper right">
                    <i class="fa fa-question-circle-o"></i>
                    <div class="tooltip">
                        <?= $tooltip_description; ?>
                    </div>
                </div>
            <?php endif; ?>
        </label>

        <?php
            $descSettings = array(
                'media_buttons' => false,
                'textarea_name' =>  'desc',
                'editor_class'  =>  'multiBlur',
                'quicktags'     =>  false,
                'editor_height' =>  200,
            );
            wp_editor($project_content, 'descWYSIWYG', $descSettings);
        ?>

        <!--textarea class="textarea multiBlur" name="desc" rows="5" cols="50"><?/*= $project_content;*/ ?></textarea-->
    </div>

    <!-- ||||||||||||||||||| PROJECT INITIATION & LINK |||||||||||||||||||  -->

    <div class="form_sec half">
        <div class="left select_holder">
            <label for="initiated">
                How was the project initiated?

                <?php if($tooltip_initiation) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_initiation; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="initiated" class="multiBlur">
                <option value="">Choose initiation type</option>
                <?php if(get_field('anp_inittypes', 'project_option')): ?>
                <?php while(has_sub_field('anp_inittypes', 'project_option')): ?>

                    <option value="<?php the_sub_field('option'); ?>" <?php if(get_sub_field('option') == $project_initiated){echo 'selected';} ?>><?php the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="right">
            <label for="furtherLink">
                Link to further information on project

                <?php if($tooltip_furtherlink) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_furtherlink; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="furtherLink" value="<?= $further_info; ?>" />
            <span class="instructions">
                Hyperlink or link to a Picture
            </span>
        </div>
    </div>

    <!-- ||||||||||||||||||| CONTACT PERSON SAI/REGION/COMMITTEE & SOURCE OF FUNDING |||||||||||||||||||  -->

    <div class="form_sec half">
        <label for="contactBRC">
            Contact person - Beneficiary SAI/Region/Committee

            <?php if($tooltip_cp_ben) : ?>
                <div class="helper right">
                    <i class="fa fa-question-circle-o"></i>
                    <div class="tooltip">
                        <?= $tooltip_cp_ben; ?>
                    </div>
                </div>
            <?php endif; ?>
        </label>
        <input type="text" class="inputbox multiBlur" name="contactBRC" value="<?= $cp_ben_sai_region_committee; ?>" />
    </div>

    <!-- ||||||||||||||||||| SOURCE OF FUNDING & CONTACT DONOR |||||||||||||||||||  -->

    <div class="form_sec third">
        <div class="left select_holder">
            <label for="funding">
                Source of funding

                <?php if($tooltip_funding) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_funding; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <div class="check_sel_holder select_holder">
                <div class="check_select region" data-checksel="4">
                    Choose one or more sources
                </div>
                <div class="check_sel_toggel" data-checkseltoggel="4">
                    <div class="inner">
                        <?php if(get_field('anp_funding', 'project_option')): ?>
                        <?php while(has_sub_field('anp_funding', 'project_option')): ?>

                            <?php if(in_array(get_sub_field('option'), $sourceArr)) : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="funding[]" checked /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php else : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="funding[]" /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php endif; ?>
                        <?php endwhile; endif; ?>
                    </div>
                </div>
            </div>
        </div>
        <div class="middle">
            <label for="sof_custom">
                Own value: Source of funding

                <?php if($tooltip_sof_custom) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_sof_custom; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="sof_custom" value="<?= $source_fundingCustom; ?>" />
        </div>
        <div class="right">
            <label for="contactDonor">
                Contact person - Provider of support

                <?php if($tooltip_cp_donor) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_cp_donor; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="contactDonor" value="<?= $cp_donor; ?>" />
        </div>
    </div>

    <!-- ||||||||||||||||||| IMPLEMENTING AGENCY(S) & CONTACT IMPLEMENTING PARTNER |||||||||||||||||||  -->

    <div class="form_sec half">
        <div class="left">
            <label for="implementingAgency">
                Implementing agency(s)

                <?php if($tooltip_impagency) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_impagency; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="implementingAgency" value="<?= $imp_agencys; ?>" />
        </div>
        <div class="right">
            <label for="implementingContact">
                Contact person - Implementing partner(s)

                <?php if($tooltip_cp_imp) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_cp_imp; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox multiBlur" name="implementingContact" value="<?= $cp_imp_partners; ?>" />
        </div>
    </div>

    <!-- ||||||||||||||||||| FROM & TO |||||||||||||||||||  -->

    <div class="form_sec half">
        <div class="left">
            <label for="from">
                Duration from<span>*</span>

                <?php if($tooltip_from) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_from; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox duration_from multiBlur" name="from" value="<?= $duration_from; ?>" />
        </div>
        <div class="right">
            <label for="to">
                Duration to<span>*</span>

                <?php if($tooltip_to) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_to; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox duration_to multiBlur" name="to" value="<?= $duration_to; ?>" />
        </div>
    </div>

    <!-- ||||||||||||||||||| TOTAL BUDGET in $ |||||||||||||||||||  -->

    <div class="form_sec full">
        <label for="budget">
            Total budget (in US $)

            <?php if($tooltip_budget) : ?>
                <div class="helper right">
                    <i class="fa fa-question-circle-o"></i>
                    <div class="tooltip">
                        <?= $tooltip_budget; ?>
                    </div>
                </div>
            <?php endif; ?>
        </label>
        <input type="number" class="inputbox multiBlur" name="budget" value="<?= $total_budget; ?>" />
    </div>

    <!-- ||||||||||||||||||| TYPE OF SUPPORT & SUPPORT CATEGORIES & SUPPORT BASE ON |||||||||||||||||||  -->

    <div class="form_sec third">
        <div class="left select_holder">
            <label for="supportType">
                Type of support

                <?php if($tooltip_supptype) : ?>
                    <div class="helper left">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_supptype; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="supportType" class="multiBlur">
                <option value="">Choose support type</option>
                <?php if(get_field('anp_supporttype', 'project_option')): ?>
                <?php while(has_sub_field('anp_supporttype', 'project_option')): ?>

                    <option value="<?php the_sub_field('option'); ?>" <?php if(get_sub_field('option') == $type_of_support){echo 'selected';} ?>><?php the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="middle select_holder">
            <label for="supportModal">
                Support modality

                <?php if($tooltip_suppmodal) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_suppmodal; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="supportModal" class="multiBlur">
                <option value="">Choose</option>
                <?php if(get_field('anp_supportmodality', 'project_option')): ?>
                <?php while(has_sub_field('anp_supportmodality', 'project_option')): ?>

                    <option value="<?php the_sub_field('option'); ?>" <?php if(get_sub_field('option') == $supportModality){echo 'selected';} ?>><?php the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="right select_holder">
            <label for="supportCats">
                Support categories covered<!--span>*</span-->

                <?php if($tooltip_suppcats) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_suppcats; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>

            <div class="check_sel_holder select_holder">
                <div class="check_select supportCats" data-checksel="5">
                    Choose one or more Support categories
                </div>
                <div class="check_sel_toggel" data-checkseltoggel="5">
                    <div class="inner">

                        <?php if(get_field('anp_supportcats', 'project_option')): ?>
                        <?php while(has_sub_field('anp_supportcats', 'project_option')): ?>


                            <?php if(in_array(get_sub_field('option'), $supCats)) : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="supportCats[]" checked /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php else : ?>
                                <div class="row">
                                    <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="supportCats[]" /><?php the_sub_field('option'); ?></label>
                                </div>
                            <?php endif; ?>

                        <?php endwhile; endif; ?>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- ||||||||||||||||||| LINK TO OTHER PROJECTS / PROGRAMS |||||||||||||||||||  -->

    <div class="form_sec half">
        <div class="left select_holder supportBased">
            <label for="supportBased">
                Is support based on beneficiary SAI/INTOSAI region Strategic Plan?

                <?php if($tooltip_suppbased) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_suppbased; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="supportBased" class="multiBlur">
                <option value="">Choose</option>
                <option value="Yes" <?php if($support_based_on == 'Yes'){echo 'selected';} ?>>Yes</option>
                <option value="No" <?php if($support_based_on == 'No'){echo 'selected';} ?>>No</option>
            </select>
        </div>
        <div class="right">
            <label for="linkedProjects">
                Link to projects/programs

                <?php if($tooltip_linkedproj) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_linkedproj; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <div class="check_sel_holder link_to_projects select_holder">
                <div class="check_select" data-checksel="2">
                    Choose one or more projects/programs
                </div>
                <div class="check_sel_toggel" data-checkseltoggel="2">
                    <div class="inner">
                        <?php
                            $notIn = array($id);
                            $publishedArgs = array(
                                'post_type'         =>      'project',
                                'post_status'       =>      'publish',
                                'posts_per_page'    =>      -1,
                                'order'             =>      'ASC',
                                'orderby'           =>      'ID',
                                'post__not_in'      =>      $notIn
                            );
                        ?>
                        <?php $publishedProjects = new WP_Query($publishedArgs); ?>
                        <?php if($publishedProjects->have_posts()) : ?>
                        <?php while($publishedProjects->have_posts()) : $publishedProjects->the_post(); ?>

                            <?php
                                $projectID = get_the_ID();
                                $projCheck = false;
                                if(in_array($projectID, $project_connections)){
                                    $projCheck = true;
                                }
                            ?>

                            <div class="row">
                                <label>
                                    <input type="checkbox" value="<?= get_the_ID(); ?>" name="linkedProjects[]" <?php if($projCheck){ echo 'checked'; } ?> /> <?php the_title(); ?>
                                    </label>
                            </div>

                        <?php endwhile;endif; ?>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <!-- ||||||||||||||||||| ANY OTHER INFO |||||||||||||||||||  -->

    <div class="form_sec full">
        <label for="otherInfo">
            Any other information

            <?php if($tooltip_other) : ?>
                <div class="helper right">
                    <i class="fa fa-question-circle-o"></i>
                    <div class="tooltip">
                        <?= $tooltip_other; ?>
                    </div>
                </div>
            <?php endif; ?>
        </label>

        <?php
            $otherInfoSettings = array(
                'media_buttons' => false,
                'textarea_name' =>  'otherInfo',
                'editor_class'  =>  'multiBlur',
                'quicktags'     =>  false,
                'editor_height' =>  200,
            );
            wp_editor($other_info, 'otherInfoWYSIWYG', $otherInfoSettings);
        ?>

        <!--textarea class="textarea multiBlur" name="otherInfo" rows="5" cols="50"><?/*= strip_tags($other_info);*/ ?></textarea-->
    </div>

    <div class="form_sec full">
        <div class="select_holder">
            <label for="publishStatus">
                Publish Status

                <?php if($tooltip_pstatus) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_pstatus; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="publishStatus" class="multiBlur">
                <option value="draft" <?php if($publish_status == 'draft'){echo 'selected';}?>>Draft</option>
                <option value="publish" <?php if($publish_status == 'publish'){echo 'selected';}?>>Publish</option>
            </select>
        </div>
    </div>

    <!--div class="form_sec half">
        <div class="left select_holder">
            <label for="countrySAI">
                Country SAI

                <?php/* if($tooltip_country) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_country; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <select name="countrySAI">
                <option value="na">Choose Country SAI</option>
                <?php
                $termsArgs = array(
                    'taxonomy' => 'wdi',
                    'orderby' => 'name',
                    'hide_empty' => 0
                );

                $wdiDB = get_terms($termsArgs);
                foreach($wdiDB as $term) : ?>
                    <option value="<?= $term->name; ?>" <?php if($country_sai == $term->name){echo 'selected';} ?>><?= $term->name; ?></option>
                <?php endforeach; ?>

            </select>
        </div>
        <div class="right">
            <label for="dacCIC">
                DAC Country Income Classification

                <?php if($tooltip_dac) : ?>
                    <div class="helper right">
                        <i class="fa fa-question-circle-o"></i>
                        <div class="tooltip">
                            <?= $tooltip_dac; ?>
                        </div>
                    </div>
                <?php endif; ?>
            </label>
            <input type="text" class="inputbox " name="dacCIC" value="<?= $dac_income_class; */?>" readonly />
        </div>
    </div-->

    <input type="hidden" name="projectPostStatus" value="<?= $projectPostStatus; ?>"/>
    <input type="hidden" name="projectConnection" value="<?= $projectConnection; ?>"/>

    <?php if($projectPostStatus == 'publish') : ?>
        <input type="hidden" name="creation" value="<?php echo current_time("d-m-Y  H:i"); ?>"/>
    <?php else : ?>
        <input type="hidden" name="creation" value="<?= $draftCreated; ?>"/>
    <?php endif; ?>

    <input type="hidden" name="url" value="<?php echo $_SERVER['REQUEST_URI'];?>"/>

    <div class="form_instructions">
        <span class="req">*</span> Indicates a required field
    </div>

    <button type="submit" class="submit-btn">
        Update project
    </button>

    <a href="/my-projects/" class="btn trans-bg red red-border red-hover-o right cancel">
        Cancel
    </a>

    <div class="sending"><i class="fa fa-circle-o-notch fa-spin"></i></div>
</form>

Zerion Mini Shell 1.0