Solution Technologies
Управление сайтом без ограничений
{**
 * XS2:
 *
 * This file is developed by Solutecs, LLC for the purpose of the company
 * and is provided together with XS2 Framework as and inherent part of the
 * system. This file can be used on the terms of License Agreement.
 *
 * +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
 *
 * @link http://www.solutecs.com
 * @copyright ©1998-2007 Solutecs, LLC
 * @version 1.XX
 *}

{literal}
  <style type="text/css">
    body { font-family: Arial; }
    a { color: red; font-weight: bold; }
    b { cursor:pointer; color: darkblue; }
  </style>
{/literal}

{xs2GetBranch var="data" ParId=1}

{foreach from=$data item="node"}
  <div style="padding-left:{$node.NDeep*50-50}px;background-color:{cycle values="white,#CCCCCC"};">
  // <b onclick="with(document.getElementById('node'+{$node.NodId}))(style.display=offsetHeight?'none':'block')">{$node.NodId}. {$node.NName}</b>
  <pre id="node{$node.NodId}" style="display:block;">
    xs2InsertNode(array(
      {foreach from=$node key="field" item="value"}
        {assign var="ftype" value=$_THE.MOD[$_THE.QUE.MOD].NTypes[$node.NType].F[$field].t}
        {if $ftype eq "enum"}
          {assign var="value" value=$value.value}
        {/if}
        {if ($field neq "NodId")
          and ($field neq "ParId")
          and ($field neq "LtCnt")
          and ($field neq "RtCnt")
          and ($field neq "SrtId")
          and ($field neq "SrtBy")
          and ($field neq "NDeep")
          and ($field neq "Owner")
          and ($field neq "Gwner")
          and ($field neq "Mfier")
          and ($field neq "CDate")
          and ($field neq "MDate")
          and ($field neq "DStrt")
          and ($field neq "DStop")
          and ($field neq "NPerm")
          and ($field neq "NPerm")
          and ($ftype neq "lnk")
          and ($ftype neq "image")}
          '{$field}' => '{$value|escape:"quotes"|escape:"html"}',
        {/if}
      {/foreach}
      ));
    </pre>
  </div>
{/foreach}
Copyright ©1998-2008 Солютекс. Все права защищены.
Этот сайт сделан в designLab | Работает на технологии XS2
Условия использования | О защите конфиденциальности