tpl_4ed6d5ce_tmpl_row__6icbQdFn2mmnzldygeeeFQ.php 1.6 KB
<?php 
function tpl_4ed6d5ce_tmpl_row__6icbQdFn2mmnzldygeeeFQ_tmpl_row(PHPTAL $_thistpl, PHPTAL $tpl) {
$tpl = clone $tpl ;
$ctx = $tpl->getContext() ;
$_translator = $tpl->getTranslator() ;
if (isset($ctx->rows)):  ;
$_tmp_1 = $ctx->repeat ;
$_tmp_1->row = new PHPTAL_RepeatController($ctx->rows)
 ;
$ctx = $tpl->pushContext() ;
foreach ($_tmp_1->row as $ctx->row): ;
?>


<tr class="body2" style="font-size:14px;text-align:left;padding:2px;">
  <td style="text-align:center"><?php echo phptal_escape($ctx->path($ctx->row, 'c_id')) ?></td>
  <td><?php echo phptal_escape($ctx->path($ctx->row, 'c_name')) ?></td>
  <td><?php echo phptal_escape($ctx->path($ctx->row, 'c_var')) ?></td>
  <td><a href="<?php echo phptal_escape($ctx->path($ctx->row, 'url_item')) ?>">Управлять</a></td>
  <td><a id="<?php echo phptal_escape($ctx->path($ctx->row, 'c_id')) ?>" act="edit"><?php echo phptal_escape($ctx->EDIT) ?></a></td>
  <td><a id="<?php echo phptal_escape($ctx->path($ctx->row, 'c_id')) ?>" act="delete"><?php echo phptal_escape($ctx->DELETE) ?></a></td>
</tr>

<?php 
endforeach ;
$ctx = $tpl->popContext() ;
endif ;

}

?><?php 
function tpl_4ed6d5ce_tmpl_row__6icbQdFn2mmnzldygeeeFQ($tpl, $ctx) {
$_thistpl = $tpl ;
$_translator = $tpl->getTranslator() ;
?>



<?php 
if (isset($ctx->execute)):  ;
$ctx->pushSlots() ;
tpl_4ed6d5ce_tmpl_row__6icbQdFn2mmnzldygeeeFQ_tmpl_row($_thistpl, $tpl) ;
$ctx->popSlots() ;
endif ;
/* end */ ;

}

?><?php /* 
*** DO NOT EDIT THIS FILE ***

Generated by PHPTAL from /home/shasha/www/pr25_autocatalog/source/modules/autocatalog/tmpl/control_posts/inc/tmpl_row.html (edit that file instead) */; ?>