$this->_sections['d']['total'] = $this->_sections['d']['loop'];
            if ($this->_sections['d']['total'] == 0) {
                $this->_sections['d']['show'] = false;
            }
        } else {
            $this->_sections['d']['total'] = 0;
        }
        if ($this->_sections['d']['show']) {
            for ($this->_sections['d']['index'] = $this->_sections['d']['start'], $this->_sections['d']['iteration'] = 1; $this->_sections['d']['iteration'] <= $this->_sections['d']['total']; $this->_sections['d']['index'] += $this->_sections['d']['step'], $this->_sections['d']['iteration']++) {
                $this->_sections['d']['rownum'] = $this->_sections['d']['iteration'];
                $this->_sections['d']['index_prev'] = $this->_sections['d']['index'] - $this->_sections['d']['step'];
                $this->_sections['d']['index_next'] = $this->_sections['d']['index'] + $this->_sections['d']['step'];
                $this->_sections['d']['first'] = $this->_sections['d']['iteration'] == 1;
                $this->_sections['d']['last'] = $this->_sections['d']['iteration'] == $this->_sections['d']['total'];
                if ($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['conflicts']) {
                    echo smarty_function_assign(array('var' => 'defineconflict', 'value' => true), $this);
                }
            }
        }
        ?>
       <tgroup cols="<?php 
        if ($this->_tpl_vars['defineconflict']) {
            ?>
4<?php 
        } else {
            ?>
3<?php 
        }
        ?>
">
        <thead>
    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 
        echo smarty_function_assign(array('var' => 'time_val', 'value' => $this->_sections['i']['index']), $this);
        ?>

                                            <?php 
        if ($this->_tpl_vars['time_val'] < 10) {
            ?>
                                            <?php 
            echo smarty_function_assign(array('var' => 'time_val', 'value' => is_array($_tmp = '0') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_sections['i']['index']) : smarty_modifier_cat($_tmp, $this->_sections['i']['index'])), $this);
            ?>

                                            <?php 
        }
        ?>
                                            <option value="<?php 
        echo $this->_tpl_vars['time_val'];
        ?>
" <?php 
        if ($this->_tpl_vars['time_val'] == $this->_tpl_vars['dtls'][0]['iEndAfterMin']) {
            ?>
selected<?php 
        }
        ?>
 ><?php 
                                                <span style='display:inline-block; height:10px; width:50px; padding:1px; margin:0px; text-align:right;display: none;' class="ox"><?php 
                echo smarty_function_assign(array('var' => 'ot', 'value' => $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fOtherTax1'] * $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fAmount'] / 100), $this);
                echo is_array($_tmp = $this->_tpl_vars['ot']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
 <input type="hidden" name="fOtherTax1<?php 
                echo $this->_sections['i']['index'];
                ?>
" id="fOtherTax1<?php 
                echo $this->_sections['i']['index'];
                ?>
" value="<?php 
                echo $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fOtherTax1'];
                ?>
" /> </span>
                                                <span style='display:inline-block; height:10px; width:80px; padding:1px; margin:0px; text-align:right;' class="wt"><?php 
                echo smarty_function_assign(array('var' => 'wt', 'value' => $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fWithHoldingTax'] * $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fAmount'] / 100), $this);
                echo is_array($_tmp = $this->_tpl_vars['wt']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
 <input type="hidden" name="fWithHoldingTax<?php 
                echo $this->_sections['i']['index'];
                ?>
" id="fWithHoldingTax<?php 
                echo $this->_sections['i']['index'];
                ?>
" value="<?php 
                echo $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fWithHoldingTax'];
                ?>
" /> </span>
                                                <span style='display:inline-block; height:10px; width:155px; padding:1px; margin:0px; text-align:right;' class="lt"><?php 
                echo is_array($_tmp = $this->_tpl_vars['invoiceData'][$this->_sections['i']['index']]['fLineTotal']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
				<?php 
                    } else {
                        ?>
					</ul>
					<li><?php 
                        echo $this->_tpl_vars['toc'][$this->_sections['toc']['index']]['link'];
                        ?>
</li>
				<?php 
                    }
                    ?>
			<?php 
                }
                ?>
			<?php 
                echo smarty_function_assign(array('var' => 'lastcontext', 'value' => $this->_tpl_vars['toc'][$this->_sections['toc']['index']]['tagname']), $this);
                ?>

		<?php 
            } else {
                ?>
			<li><?php 
                echo $this->_tpl_vars['toc'][$this->_sections['toc']['index']]['link'];
                ?>
</li>
		<?php 
            }
            ?>
	<?php 
        }
    }
