подскажите
для формы ввода использую шаблон Ken Entry form
выставил свои поля для каждого таба

при добавлении записи не все поля записываются, в чем проблема кто знает ?

Код:
<?php
/**
* @version $Id: SOBI2.form.tmpl.php 2988 2007-12-22 20:48:30Z Radek Suski $
* @package: Sigsiu Online Business Index 2
* ===================================================
* @author
* Name: Sigrid & Radek Suski, Sigsiu.NET
* Email: Этот e-mail адрес защищен от спам-ботов, для его просмотра у Вас должен быть включен Javascript
* Url: http://www.sigsiu.net
* ===================================================
* @copyright Copyright (C) 2007 Sigsiu.NET (http://www.sigsiu.net). All rights reserved.
* @license see http://www.gnu.org/licenses/lgpl.html GNU/LGPL.
* You can use, redistribute this file and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation.
*/

/*please do not remove this line */
defined( '_SOBI2_' ) || ( trigger_error("Restricted access", E_USER_ERROR) && exit() );
?>

<!-- Tabbed Entry Form Template v4 - example template using only SOBI2 default fields -->

<!-- Page Heading -->
<?php echo $screenTitle; ?>
<?php echo $requiredFieldsInfo; ?>

<!-- Opening Instructions -->
<!-- Tabs - Create Object -->
<?php $myTabs = new sobiTabs( "true" ); ?>
<!-- Tabs - Start Pane -->
<?php $myTabs->startPane("pane1name"); ?>


<!-- Tabs - Start Tab 0 - Contact Info -->
<?php $myTabs->startTab("&nbsp; 0. Общие &nbsp;","ZeroTabLabelText"); ?>
<!-- Start Table 1 for Tab 0 - Basic Information -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['EntryName']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['EntryName']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_street']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_street']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_obj_type']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_obj_type']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_city']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_city']['field']; ?></td>
    </tr>
  </tbody>
</table>
<!-- Category Chooser -->
<?php echo $catChooser; ?>
<hr />

<!-- Link to Tab 1 -->
<div align="right"><a href="javascript:SobiTabPane.setSelectedIndex( 1 );">
Перейти на форму - 1. Аренды жилья
</a>&nbsp;&nbsp;</div><br />
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 1 -->


<!-- Tabs - Start Tab 1 - Contact Info -->
<?php $myTabs->startTab("&nbsp; 1. Аренда жилья &nbsp;","FirstTabLabelText"); ?>
<!-- Start Table 1 for Tab 1 - Basic Information -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_county']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_county']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_metro']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_metro']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_etag']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_etag']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_so']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_so']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_sp']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_sp']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_sk']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_sk']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_phone']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_phone']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_meb']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_meb']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_h']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_h']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_sm']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_sm']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_su']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_su']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_price']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_price']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_kt']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_kt']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_description']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_description']['field']; ?></td>
    </tr>
    <tr>   
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundChooser']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundChooser']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundPreview']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundPreview']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['sobi_gallery_plugin']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['sobi_gallery_plugin']['field']; ?></td>
    </tr> 
  </tbody>
</table>
<hr />

<!-- Link to Tab 2 -->
<div align="right"><a href="javascript:SobiTabPane.setSelectedIndex( 1 );">
Перейти на форму - 2. Продажи жилья
</a>&nbsp;&nbsp;</div><br />
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 1 -->

<!-- Tabs - Start Tab 2 - Description -->
<?php $myTabs->startTab("&nbsp; 2. Продажа жилья &nbsp;","SecondTabLabelText"); ?>
<!-- Start Table 1 for Tab 2 - Description - payment required field -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_county']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_county']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_metro']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_metro']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_etag']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_etag']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_so']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_so']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_sp']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_sp']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_sk']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_sk']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_su']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_su']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_ht']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_ht']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_b']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_b']['field']; ?></td>
    </tr>
    <tr>
       <td width="200">
       <div align="right"><?php echo $fields['field_l']['label']; ?>&nbsp;</div>
       </td>
       <td><?php echo $fields['field_l']['field']; ?></td>
     </tr>   
    <tr>
       <td style="background-color: rgb(255, 204, 255);" width="200">
       <div align="right"><?php echo $fields['field_v']['label']; ?>&nbsp;</div>
       </td>
       <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_v']['field']; ?></td>
     </tr> 
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_price']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_price']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_kt']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_kt']['field']; ?></td>
    </tr>
   
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_description']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_description']['field']; ?></td>
    </tr>
    <tr>   
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundChooser']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundChooser']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundPreview']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundPreview']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['sobi_gallery_plugin']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['sobi_gallery_plugin']['field']; ?></td>
    </tr> 
  </tbody>
</table>
<hr />

