?>
</td> </tr> <?php 
                    } else {
                        ?>
 <td><a href="<?php 
                        echo "gallery-{$this->_vars['childId']}", is_numeric($this->_vars['childId']) && 'index' == $this->_vars['setting']['view'] || !$this->_vars['setting']['view'] ? '' : '-' . $this->_vars['setting']['view'], '.html';
                        ?>
"><?php 
                        echo $this->_vars['child']['label'];
                        ?>
</a> <?php 
                        echo $this->_vars['setting']['page_devide'];
                        ?>
</td> <?php 
                    }
                    echo tpl_function_counter(array('assign' => "result", 'print' => false), $this);
                }
            }
            ?>
 </tbody> </table> <?php 
        }
        ?>
 </li> <?php 
    } else {
        ?>
 <li class="c-cat-depth-1"><a href="<?php 
        echo "gallery-{$this->_vars['parentId']}", is_numeric($this->_vars['parentId']) && 'index' == $this->_vars['setting']['view'] || !$this->_vars['setting']['view'] ? '' : '-' . $this->_vars['setting']['view'], '.html';
        ?>
"><?php 
        echo $this->_vars['parent']['label'];
        ?>
?>
</th>
	<th class=""><?php 
echo l('field_name', 'uploads', '', 'text', array());
?>
</th>
	<th class="w70"><?php 
echo l('field_wm_type', 'uploads', '', 'text', array());
?>
</th>
	<th class="w70">&nbsp;</th>
</tr>
<?php 
if (is_array($this->_vars['watermarks']) and count((array) $this->_vars['watermarks'])) {
    foreach ((array) $this->_vars['watermarks'] as $this->_vars['item']) {
        echo tpl_function_counter(array('print' => false, 'assign' => counter), $this);
        ?>
<tr<?php 
        if (!($this->_vars['counter'] % 2)) {
            ?>
 class="zebra"<?php 
        }
        ?>
>
	<td class="first"><b><?php 
        echo $this->_vars['item']['gid'];
        ?>
</b></td>
	<td><?php 
        echo $this->_vars['item']['name'];
        ?>
<?php

require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.seolink.php';
$this->register_function("seolink", "tpl_function_seolink");
require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.counter.php';
$this->register_function("counter", "tpl_function_counter");
/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-11-08 22:34:55 Pacific Standard Time */
?>

<ul>
<?php 
echo tpl_function_counter(array('start' => 0, 'print' => false), $this);
if (is_array($this->_vars['content_tree']) and count((array) $this->_vars['content_tree'])) {
    foreach ((array) $this->_vars['content_tree'] as $this->_vars['key'] => $this->_vars['item']) {
        ?>
<li<?php 
        if ($this->_vars['item']['active']) {
            ?>
 class="active"<?php 
        }
        ?>
><a href="<?php 
        echo tpl_function_seolink(array('module' => 'content', 'method' => 'view', 'data' => $this->_vars['item']), $this);
        ?>
"><?php 
        echo $this->_vars['item']['title'];
        ?>
</a></li>
<?php 
    }
}