<?php

/* Smarty version 2.6.0, created on 2004-01-18 23:01:11
   compiled from toc.tpl */
require_once SMARTY_DIR . 'core' . DIRECTORY_SEPARATOR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'assign', 'toc.tpl', 6, false))), $this);
?>
<pdffunction:ezStopPageNumbers arg="1" arg="1" />
<pdffunction:ezInsertMode arg="1" arg="1" arg="after" />
<newpage />
<text size="26" justification="centre">Contents
</text>
<?php 
echo smarty_function_assign(array('var' => 'xpos', 'value' => '520'), $this);
?>

<?php 
if (count($_from = (array) $this->_tpl_vars['contents'])) {
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']) {
        if ($this->_tpl_vars['v'][2] == '1') {
            ?>
<text size="16" aright="<?php 
            echo $this->_tpl_vars['xpos'];
            ?>
"><c:ilink:toc<?php 
            echo $this->_tpl_vars['k'];
            ?>
><?php 
            echo $this->_tpl_vars['v'][0];
            ?>
</c:ilink><C:dots:3<?php 
                ?>
                                       <?php 
                if ((is_array($_tmp = $this->_tpl_vars['rfq2awrdacptsts'][$this->_sections['l']['index']]['iStatusID']) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['rfq2awrdacpt']) : in_array($_tmp, $this->_tpl_vars['rfq2awrdacpt'])) && $this->_tpl_vars['rfq2awrdacptsts'][$this->_sections['l']['index']]['vStatus_en'] != 'Accepted') {
                    ?>
                                          <?php 
                    if ($this->_tpl_vars['an'] == 'y') {
                        ?>
,<?php 
                    }
                    ?>
 <?php 
                    echo $this->_tpl_vars['rfq2awrdacptsts'][$this->_sections['l']['index']]['vStatus'];
                    ?>

                                          <?php 
                    echo smarty_function_assign(array('var' => 'an', 'value' => 'y'), $this);
                    ?>

                                       <?php 
                }
                ?>
                                   <?php 
            }
        }
        ?>
                                   <br /> <br />
                                   </td>
										   </tr>
                              <?php 
    }
    ?>
        echo smarty_function_eval(array('var' => $this->_tpl_vars['compiledclassindex']), $this);
        ?>

      <?php 
    }
    ?>
      <?php 
}
?>
    </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<?php 