<!-- Link to Tab 3 -->
<div align="right"><a href="javascript:SobiTabPane.setSelectedIndex( 2 );">
Перейти к форме - 3. Загородной недвижимости
</a>&nbsp;&nbsp;</div><br />
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 2 -->

<!-- Tabs - Start Tab 3 - Meta Data -->
<?php $myTabs->startTab("&nbsp; 3. Загородная &nbsp;","ThirdTabLabelText"); ?>
<!-- Start Table 1 for Tab 3 - Meta Data -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_county']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_county']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_so']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_so']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_sp']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_sp']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_sk']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_sk']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_su']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_su']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_ht']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_ht']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_isg']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_isg']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_zu']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_zu']['field']; ?></td>
    </tr> 
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_price']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_price']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_kt']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_kt']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_description']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_description']['field']; ?></td>
    </tr>
    <tr>   
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundChooser']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundChooser']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundPreview']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundPreview']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['sobi_gallery_plugin']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['sobi_gallery_plugin']['field']; ?></td>
    </tr> 
  </tbody>
</table>
<hr />
<!-- Link to Tab 4 -->
<div align="right"><a href="javascript:SobiTabPane.setSelectedIndex( 3 );">
Перейти к форме - 4. Коммерческой недвижимости
</a>&nbsp;&nbsp;</div><br />
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 3 -->

<!-- Tabs - Start Tab 4 - Images -->
<?php $myTabs->startTab("&nbsp; 4. Коммерческая &nbsp;","FourthTabLabelText"); ?>
<!-- Start Table 1 for Tab 4 - Icon and Logo images -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_county']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_county']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_so']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_so']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_etag']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_etag']['field']; ?></td>
    </tr>   
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_kv']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_kv']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_ov']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_ov']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_volt']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_volt']['field']; ?></td>
    </tr>
   
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_price']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_price']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_kt']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_kt']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_description']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_description']['field']; ?></td>
    </tr>
    <tr>   
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundChooser']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundChooser']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundPreview']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundPreview']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['sobi_gallery_plugin']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['sobi_gallery_plugin']['field']; ?></td>
    </tr> 
  </tbody>
</table>
<hr />
<!-- Link to Tab 5 -->
<div align="right"><a href="javascript:SobiTabPane.setSelectedIndex( 4 );">
Перейти к форме - 5. Зарубежной недвижимости
</a>&nbsp;&nbsp;</div><br />
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 4 -->

<!-- Tabs - Start Tab 5 - Select Cateories -->
<?php $myTabs->startTab("&nbsp; 5. Зарубежная &nbsp;","FifthTabLabelText"); ?>
<!-- Category Chooser -->
<table border="0" cellpadding="5" width="100%">
  <tbody>
    <tr>
      <td width="200">
      <div align="right">Общая площадь &nbsp;</div>
      </td>
      <td><?php echo $fields['field_so']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_etag']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_etag']['field']; ?></td>
    </tr>       
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_price']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_price']['field']; ?></td>
    </tr>
    <tr>
      <td style="background-color: rgb(255, 204, 255);" width="200">
      <div align="right"><?php echo $fields['field_kt']['label']; ?>&nbsp;</div>
      </td>
      <td style="background-color: rgb(255, 204, 255);"><?php echo $fields['field_kt']['field']; ?></td>
    </tr>
    <tr>
      <td width="200">
      <div align="right"><?php echo $fields['field_description']['label']; ?>&nbsp;</div>
      </td>
      <td><?php echo $fields['field_description']['field']; ?></td>
    </tr>
    <tr>   
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundChooser']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundChooser']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['BackgroundPreview']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['BackgroundPreview']['field']; ?></td>
    </tr>
    <tr>
    <td width="200">
      <div align="right"><?php echo $fields['sobi_gallery_plugin']['label']; ?>&nbsp;</div></td>
    <td><?php echo $fields['sobi_gallery_plugin']['field']; ?></td>
    </tr> 
  </tbody>
</table>
<?php $myTabs->endTab(); ?>
<!-- Tabs - End Tab 5 -->

<?php $myTabs->endPane(); ?>
<!-- Tabs - End Pane -->

<!-- Safety Code or CAPTCHA -->
<?php echo $fields['SafetyCodeImage']['label']; ?><?php echo $fields['SafetyCodeImage']['field']; ?>&nbsp;
<?php echo $fields['SafetyCodeField']['label']; ?>&nbsp;<?php echo $fields['SafetyCodeField']['field']; ?><br />
<br />
<!-- Accept Terms of Use -->
<?php echo $fields['EntryRules']['label']; ?>&nbsp;&nbsp;<?php echo $fields['EntryRules']['field']; ?><br />
<br />
<!-- Cancel and Send buttons -->
<div align="center"> <?php echo $cancelButton; ?>&nbsp; <?php echo $sendButton; ?><br />
</div>
<!-- The End :-) -->


Добавить комментарий


Защитный код
Обновить