?>
" rel="<?php 
        echo $post->ID;
        ?>
"
                                   class="tf_delete_reservation">
                                    <?php 
        _e('Delete', 'tfuse');
        ?>
                                </a>
                            </span>
                </div>
            </td>
            <td class="date">
                <?php 
        echo encode_id($post->ID);
        ?>
            </td>
            <td class="date">
                <?php 
        echo date_i18n(get_option('date_format'), strtotime(@$date_in));
        ?>
            </td>
            <td>
                <?php 
        echo $date_out != '' ? date_i18n(get_option('date_format'), strtotime($date_out)) : "-";
        $date_out = '';
        ?>
            </td>
            <td>
                <div
 function new_reservation_admin_email_content($form, $post_content, $nr)
 {
     $content = __('There is a new reservation on ', 'tfuse') . get_bloginfo('name');
     if (isset($form['admin_email_template']) && $form['admin_email_template'] != '') {
         $content = urldecode($form['admin_email_template']);
         $content = str_replace('[resnumber]', encode_id($nr), $content);
         foreach ($post_content as $key => $value) {
             $content = str_replace('[' . tf_option_id_without_prefix($key) . ']', $value, $content);
         }
     } else {
         foreach ($form['input'] as $input) {
             if (isset($post_content[TF_THEME_PREFIX . '_' . $input["shortcode"]])) {
                 $content .= '<strong>' . __($input['label'], 'tfuse') . ':</strong> ' . $post_content[TF_THEME_PREFIX . '_' . $input["shortcode"]] . '<br />';
             }
         }
     }
     return urldecode($content);
 }
function input_form()
{
    global $voters, $pin;
    /*
        $proxy = url_get("https://{$voters}/EBiraciRH2/___proxy", true, $_SESSION['cookie1'], json_array(false), true);
    */
    $proxy = url_get("https://{$voters}/", true, $_GET['cookie1']);
    $captcha1 = url_get("https://{$voters}/jcaptcha?" . timezone_escape(), true, $proxy['cookie']);
    $_GET['cookie1'] = $captcha1['cookie'];
    $person = url_get("http://{$pin}/SaznajOibWeb/fizickaOsoba.html", true, $_GET['cookie2']);
    $captcha2 = url_get("http://{$pin}/SaznajOibWeb/captcha.html", true, $person['cookie']);
    $_GET['cookie2'] = $captcha2['cookie'];
    $image1 = "data:" . $captcha1['content-type'] . ";base64," . base64_encode($captcha1['content']);
    $image2 = "data:" . $captcha2['content-type'] . ";base64," . base64_encode($captcha2['content']);
    print get_auth_doc(encode_id(), $image1, $image2, $_GET['oib'], $_GET['prezime'], $_GET['captcha1'], $_GET['mbg'], $_GET['boi'], $_GET['ime'], $_GET['captcha2'], $_GET['manjina']);
}
 /**
  * id đã mã hóa, $user->code
  *
  * @return string
  */
 public function getCodeAttribute()
 {
     return encode_id($this->id, 'user');
 }