if (!$this->_tpl_vars['hasel']) {
    echo smarty_function_assign(array('var' => 'hasel', 'value' => false), $this);
}
if ($this->_tpl_vars['hasel']) {
    ?>
<h1><?php 
    echo is_array($_tmp = $this->_tpl_vars['eltype']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
    ?>
: <?php 
    echo $this->_tpl_vars['class_name'];
    ?>
</h1>
Source Location: <?php 
    echo $this->_tpl_vars['source_location'];
    ?>
<br /><br />
<?php 
            ?>
				<a title="<?php 
            echo $this->_tpl_vars['LBL_PRINT'];
            ?>
" style="cursor:pointer" class="colorboxfile" rel="<?php 
            echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iPurchaseOrderID'];
            ?>
"><img src="<?php 
            echo $this->_tpl_vars['SITE_IMAGES'];
            ?>
report.png"  alt="" border="0" style="vertical-align:middle;" /></a>
			  <?php 
        }
        ?>
            <?php 
        echo smarty_function_assign(array('var' => 'iex', 'value' => $this->_tpl_vars['poObj']->chkinvex($this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iPurchaseOrderID'])), $this);
        ?>

				<?php 
        if ($this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iaStatusID'] == $this->_tpl_vars['acptsts'] && $this->_tpl_vars['iex'] == 'y' && ($this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iInvoiceID'] < 1 || (is_array($_tmp = $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iInvoiceID']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) != '')) {
            ?>
					<img src="<?php 
            echo $this->_tpl_vars['SITE_IMAGES'];
            ?>
create_new_icon.png" title="<?php 
            echo $this->_tpl_vars['LBL_CREATE_INVOICE'];
            ?>
" alt="" border="0" onclick="return ci('<?php 
            echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iPurchaseOrderID'];
            ?>
');" style="vertical-align:middle; cursor:pointer;" />
                                                <span style='display:inline-block; height:10px; width:70px; padding:1px; margin:0px; text-align:right;' class='fv'><?php 
                echo smarty_function_assign(array('var' => 'vt', 'value' => $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fVAT'] * $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fAmount'] / 100), $this);
                echo is_array($_tmp = $this->_tpl_vars['vt']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
 <input type="hidden" name="fVAT<?php 
                echo $this->_sections['i']['index'];
                ?>
" id="fVAT<?php 
                echo $this->_sections['i']['index'];
                ?>
" value="<?php 
                echo $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fVAT'];
                ?>
" /></span>
                                                <span style='display:inline-block; height:10px; width:90px; padding:1px; margin:0px; text-align:right;' class='ox'><?php 
                echo smarty_function_assign(array('var' => 'ot', 'value' => $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fOtherTax1'] * $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fAmount'] / 100), $this);
                echo is_array($_tmp = $this->_tpl_vars['ot']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
 <input type="hidden" name="fOtherTax1<?php 
                echo $this->_sections['i']['index'];
                ?>
" id="fOtherTax1<?php 
                echo $this->_sections['i']['index'];
                ?>
" value="<?php 
                echo $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fOtherTax1'];
                ?>
" /> </span>
                                                <span style='display:inline-block; height:10px; width:125px; padding:1px; margin:0px; text-align:right;' class='lt'><?php 
                echo is_array($_tmp = $this->_tpl_vars['poData'][$this->_sections['i']['index']]['fLineTotal']) ? $this->_run_mod_handler('formatMoney', true, $_tmp, true) : formatMoney($_tmp, true);
                ?>
echo $this->_tpl_vars['secQuestion2'];
?>

                    <!--<input type="text" name="Data[iSecretQuestion2ID]" class="input-rag" id="textfield18" style="width:228px;" /> -->
                  </td>
               </tr>
               <tr>
                  <td><?php 
echo $this->_tpl_vars['LBL_ANSWER'];
?>
 </td>
                  <td>:</td>
                  <td>
							<?php 
if ((is_array($_tmp = $this->_tpl_vars['userData']['vAnwser']) ? $this->_run_mod_handler('trim', true, $_tmp) : trim($_tmp)) != '' && $this->_tpl_vars['view'] == 'edit') {
    echo smarty_function_assign(array('var' => 'ans2', 'value' => "##########"), $this);
    ?>

							<input type="text" name="vAnwser"  value="<?php 
    echo $this->_tpl_vars['ans2'];
    ?>
" class="input-rag" id="vAnwser" style="width:228px;" title="<?php 
    echo $this->_tpl_vars['LBL_ENTER_ANSWER'];
    ?>
"  readonly="readonly" />
							<?php 
    if ($this->_tpl_vars['userData']['iSecretQuestion2ID'] > 0) {
        ?>
<a href="<?php 
        echo $this->_tpl_vars['SITE_URL_DUM'];
        ?>
        ?>
				</b>
			</td>
        <td width="74" align="center">
            <?php 
        if ($this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['status'] == 'Rejected') {
            ?>
               <?php 
            echo smarty_function_assign(array('var' => 'ondelete', 'value' => is_array($_tmp = is_array($_tmp = "Delete('delete','") ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iInvoiceID']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iInvoiceID'])) ? $this->_run_mod_handler('cat', true, $_tmp, "')") : smarty_modifier_cat($_tmp, "')")), $this);
            ?>

            <?php 
        } else {
            ?>
               <?php 
            echo smarty_function_assign(array('var' => 'ondelete', 'value' => "alert('" . $this->_tpl_vars['MSG_REJECTED_INVOICE_DEL'] . "')"), $this);
            ?>

            <?php 
        }
        ?>
				<!-- <a href="#"><img src="<?php 
        echo $this->_tpl_vars['SITE_IMAGES'];
        ?>
sm_images/icon-pen.gif"  alt="" border="0" style="vertical-align:middle;" /></a> &nbsp; -->
            <a href="<?php 
        echo $this->_tpl_vars['SITE_URL_DUM'];
        ?>
invoiceview/<?php 
        echo $this->_tpl_vars['activegroup'][$this->_sections['i']['index']]['iInvoiceID'];
        ?>
Exemplo n.º 12
0
?>
</a></li>   <li><a href="<?php 
echo $this->_tpl_vars['SITE_URL_DUM'];
?>
creategroup" <?php 
if ((is_array($_tmp = '/(.*)(creategroup)(.*)/') ? $this->_run_mod_handler('preg_match', true, $_tmp, $this->_tpl_vars['currentUrl']) : preg_match($_tmp, $this->_tpl_vars['currentUrl'])) || (is_array($_tmp = '/(.*)(groupview)(.*)/') ? $this->_run_mod_handler('preg_match', true, $_tmp, $this->_tpl_vars['currentUrl']) : preg_match($_tmp, $this->_tpl_vars['currentUrl']))) {
    ?>
class="active"<?php 
}
?>
><?php 
echo $this->_tpl_vars['LBL_CREATE_GROUP'];
?>
</a></li>
   <?php 
echo smarty_function_assign(array('var' => 'linkurl', 'value' => is_array($_tmp = $this->_tpl_vars['SITE_URL_DUM']) ? $this->_run_mod_handler('cat', true, $_tmp, 'grouplist') : smarty_modifier_cat($_tmp, 'grouplist')), $this);
?>

   <li><a href="<?php 
echo $this->_tpl_vars['SITE_URL_DUM'];
?>
grouplist" <?php 
if ((is_array($_tmp = $this->_tpl_vars['currentUrl']) ? $this->_run_mod_handler('strpos', true, $_tmp, $this->_tpl_vars['linkurl']) : strpos($_tmp, $this->_tpl_vars['linkurl'])) !== false) {
    ?>
class="active"<?php 
}
?>
><?php 
echo $this->_tpl_vars['LBL_GROUP_LIST'];
?>
</a></li>
}
?>
>No</option>
                              <option <?php 
if ($this->_tpl_vars['smdata'][0]['eEmailNotification'] == 'Yes') {
    ?>
selected<?php 
}
?>
 >Yes</option>
                         </select> -->
                    <?php 
if ($this->_tpl_vars['userData']['eEmailNotification'] == 'Yes') {
    ?>
                         <?php 
    echo smarty_function_assign(array('var' => 'email', 'value' => 'checked'), $this);
    ?>

                    <?php 
}
?>

                    <input type="checkbox"  id="eEmailNotification" value="Yes" name="Data[eEmailNotification]" <?php 
echo $this->_tpl_vars['email'];
?>
>

                    </td>
               </tr>
               <tr>
                    <td><?php 
            <tr>
                <td>&nbsp;</td>
            </tr>
            </table>
            </form>
        </div>
    </div>
    <div>&nbsp;</div>
</div>
</div>
<span id="spn" style="display:hidden;"></span>
<span id="vldms" style="display:none;"></span>
</div>
<?php 
if ((is_array($_tmp = $this->_tpl_vars['invitems']) ? $this->_run_mod_handler('is_array', true, $_tmp) : is_array($_tmp)) && count($this->_tpl_vars['invitems']) > 1) {
    echo smarty_function_assign(array('var' => 'cnt', 'value' => count($this->_tpl_vars['invitems'])), $this);
    ?>

<?php 
}
?>
<script type="text/javascript" src="<?php 
echo $this->_tpl_vars['SITE_CONTENT_JS'];
?>
money_format.js"></script>
<?php 
echo '
<script type="text/javascript">
    var sbt = \'n\';
    var cnt = \'';
echo $this->_tpl_vars['cnt'];
        }
        ?>
                                            <?php 
    }
    ?>
                                                                                </ul>
									</li>
                                    <?php 
}
?>

                                    <?php 
if ($this->_tpl_vars['ENABLE_AUCTION'] == 'Yes') {
    ?>
                                    <?php 
    echo smarty_function_assign(array('var' => 'invu', 'value' => 'invacptlist'), $this);
    ?>

                                    <li <?php 
    if (is_array($_tmp = '/(.*)(rfq2)(.*)/') ? $this->_run_mod_handler('preg_match', true, $_tmp, $this->_tpl_vars['currentUrl']) : preg_match($_tmp, $this->_tpl_vars['currentUrl'])) {
        ?>
 <?php 
    } else {
        ?>
style="display:none;"<?php 
    }
    ?>
>
										<a href="#" class="dropdown-toggle">
											<i class="fa fa-file-o"></i>
											<span><?php 
    if ($this->_sections['i']['total'] == 0) {
        $this->_sections['i']['show'] = false;
    }
} else {
    $this->_sections['i']['total'] = 0;
}
if ($this->_sections['i']['show']) {
    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 
        echo smarty_function_assign(array('var' => 'indx', 'value' => $this->_tpl_vars['res'][$this->_sections['i']['index']]['iOrganizationID']), $this);
        ?>

											 <div id="asso<?php 
        echo $this->_tpl_vars['res'][$this->_sections['i']['index']]['iOrganizationID'];
        ?>
" <?php 
        if ($this->_sections['i']['index'] % 2 == 0) {
            ?>
style="background:#eeeeee;"<?php 
        }
        ?>
>
												<img src="<?php 
        echo $this->_tpl_vars['SITE_IMAGES'];
        ?>
      <table width="98%" border="0" align="center" cellpadding="0" class="user-text" cellspacing="0">
      <!--
      <tr>
         <td width="42" height="30" align="center">&nbsp;</td>
         <td width="598">&nbsp;</td>
         <td width="87" align="center"><a href="#"><img src="<?php 
echo $this->_tpl_vars['SITE_IMAGES'];
?>
sm_images/btn-delete-1.gif" alt="" border="0" /></a></td>
      </tr>
-->
       <?php 
if (count($this->_tpl_vars['res']) > 0) {
    ?>
         <?php 
    echo smarty_function_assign(array('var' => 'field', 'value' => is_array($_tmp = 'vMailSubject_') ? $this->_run_mod_handler('cat', true, $_tmp, $this->_tpl_vars['LANG']) : smarty_modifier_cat($_tmp, $this->_tpl_vars['LANG'])), $this);
    ?>

         <?php 
    if (isset($this->_sections['in'])) {
        unset($this->_sections['in']);
    }
    $this->_sections['in']['name'] = 'in';
    $this->_sections['in']['loop'] = is_array($_loop = $this->_tpl_vars['res']) ? count($_loop) : max(0, (int) $_loop);
    unset($_loop);
    $this->_sections['in']['show'] = true;
    $this->_sections['in']['max'] = $this->_sections['in']['loop'];
    $this->_sections['in']['step'] = 1;
    $this->_sections['in']['start'] = $this->_sections['in']['step'] > 0 ? 0 : $this->_sections['in']['loop'] - 1;
    if ($this->_sections['in']['show']) {
        $this->_sections['in']['total'] = $this->_sections['in']['loop'];
      <?php 
    }
    ?>
      <?php 
}
?>
    </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<?php 
if (!$this->_tpl_vars['hasel']) {
    echo smarty_function_assign(array('var' => 'hasel', 'value' => false), $this);
}
if ($this->_tpl_vars['eltype'] == 'class' && $this->_tpl_vars['is_interface']) {
    echo smarty_function_assign(array('var' => 'eltype', 'value' => 'interface'), $this);
}
if ($this->_tpl_vars['hasel']) {
    ?>
<h1><?php 
    echo is_array($_tmp = $this->_tpl_vars['eltype']) ? $this->_run_mod_handler('capitalize', true, $_tmp) : smarty_modifier_capitalize($_tmp);
    ?>
: <?php 
    echo $this->_tpl_vars['class_name'];
    ?>
</h1>
Source Location: <?php 
    echo $this->_tpl_vars['source_location'];
    ?>
<br /><br />
<?php 
            ?>
										<?php 
            if ($this->_tpl_vars['last_package_name'] != "") {
                ?>
 | <?php 
            }
            ?>
										<a href="<?php 
            echo $this->_tpl_vars['packages'][$this->_sections['p']['index']]['link'];
            ?>
" target="left_bottom"><?php 
            echo $this->_tpl_vars['packages'][$this->_sections['p']['index']]['title'];
            ?>
</a>
										<?php 
            echo smarty_function_assign(array('var' => 'last_package_name', 'value' => $this->_tpl_vars['packages'][$this->_sections['p']['index']]['title']), $this);
            ?>

									<?php 
        }
    }
    ?>
								<?php 
}
?>
              </td>
						</tr>
          </table>
				</div>
			</div>
		</body>
      <?php 
                    echo $this->_tpl_vars['tag'][$this->_sections['t']['index']]['data'];
                    ?>

    </para>
    <?php 
                }
            }
            ?>
   </<?php 
            echo $this->_tpl_vars['num'];
            ?>
