예제 #1
0
	
	<?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_ORDER', 'a.ordering', $this->listsimage['order_Dir'], $this->listsimage['order'], 'image', 'asc', '', 'phocagalleryimageform', '_image');
            $image = '<img src="' . JURI::base(true) . '/' . $this->tmpl['pi'] . 'icon-filesave.png' . '" width="16" height="16" border="0" alt="' . JText::_('COM_PHOCAGALLERY_SAVE_ORDER') . '" />';
            $task = 'saveordersubcat';
            $href = '<a href="javascript:saveorderimage()" title="' . JText::_('COM_PHOCAGALLERY_SAVE_ORDER') . '">' . $image . '</a>';
            echo $href;
            ?>
</th>
	<th width="3%" nowrap="nowrap"><?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_CATEGORY', 'a.catid', $this->listsimage['order_Dir'], $this->listsimage['order'], 'image', 'asc', '', 'phocagalleryimageform', '_image');
            ?>
</th>
	
	<th width="1%" nowrap="nowrap"><?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_ID', 'a.id', $this->listsimage['order_Dir'], $this->listsimage['order'], 'image', 'asc', '', 'phocagalleryimageform', '_image');
            ?>
</th>
	</tr>
</thead>
			
<tbody><?php 
            $k = 0;
            $i = 0;
            $n = count($this->tmpl['imageitems']);
            $rows =& $this->tmpl['imageitems'];
            if (is_array($rows)) {
                foreach ($rows as $row) {
                    $linkEdit = JRoute::_($this->tmpl['pp'] . '&task=editimg&id=' . $row->slug . $this->tmpl['psi']);
                    ?>
<tr class="<?php 
예제 #2
0
	<th width="5%" nowrap="nowrap"><?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_APPROVED', 'a.approved', $this->listssubcat['order_Dir'], $this->listssubcat['order'], 'subcategory', 'asc', '', 'phocagallerysubcatform', '_subcat');
            ?>
</th>
	<th width="50" nowrap="nowrap" align="center">
	
	<?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_ORDER', 'a.ordering', $this->listssubcat['order_Dir'], $this->listssubcat['order'], 'subcategory', 'asc', '', 'phocagallerysubcatform', '_subcat');
            $image = '<img src="' . JURI::base(true) . '/' . $this->tmpl['pi'] . 'icon-filesave.png' . '" width="16" height="16" border="0" alt="' . JText::_('COM_PHOCAGALLERY_SAVE_ORDER') . '" />';
            $task = 'saveordersubcat';
            $href = '<a href="javascript:saveordersubcat()" title="' . JText::_('COM_PHOCAGALLERY_SAVE_ORDER') . '">' . $image . '</a>';
            echo $href;
            ?>
</th>
	<th width="1%" nowrap="nowrap"><?php 
            echo PhocaGalleryGrid::sort('COM_PHOCAGALLERY_ID', 'a.id', $this->listssubcat['order_Dir'], $this->listssubcat['order'], 'subcategory', 'asc', '', 'phocagallerysubcatform', '_subcat');
            ?>
</th>
	</tr>
</thead>
			
<tbody><?php 
            $k = 0;
            $i = 0;
            $n = count($this->tmpl['subcategoryitems']);
            $rows =& $this->tmpl['subcategoryitems'];
            if (is_array($rows)) {
                foreach ($rows as $row) {
                    $linkEdit = JRoute::_($this->tmpl['pp'] . '&task=editsubcat&id=' . $row->slug . $this->tmpl['ps']);
                    ?>
<tr class="<?php