コード例 #1
0
ファイル: default.php プロジェクト: 01J/furcom
 if (isset($item->extid) && $item->extid != '') {
     if (isset($item->exttype) && $item->exttype == 1) {
         echo $r->td(JText::_('COM_PHOCAGALLERY_FACEBOOK_STORED_FILE'));
         echo $r->td('');
     } else {
         echo $r->td(JText::_('COM_PHOCAGALLERY_PICASA_STORED_FILE'));
         echo $r->td('');
     }
 } else {
     echo $r->td($item->filename);
     echo '<td align="center">';
     echo '<a href="' . $linkRotate90 . '" title="' . JText::_('COM_PHOCAGALLERY_ROTATE_LEFT') . '">' . JHTML::_('image', 'media/com_phocagallery/images/administrator/icon-22-rotate-left.png', JText::_('COM_PHOCAGALLERY_ROTATE_LEFT')) . '</a> ' . '<a href="' . $linkRotate270 . '" title="' . JText::_('COM_PHOCAGALLERY_ROTATE_RIGHT') . '">' . JHTML::_('image', 'media/com_phocagallery/images/administrator/icon-22-rotate-right.png', JText::_('COM_PHOCAGALLERY_ROTATE_RIGHT')) . '</a> ' . '<a href="' . $linkDeleteThumbs . '" title="' . JText::_('COM_PHOCAGALLERY_RECREATE_THUMBS') . '">' . JHTML::_('image', 'media/com_phocagallery/images/administrator/icon-22-remove-create.png', JText::_('COM_PHOCAGALLERY_DELETE_RECREATE_THUMBS')) . '</a> ' . '<a href="#" onclick="window.location.reload(true);" title="' . JText::_('COM_PHOCAGALLERY_RELOAD_SITE') . '">' . JHTML::_('image', 'media/com_phocagallery/images/administrator/icon-22-reload.png', JText::_('COM_PHOCAGALLERY_RELOAD_SITE')) . '</a>';
     echo '</td>';
 }
 echo $r->td(JHtml::_('jgrid.published', $item->published, $i, $tasks . '.', $canChange), "small hidden-phone");
 echo $r->td(PhocaGalleryJGrid::approved($item->approved, $i, $tasks . '.', $canChange), "small hidden-phone");
 if ($canEditCat) {
     $catO = '<a href="' . JRoute::_($linkCat) . '">' . $this->escape($item->category_title) . '</a>';
 } else {
     $catO = $this->escape($item->category_title);
 }
 echo $r->td($catO, "small hidden-phone");
 //echo $r->td($this->escape($item->access_level), "small hidden-phone");
 $usrO = $item->usernameno;
 if ($item->username) {
     $usrO = $usrO . ' (' . $item->username . ')';
 }
 echo $r->td($usrO, "small hidden-phone");
 $usrU = $item->uploadname;
 if ($item->uploadusername) {
     $usrU = $usrU . ' (' . $item->uploadusername . ')';
コード例 #2
0
ファイル: default.php プロジェクト: sansandeep143/av
	

	<td align="center"><?php 
    echo $item->countcid ? $item->countcid : "0";
    ?>
</td>
	<td align="center"><?php 
    echo $item->countiid ? $item->countcid : "0";
    ?>
</td>

	<td class="center"><?php 
    echo JHtml::_('jgrid.published', $item->published, $i, 'phocagalleryusers.', $canChange);
    ?>
</td><?php 
    echo '<td class="center">' . PhocaGalleryJGrid::approved($item->approved, $i, 'phocagalleryusers.', $canChange) . '</td>';
    $cntx = 'phocagalleryusers';
    echo '<td class="order">';
    if ($canChange) {
        if ($saveOrder) {
            if ($listDirn == 'asc') {
                echo '<span>' . $this->pagination->orderUpIcon($i, true, $cntx . '.orderup', 'JLIB_HTML_MOVE_UP', $ordering) . '</span>';
                echo '<span>' . $this->pagination->orderDownIcon($i, $this->pagination->total, true, $cntx . '.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering) . '</span>';
            } else {
                if ($listDirn == 'desc') {
                    echo '<span>' . $this->pagination->orderUpIcon($i, true, $cntx . '.orderdown', 'JLIB_HTML_MOVE_UP', $ordering) . '</span>';
                    echo '<span>' . $this->pagination->orderDownIcon($i, $this->pagination->total, true, $cntx . '.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering) . '</span>';
                }
            }
        }
        $disabled = $saveOrder ? '' : 'disabled="disabled"';