>
<?php 
        } elseif ($this->_tpl_vars['tagname'] == 'static') {
            echo smarty_function_assign(array('var' => 'canstatic', 'value' => true), $this);
            ?>

<?php 
        } elseif ($this->_tpl_vars['tagname'] == 'example') {
            ?>
   <<?php 
            echo $this->_tpl_vars['num'];
            ?>
 id="<?php 
            echo $this->_tpl_vars['id'];
            ?>
.<?php 
            echo $this->_tpl_vars['tagname'];
            ?>
">
                ?>
<br />
<?php 
            }
            if ($this->_tpl_vars['toc'][$this->_sections['toc']['index']]['tagname'] == 'refsect2') {
                echo smarty_function_assign(array('var' => 'context', 'value' => 'refsect2'), $this);
                ?>

&nbsp;&nbsp;&nbsp;<?php 
                echo $this->_tpl_vars['toc'][$this->_sections['toc']['index']]['link'];
                ?>
<br />
<?php 
            }
            if ($this->_tpl_vars['toc'][$this->_sections['toc']['index']]['tagname'] == 'refsect3') {
                echo smarty_function_assign(array('var' => 'context', 'value' => 'refsect3'), $this);
                ?>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php 
                echo $this->_tpl_vars['toc'][$this->_sections['toc']['index']]['link'];
                ?>
<br />
<?php 
            }
            if ($this->_tpl_vars['toc'][$this->_sections['toc']['index']]['tagname'] == 'table') {
                if ($this->_tpl_vars['context'] == 'refsect2') {
                    ?>
&nbsp;&nbsp;&nbsp;<?php 
                }
                if ($this->_tpl_vars['context'] == 'refsect3') {
                    ?>
                $this->_sections['i']['last'] = $this->_sections['i']['iteration'] == $this->_sections['i']['total'];
                ?>
                                                <?php 
                if (is_array($_tmp = $this->_tpl_vars['POarr'][$this->_sections['i']['index']]['status']) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['lvls']) : in_array($_tmp, $this->_tpl_vars['lvls'])) {
                    ?>
                                                <option value="<?php 
                    echo $this->_tpl_vars['POarr'][$this->_sections['i']['index']]['iStatusID'];
                    ?>
" <?php 
                    if (is_array($_tmp = $this->_tpl_vars['POarr'][$this->_sections['i']['index']]['iStatusID']) ? $this->_run_mod_handler('in_array', true, $_tmp, $this->_tpl_vars['acptOrdArr']) : in_array($_tmp, $this->_tpl_vars['acptOrdArr'])) {
                        ?>
selected<?php 
                    }
                    ?>
><?php 
                    echo smarty_function_assign(array('var' => 'level', 'value' => "vStatus_" . $this->_tpl_vars['LANG']), $this);
                    echo $this->_tpl_vars['POarr'][$this->_sections['i']['index']][$this->_tpl_vars['level']];
                    ?>
</option>
                                                <?php 
                }
                ?>
                                             <?php 
            }
        }
        ?>
                                        </select>
                                   </td>
                                   </tr>
                                   </table>
                                   </td>
