</div>
<?php 
        } elseif ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['type'] == 'image') {
            ?>
<p><?php 
            echo $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['name'];
            ?>
:</p>
<?php 
            if ($this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['value'] > 0) {
                ?>
<table width="100%" class="invisiblegrid">
<tr>
<td width="80" align="center">
<?php 
                echo smarty_function_image(array('id' => $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['value'], 'width' => 80, 'height' => 80, 'popup' => true), $this);
                ?>

</td>
<td valign="top">
<p>Заменить:</p>
<p><input type="file" name="<?php 
                echo $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field'];
                ?>
" style="width:40%"></p>
<p><label><input type="checkbox" name="<?php 
                echo $this->_tpl_vars['form']['fields'][$this->_sections['i']['index']]['field'];
                ?>
_del">&nbsp;Удалить</label></p>
</td>
</tr>
</p>
<?php 
$_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "objcomp_fieldseditor_include.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>
<p>Изображение:</p>
<?php 
if ($this->_tpl_vars['form']['idimg']) {
    ?>
<table width="100%" class="invisiblegrid">
<tr>
<td width="80" align="center">
<?php 
    echo smarty_function_image(array('id' => $this->_tpl_vars['form']['idimg'], 'width' => 80, 'height' => 80, 'popup' => true), $this);
    ?>

</td>
<td valign="top">
<p>Заменить:</p>
<p><input type="file" name="catimage"></p>
<p><label><input type="checkbox" name="imagedel">&nbsp;Удалить</label></p>
</td>
</tr>
</table>
<?php 
} else {
    ?>
<p><input type="file" name="catimage"></p>
<?php 
    for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1; $this->_sections['i']['iteration'] <= $this->_sections['i']['total']; $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++) {
        $this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
        $this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
        $this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
        $this->_sections['i']['first'] = $this->_sections['i']['iteration'] == 1;
        $this->_sections['i']['last'] = $this->_sections['i']['iteration'] == $this->_sections['i']['total'];
        ?>
  <?php 
        $this->assign('k', $this->_tpl_vars['k'] + 1);
        ?>
   <td class="mach1">
      <a href="<?php 
        echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['link'];
        ?>
"><?php 
        echo smarty_function_image(array('data' => $this->_tpl_vars['items'][$this->_sections['i']['index']]['images'], 'width' => 196, 'height' => 176), $this);
        ?>
</a>
      <a href="<?php 
        echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['link'];
        ?>
"><?php 
        echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['name'];
        ?>
</a>
        <?php 
        echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['description'];
        ?>

        <p class="price"><b><?php 
        echo $this->_tpl_vars['valute'];
<b><?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['num'];
                ?>
.</b>
<a href="<?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['link'];
                ?>
" target="_blank"><?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['name'];
                ?>
</a></td>
</tr>
<tr class="row1">
<td>
<?php 
                echo smarty_function_image(array('id' => $this->_tpl_vars['items'][$this->_sections['i']['index']]['idimg'], 'style' => "float:left;margin-right:5px;", 'width' => 80, 'height' => 50, 'popup' => true), $this);
                ?>

<?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['description'];
                ?>

<?php 
                if ($this->_tpl_vars['items'][$this->_sections['i']['index']]['tags']) {
                    ?>
<div class="clear"></div>
<div class="box" align="left">
<?php 
                    unset($this->_sections['j']);
                    $this->_sections['j']['name'] = 'j';
                    $this->_sections['j']['loop'] = is_array($_loop = $this->_tpl_vars['items'][$this->_sections['i']['index']]['tags']) ? count($_loop) : max(0, (int) $_loop);
                echo $this->_sections['i']['index'];
                ?>
" type="checkbox" name="checkitem[]" value="<?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['id'];
                ?>
"><input type="hidden" name="edititem[]" value="<?php 
                echo $this->_tpl_vars['items'][$this->_sections['i']['index']]['id'];
                ?>
"></td>
<?php 
                if ($this->_tpl_vars['options']['useimages']) {
                    ?>
<td width="20"><?php 
                    if ($this->_tpl_vars['items'][$this->_sections['i']['index']]['idimg']) {
                        ob_start();
                        echo smarty_function_image(array('id' => $this->_tpl_vars['items'][$this->_sections['i']['index']]['idimg'], 'width' => 150), $this);
                        $this->_smarty_vars['capture']['gimage'] = ob_get_contents();
                        ob_end_clean();
                        ?>
<img src="/templates/admin/images/image.gif" width="16" height="16" <?php 
                        echo smarty_function_popup(array('text' => $this->_smarty_vars['capture']['gimage'], 'fgcolor' => "#F3FCFF", 'width' => 150, 'bgcolor' => "#86BECD", 'left' => true), $this);
                        ?>
><?php 
                    } else {
                        ?>
&nbsp;<?php 
                    }
                    ?>
</td><?php 
                }
                ?>
if ($this->_tpl_vars['Info']['m_status'] == '1') {
    ?>
            <div class="list clear">
              <div class="list_t1" id="right1"><span>手机:</span></div>
              <div class="list_4" id="left1"><div><?php 
    echo smarty_function_image(array('uid' => $this->_tpl_vars['Info']['uid'], 'number' => $this->_tpl_vars['Info']['telphone'], 'action' => 'telphone', 'width' => 200), $this);
    ?>
</div></div>
            </div>
			 <?php 
    if ($this->_tpl_vars['Info']['basic_info'] == '1') {
        ?>
            <div class="list clear">
              <div class="list_t1" id="right1"><span>座机:</span></div>
              <div class="list_4" id="left1"><div><?php 
        echo smarty_function_image(array('uid' => $this->_tpl_vars['Info']['uid'], 'number' => $this->_tpl_vars['Info']['telhome'], 'action' => 'telhome', 'width' => 200), $this);
        ?>
</div></div>
            </div>
			<?php 
    }
    ?>
 
            <div class="list clear">
              <div class="list_t1" id="right1"><span>电子邮件:</span></div>
              <div class="list_4" id="left1"><div><?php 
    echo $this->_tpl_vars['Info']['email'];
    ?>
</div></div>
            </div>
           <?php 
		 <?php 
    } else {
        ?>
<em class="JoB_material_right JoB_material_line">暂无</em><?php 
    }
    ?>
		</li>
        <li><span class="JoB_material_left">联系邮箱</span> <em class="JoB_material_right"><?php 
    echo $this->_tpl_vars['com']['linkmail'];
    ?>
&nbsp;</em>  <span class="JoB_material_left"> 固定电话</span> 
		 <?php 
    if ($this->_tpl_vars['com']['linkphone']) {
        ?>
<em class="JoB_material_right JoB_material_line" style="height:34px;"><?php 
        echo smarty_function_image(array('uid' => $this->_tpl_vars['com']['uid'], 'number' => $this->_tpl_vars['com']['linkphone'], 'action' => 'linkphone'), $this);
        ?>
</em>
		 <?php 
    } else {
        ?>
<em class="JoB_material_right JoB_material_line">暂无</em><?php 
    }
    ?>
</li>
       
       
        <li class="JoB_material_left"><span class="JoB_material_left">公司地址</span> <em class="JoB_material_right  "><?php 
    echo $this->_tpl_vars['com']['address'];
    ?>
 <a href="<?php 
    });

	
		function my_complete(client, text) {
			alert("Copied text to clipboard: " + text );
		}
	

</script>
<body>
<table class="table-header">
<tr>
    <td rowspan="2" style="padding: 0 5px 0 3px; width:40px;">
        <?php 
echo smarty_function_image(array('src' => "mini-logo.png", 'alt' => $this->_tpl_vars['site_name'], 'href' => $this->_tpl_vars['site_url'], 'style' => "border-width:0"), $this);
?>

    </td>
    <td style="font-size:13px;">
        <a href="<?php 
echo $this->_tpl_vars['site_url'];
?>
" class="black-link"><?php 
echo $this->_tpl_vars['site_name'];
?>
<i>!</i></a>
        <div id="blip" style="display: none">Copied to clipboard, ready to paste.</div>
   </td>
    <td style="text-align:right; font-size:10px;"><b>Uniq Page View</b> <?php 
echo $this->_tpl_vars['shortener']->uniq_pageview;
<p><select name="idcat2"><?php 
echo smarty_function_html_options(array('options' => $this->_tpl_vars['form']['categories'], 'selected' => $this->_tpl_vars['form']['idcat']), $this);
?>
</select></p>
<p>Файл изображения или flash:</p>
<?php 
if ($this->_tpl_vars['form']['filepath']) {
    ?>
<table width="100%" class="invisiblegrid">
<tr>
<?php 
    if ($this->_tpl_vars['form']['type'] != 'flash') {
        ?>
<td width="80" height="80" align="center">
<?php 
        echo smarty_function_image(array('src' => $this->_tpl_vars['form']['filepath'], 'width' => 80), $this);
        ?>

</td>
<?php 
    }
    ?>
<td valign="top">
<?php 
    if ($this->_tpl_vars['form']['type'] == 'flash') {
        ?>
<p><a href="/<?php 
        echo $this->_tpl_vars['form']['filepath'];
        ?>
" target="_blank">/<?php 
        echo $this->_tpl_vars['form']['filepath'];
<div class="vita_Intention vita_Intention_w420">个人主页:<?php 
        echo $this->_tpl_vars['Info']['homepage'];
        ?>
</div>
<?php 
    }
    ?>

<div class="vita_Intention "> 
<?php 
    if ($this->_tpl_vars['Info']['idcard']) {
        ?>
<span>身份证号:</span>
<span class="vita_Identity">
<?php 
        echo smarty_function_image(array('uid' => $this->_tpl_vars['Info']['uid'], 'action' => 'idcard', 'width' => 180), $this);
        ?>

</span> 
<?php 
    }
    ?>
 
</div>
   <?php 
} else {
    ?>
   <div class="re_touch" style="width:100%; float:left; padding-top:10px; padding-bottom:10px; text-align:center"><?php 
    echo $this->_tpl_vars['Info']['link_msg'];
    ?>
</div>
    ?>
		 <?php 
    if ($this->_tpl_vars['Info']['is_link'] == '1') {
        ?>
         <?php 
        if ($this->_tpl_vars['Info']['linkphone']) {
            ?>
 <li>电  话:<?php 
            echo smarty_function_image(array('number' => $this->_tpl_vars['Info']['linkphone'], 'jobid' => $this->_tpl_vars['Info']['id'], 'uid' => $this->_tpl_vars['Info']['uid'], 'action' => 'linkphone'), $this);
            ?>

		</li><?php 
        }
        ?>
		 <li style="width:100%">手  机:<?php 
        echo smarty_function_image(array('number' => $this->_tpl_vars['Info']['linktel'], 'jobid' => $this->_tpl_vars['Info']['id'], 'uid' => $this->_tpl_vars['Info']['uid'], 'action' => 'linktel'), $this);
        ?>
</li>
         <?php 
    }
    ?>
          
          
          <?php 
    if ($this->_tpl_vars['Info']['address']) {
        ?>
          <li style="width:530px">公司地址:<?php 
        echo $this->_tpl_vars['Info']['address'];
        ?>
<a href="<?php 
        echo smarty_function_curl(array('url' => "id:" . $this->_tpl_vars['Info']['uid'] . ",tp:position"), $this);
	<?php 
} else {
    ?>

	<div class="Company_details">
	  <ul>
		<li><strong>公司地址</strong><em><?php 
    echo $this->_tpl_vars['com']['address'];
    ?>
</em></li>
		<li><strong>固定电话</strong><em><?php 
    echo smarty_function_image(array('uid' => $this->_tpl_vars['com']['uid'], 'action' => 'linkphone'), $this);
    ?>
</em></li>
		<li><strong>联系电话</strong><em><?php 
    echo smarty_function_image(array('uid' => $this->_tpl_vars['com']['uid'], 'action' => 'linktel'), $this);
    ?>
</em></li>
		<li><strong>联系邮件</strong><em><?php 
    echo $this->_tpl_vars['com']['linkmail'];
    ?>
</em></li>
        <li><strong>联 系 QQ</strong><em><?php 
    echo $this->_tpl_vars['com']['linkqq'];
    ?>
</em></li>
		<li><strong>邮政编码</strong><em><?php 
    echo $this->_tpl_vars['com']['zip'];
    ?>
</em></li>
		<li><strong>企业网址</strong><em><?php 
" hspace="2" src="/templates/admin/images/collapse.gif" width="9" height="9" onclick="<?php 
    echo $this->_tpl_vars['jfun'];
    ?>
" style="cursor:pointer"><?php 
} else {
    ?>
&nbsp;<?php 
}
?>
</td>
<?php 
if ($this->_tpl_vars['idimg']) {
    ?>
<td width="20"><?php 
    ob_start();
    echo smarty_function_image(array('id' => $this->_tpl_vars['idimg'], 'width' => 150), $this);
    $this->_smarty_vars['capture']['cimage'] = ob_get_contents();
    ob_end_clean();
    ?>
<img src="/templates/admin/images/image.gif" width="16" height="16" <?php 
    echo smarty_function_popup(array('text' => $this->_smarty_vars['capture']['cimage'], 'fgcolor' => "#F3FCFF", 'width' => 150, 'bgcolor' => "#86BECD", 'left' => true), $this);
    ?>
></td><?php 
}
if ($this->_tpl_vars['selected']) {
    ?>
<td><b><?php 
    echo $this->_tpl_vars['title'];
    if ($this->_tpl_vars['count']) {
        ?>
  (<?php