%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/pn/wp-content/themes/intosai/templates/forms/
Upload File :
Create Path :
Current File : //var/www/pn/wp-content/themes/intosai/templates/forms/create_project.php

<form id="addproject" class="form" name="addproject" method="post" action="<?php bloginfo('template_url') ?>/lib/user_functions/add_project.php?addproject" 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');
        $tooltip_gender_relevance            = get_field('tooltip_gender_relevance', 'project_tooltip');


        $tooltip_project_activity_objective            = get_field('tooltip_project_activity_objective', '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" />
        </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 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 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">
                        <div class="row row-selectAll">
                            <button type="button" class="selectAllItem">Select all</button>
                        </div>
                        <?php foreach($wdiDB as $term) : ?>

                            <div class="row">
                                <label><input type="checkbox" value="<?= $term->term_id; ?>" name="benSai[]" /> <?= $term->name; ?></label>
                            </div>

                        <?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')): ?>

                            <div class="row">
                                <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="intosaiRegion[]" /><?php the_sub_field('option'); ?></label>
                            </div>

                        <?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('', 'descWYSIWYG', $descSettings);
        ?>

        <!--textarea class="textarea multiBlur" name="desc" rows="5" cols="50"></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 the_sub_field('option'); ?></option>

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



        
            <div class="right">
                <label for="supportCats">
                    Gender Relevance <span>*</span>

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

                <div class="check_sel_holder select_holder select_full_list_holder">
                    <div class="check_select gender-relevance" data-checksel="7">
                        Choose Gender Relevance
                    </div>
                    <div class="check_sel_toggel" data-checkseltoggel="7">
                        <div class="inner">

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

                                <div class="row">
                                    <label>
                                        <input type="radio" value="<?= get_sub_field('option'); ?>" name="gender_relevance" />
                                        <?php the_sub_field('option'); ?>

                                        <?php if(get_sub_field('tooltip')){ ?>
                                            <div class="helper right helper-bottom">
                                                <i class="fa fa-question-circle-o"></i>
                                                <div class="tooltip"><?php the_sub_field('tooltip'); ?></div>
                                            </div>
                                        <?php } ?>

                                    </label>
                                </div>

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

    <div class="form_sec half">
        <label for="supportCats">
            Has the project/activity as an objective “the strengthening of the SAI Institutional Framework/ Independence”?
            <span>*</span>
            <?php if($tooltip_project_activity_objective) : ?>
                <div class="helper right pointer-events-all">
                    <i class="fa fa-question-circle-o"></i>
                    <div class="tooltip">
                        <?= $tooltip_project_activity_objective; ?>
                    </div>
                </div>
            <?php endif; ?>
        </label>

        <div class="check_sel_holder select_holder select_full_list_holder">
            <div class="check_select gender-relevance multiBlur" data-checksel="8" >
                Has the project/activity as an objective “the strengthening of the SAI Institutional Framework/ Independence”?
            </div>
            <div class="check_sel_toggel" data-checkseltoggel="8">
                <div class="inner">

                    <?php if(get_field('anp_project_activity_objective', 'project_option')): ?>
                    <?php 
                        $iter = 1;
                        while(has_sub_field('anp_project_activity_objective', 'project_option')): 
                    ?>

                        <div class="row">
                            <label for="project-activity-<?php echo $iter; ?>">
                                <input type="radio" class="multiBlur" id="project-activity-<?php echo $iter; ?>"  value="<?= get_sub_field('option'); ?>" name="project_activity_objective" />
                                <?php the_sub_field('option'); ?>

                                <?php if(get_sub_field('tooltip')){ ?>
                                    <div class="helper right helper-bottom">
                                        <i class="fa fa-question-circle-o"></i>
                                        <div class="tooltip"><?php the_sub_field('tooltip'); ?></div>
                                    </div>
                                <?php } ?>

                            </label>
                        </div>

                    <?php 
                        $iter++;
                        endwhile; 
                        endif; 
                    ?>
                </div>
            </div>
        </div>
    </div>



    <!-- ||||||||||||||||||| CONTACT PERSON SAI/REGION/COMMITTEE |||||||||||||||||||  -->

    <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" name="contactBRC" />
    </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')): ?>

                            <div class="row">
                                <label><input type="checkbox" value="<?= get_sub_field('option'); ?>" name="funding[]" /><?php the_sub_field('option'); ?></label>
                            </div>

                        <?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" />
        </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" />
        </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" />
        </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" />
        </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" placeholder="yyyy-mm-dd" class="inputbox duration_from multiBlur" name="from" />

            <?php 
              //  if($_GET["dev"] == "true"){
            ?>
                <button type="button" class="show-calendar show-calendar-from"><i class="fa fa-calendar" aria-hidden="true"></i></button>
            <?php        
              //  }
            ?>
        </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" placeholder="yyyy-mm-dd" class="inputbox duration_to multiBlur" name="to" />
            <?php 
               // if($_GET["dev"] == "true"){
            ?>
                <button type="button" class="show-calendar show-calendar-to"><i class="fa fa-calendar" aria-hidden="true"></i></button>
            <?php        
              //  }
            ?>
        </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" />
    </div>

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

    <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 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 the_sub_field('option'); ?></option>

                <?php endwhile; ?>
                <?php endif; ?>
            </select>
        </div>
        <div class="right">
            <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')): 
                        ?>

                            <div class="row">
                                <label>
                                    <input type="checkbox" value="<?= get_sub_field('option'); ?>" name="supportCats[]" />
                                    <?php the_sub_field('option'); ?>
                                    <?php if(get_sub_field('tooltip')){ ?>
                                        <div class="helper right helper-bottom">
                                            <i class="fa fa-question-circle-o"></i>
                                            <div class="tooltip"><?php the_sub_field('tooltip'); ?></div>
                                        </div>
                                    <?php } ?>
                                </label>
                            </div>

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

    <!-- ||||||||||||||||||| SUPPORT BASE ON & LINK TO OTHER PROJECTS |||||||||||||||||||  -->

    <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">Yes</option>
                <option value="No">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="search_select">
                    <input type="text" id="search-in-select" placeholder="Search">
                    <button type="button" class="clear-input-search-select"><span></span><span></span></button>
                </div>
               
                <div class="check_sel_toggel" data-checkseltoggel="2">
                    <div class="inner">
                        <?php
                            $publishedArgs = array(
                                'post_type'         =>      'project',
                                'post_status'       =>      'publish',
                                'posts_per_page'    =>      -1,
                                'order'             =>      'ASC',
                                'orderby'           =>      'ID'
                            );
                        ?>
                        <?php $publishedProjects = new WP_Query($publishedArgs); ?>
                        <?php if($publishedProjects->have_posts()) : ?>
                        <?php while($publishedProjects->have_posts()) : $publishedProjects->the_post(); ?>

                            <div class="row">
                                <label><input type="checkbox" value="<?= get_the_ID(); ?>" name="linkedProjects[]" /> <?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('', 'otherInfoWYSIWYG', $otherInfoSettings);
        ?>

        <!--textarea class="textarea multiBlur" name="otherInfo" rows="5" cols="50"></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">Draft</option>
                <option value="publish">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; ?>"> <?= $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" readonly />
        </div>
    </div-->

    <input type="hidden" name="creation" value="<?php echo current_time("d-m-Y  H:i"); ?>"/>
    <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">
        Save 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