Exemplo n.º 23
0
        ?>
  <?php 
        if ($this->_tpl_vars['tags'][$this->_sections['tag']['index']]['keyword'] == 'version') {
            ?>
  <?php 
            echo smarty_function_assign(array('var' => 'version', 'value' => $this->_tpl_vars['tags'][$this->_sections['tag']['index']]['data']), $this);
            ?>

  <?php 
        }
        ?>
  <?php 
        if ($this->_tpl_vars['tags'][$this->_sections['tag']['index']]['keyword'] == 'copyright') {
            ?>
  <?php 
            echo smarty_function_assign(array('var' => 'copyright', 'value' => $this->_tpl_vars['tags'][$this->_sections['tag']['index']]['data']), $this);
            ?>

  <?php 
        }
    }
}
?>

<?php 
if ($this->_tpl_vars['version']) {
    ?>
<h4>Version:</h4>
<ul>
  <li><?php 
    echo $this->_tpl_vars['version'];
            ?>
											<?php 
            if ($this->_tpl_vars['last_ric_name'] != "") {
                ?>
 | <?php 
            }
            ?>
											<a href="<?php 
            echo $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['file'];
            ?>
" target="right"><?php 
            echo $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['name'];
            ?>
</a>
											<?php 
            echo smarty_function_assign(array('var' => 'last_ric_name', 'value' => $this->_tpl_vars['ric'][$this->_sections['ric']['index']]['name']), $this);
            ?>

										<?php 
        }
    }
    ?>
									<?php 
}
?>
								</td>
								<td style="width: 2em">&nbsp;</td>
								<td style="text-align: right">
									<?php 
