_e("With Selected Jobs", ET_DOMAIN); ?> : </div> <div class="import-results-adjust"> <?php _e('Job Categories', ET_DOMAIN); ?> : <?php $job_types = et_get_job_types(); ?> <div class="select-style et-button-select"> <select name="apply_cat" class=""> <?php echo et_job_categories_option_list(); ?> </select> </div><br> <?php _e('Job Types', ET_DOMAIN); ?> : <div class="select-style et-button-select"> <select name="apply_type" class=""> <?php foreach ($job_types as $type) { echo '<option value="' . $type->term_id . '">' . $type->name . '</option>'; } ?> </select>
function et_import_callback($args) { $publisher_id = $this->get_indeed_publisher_id(); $sub_section = empty($_REQUEST['subSection']) ? '' : $_REQUEST['subSection']; $search_str = $this->get_search_string(); extract($search_str); ?> <div id="je_import" > <div class="et-main-header"> <div class="title font-quicksand"><?php echo $args->page_title; ?> </div> <div class="desc"><?php echo $args->page_subtitle; ?> </div> <div class="header-more-info"> <input title="Publisher ID" type="text" name="publisher_id" id="publisher_id" value="<?php echo $publisher_id; ?> " placeholder="<?php _e('Publisher ID'); ?> "> <span class="more-info-help" title="<?php _e('Your Publisher ID on Indeed.com', ET_DOMAIN); ?> ">?</span> </div> </div> <div class="et-main-content" > <div class="et-main-left"> <ul class="et-menu-content inner-menu"> <li> <a href="#indeed-import" menu-data="import" class="<?php if (isset($sub_section) && ($sub_section == '' || $sub_section == 'import')) { echo 'active'; } ?> "> <span class="icon" data-icon="W"></span><?php _e("Manual", ET_DOMAIN); ?> </a> </li> <li> <a href="#indeed-schedule" menu-data="schedule" class=""> <span class="icon" data-icon="t"></span><?php _e("Schedule", ET_DOMAIN); ?> </a> </li> <li> <a href="#indeed-manage" menu-data="manage" class=""> <span class="icon" data-icon="l"></span><?php _e("Manage", ET_DOMAIN); ?> </a> </li> </ul> </div> <div class="setting-content"> <?php include dirname(__FILE__) . '/import.php'; include dirname(__FILE__) . '/schedule.php'; include dirname(__FILE__) . '/manage.php'; ?> </div> </div> </div> <script id="import_row_template" type="text/template"> <tr> <td> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][allow]" value="0"> <input type="checkbox" class="allow" name="import[<?php echo '{{ i }}'; ?> ][allow]" value="1" checked="checked"> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][url]" value="<?php echo '{{ url }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][date]" value="<?php echo '{{ date }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][formattedLocationFull]" value="<?php echo '{{ formattedLocationFull }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][company]" value="<?php echo '{{ company }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][jobkey]" value="<?php echo '{{ jobkey }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][content]" value="<?php echo '{{ snippet }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][city]" value="<?php echo '{{ city }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][state]" value="<?php echo '{{ state }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][country]" value="<?php echo '{{ country }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][jobtitle]" value="<?php echo '{{ jobtitle }}'; ?> "> <input type="hidden" name="import[<?php echo '{{ i }}'; ?> ][onmousedown]" value="<?php echo '{{ onmousedown }}'; ?> "> </td> <td class="jobtitle"> <a href="<?php echo '{{ url }}'; ?> " target="_blank"><?php echo '{{ jobtitle }}'; ?> </a> <div class="bubble-quote"> <span>@ <?php echo '{{company }}'; ?> </span> <span class="icon" data-icon="@"><?php echo '{{ formattedLocationFull }}'; ?> </span> <div class="triangle"></div> </div> </td> <td> <div class="select-style et-button-select"> <select class="job_cat" name="import[<?php echo '{{ i }}'; ?> ][job_category]"> <?php echo et_job_categories_option_list(); ?> </select> </div> </td> <td> <div class="select-style et-button-select"> <select class="job_type" name="import[<?php echo '{{ i }}'; ?> ][job_type]"> <?php foreach ($job_types as $type) { echo '<option value="' . $type->slug . '">' . $type->name . '</option>'; } ?> </select> </div> </td> </tr> </script> <script id="imported_template" type="text/template"> <tr> <td><input class="allow" type="checkbox" name="" value="<?php echo '{{ ID }}'; ?> "></th> <td><a target="_blank" href="<?php echo '{{url}}'; ?> "><?php echo '{{ title }}'; ?> </a></td> <td><?php echo '{{creator }}'; ?> </td> <td><?php echo '{{date }}'; ?> </td> </tr> </script> <?php }
function et_import_callback($args) { $sub_section = empty($_REQUEST['subSection']) ? '' : $_REQUEST['subSection']; ?> <div id="rss_import"> <div class="et-main-header"> <div class="title font-quicksand"><?php echo $args->page_title; ?> </div> <div class="desc"><?php echo $args->page_subtitle; ?> </div> </div> <div class="et-main-content" > <div class="et-main-left"> <ul class="et-menu-content inner-menu"> <li> <a href="#rss-import" menu-data="import" class="<?php if (isset($sub_section) && ($sub_section == '' || $sub_section == 'import')) { echo 'active'; } ?> "> <span class="icon" data-icon="W"></span><?php _e("Manual", ET_DOMAIN); ?> </a> </li> <li> <a href="#rss-schedule" menu-data="schedule" class="<?php if (isset($sub_section) && $sub_section == 'schedule') { echo 'schedule'; } ?> "> <span class="icon" data-icon="t"></span><?php _e("Schedule", ET_DOMAIN); ?> </a> </li> <li> <a href="#rss-manage" menu-data="manage" class="<?php if (isset($sub_section) && $sub_section == 'job') { echo 'manage'; } ?> "> <span class="icon" data-icon="l"></span><?php _e("Manage", ET_DOMAIN); ?> </a> </li> </ul> </div> <div class="setting-content"> <?php require_once dirname(__FILE__) . '/manual.php'; ?> <?php require_once dirname(__FILE__) . '/schedule.php'; ?> <?php require_once dirname(__FILE__) . '/manage.php'; ?> </div> </div> </div> <!-- template --> <script id="import_row_template" type="text/template"> <?php echo '<tr> <td> <input type="hidden" name="import[{{ i }}][allow]" value="0"> <input type="checkbox" class="allow" name="import[{{ i }}][allow]" value="1" checked="checked"> <input type="hidden" name="import[{{ i }}][url]" value="{{ link }}"> <input type="hidden" name="import[{{ i }}][date]" value="{{ pubDate }}"> <input type="hidden" name="import[{{ i }}][jobtitle]" value="{{ title }}" > <input type="hidden" name="import[{{ i }}][creator]" value="{{ creator }}"> <textarea style="display:none;" name="import[{{ i }}][jobdesc]">{{ content }}</textarea> </td> <td class="jobtitle"> <a href="{{ link }}" target="_blank">{{ title }}</a> </td> <td> <div class="select-style et-button-select"> <select class="job_cat" name="import[{{ i }}][job_category]"> '; echo et_job_categories_option_list(); echo ' </select> </div> </td> <td> <div class="select-style et-button-select"> <select class="job_type" name="import[{{ i }}][job_type]"> '; foreach ($job_types as $type) { echo '<option value="' . $type->term_id . '">' . $type->name . '</option>'; } echo '</select> </div> </td> <td class="location"> <input type="text" name="import[{{ i }}][location]" value="" placeholder="Enter job location" class="job_location" /> </td> </tr>'; ?> </script> <script id="imported_template" type="text/template"> <?php echo ' <tr> <td><input class="allow" type="checkbox" name="" value="{{ID}}"></th> <td><a target="_blank" href="{{permalink}}"> {{ title }} </a></td> <td>{{url}}</td> <td>{{creator}}</td> <td>{{date}}</td> </tr>'; ?> </script> <!-- template --> <?php }
<div class="item-job"> <label><?php _e("Job Category", ET_DOMAIN); ?> </label> <div class="input-job select-style btn-background border-radius"> <select class="front-change" title="<?php _e("All categories", ET_DOMAIN); ?> " name="categories" id="categories" style="z-index: 10; opacity: 0;"> <option value="" ><?php _e("All categories", ET_DOMAIN); ?> </option> <?php et_job_categories_option_list($parent = 0); ?> </select> </div> </div> <div class="item-job"> <label><?php _e("Job Type", ET_DOMAIN); ?> </label> <div class="input-job select-style btn-background border-radius"> <select name="job_types" class="front-change" id="job_types" style="z-index: 10; opacity: 0;" title="<?php _e("All job types", ET_DOMAIN); ?> "> <option value=""><?php
/** * callback function to render menu */ function et_simplyhired_callback($args) { $sub_section = empty($_REQUEST['subSection']) ? '' : $_REQUEST['subSection']; ?> <div id="simply-hired" > <div class="et-main-header"> <div class="title font-quicksand"><?php echo $args->page_title; ?> </div> <div class="desc"><?php echo $args->page_subtitle; ?> </div> </div> <div class="et-main-content" > <div class="et-main-left"> <ul class="et-menu-content inner-menu"> <li> <a href="#simply_hired_setting" menu-data="simplyhired" class="<?php if (isset($sub_section) && ($sub_section == '' || $sub_section == 'simplyhired')) { echo 'active'; } ?> "> <span class="icon" data-icon="y"></span><?php _e("API Setting", ET_DOMAIN); ?> </a> </li> <li> <a href="#simplyhired-import" menu-data="import" class=""> <span class="icon" data-icon="s"></span><?php _e("Search Jobs", ET_DOMAIN); ?> </a> </li> <li> <a href="#simplyhired-schedule" menu-data="schedule" class=""> <span class="icon" data-icon="t"></span><?php _e("Schedule", ET_DOMAIN); ?> </a> </li> <li> <a href="#simplyhired-manage" menu-data="manage" class=""> <span class="icon" data-icon="l"></span><?php _e("Manage Jobs", ET_DOMAIN); ?> </a> </li> </ul> </div> <div class="setting-content"> <?php include dirname(__FILE__) . '/settings.php'; include dirname(__FILE__) . '/import.php'; include dirname(__FILE__) . '/schedule.php'; include dirname(__FILE__) . '/manage.php'; ?> </div> </div> <?php $job_types = get_terms('job_type', array('hide_empty' => false)); ?> <script id="simplyhired_row_template" type="text/template"> <tr> <td> <input type="hidden" name="import[{{ i }}][allow]" value="0"> <input type="checkbox" class="allow" name="import[{{i}}][allow]" value="1" checked="checked"> <input type="hidden" name="import[{{ i }}][url]" value="{{url}}"> <input type="hidden" name="import[{{ i }}][date]" value="{{date}}"> <input type="hidden" name="import[{{ i }}][location]" value="{{location}}"> <input type="hidden" name="import[{{ i }}][company]" value="{{company}}"> <input type="hidden" name="import[{{ i }}][jobkey]" value="{{jobkey}}"> <input type="hidden" name="import[{{ i }}][description]" value="{{description}}"> <input type="hidden" name="import[{{ i }}][title]" value="{{title}}"> </td> <td class="jobtitle"> <a href="{{url}}" target="_blank">{{title}}</a> <div class="bubble-quote"> <span>@ {{company}}</span> <span class="icon" data-icon="@">{{location}}</span> <div class="triangle"></div> </div> </td> <td> <div class="select-style et-button-select"> <select class="job_cat" name="import[{{i}}][job_category]"> <?php echo et_job_categories_option_list(); ?> </select> </div> </td> <td> <div class="select-style et-button-select"> <select class="job_type" name="import[{{i}}][job_type]"> <?php foreach ($job_types as $type) { echo '<option value="' . $type->slug . '">' . $type->name . '</option>'; } ?> </select> </div> </td> </tr> </script> <script id="imported_template" type="text/template"> <tr> <td><input class="allow" type="checkbox" name="" value="{{ID}}"></th> <td><a target="_blank" href="{{url}}">{{title}}</a></td> <td>{{creator}}</td> <td>{{date}}</td> </tr> </script> </div> <?php }