Example #1
0
    ?>
	
	<tr id="listItem_<?php 
    echo $obj->id;
    ?>
">
		<td><input type="checkbox" name="kt_where[]" value="<?php 
    echo $obj->id;
    ?>
" /></td>
		<td><?php 
    echo general::link_to($tpl_folder . '/delete/id/' . $obj->id, 'Удалить?', 'onclick="return confirm(\'Вы уверены?\')"');
    ?>
</td>		
		<td><?php 
    echo dbh::gallery_gb_parent_name($obj->id_parent);
    ?>
</td>
		<td><?php 
    echo $obj->pole;
    ?>
</td>
		<td>
			<?php 
    if (file_exists(HOST . IMG_GALLERY_PATH . '/' . $obj->id . '.jpg')) {
        ?>
				<span class="trigger_thumb"><img src="<?php 
        echo IMG_GALLERY_PATH . '/_' . $obj->id . '.jpg';
        ?>
"></span>
			<?php