if (count($this->_tpl_vars['packages']) > 1) {
    ?>
        $this->_sections['ln']['index_next'] = $this->_sections['ln']['index'] + $this->_sections['ln']['step'];
        $this->_sections['ln']['first'] = $this->_sections['ln']['iteration'] == 1;
        $this->_sections['ln']['last'] = $this->_sections['ln']['iteration'] == $this->_sections['ln']['total'];
        ?>
	<?php 
        if ($this->_sections['ln']['index'] % 2 == 0) {
            ?>
      <?php 
            echo smarty_function_assign(array('var' => 'rowclass', 'value' => 'golden'), $this);
            ?>

   <?php 
        } else {
            ?>
      <?php 
            echo smarty_function_assign(array('var' => 'rowclass', 'value' => ""), $this);
            ?>

   <?php 
        }
        ?>
   <tr class="<?php 
        echo $this->_tpl_vars['rowclass'];
        ?>
">
		<td width="30" height="26" align="center">
			<?php 
        if ($this->_tpl_vars['sess_usertype_short'] == 'OA' && $this->_tpl_vars['iUserId'] == $this->_tpl_vars['userlist'][$this->_sections['ln']['index']]['iUserID']) {
            ?>
				&nbsp;
			<?php 
											  <input type="checkbox" value="<?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['iAsociationID'];
            ?>
" name="vSupplierOrg[]" onclick="countUnchecked('');"/>
											  <?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['vSupplierOrg'];
            ?>
 (<?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['vSupplierCode'];
            ?>
) [<?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['eStatus'];
            ?>
]
											  <?php 
            echo smarty_function_assign(array('var' => 'chkCount', 'value' => $this->_tpl_vars['chkCount'] + 1), $this);
            ?>

											  <br />
                                   <br />
										<?php 
        } else {
            ?>
 										 <img src="<?php 
            echo $this->_tpl_vars['SITE_IMAGES'];
            ?>
arrow.gif" />&nbsp;&nbsp;&nbsp;<?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['vSupplierOrg'];
            ?>
 (<?php 
            echo $this->_tpl_vars['assorgdt'][$this->_sections['i']['index']]['vSupplierCode'];